Unclear why stabilizer.transforms is returning so many entriesSee original GitHub issue
from vidstab import VidStab, layer_overlay, layer_blend import cv2 import os # init vid stabilizer stabilizer = VidStab() INPUT_FILE_PATH = ".../image_%06d.jpg" OUT_FILE_PATH = ".../image_%06d.jpg" stabilizer.stabilize(input_path=INPUT_FILE_PATH, output_path=OUT_FILE_PATH, border_type='black', border_size= 0) transforms = stabilizer.transforms print("......", len(transforms))
Unclear why stabilizer.transforms is returning so many entries. This doesn’t happen when border_size = ‘auto’
Using input path “image_%06d.jpg” I am able to read and apply transforms. Why for an input of 48 images do I get len(transforms) = 78?
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Hi thanks for reporting. I’ll look into this tomorrow.
Would you please provide an example code snippet that you are using to make investigating and understanding your issue easier?
Progress is limited to converting test to use
stabilize method so that this issue causes tests to fail