Hi everyone!
I need to find the coordinate of the top point of the largest contour in the scene. I can find the largest contour but I can't find info about extreme points in java. This is what I found in c++:
extTop = tuple(c[c[:, :, 1].argmin()][0])
extBot = tuple(c[c[:, :, 1].argmax()][0])
Can someone help me to understand how to do that in Java?
Thank you!