All Projects → goncalopp → Simple Ocr Opencv

goncalopp / Simple Ocr Opencv

Licence: agpl-3.0
A simple python OCR engine using opencv

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Simple Ocr Opencv

Cpp Image Analysis
DataCore bot image analysis component
Stars: ✭ 125 (-72.41%)
Mutual labels:  opencv, ocr
Stb Tester
Automated Testing for Set-Top Boxes and Smart TVs
Stars: ✭ 148 (-67.33%)
Mutual labels:  opencv, ocr
Robin
RObust document image BINarization
Stars: ✭ 131 (-71.08%)
Mutual labels:  opencv, ocr
Pytesseractid
使用 pytesseract ocr 识别 18 位身份证号
Stars: ✭ 23 (-94.92%)
Mutual labels:  opencv, ocr
Heart disease prediction
Heart Disease prediction using 5 algorithms
Stars: ✭ 43 (-90.51%)
Mutual labels:  supervised-learning, machinelearning
Idmatch
Match faces on id cards with OCR capabilities.
Stars: ✭ 52 (-88.52%)
Mutual labels:  opencv, ocr
Scene Text Recognition
Scene text detection and recognition based on Extremal Region(ER)
Stars: ✭ 146 (-67.77%)
Mutual labels:  opencv, ocr
Spacextract
Extraction and analysis of telemetry from rocket launch webcasts (from SpaceX and RocketLab)
Stars: ✭ 131 (-71.08%)
Mutual labels:  opencv, ocr
Opencv
📷 Computer-Vision Demos
Stars: ✭ 244 (-46.14%)
Mutual labels:  opencv, ocr
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (-54.97%)
Mutual labels:  opencv, machinelearning
Prlib
Pre-Recognition Library - library with algorithms for improving OCR quality.
Stars: ✭ 18 (-96.03%)
Mutual labels:  opencv, ocr
Idcardocr
离线环境下第二代居民身份证信息识别
Stars: ✭ 328 (-27.59%)
Mutual labels:  opencv, ocr
Scanner
二维码/条码识别、身份证识别、银行卡识别、车牌识别、图片文字识别、黄图识别、驾驶证(驾照)识别
Stars: ✭ 547 (+20.75%)
Mutual labels:  opencv, ocr
Gaspumpocr
Python and OpenCV scripts to detect digits on a Gas Pump
Stars: ✭ 116 (-74.39%)
Mutual labels:  opencv, ocr
Free Ai Resources
🚀 FREE AI Resources - 🎓 Courses, 👷 Jobs, 📝 Blogs, 🔬 AI Research, and many more - for everyone!
Stars: ✭ 192 (-57.62%)
Mutual labels:  machinelearning, supervised-learning
Ocrtable
Recognize tables and text from scanned images that contain tables. 从包含表格的扫描图片中识别表格和文字
Stars: ✭ 155 (-65.78%)
Mutual labels:  opencv, ocr
zoofs
zoofs is a python library for performing feature selection using a variety of nature-inspired wrapper algorithms. The algorithms range from swarm-intelligence to physics-based to Evolutionary. It's easy to use , flexible and powerful tool to reduce your feature size.
Stars: ✭ 142 (-68.65%)
Mutual labels:  supervised-learning, machinelearning
Handwriting Ocr
OCR software for recognition of handwritten text
Stars: ✭ 411 (-9.27%)
Mutual labels:  opencv, ocr
Ocrmypdf
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
Stars: ✭ 5,549 (+1124.94%)
Mutual labels:  ocr
Emotion Detection
Real-time Facial Emotion Detection using deep learning
Stars: ✭ 438 (-3.31%)
Mutual labels:  opencv

Simple Python OCR

Build Status

A simple pythonic OCR engine using opencv and numpy.

Originally inspired by this stackoverflow question

Essential Concepts

Segmentation

In order for OCR to be performed on a image, several steps must be performed on the source image. Segmentation is the process of identifying the regions of the image that represent characters.

This project uses rectangles to model segments.

Supervised learning with a classification problem

The classification problem consists in identifying to which class a observation belongs to (i.e.: which particular character is contained in a segment).

Supervised learning is a way of "teaching" a machine. Basically, an algorithm is trained through examples (i.e.: this particular segment contains the character f). After training, the machine should be able to apply its acquired knowledge to new data.

The k-NN algorithm, used in this project, is one of the simplest
classification algorithm.

Grounding

Creating a example image with already classified characters, for training purposes. See ground truth.

How to understand this project

Unfortunately, documentation is a bit sparse at the moment (I gladly accept contributions). The project is well-structured, and most classes and functions have docstrings, so that's probably a good way to start.

If you need any help, don't hesitate to contact me. You can find my email on my github profile.

How to use

Please check example.py for basic usage with the existing pre-grounded images.

You can use your own images, by placing them on the data directory. Grounding images interactively can be accomplished by using grounding.UserGrounder. For more details check example_grounding.py

Copyright and notices

This project is available under the GNU AGPLv3 License, a copy should be available in LICENSE. If not, check out the link to learn more.

Copyright (C) 2012-2017 by the simple-ocr-opencv authors
All authors are the copyright owners of their respective additions

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU AGPLv3 License, as found in LICENSE.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.    
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].