forked from ultralytics/yolov5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OpenCV DNN option for ONNX inference (ultralytics#5136)
* Add OpenCV DNN option for ONNX inference Usage: ```bash python detect.py --weights yolov5s.onnx # ONNX Runtime inference python detect.py --weights yolov5s.onnx -dnn # OpenCV DNN inference ``` * DNN prediction to tensor * Update detect.py
- Loading branch information
1 parent
ddf571c
commit 95bfe2d
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters