I am working on a video.mp4 file and I would like to apply some conditions for half of the frame and other conditions for the other half. One of the frames is as shown .