Simulating Dolly-Zoom (Vertigo) Effect with python (opencv)

Опубликовано: 14 Март 2026
на канале: Image Processing, CV, ML, DL & AI Projects
402
4

Computational Photography: Simulating Dolly-Zoom (Vertigo) Effect - (which is originally created in movies by moving the camera away from object by keeping the object size fixed with zooming, resulting in vertigo effects in the background due to perspective projection), here faking it with python (along with an input video taken by the camera from a mobile phone): first detecting the object of interest (a bottle) from the frames using Yolo, then creating binary masks automatically and finally applying an appropriate affine transform with the mask to keep the object size approximately fixed