Simple WPF program for webcam inference with yoloV7 models.
Implemenation of ONNX model yolov7 inference with webcam cameras.
- Multicamera support
- Ready to use model (no export needed)
- .NET 8.0
- IP Cameras support
- Fluent WPF-UI design
- Inference speed optimalizations
Download .pt model or use onnx exported model (in Yolo folder)
Export pt model to ONNX Pytorch to ONNX with NMS (and inference)
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.