-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: Transforms size keep growing. #363
Comments
Thanks for opening this issue, a maintainer will get back to you shortly! In the meantime:
|
@naserpiltan Thanks for sharing this insight. Yeah, it was intentional. In stabilizer, Once we have estimated the motion(rigid (Euclidean) transformation), we decompose it into x and y translation and rotation (angle). We store these transformation values in an array so we can change them smoothly. Also, we find the trajectory of motion by cumulatively adding the differential motion estimated. But I agree, storing all transformation throught is not necessary or logical but instead storing them w.r.t to our window size is the better way to handle them. So I'll see if it can be replaced with deque or something similar, and let you know. |
@naserpiltan There's no immediate solution for this issue as transformations cannot be simply deleted from queue, as we require cumulative sum of all transformations. I'll see this problem later. |
Issue guidelines
Issue Checklist
Describe your Question
Hello and thank you for sharing your great work. I was testing the code provided in the video stabilization library and bumped into something weird at this line :
vidgear/vidgear/gears/stabilizer.py
Lines 283 to 286 in 3572ef3
Terminal log output(Optional)
No response
Python Code(Optional)
No response
VidGear Version
0.3.0
Python version
3.8.0
Operating System version
Windows
Any other Relevant Information?
No response
The text was updated successfully, but these errors were encountered: