Calistung: Baca, Tulis, Hitung is an application that provide educational features to help children learn to write, read, and count.
- Kaggle A-Z Handwritten
- MNIST Dataset
- Additional Handwritten Character
- Download the repo/clone it. Make it available on your device
- Open terminal and go to the project's directory
- Type
python -m venv env
and press enter (create virtual environment) - For Windows user, type
env\Scripts\activate
. For Linux, typesource ./env/bin/activate
(accessing the virtual environment) - Type
pip install -r requirements.txt
(installing the requirements) - Serve the app by typing
uvicorn main:app --reload
- It will run on
http://127.0.0.1:8000
Endpoint | Method | Body Sent | Description |
---|---|---|---|
/ | GET | None | HTTP GET REQUEST Testing Endpoint |
/predict | POST | Image file: 'Image' | HTTP POST REQUEST Prediction Endpoint |
- Open Postman App
- Enter URL request bar with
http://127.0.0.1:8000/predict
- Select method POST
- Go to Body tab and select form-data
- Change key from form-data with file, with name
Image
- Input the image that you want predict as a value of the key
- Send the request, or
- Simply access
http://127.0.0.1:8000/docs
and execute thepredict
endpoint