-
Notifications
You must be signed in to change notification settings - Fork 100
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
CLI for rendering video clip with instances #718
Comments
Hi @pinarkullu, There is not a CLI equivalent but I agree that this would be a good feature to have. Tagging this as an enhancement. In the meantime, you can achieve this by using a notebook or python script with the following: import sleap.io.visuals
sleap.io.visuals.save_labeled_video(
filename="visualization.mp4", # output filename
labels=tracked_labels, # sleap.Labels
video=tracked_labels.video, # sleap.Video
frames=list(range(150)), # list of frame indices
) Here's an example notebook (scroll to the bottom). Let me know if that works for you for now. Cheers, Talmo |
It works. Thank you |
Hi @pinarkullu, Wanted to let you know that this functionality has been added to the development version of SLEAP. If you would like to use it please install the development version of SLEAP and use the sleap-render command. Regards, |
Hi @pinarkullu, The new release of SLEAP v1.2.4 is now available for installation and includes this fix. Thanks, |
Hello,
Is there any Command line equivalent of "Render Video Clip with Instances" GUI menu option?
Thank you for your help.
The text was updated successfully, but these errors were encountered: