Skip to content

haltode/OCR

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

OCR

Optical character recognition software written in C.

Requirements

  • gcc
  • GTK3
  • SDL2
  • SDL2_image

If you plan to train the network you will also need:

  • python
  • xelatex
  • pdftoppm

Build

make

Usage

./ocr

Training

  1. Generate the custom dataset used to train the neural network
    cd dataset
    # This can take a while
    ./generate_dataset.sh
  2. (optional) Adjust training parameters in src/ocr_train.c
  3. Use the --train option when launching the OCR
    ./ocr --train

This will output the neural network in output/ocr_network_eX after each epoch.

You can save the pre-computed dataset to avoid wasting time before each training (see details about this in src/ocr_train.c).

About

Optical character recognition software (EPITA S3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published