Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
/ ma-vn-otsu Public archive
generated from gomu-gomu/starter

Thresholding demo (Otsu algorithm).

License

Notifications You must be signed in to change notification settings

gomu-gomu/ma-vn-otsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thresholding

Otsu's Algorithm

Sample images are in the assets folder. Source code is under the src folder

Installation

Before running make sure you set up your environment:

python3 -m venv venv
source venv/bin/activate

Then install the dependencies:

pip3 install -r requirements.txt

Usage

Web demo can be run with:

streamlit run src/web.py

Cli demo can be run with:

python3 src/cli.py assets/finger_print.jpg

Docker

This demo comes in with a docker image that can be run with:

./scripts/run.sh [web|cli]

Credits

  • ESSAMADI Oussama
  • ZOUIR Amine
  • LOULID zakaria