All Projects → ayesha92ahmad → NLP-image-to-text

ayesha92ahmad / NLP-image-to-text

Licence: MIT license
code to extract text from images

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to NLP-image-to-text

React Native Tesseract Ocr
Tesseract OCR wrapper for React Native
Stars: ✭ 384 (+1271.43%)
Mutual labels:  ocr, text-recognition, tesseract-ocr
Awesome Deep Text Detection Recognition
A curated list of resources for text detection/recognition (optical character recognition ) with deep learning methods.
Stars: ✭ 2,282 (+8050%)
Mutual labels:  ocr, text-recognition
Tesseract Ocr For Php
A wrapper to work with Tesseract OCR inside PHP.
Stars: ✭ 2,247 (+7925%)
Mutual labels:  ocr, text-recognition
Ocr.pytorch
A pure pytorch implemented ocr project including text detection and recognition
Stars: ✭ 196 (+600%)
Mutual labels:  ocr, text-recognition
Tesseract4android
Fork of tess-two rewritten from scratch to support latest version of Tesseract OCR.
Stars: ✭ 148 (+428.57%)
Mutual labels:  ocr, tesseract-ocr
Adelaidet
AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
Stars: ✭ 2,565 (+9060.71%)
Mutual labels:  ocr, text-recognition
Tesseract
Bindings to Tesseract OCR engine for R
Stars: ✭ 192 (+585.71%)
Mutual labels:  ocr, tesseract-ocr
Transformer str
PyTorch implementation of my new method for Scene Text Recognition (STR) based on Transformer,Equipped with Transformer, this method outperforms the best model of the aforementioned deep-text-recognition-benchmark by 7.6% on CUTE80.
Stars: ✭ 131 (+367.86%)
Mutual labels:  ocr, text-recognition
Image2text
📋 Python wrapper to grab text from images and save as text files using Tesseract Engine
Stars: ✭ 243 (+767.86%)
Mutual labels:  ocr, tesseract-ocr
flask-ocr
use flask and tesseract to have a basic ocr, also you need opencv2, this code use opencv2 to have a basic image process
Stars: ✭ 27 (-3.57%)
Mutual labels:  tesseract-ocr, opencv-python
receipt-manager-app
Receipt parser application written in dart.
Stars: ✭ 140 (+400%)
Mutual labels:  ocr, tesseract-ocr
Scene Text Recognition
Scene text detection and recognition based on Extremal Region(ER)
Stars: ✭ 146 (+421.43%)
Mutual labels:  ocr, text-recognition
Crnn.pytorch
crnn实现水平和垂直方向中文文字识别, 提供在3w多个中文字符训练的水平识别和垂直识别的预训练模型; 欢迎关注,试用和反馈问题... ...
Stars: ✭ 145 (+417.86%)
Mutual labels:  ocr, text-recognition
Text Detection
Text detection with mainly MSER and SWT
Stars: ✭ 167 (+496.43%)
Mutual labels:  ocr, tesseract-ocr
Textrecognitiondatagenerator
A synthetic data generator for text recognition
Stars: ✭ 2,075 (+7310.71%)
Mutual labels:  ocr, text-recognition
Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+9417.86%)
Mutual labels:  ocr, text-recognition
doctr
docTR (Document Text Recognition) - a seamless, high-performing & accessible library for OCR-related tasks powered by Deep Learning.
Stars: ✭ 1,409 (+4932.14%)
Mutual labels:  ocr, text-recognition
Sightseq
Computer vision tools for fairseq, containing PyTorch implementation of text recognition and object detection
Stars: ✭ 116 (+314.29%)
Mutual labels:  ocr, text-recognition
Tesseract Ocr for windows
Visual Studio Projects for Tessearct and dependencies
Stars: ✭ 122 (+335.71%)
Mutual labels:  ocr, tesseract-ocr
Tesseract4java
Java GUI and Tools for Tesseract OCR
Stars: ✭ 214 (+664.29%)
Mutual labels:  ocr, tesseract-ocr

NLP-image-to-text

Code to extract text from images

pip install -r requirements.txt

If you encounter file not found error as below:

FileNotFoundError: [Errno 2] No such file or directory: 'tesseract'

Run the following command

brew install tesseract

Then run the image-to-text.py as below:

 python image-to-text.py <relative filepaths separated by spaces>

We observe that for clean inputs the accuracy is high. See input 2. Noisy input may not have the same effect!

Some sample inputs and outputs:

Input:

Don't watch the clock; Do what it does. keep going. Sam Levenson

Output:

DON’T
WATCH THE
CLOCK;



KEEP GOING.

SAM LEVENSON

/
/

7 J .- - flCESScom

Input:

How to recognize text from image with Python OpenCv OCR?

Output:

How to recognize text from image with Python OpenCv OCR ?

Input:

A negative mind will never give you a positive life.

Output:

A negative mind
will nevergive you
a positivevli‘fe.

Credit: Base code has been taken from Tram Vo Minh's blog. And modifications have been performed on that!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].