ScratchData LogoScratchData
Back to Paddle2See's profile

Digit OCR 5x9

PAPaddle2See•Created November 20, 2010
Digit OCR 5x9
73
55
2188 views
View on Scratch

Description

A little slow online - download for better perfomance. Draw your digits on the screen and this project will try and identify them! This is a more sophisticated version of my previous project. It scans your digit in and shows it in the top bitmap, then it compares it to the templates and shows you the best match template in the lower bitmap. This version uses a 5x9 grid for more accuracy. It also uses more sophisticated templates...they can have "forbidden zones" (marked by red pixels). This idea allows me to use far fewer templates (only 12!) and still get good differentiation. You can look at the error score your pattern got with the other templates by clicking on the small triangles (or using the arrow keys). What's an error score? It's a measure of how close the number you drew is to one of the templates. For every pixel that doesn't match the template, the score is increased by one. If the pixel uses a forbidden zone pixel, the error score is increased by 10. A perfect match would be a score of zero. If the templates don't match the way you draw a number...you can change them! Click on the cells of the lower bitmap and the pixels will cycle through the three states (on/off/forbidden) using the colors (black/tan/red). Have fun :)

Project Details

Project ID1429540
CreatedNovember 20, 2010
Last ModifiedAugust 9, 2023
SharedNovember 20, 2010
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root