How do I achieve object detection using yolov4 using a webcam (Realtime object detection)

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)

답변 (1개)

Walter Roberson
Walter Roberson 2023년 10월 24일
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

I have already tried this one but it didn't work
Do you have a full code for this task ?
Did you run the example?
openExample('driving/DetectVehiclesInTrafficScenesUsingYOLOV4Example')
If so what happened?

댓글을 달려면 로그인하십시오.

카테고리

제품

릴리스

R2022b

질문:

2023년 10월 24일

댓글:

2023년 10월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by