Skip to content

Files

Latest commit

 

History

History
17 lines (13 loc) · 1.1 KB

readme.md

File metadata and controls

17 lines (13 loc) · 1.1 KB

Main Notebooks

Resources

Training

These two routines are used for generating the training data used to recignize numbers extracted from Sudoku puzzle matrices.

train_extract_images.py processes images in an input directory and extracts digits from cells as individual trimmed images and puts these images files in the output file organized in directories by the digit

train_compute_image_metrics.py uses these individual digit images to compute the training data, which goes in the output folder.

Note, these routines need to be re-written to make better use of cv2 and numpy.