OS:
macOS Mojave10.14.3
Linbraries:
tensorflow1.3.1
opencv-python4.0.0.21
keras 2.2.4
numpy 1.16.2
Clone this repository
cd SmartProductInspection
*When using for the first time, you must delete all files of "list" folder.
python ./CNN/train.py
python ./CNN/test.py --model ./CNN/YOUR_MODEL_NAME
python ./detect.py --model ./CNN/YOUR_MODEL_NAME
Please access by Web browser(Reccomend: FireFox) ./SmartProductInspection/prtotypeUI/index_en.html
You need to make 2 folder "good" and "bad". Next you replace ./CNN/data/good and ./CNN/data/bad to its. Finally, you delete all files of "list" folder.
Also, you can classify three or more classes. If you make linked three or more folders and replace under the ./CNN/data , you can do it.
However, View maybe broken.