Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 1.97 KB

File metadata and controls

75 lines (47 loc) · 1.97 KB

DigitRecognizer

Project Status version GitHub Issues Contributions welcome License

Handwritten digit recognizer AI.

Getting Started

Prerequisites

  • Python 3.6+
  • Anaconda 4+ (optional)
  • Python modules from the requirements.txt

Deployment

Dowload and install the dependencies with the command:

$ python -m pip install -r requirements.txt

Training

To train the model you should run:

$ python trainer.py

For front end JS

If you want to use the model in HTML, you should run porter model.pkl --js --pipe > "public/js/model.js".

After this, run python port.py and the estimator is ready to be used.

Usage

To try the model.pkl estimator, go to this project's github page, or open the index.html in the main directory and remove the /DigitRecognizer/ root from the public links, like

/DigitRecognizer/public/css/main.css
will be 
public/css/main.css

after this you will be able to work with the index.html file localy on your computer.

Contributing

This project is open for any kind of contribution from anyone.

Steps

  1. Fork this repository
  2. Create a new branch (optional)
  3. Clone it
  4. Make your changes
  5. Upload them
  6. Make a pull request here
  7. Profit.

Authors

License

See the LICENSE file for details.