Closed ITIZ78 closed 2 years ago
👋 Hello @ITIZ78, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.
For business inquiries or professional support requests please visit https://ultralytics.com or email Glenn Jocher at glenn.jocher@ultralytics.com.
Python>=3.6.0 with all requirements.txt installed including PyTorch>=1.7. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training (train.py), validation (val.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit.
@ITIZ78 you might be thinking of a YOLOv5 REST API?
I think this one is for apps at phone right? Actually, mine is different. The process is like this, after the camera detect/track the object , I need to make some process on it, for example if the false object is detected, the buzzer will on.
I want to reopen this issue, i wrongly click the close issue button
@ITIZ78 you can reference to this competition and look up any platform you want to deploy your app on then
Question
Hi. is anybody know how to change the detect.py to run on GUI mode. I try tkinter, however, it shows difficulty because it has a command like"python detect.py --weights weights/best.pt --img 640 --conf 0.40 -- source" and it should be run on console only. How about to run it in GUI version. Is anybody has experienced do the project like this?
Yes this is the CLI, if you want to inference you might want to look at the source code of detect.py https://github.com/ultralytics/yolov5/blob/bd815d48df18a23e2bb08d88e430183bfb48eb78/detect.py#L51
Search before asking
Question
Hi. is anybody know how to change the detect.py to run on GUI mode. I try tkinter, however, it shows difficulty because it has a command like"python detect.py --weights weights/best.pt --img 640 --conf 0.40 -- source" and it should be run on console only. How about to run it in GUI version. Is anybody has experienced do the project like this?
Additional
No response