Skip to content

ds4v/NomNaSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bf94190 · Feb 14, 2025

History

46 Commits
Jul 7, 2024
Jan 1, 2024
Feb 14, 2025
Apr 26, 2023
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jan 1, 2024
Apr 17, 2023
Jul 10, 2022
Oct 13, 2022
Apr 19, 2023
Apr 27, 2023
Apr 26, 2023

Repository files navigation

Web application for Sino-Nôm digitalization

demo

Demo: https://share.streamlit.io/ds4v/nomnasite/main/app.py

Usage

pip install requirements.txt
streamlit run app.py

👉 Check out YouTube demo

Features

  1. Input image from local or URL.
  2. Leverage DL models to extract text from image:
  3. Interactive mode using streamlit-drawable-canvas:
    • Drawing mode: draw rectangle boxes on image regions containing characters.
    • Editing mode: rotate, skew, scale, move any box of the canvas on demand.
    • Undo, Redo or Delete canvas contents.
  4. Saving OCR results:
    • Export detection, recognition, and translation results to CSV or JSON.
    • Download patches cropped from detected bounding boxes.
  5. Translate using APIs from:

(*) Note: In Editing mode, double-click a box to remove it.

Reference

My Vietnamese Sino-Nôm digitalization series :