-
Notifications
You must be signed in to change notification settings - Fork 250
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
allow options on rendering centerlines, directly generating mp4, and … #170
Conversation
…using proper notation for SE(3)
…v2.VideoWriter output
import numpy as np | ||
|
||
""" | ||
Python-based utilities to avoid blowing up the disk with images, as FFMPEG requires. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realize we had this dependency tbh (it's not in our dependency list for some reason), I'll take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What were your thoughts on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haven't played around with moviepy before, but we should check it out more: https://zulko.github.io/moviepy/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, the code run without any problems
) | ||
for log_id in log_ids | ||
] | ||
with Pool(os.cpu_count()) as p: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it take awhile to run, would be nice to be able to specify number of cpu to use as well so we can do something else while rendering.
… add-cv2-VideoWriter-support
… add-cv2-VideoWriter-support
Do we have any blockers here? |
LGTM 👍 |
… add-cv2-VideoWriter-support
For
cuboids_to_bboxes.py
script: