-
Notifications
You must be signed in to change notification settings - Fork 1
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
Change video backend from imageio
PIL.Image
and skimage.io
to sleap_io.Video
?
#56
Comments
alternatively we should stick to |
sleap_io.Video
instead of imageio for video reading where possibleimageio
and skimage.io
to sleap_io.Video
?
@talmo thoughts? |
imageio
and skimage.io
to sleap_io.Video
?imageio
PIL.Image
and skimage.io
to sleap_io.Video
?
Multiple images are now supported as of talmolab/sleap-io#88, so you can do: import sleap_io as sio
video = sio.load_video(["img1.jpg", "img2.jpg", "img3.jpg"]) The extensions supported are manually whitelisted by backend type (and used to reroute high level API to the appropriate backends):
If you'd like to implement a TIFF stack video backend (or add it to one of the others), this would be a good addition to Everything else should be supported though. |
Also relevant: #64 (comment)
|
One more factor: there's WIP over in |
another thought is to switch over to |
@aaprasad in the latest commit to main regarding video loading, you changed the loader to imageio video loader. Can this issue be closed with that commit? |
Currently we use
imageio
andskimage.io
for video reading. However,sleap-io
now supports video reading. We should look into swapping out these backends to rely only onsleap-io
where possible. Definitely, we can do this with theSleapDataset
but may need to check ifsleap-io
supports both multi-image and single-image.tif
files.The text was updated successfully, but these errors were encountered: