Sundanese script OCR, made using YOLO for object detection, and LSTM for transliteration.
- Individual character detection using YOLO.
- Transliteration to Latin using Seq2Seq LSTM/BiLSTM, based on YOLO detection result.

- Image is uploaded into the main webapp for cropping
- Webapp send image to pre-trained YOLO model for detection.
- Webapp recieve respond from YOLO containing detection result.
- Webapp process the detection result before sending it to transliteration model for transliteration.
- Transliteration model repsonds with the transliteration result.
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt
-
Train model using this Dataset: Sundanese Script Dataset
-
Deploy your trained model on roboflow
-
Insert your own Roboflow API key in the code On App.py:
roboflow_client = InferenceHTTPClient(
api_url="https://detect.roboflow.com",
api_key="API PLACEHOLDER" # add your own API key
)
- Run the application:
python app.py
- Open your browser and go to
http://127.0.0.1:5000/ - On another terminal, go to
Transliteration_model-bcnrdirectory - Run the transliteration model:
python serve.py
