sleap
sleap copied to clipboard
sleap-render
I am working with the command line, and to check if the predicitions are accurate, I'd like to render a video with said predicitons. To do that I first convert the predictions to a json file
sleap-convert --format json "path.prediction.slp"
--video "path.video.mp4"
and then I use sleap-render to convert it
sleap-render "path.json"
now the output is an .avi file, which is good, but it doesn't give me back the 10 min video, it's only part of the video. This is probably because I don't also have subjects in the frame, so I do have lots of frames without any detectiosn of instances. my videos are also 25 fps, so adjusting that wouldn't change it.
- OS:
- Version(s):
- SLEAP installation method (listed here):
- [ ] Conda from package
- [ ] Conda from source
- [ ] pip package
- [ ] Apple Silicon Macs
Environment packages
# paste output of `pip freeze` or `conda list` here
Logs
# paste relevant logs here, if any
Screenshots
How to reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error