Git Product home page Git Product logo

Comments (2)

samkit-jain avatar samkit-jain commented on September 26, 2024

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.

samkit-jain avatar samkit-jain commented on September 26, 2024

The codebase has been rewritten. There is now a script to automatically create the dataset.

from handwriting-recognition.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.