data/filter — Interactive dataset browser and filter

Browse a StructuredDataset, visualize the selected image and keypoint, and optionally delete entries interactively.

Usage

s6 data filter ./path/to/dataset \
  --image-key B/image --point-key B/tip_point

Controls

  • a/d — previous/next entry

  • x — delete current entry

  • q — quit

How it works

  • Loads the dataset with s6.utils.StructuredDataset and pulls nested fields via a slash-delimited datakey accessor.

  • Draws a keypoint cross using s6.vision.drawing.Markers and shows a zoomed crop around the keypoint for precision.

  • Deletions call StructuredDataset.delete_one(index) and update the view.