Using the Region of Interest in regionprops
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
trying to use the regionprops function with the 'UseROI' to tell me when a person passes through a region of interest. However it gives me an error when i run the code saying there are inputs missing. detector = vision.PeopleDetector('ClassificationModel', 'UprightPeople_96x48', 'ClassificationThreshold', 3,'UseROI',true); bbox = step(detector, im); im2 = insertObjectAnnotation(im, 'rectangle', bbox, 'person');
the error occurs in the bbox step saying Not enough input arguments; expected 2 (in addition to the object handle), got 1. does anyone know what the inputs that are missing would have to be in order to get this working?
0 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!