Skip to content

Proyek akhir Studi Independen Bersertifikat (SIB) Batch 2 Tahun 2022, terkhusus dari sisi Machine Learning.

Notifications You must be signed in to change notification settings

wdprsto/Calistung_processing

Repository files navigation

C22-PS283: Machine Learning Path

About Calistung

Calistung: Baca, Tulis, Hitung is an application that provide educational features to help children learn to write, read, and count.

Technology Used for ML Repo

Dataset Resources

Notebooks

Image Classification Folder

API URL Created by CC

Calistung

Installing FastAPI App

  • 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, type source ./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

Character Recognition Endpoint

Endpoint Method Body Sent Description
/ GET None HTTP GET REQUEST Testing Endpoint
/predict POST Image file: 'Image' HTTP POST REQUEST Prediction Endpoint

How to predict image with Postman

  • 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 the predict endpoint

Arsitektur Model

image

Helpful References

About

Proyek akhir Studi Independen Bersertifikat (SIB) Batch 2 Tahun 2022, terkhusus dari sisi Machine Learning.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages