Skip to content

Releases: talmolab/sleap-io

sleap-io v0.1.8

11 Sep 22:51
096eefd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.7...v0.1.8

sleap-io v0.1.7

02 Aug 01:40
e002927
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.6...v0.1.7

sleap-io v0.1.6

16 Jul 01:55
5b79a22
Compare
Choose a tag to compare

What's Changed

  • Grayscale property passthrough by @talmo in #99

Full Changelog: v0.1.5...v0.1.6

sleap-io v0.1.5

19 Jun 14:05
5a30110
Compare
Choose a tag to compare

What's Changed

  • Labels.split and Labels.make_training_splits by @talmo in #98

Full Changelog: v0.1.4...v0.1.5

sleap-io v0.1.4

05 Jun 11:21
d857684
Compare
Choose a tag to compare

What's Changed

  • Add support for embedding images in .pkg.slp by @talmo in #91
    • Saving SLP files with embedded images will re-save the embedded images.
    • Embed images into SLP files with:
      • labels.save("labels.pkg.slp", embed="user") to embed frames with user-labeled instances (Instance)
      • labels.save("labels.pkg.slp", embed="user+suggestion") to embed frames with user-labeled instances and suggestion frames (useful for inference after training)
      • labels.save("labels.pkg.slp", embed="source") to restore the source video ("unembed")
  • Better reprs and QOL by @talmo in #96
    • Better __repr__s for Skeleton, LabeledFrame, Labels, Instance, PredictedInstance
    • Labels.append() and Labels.extend() to add LabeledFrames now will update Labels.tracks, Labels.skeletons and Labels.videos with contents.
    • Labels.update() to manually update Labels.tracks, Labels.skeletons and Labels.videos with contents of Labels.labeled_frames and Labels.suggestions.
    • Labels.replace_filenames(): multiple methods for replacing all video filenames across the project (#85).
    • Skeleton.edge_names to return list of edges as tuples of string names
    • Added docstrings to sio.load_video and related high level Video APIs to clarify supported file formats.
    • Syntactic sugar: try to initialize video backend with Video(filename) construction (#94)

Note: This is a re-release of v0.1.3 which had a borked deployment.

Full Changelog: v0.1.2...v0.1.4

sleap-io v0.1.3

05 Jun 11:17
cd96be4
Compare
Choose a tag to compare

What's Changed

  • Add support for embedding images in .pkg.slp by @talmo in #91
    • Saving SLP files with embedded images will re-save the embedded images.
    • Embed images into SLP files with:
      • labels.save("labels.pkg.slp", embed="user") to embed frames with user-labeled instances (Instance)
      • labels.save("labels.pkg.slp", embed="user+suggestion") to embed frames with user-labeled instances and suggestion frames (useful for inference after training)
      • labels.save("labels.pkg.slp", embed="source") to restore the source video ("unembed")
  • Better reprs and QOL by @talmo in #96
    • Better __repr__s for Skeleton, LabeledFrame, Labels, Instance, PredictedInstance
    • Labels.append() and Labels.extend() to add LabeledFrames now will update Labels.tracks, Labels.skeletons and Labels.videos with contents.
    • Labels.update() to manually update Labels.tracks, Labels.skeletons and Labels.videos with contents of Labels.labeled_frames and Labels.suggestions.
    • Labels.replace_filenames(): multiple methods for replacing all video filenames across the project (#85).
    • Skeleton.edge_names to return list of edges as tuples of string names
    • Added docstrings to sio.load_video and related high level Video APIs to clarify supported file formats.
    • Syntactic sugar: try to initialize video backend with Video(filename) construction (#94)

Full Changelog: v0.1.2...v0.1.3

sleap-io v0.1.2

22 May 15:59
4af9f38
Compare
Choose a tag to compare

What's Changed

  • Fix suggestions deserialization by @talmo in #95

Full Changelog: v0.1.1...v0.1.2

sleap-io v0.1.1

21 May 00:39
45941db
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.1.1

sleap-io v0.1.0

14 Apr 07:42
c6b4e4a
Compare
Choose a tag to compare

What's Changed

  • Add skeleton utilities by @talmo in #76

    • Skeleton.add_node: Add a node by name or object.
    • Skeleton.add_edge: Add an edge by lists of names or objects.
    • Skeleton.add_symmetry: Add a symmetry edge by lists of names or objects.
  • Update CI and versions by @talmo in #77

    • Update dependency ranges (see below)
    • Update action workflow versions
    • Enable M1 mac runners
    • Expand python version range to 3.7-3.12
      • Note: Python 3.7 is no longer tested in CI due to lack of conda-forge compatability.
    • Enable pure conda-forge dependency setup
  • Bump to v0.1.0 by @talmo in #78

  • Fix multi-skeleton loading by @talmo in #79

  • Add high level APIs by @talmo in #80

    • Add load_video and load_file high level APIs (#48)
  • Labels QOL enhancements by @talmo in #81

    • LabeledFrame.remove_predictions: Remove predicted instances from a labeled frame.
    • LabeledFrame.remove_empty_instances: Remove instances with no visible points from a labeled frame.
    • Labels.save: Instance-level convenience wrapper for sio.save_file.
    • Labels.clean: Remove unused or empty frames, instances, videos, skeletons and tracks.
    • Labels.remove_predictions: Remove predicted instances from all labeled frames (#69).
    • Labels.__getitem__: Now supports lists, slices, numpy arrays, tuples of (Video, frame_idx) and Video.
  • Video QOL enhancements by @talmo in #82

    • Video.is_open: Checks if the video exists and the backend is set.
    • Video.open: Opens or restarts the backend for reading.
    • Video.close: Closes the backend for reading.
    • Video.exists: Check if the filename for the video exists.
    • Video.replace_filename: Replace the filename and restart the backend.

Notes on dependency pins

Full Changelog: v0.0.14...v0.1.0

sleap-io v0.0.14

06 Apr 02:09
65b5ac4
Compare
Choose a tag to compare

What's Changed

  • Fix importing in Python 3.7 by @talmo in #75

Full Changelog: v0.0.13...v0.0.14