Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ToxicSkill/YOLOV7-Webcam-inference
Simple WPF program for webcam inference with yoloV7 models.
https://github.com/ToxicSkill/YOLOV7-Webcam-inference
Last synced: 3 months ago
JSON representation
Simple WPF program for webcam inference with yoloV7 models.
- Host: GitHub
- URL: https://github.com/ToxicSkill/YOLOV7-Webcam-inference
- Owner: ToxicSkill
- Created: 2022-10-19T07:53:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T11:30:48.000Z (about 1 year ago)
- Last Synced: 2024-08-03T01:26:22.805Z (7 months ago)
- Language: C#
- Size: 23.8 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-yolo-object-detection - ToxicSkill/YOLOV7-Webcam-inference - Webcam-inference?style=social"/> : Simple WPF program for webcam inference with yoloV7 models. (Other Versions of YOLO)
README
# YOLOV7-Webcam-inference
Simple WPF program for webcam inference with yoloV7 models.
Implemenation of ONNX model [yolov7](https://github.com/WongKinYiu/yolov7) inference with webcam cameras.
## What's new 🤗
- **Multicamera support**
- **Ready to use model** (no export needed)
- **.NET 8.0**
- **IP Cameras support**
- **Fluent [WPF-UI](https://github.com/lepoco/wpfui) design**
- **Inference speed optimalizations**## Usage
Download .pt model **or use onnx exported model** (in *Yolo* folder)
- [`yolov7-tiny.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-tiny.pt)
- [`yolov7.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7.pt)
- [`yolov7x.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7x.pt)
- [`yolov7-w6.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-w6.pt)
- [`yolov7-e6.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-e6.pt)
- [`yolov7-d6.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-d6.pt)
- [`yolov7-e6e.pt`](https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7-e6e.pt)Export pt model to ONNX
**Pytorch to ONNX with NMS (and inference)**![]()
```shell
python export.py --weights yolov7-tiny.pt --grid --end2end --simplify \
--topk-all 100 --iou-thres 0.65 --conf-thres 0.35 --img-size 640 640 --max-wh 640
```
Place exported ONNX model in solution folder (e.q. Yolo) and change ModelPath const value in App.xaml.cs file (line 14)Use Release confguration for better performance.
## References & Acknowledgements
Expand
* [https://github.com/WongKinYiu/yolov7](https://github.com/WongKinYiu/yolov7)
* [https://github.com/ivilson/Yolov7net](https://github.com/ivilson/Yolov7net)