I am able to successfully get the xy coordinates for a face object. However, I would like to get the equivalent for the blob object .cx and .cy for the objects returned by .find_features. Is there some way to get the cx and cy values for a non-blob object OR convert the resulting .find_features object into a blob object?
The centroid is just the middle of the box in this case. So, divide the width and height by 2.
Find_features uses a haar cascade which effectively is just finding a box where the feature it’s looking for is.