Extract ROI from image using below rule
ROI's is more than 25% of image
ROI's width and height > 50 pixels
else use entire image as ROI