How to Apply warpPerspective only for part of Image?

asked 2020-09-25 07:44:35 -0500

Supreeth Kumar Y P gravatar image

In my application I am doing warpPerspective after that I am cropping with ROI ( example: cv::Rec(45, 233, 403, 182)). Is there any way to apply warpPerspective only for ROI so that I can reduce time.

image description

need to apply warpPerspective only for part marked in yellow rectangle.

Thanks!

edit retag flag offensive close merge delete