I have Tesseract.js and am using a browser extension to inject code that will get the image and run OCR and input the reversed text into box. However, when i run OCR it returns text that i can see is completely different from the image. I decided to test this on a different image(some random shakespeare quote) and it worked perfectly. Im assuming that i am getting the captcha image incorrectly. Currently, I am trying to get all img tags on the page and grab the 2nd one(the captcha img) using document.getElementByTagName('img'). I know you cant just refrence the PHP file generating the image because that will give you a completely different one than the img needed. Any hints on how to grab the image?
You must be logged in to reply to this discussion.
1 of 1