Comments (2)
The English letters dataset was taken from NIST Special Database 19 Handprinted Forms and Characters 2nd Edition. You can download the zip here and more information here. SD19's images are 128x128 pixels. I converted them so that they are similar to MNIST.
Technique used,
The original black and white (bilevel) images from NIST were size normalized to fit in a 20x20 pixel box while preserving their aspect ratio. The resulting images contain grey levels as a result of the anti-aliasing technique used by the normalization algorithm. the images were centered in a 28x28 image by computing the center of mass of the pixels, and translating the image so as to position this point at the center of the 28x28 field. -source
First, manually separated every image and moved it into its respective folder. Folder's name denoted the character whose images it contained. Then each converted image was saved as <character_name><integer>.png
Before conversion,
images
├── a
| ├── 1.png
| ├── 2.png
| └── ...
├── b
| ├── 1.png
| ├── 2.png
| └── ...
└── ...
After conversion,
fs2
├── a1.png
├── a2.png
├── a3.png
├── b1.png
└── ...
from handwriting-recognition.
The codebase has been rewritten. There is now a script to automatically create the dataset.
from handwriting-recognition.
Related Issues (13)
- Can you upload the pickle files of the models you used as well? HOT 6
- Use the extended MNIST dataset
- OSError: [Errno 24] Too many open files: HOT 3
- name error canvas is not defined HOT 1
- Reading the characters in the image file with my own handwriting HOT 1
- fs2 dir HOT 5
- Problem with prediction in letters HOT 2
- 'classifier_knn165.pickle' not found HOT 4
- NameError: name 'Canvas' is not defined HOT 4
- ValueError: Expected n_neighbors <= n_samples, but n_samples = 1, n_neighbors = 165 HOT 2
- Add requirements.txt HOT 4
- Code rewrite HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handwriting-recognition.