- Python 3.6 or high
- PIP packages
- opencv-python==4.2.0.32
- numpy==1.18.2
python3 run.py --file $ImageFile
python3 run.py --file $VideoFile
python3 run.py --file webcam
--file: file name (*.jpg, *.png, *.mp4 or webcam)--scale: default scale is0.34--out: output file name (support only image i/o)--cols: recommend80. it's default and fit with terminal cols--morelevels: support 2 mode (True or False)True: your source will be displayed as a grayscale image with 70 levelsFalse: your source will be displayed as a grayscale image with 10 levels
python3 run.py --file test.jpg --cols 120 --out resultpython3 run.py --file test.mp4 --scale 0.8 --cols 150python3 run.py --file webcam --cols 120
New contributions are always welcome. feel free to PR
