- Python3.6
- Opencv2
- pygame
- numpy
- keras
- tensorflow-gpu
Before you train, please check your training data's path and classes's floderName is correspond with code.
python train.py
It's better for you to predict in the dack background or collect new birght background and train it.
python predict.py
You can add any new command if you need
u
to higher Threshold Binary's quality
l
to lower Threshold Binary's quality
s
to save current image
c
change THRESH_BINARY to THRESH_BINARY_INV
q
exit the program
This dataset is collect by Wylie Sun
and Chang-Yu-Han
.
Please feel free and use it.
Wylie&Yuhan's hand dataset