PHP Classes
elePHPant
Icontem

Decaptha OCR Class: Get the text in CAPTCHA images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  Decaptha OCR Class  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Decaptha OCR Class

Edit

Picture of Enoque Joseneas by Enoque Joseneas - 9 months ago (2015-05-09)

Get the text in CAPTCHA images

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I need a PHP class to solve CAPTCHA images in authentication form for use in one crawler script. I mean a solution to read the text that is in a CAPTCHA image.

  • 1 Clarification request
  • 1. Picture of Samuel Adeshina by Samuel Adeshina - 9 months ago (2015-05-10) Reply

    Please can you rephrase your question to specify the kind of captcha you want to solve. There are so many forms you can have a captcha: in images, texts, as numbers or even audio. Thanks

    • 2. Picture of Enoque Joseneas by Enoque Joseneas - 9 months ago (2015-05-12) in reply to comment 1 by Samuel Adeshina Comment

      Hi, thanks for the reply.

      They are images, I'm using the following PHP lib: github dot com/thiagoalessio/tesseract-ocr-for-php

      It solve only simple catcha, I would like to solve more complex captchas, see this: apps dot trt6 dot jus dot br/consultaProcessual/Kaptcha.jpg

    • 3. Picture of wenbuyi by wenbuyi - 3 months ago (2015-11-13) in reply to comment 1 by Samuel Adeshina Comment

      maybe the tesseract ocr engine can help you to recognize characters from images. tesseract have php wrapper, so you can use it in php class. there is a free online ocr online-code.net/ocr.html using tesseract, you can have a try.

Ask clarification

1 Recommendation

phpOCR: Recognize text & objects in graphical images

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 11100 - 9 months ago (2015-05-11) Comment

Well, reversing the text in CAPTCHA without the need for a human being, sounds like you want to break some security put on a site. I would not advise that because you may run into legal problems.

Anyway, this class can scan images and guess the text that is on them. It will not work for reversing all CAPTCHAs that are not about text. Even those with text may be hard to break because there is often some noise trying to obfuscate the text in the images.

Still this class can be trained to recognize text characters, even distorted ones. 


Recommend package
: 
: