필터 지우기
필터 지우기

Using the Region of Interest in regionprops

조회 수: 1 (최근 30일)
Daniel Hamilton
Daniel Hamilton 2018년 2월 23일
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by