(OpenCV3+python) How to change the origin of a contour- cv2.drawcontours
Hi.. in my project the target object is always in the center of picture...since the image is too busy I crop the image first ( clip=image[X1:X2,Y1:Y2] ) and then I can successfully do measurements, etc. on clip. Now I need to draw a certain contour (found in clip) on the original image for visualization purposes. But obviously the contour will not be in the correct place as the origin of clip is different than image (so contour will be drawn on top left corner of image instead of center). Is there a way to fix this? Thanks.
look at the docs it has an offset point
Thanks Berak!