https://github.com/blebleee/1mg_codingtest
- A website to recognize the handwritten digits uploaded by users
- Using an opensource tool Tesseract: https://github.com/madmaze/pytesseract
In order to install this product, kindly choose 1 of the following 2 options:
- Docker installed in the local machine
- git installed in the local machine
- Clone the source code
- This step will do get the source code from github to your local machine
git clone https://github.com/blebleee/1mg_codingtest
cd 1mg_codingtest
- Build the docker image
- This step will do build a dockerfile
- Remember to enter root password in order to run sudo
sudo docker build -t mnisting .
- Run the server using docker
sudo docker run -itd -p 8888:8888 --name mnist mnisting:latest
pip install -r requirements.txt
python3 main.py
- In order to use the product, please
- Prepare some handwritten images
- Open your web browser
- Enter
localhost:8888
- Upload images with "select" button then predict with "submit" button.