[NOTE] Now works ONLY
stabilizer
package.stabilizer_v2
is in development!
This project provides two Python packages for real-time digital image stabilisation for the OAK-D Pro camera.
These packages use feature detection techniques for key point tracking. Based on key points, create 3x3 homography rotation matrix. Then using running average filter, smooth frame path and warp input frame.
This package will work on quaternion rotation vector using data from MEMS-sensor in camera. This package is currently under development.
- Install all library's and packages
[NOTE] User's PC must have already installed python 3.11 or higher.
pip install -r requirements.txt
- Connect camera to PC.
- Run application.
[NOTE] If you don't want to run stabilisation in preview mode (show original and stabilised video, but in cropped resolution), change the
preview_mode
parameter inmain.py
toFalse
.
python main.py
- Close window on
q
oresc