PHP Classes
elePHPant
Icontem

Decaptha OCR Class: Get the text in CAPTCHA images

Recommend this page to a friend!
  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

by Enoque Joseneas - 2 years 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.

+3

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. by Samuel Adeshina - 2 years 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. by Enoque Joseneas - 2 years 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. by wenbuyi - 1 year 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

PHP OCR Class: Recognize text & objects in graphical images

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

+1

by Manuel Lemos Reputation 17060 - 2 years 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
: 
: