2013/03/25

About the the performance test tesseract-ocr tools to identify some of the ideas in the verification code

About the the performance test tesseract-ocr tools to identify some of the ideas in the verification code
The last week, I engaged in the verification code, fortunately tesseract-ocr tools can identify the characters stored in the local picture, is to take advantage of this, a lot of friends this function is used in the identification verification code (some verification code can not be identified, the accuracy is not high, it may hinder the identification to verify the presence of noise in the code). I is just copy or imitate the, solve the problem of the LoadRunner identify verification code, all C-based environments. Can see my blog post: http://www.cnblogs.com/zhuque/archive/2013/03/06/2946565.html


Tesseract-ocr tools for some verification code recognition accuracy is not too high, and even some picture identification simply does not come out, it is recommended that formal stress tests, do not use this method to solve the problem of verification code, the better approach is in code to solve, or using a universal verification code. Another method is the the login transaction code (involving verification code code) into vuser_init () to that after a successful login, the frequent pressure measured behind the transaction. But there are many transactions of the type of operation and verification code, such as: the payment of this you must use a universal verification code.


Do not tangle in the performance testing process verification code, after all, more than 98% of the performance test are specialized independent test environment can modify the code to solve the verification code problems, there are many ways. But does not rule out some metamorphosis the CTO or customer requirements online environment pressure measured, we can try to tesseract-ocr recognition verification code, if you can not identify, and then to try to remove the noise in the captcha identification. How to remove captcha the noise go after study, evidently, this is a big project.


没有评论:

发表评论