I used OpenCV remap function to unwarp an image and I want to crop some specifies field on unwarp image. How can I convert exactly coordinate on origin image to unwarp image?
output = cv2.remap(img,xmap,ymap,cv2.INTER_LINEAR)
I used OpenCV remap function to unwarp an image and I want to crop some specifies field on unwarp image. How can I convert exactly coordinate on origin image to unwarp image?
output = cv2.remap(img,xmap,ymap,cv2.INTER_LINEAR)