theAIGuysCode / yolov4-custom-functions

A Wide Range of Custom Functions for YOLOv4, YOLOv4-tiny, YOLOv3, and YOLOv3-tiny Implemented in TensorFlow, TFLite, and TensorRT.
MIT License
602 stars 370 forks source link

How to run python script without cmd? #90

Open huzaifah-here opened 2 years ago

huzaifah-here commented 2 years ago

I'm integrating in Pyqt gui. python detect_video.py --weights ./checkpoints/custom-416 --size 416 --model yolov4 --video 0 I want to run without cmd

huzaifah-here commented 1 year ago

I got it. Remove flags and declare as variable.