Giter VIP home page Giter VIP logo

alphanum-hasyv2's Introduction

AlphaNum-HASYv2

This repository contains Alpha-Numeric Handwritten Dataset stored in Python Numpy array; and is sub-set of dataset from HASYv2.

HASYv2 contains 32px x 32px images of 369 symbol classes while AlphaNum-HASYv2 contains 32px x 32px images of 62 (or 0-61) symbol classes (0-1 = 10, A-Z = 26, a-z = 26)

Pre-generated Numpy dataset

Under output_data_alpha_num directory 3 files are present, which are as followed:

  • alphanum-hasy-data-X.npy : Contains images data-set with size (4658, 32, 32)
  • alphanum-hasy-data-y.npy : Contains labels data-set with size (4658,)
  • symbols.csv : Contains mapping between symbol_id and its symbol (i.e digit/char)

Regenerate Numpy dataset

Assumptions:

  • This code is beign run on MacOS, because I have not tested it on any other OS yet ;)
  • User has cloned this repo successfully and is in root of this project
  • This code is using Python 3.x

Follow below steps to regenerate dataset:

0: Download HASYv2 dataset (Required only once)

$ cd HASYv2_data
$ bash dowload_data.sh

1: Regenerate AlphaNum-HASYv2 dataset

$ cd 'TO_ROOT_PATH_OF_THIS_REPO'
$ pip install -r requirements.txt
$ python hasy_to_numpy_data_v2.py

Output file are generated under output_data_alpha_num directory

alphanum-hasyv2's People

Contributors

sumit-kothari avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.