CoolFace
Apppublic

nzIng/unet-manuscripts-segmentation-app

sourceHugging Facecc-by-4.0updated 3mo agoView on Hugging Face
0likes
App README

U-Net Manuscripts Segmentation App

Gradio demo for segmenting text lines in medieval manuscript page images.

What It Does

Upload one manuscript page and the app returns:

  • —the input page with detected line boxes
  • —the predicted segmentation mask
  • —line crops
  • —a downloadable JSON with bbox, polygon, score, and reading_order

Model

The app uses the local Keras checkpoint:

text
unet-segmentation.keras

The model input size is 256 x 256 x 3.

Run Locally

bash
python app.py

Then open the local Gradio URL shown in the terminal.