Add a detector to Simulink Model

1 view (last 30 days)
Gueni Hamza
Gueni Hamza on 26 Jan 2022
Hi guys , i need to integrate this function in Simulink and i neet 2 inputs , one is a picture and second one is a detector to detect the stop sign in the picture but i coundn't add the Yolo detector to the simulink model , how can i do it if it's possible?
Thanks in advance!
function y = fcn(picture,detectorYolo2_stop)
[bboxes1,scores1,labels1] = detect(detectorYolo2_stop,picture);
picture = insertObjectAnnotation(picture,'Rectangle',bboxes1,cellstr(labels1));
y = picture;

Answers (0)

Community Treasure Hunt

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

Start Hunting!