简体   繁体   中英

count number of characters in image in php

I have an image which contains text lines. I want to count number of characters or number of lines in image using php or jquery or javascript. Please give me any link or any solution for this.

Thanks

phpOCR

phpOCR is a simple optical character recognizer. It works with numbers by default but any character support is available with custom templates. It has features such as: - image upload - remote image by URL - html output type - plaintext output type - xml output type - easy to create templates for different fonts - jpg, png and gif support (with PHP/GD and gif2png libraries) Works well with automated setups.

Found this two helpful links -

http://phpocr.sourceforge.net/

https://github.com/thiagoalessio/tesseract-ocr-for-php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM