I am having trouble determining a way to get centroids from objects detected by a trained object detector- the only output seems to be bounding boxes. Is there another way I could get the centroid coordinates for the detected HOG features?
code:
detector = vision.CascadeObjectDetector('Detector3.xml');detector.MergeThreshold = 3;img = imread('Test_image.jpg');[bbox] = step(detector,img)
Best Answer