kailau02 / Dolly-Zoom

A real-time dolly zoom camera effect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dolly-Zoom

I've always been amazed by the gradual perspective change of dolly zoom, and I have some experience in python and OpenCV, so I decided to create an AI dolly zoom. The python script detects a face and draws a box around the closest face to the camera. Then, through a few chucks of geometric equations, the window zooms into the users face.

Dependencies

To install dependencies:

$ pip3 install -r requirements.txt

Video Example

Dolly Zoom Video Example

About

A real-time dolly zoom camera effect

License:MIT License


Languages

Language:Python 100.0%