Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Scans an image of a Hebrew character and identifies the character

Notifications You must be signed in to change notification settings

LiranBratt2121/HebrewCharacterRecognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HebrewCharacterRecognizer

This project is designed to recognize Hebrew characters from object images. It includes functionalities for processing images to remove backgrounds, manipulating the images, adding white backgrounds, and predicting the Hebrew character in the image using a YOLO model.

An 'alef' object Output image1

  • Log: Alef

A 'Feh' object Output image4

  • Log: Feh

Table of Contents

Installation

Follow these steps to get the project up and running on your local machine:

  1. Clone the Repository:
   git clone https://github.com/<username>/HebrewCharacterRecognizer.git
   cd HebrewCharacterRecognizer
  1. Set Up Virtual Environment:

Create a virtual environment to manage dependencies

  python -m venv .venv
  .venv\Scripts\activate # This is on windows.
  1. Install Dependencies:

Install the required packages using pip.

   pip install -r requirements.txt

Usage

  • Running the Server

To start the Flask server, run:

   python main.py run_server
This will start the server at `http://127.0.0.1:5000/`.
You can use the `/process_image` endpoint to process images via POST requests.
  • Processing an Image

To process an image without running the server, you can use the process_image command:

    python main.py process_image --image_path path/to/your/image.jpeg

About

Scans an image of a Hebrew character and identifies the character

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages