- Input image
- Output
0 | 1 | 2 | 3 | 4 | 5 | |
---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 1 | 0 | 1 | 0 | 0 | 1 |
2 | 0 | 1 | 0 | 0 | 1 | 0 |
3 | 1 | 0 | 1 | 0 | 1 | 0 |
4 | 0 | 0 | 1 | 0 | 0 | 0 |
- Please run
pip install -r requirements.txt
- This script might not work out of the box for all the images, hence you might neet to edit script and tune parameters to get optimal solutions for your images
python3.x extract_data.py
- It will ask you to enter image name (Provide image name with path)