How do I achieve object detection using yolov4 using a webcam (Realtime object detection)
1 view (last 30 days)
Show older comments
I need to do object detection on yolov4 but using a webcam for live object detection and I can't find any code or reference on how to do it. (The only code that I found was using images only)
0 Comments
Answers (1)
Walter Roberson
on 24 Oct 2023
See for example https://www.mathworks.com/help/driving/ref/yolov4objectdetectormonocamera.html which shows a loop of reading camera frames and running a trained yolo4 network on the frames.
3 Comments
Walter Roberson
on 24 Oct 2023
Did you run the example?
openExample('driving/DetectVehiclesInTrafficScenesUsingYOLOV4Example')
If so what happened?
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!