Skip to content

ToxicSkill/YOLOV7-Webcam-inference

Repository files navigation

YOLOV7-Webcam-inference

Simple WPF program for webcam inference with yoloV7 models.

Implemenation of ONNX model 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 design
  • Inference speed optimalizations

Usage

Download .pt model or use onnx exported model (in Yolo folder)

Export pt model to ONNX Pytorch to ONNX with NMS (and inference) Open In Colab

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

About

Simple WPF program for webcam inference with yoloV7 models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages