I have detected a area (rectangle) in my image with openCv and i have stored the 4 points of rectangle with their coordinates.
I would to crop the original image in this area.
I have:
Mat image_original;
Point p1,p2,p3,p4;
Mat image_output;
How i do this? Thanks!