An OCR package for Luganda language
Project description
Luganda OCR
Luganda OCR is a Python package for optical character recognition (OCR) of Luganda language text. It provides functionalities to preprocess images and make predictions on text extracted from images.
Installation
You can install Luganda OCR using pip:
pip install luganda_ocr
Usage
Import necessary modules
from luganda_ocr.utils import batch_prediction,save_predictions
Define the folder containing the images to process
image_folder = "path/to/your/image/folder"
Make predictions on the images in the folder
predictions = batch_prediction(image_folder)
Save predictions to a file
output_file = "path/to/output/file.txt"
save_predictions(predictions, output_file)
License
This project is licensed under the MIT License - see the LICENSE file for details.
vbnet
Replace "path/to/output/file.txt", "path/to/your/image/folder" with actual paths and filenames relevant to your project.
This README provides a brief overview of your package, installation instructions, usage examples, links to documentation and source code, and information about contributing and licensing. Feel free to customize it further to suit your project's needs!
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 luganda_ocr-0.0.1.tar.gz.
File metadata
- Download URL: luganda_ocr-0.0.1.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4377f4b97fdd89ca79dfac7cf83c7b0f8052c094d882b7d454295e2747deca28
|
|
| MD5 |
c1db1d7b8413afe20ffbc86dc1f92129
|
|
| BLAKE2b-256 |
caa55c6e6b83d27094d8ff73aa7c2079623c647cf558f329c7a1c583f8614fe1
|
File details
Details for the file luganda_ocr-0.0.1-py3-none-any.whl.
File metadata
- Download URL: luganda_ocr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8855c7a8b4c4724d050e830c7ca232e021121c7400ea4206799b882f58eebd9f
|
|
| MD5 |
ee0adb414bf3f2c2d5e718bf3a341871
|
|
| BLAKE2b-256 |
8bf91aa2dc9883339607ba8bb1d11fa18cf094c68058df68b95a83e57e4ce714
|