ORTHO mask editor tool
Project description
ORTHO Mask Editor
A PyQT5-based mask editor tool for the ORTHO (Old Research Text Hebrew OCR) project. This tool helps create training data for the ORTHO U-Net AI model by allowing users to create and edit image masks of Hebrew text documents.
About ORTHO
ORTHO (Old Research Text Hebrew OCR) is a project focused on optical character recognition for historical Hebrew texts. The project uses a U-Net architecture for text segmentation and recognition.
Purpose
This mask editor serves as a crucial tool in the ORTHO pipeline by:
- Creating binary masks for training data
- Marking text regions in historical Hebrew documents
- Preparing ground truth data for the U-Net model
- Enabling manual correction of automated segmentation results
Installation
Prerequisites
- Python 3.6 or higher
- PyQt5
- NumPy
Setup
- Clone the repository:
git clone https://github.com/yaacov/ortho-editor.git
cd ortho-editor
Usage
-
Prepare a directory that contains two subdirectories named
inputsandtargets.inputsholds the original images.targetsholds the corresponding mask images (same filenames, same dimensions).
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python main.py -
When prompted, select your directory with
inputsandtargetssubdirectories. -
A list of files from the
inputsfolder will appear. Choose a file to display the image as the background, then draw or edit the mask on top.
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ortho_editor-0.1.4.tar.gz.
File metadata
- Download URL: ortho_editor-0.1.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d475214ac85c8af4ca55e6011dc73da12f397ce66231517ca7615864f7fa00f
|
|
| MD5 |
c413dc9bd146634439e67025a0237174
|
|
| BLAKE2b-256 |
060791bb817263fcc96d3b43c7ff80ea10dcddf890c08f0408e11c21868e5c3b
|
File details
Details for the file ortho_editor-0.1.4-py3-none-any.whl.
File metadata
- Download URL: ortho_editor-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baa4303b33cfdcb8d6749bc491accb9001c4af73ba484322cbf52705201c2c5e
|
|
| MD5 |
ca7d2ba752d76739a6f10b4e18228a68
|
|
| BLAKE2b-256 |
4a4620ea00a7091163b50b1e5eedc16aeab2a0806ab17abc2db28041e1c48e6e
|