All Projects → suyashkumar → Seven Segment Ocr

suyashkumar / Seven Segment Ocr

Digitizes numbers from videos & images of seven segment displays

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Seven Segment Ocr

Textboxes plusplus
TextBoxes++: A Single-Shot Oriented Scene Text Detector
Stars: ✭ 883 (+1566.04%)
Mutual labels:  ocr
Ocrbot
An OCR (Optical Character Recognition) bot for Mastodon (and compatible) instances
Stars: ✭ 39 (-26.42%)
Mutual labels:  ocr
Eyevis
Android based Vocal Vision for Visually Impaired. Object Detection, Voice Assistance, Optical Character Reader, Read Aloud, Face Recognition, Landmark Recognition, Image Labelling etc.
Stars: ✭ 48 (-9.43%)
Mutual labels:  ocr
Mspaintide
Programming in MS Paint
Stars: ✭ 909 (+1615.09%)
Mutual labels:  ocr
Paperless
Scan, index, and archive all of your paper documents
Stars: ✭ 7,662 (+14356.6%)
Mutual labels:  ocr
Pottan Ocr
A stupid OCR for malayalam language
Stars: ✭ 39 (-26.42%)
Mutual labels:  ocr
Img2latex Mathpix
An image to LaTeX tool by MathpixOCR API and JavaFX
Stars: ✭ 872 (+1545.28%)
Mutual labels:  ocr
Tesseract Python
Examples to implement OCR(Optical Character Recognition) using tesseract using Python
Stars: ✭ 49 (-7.55%)
Mutual labels:  ocr
Blackout
NaNoGenMo 2016 entry #2
Stars: ✭ 36 (-32.08%)
Mutual labels:  ocr
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (-15.09%)
Mutual labels:  ocr
Pgstosrt
PGS to Srt converter
Stars: ✭ 21 (-60.38%)
Mutual labels:  ocr
Zxingcamera
Camera for Android,身份证号码识别 (本地,实时)
Stars: ✭ 34 (-35.85%)
Mutual labels:  ocr
Newocr
A custom OCR library in pure Java made as a replacement for MS Paint IDE's OCR
Stars: ✭ 43 (-18.87%)
Mutual labels:  ocr
Seq 2 Seq Ocr
Handwritten text recognition with Keras
Stars: ✭ 15 (-71.7%)
Mutual labels:  ocr
Coremlvisionscanner
CoreML Vision Text Data & Animal Detector iOS App
Stars: ✭ 49 (-7.55%)
Mutual labels:  ocr
En Data mining
Data Mining Historical Newspaper Metadata (METS/ALTO formats)
Stars: ✭ 14 (-73.58%)
Mutual labels:  ocr
Pan card ocr project
To extract details from Indian National Identification Cards such as PAN (completed) & Aadhar, Passport, Driving License (WIP) in a structured format
Stars: ✭ 39 (-26.42%)
Mutual labels:  ocr
Idmatch
Match faces on id cards with OCR capabilities.
Stars: ✭ 52 (-1.89%)
Mutual labels:  ocr
Swiftytesseractrte
SwiftyTesseract Real-Time Engine
Stars: ✭ 49 (-7.55%)
Mutual labels:  ocr
Vue.js With Asp.net Core Sample
This provides a sample code using vue.js running on ASP.NET Core
Stars: ✭ 44 (-16.98%)
Mutual labels:  ocr

seven-segment-ocr

A program and set of Python modules to parse digits from videos of seven segment displays. This program does not operate on a trained model--rather, it takes a universal approach by taking three line profiles to efficiently and effectively determine which digit is shown.

👀 I'm actively revisiting this library after many years (when the core of this was written) to improve code quality, testing, features, architecture, and more as this starts to get organic traction.

Usage

Simply supply a path to a video of a seven segment display and an interval to sample the digits at and an output file will be generated (by default out.csv) with the recognized digits at each sample interval. Before proceeding, the program first presents the first frame of the video and you must click and drag rectangular selections around the digits in the video and then press "d" when done or "r" to redraw rectangles. The program will then go though and recognize and parse the digits at each interval.

python seven_segment_ocr.py --video VIDEO_PATH --output OUTPUT_DATA_FILE --period SAMPLE_PERIOD

This will bring up the first frame of the video where you can draw rectangles around the digits you want to parse throughout the video. When you're done selecting as many digits as you'd like, press "d" and then enter. To redraw rectangles press "r" instead of "d".

Modules

  • image_selection.py: Functions to present the user an image and returns retangular ROIs the user selects (specifically getSelectionsFromImage(img))
  • digit_reader.py: Functions to parse all the seven segment display digits (specified by retangular ROIs) and return the recognized igits (see read_digits(image, roiPoints)).
  • seven_segment_ocr.py: The main entry point for the program is here. Given a video path and a sample interval (in seconds), it gets ROIs from the user and parses digits out of the video at every sample interval.
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].