python train.py
# change link to img in predict_img.py, then run command
python predict_img.py
python predict_video.py
# change input source of cv2 to link video, then run command
python predict.py
To be able to use webcam for web, you must install ssl for your web. Then run below command:
cd deploy_web
python app.py