2023-09-27 14:40:13 +00:00
|
|
|
# Marker Separation
|
|
|
|
|
|
|
|
Project for palletizing images based on a limited set of marker colors.
|
|
|
|
|
|
|
|
Includes Python application for prototyping and C++ application for
|
|
|
|
building a self-contained binary.
|
|
|
|
|
|
|
|
|
2023-10-27 03:37:27 +00:00
|
|
|
```bash
|
|
|
|
python pallete.py ~/Desktop/Ohuhu_50_pallete_card_printed_scaled.png
|
|
|
|
```
|
|
|
|
|
|
|
|
```bash
|
|
|
|
python separator.py ~/Desktop/look.png 6 ./palletes/printed_pallete.json ./
|
|
|
|
```
|
|
|
|
|
|
|
|
### TODO
|
|
|
|
|
|
|
|
* Fix (?) BGR and RGB closest color match
|
|
|
|
* Order colors before matching
|
|
|
|
* Match brightest color to white and skip
|
|
|
|
* Re-assemble image with patched colors
|
|
|
|
* Scripts for running `stipple_gen` on each layer
|
|
|
|
|