GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SachaIZADI/Seven-Segment-OCR: Computer vision project to automatically recognize digits characters in a seven-segments display

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.ipynb_checkpoints
.ipynb_checkpoints
 
 
Datasets
Datasets
 
 
Datasets_Eleven
Datasets_Eleven
 
 
Datasets_digits
Datasets_digits
 
 
Datasets_frames
Datasets_frames
 
 
__pycache__
__pycache__
 
 
annexes_failed_attemps
annexes_failed_attemps
 
 
img
img
 
 
test
test
 
 
utils
utils
 
 
Datasets.py
Datasets.py
 
 
Model.py
Model.py
 
 
README.md
README.md
 
 
digits_cut.py
digits_cut.py
 
 
frame_extractor.py
frame_extractor.py
 
 
main.ipynb
main.ipynb
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Optimizer

A seven-segment digits OCR

Optimizer is a seven-segment digits OCR class project carried out by Alex, Priscille, Charlotte and Sacha.

Objective

The aim of the project is to digitize the monitoring of mines activities. We focused on the gas and lubricant consumption of vehicles within the mines. The idea is to build computer vision model that would enable operators to take a picture of the gas pump with their smartphones, and automatically log the value of the gas transaction. We were given ~850 pictures (of varying quality) of the gas pump with their associated values.

Approaches

We tried 2 different approaches:

  1. The "digit-per-digit" approach

    1. Image processing: identify the screen, crop the picture, grayscale, thresholding, localize digits and crop them.
    2. Learning phase: learn a "MNIST" model that predicts each digit individually.
    3. Inference phase: pass each cropped digit to the "MNIST" model, and append the results.
  2. The "end-to-end" approach

    1. Image processing: identify the screen, crop the picture, grayscale and thresholding.
    2. Learning phase: learn a model that predicts all digits at once. We based our model on the "Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks" paper by Goodfellow & al. The idea is to build a ConvNet that simultaneously learns (i) the digits and (ii) where to look for them.

Results

How to reproduce our work and run our models

TBC...

#1 Preprocessing python frame_extractor.py

#2 Preprocessing python digits_cut.py

#3 Model python main.py

About

Computer vision project to automatically recognize digits characters in a seven-segments display

Topics

classification-modelcomputer-visioncomputer-vision-aidata-science-for-business-x-hecdeep-learningdeep-neural-networkshecmachine-learningocrpolytechnique

Resources

Readme
Activity

Stars

94 stars

Watchers

6 watching

Forks

33 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.