Hi there,
I want to find the centroid for the marked object. After finding the centroid, I need to crop the image around the centroid with a size of 227×227.
Can someone please help by guilding me or writing the code in which I will be able to find the centroid and crop the object from the image? Thank you in advance!
Best Answer