clone the repository
git clone https://github.com/ahmetkca/hand-written-digit-barcode-generator.git
First create a python virtual environment
py -m venv .venv
After you created the venv you need to activate it
on Powershell
.\.venv\Scripts\Activate.ps1
on Command Prompt
.venv\Scripts\activate.bat
You can install all the requirments by typing the following command (you need to activate venv first)
pip install -r requirements.txt
You can configure the constants.py file before running the run.bat
After you configured you can run the run.bat by
on Powershell
.\run.bat
on Command Prompt
run.bat
run.bat file will create thresholds.txt and barcodes.txt files
You can run the program by typing following command on Powershell
py .\search_similar_image.py
Optionally you can create image of barcode by typing following command
py .\create_barcode_image.py
this python file will create image representation of binary barcode