How to extract text from from Captcha images while spying website in blueprism?

Arun Siri

New Member
Somebody please help me that how to extract "text" from captcha images in blueprism?
I've tried alot with OCR and all other spying modes!
But Blueprism is unable to read!
 

Attachments

  • Captcha1.png
    1.3 KB · Views: 55
  • Capture1.PNG
    3.8 KB · Views: 47

Pete_L

Active Member
We have had to do this for 1 application, but I don't remember if the Captcha was looking for text or for picture identification. In any case, we were not able to do it. In the end, we contacted the vendor, explained that we were using RPA on the application, and asked for a URL that would bypass the Captcha. In this case, they were using the Captcha to avoid unwanted bots, but our use case was valid and acceptable to them, and we are licensed users of their application. They agreed to give us a URL that goes directly to the login screen, and we were able to complete the automation.

Others on this site say they've had success with OCR reading text, but I think they were just lucky. Perhaps the font luckily happened to match the font the OCR was using. If true, I think these will fail if the site/application ever changes font or to a different type of Captcha. Captchas were developed specifically to deter robots; I think the best bet is to ask for a bypass URL. They might not give it to you, though.
 

Sachin_Kharmale

Active Member
Somebody please help me that how to extract "text" from captcha images in blueprism?
I've tried alot with OCR and all other spying modes!
But Blueprism is unable to read!
If you want read captcha with OCR then try with https://ocr.space/

it will give most of the accurate result try it if your requirement satisfied otherwise u can go with Pete_L suggestions.
Note- use OCR Engine 2 Option to more accuracy.
View attachment 1593603469491.png
I hope it will help you,,,!
 

Pete_L

Active Member
I like Sachin_Kharmale's solution and the screenshot shows that it works. Even still, I remain skeptical that it will be a reliable long-term solution.

I'm going to save this thread for future reference and try it if I ever have to get past another text Captcha in the future. Thanks Sachin_Kharmale!
 

Arun Siri

New Member
Wow! That's awesome.
Thank you so much @Sachin_Kharmale!
But even though it is not giving 100% accuracy for the different types of captcha's!
It is just working for random captcha's whichever pictures are clear without any background disturbance!
I even tried most of the free online OCR conversions, But none of them giving accurate results.
Better i need to use code block for accurate results!
If it is possible can anybody please share me efficient code which gives accurate results. Because i've been searching solution for this problem from so long....?
 

Attachments

  • OCR2Result.jpg
    82.2 KB · Views: 35
  • OCRResult.jpg
    91.5 KB · Views: 21

Arun Siri

New Member
Yeah! You are right. It can be possible with Bypass URL, but our task is to automate without any BYpassURL's or 3rd party app's!
Thanks for your suggestion @Pete_L.
 

Alla

New Member
Hello, I am facing the issue while getting captcha data. Please help me to sort it out.
1608617405448.png
1608617426530.png
1608617452412.png

i written code like above it is not taking data properly.
 

Attachments

  • 1608617396629.png
    1608617396629.png
    12.6 KB · Views: 12
Top