Skip to content

allenleetc/sample-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Inspector Plugin

A FiftyOne panel plugin that displays selected samples in a detail view with segmentation mask overlays, image adjustment controls, and class filtering.

Select one or more samples in the grid and the panel renders them with interactive controls for inspecting segmentation masks (both semantic and instance).

Screenshot

Installation

fiftyone plugins download https://github.com/allenleetc/sample-inspector

Features

  • Multi-sample grid — select multiple samples and view them side by side
  • Semantic segmentation overlays — renders mask_path fields with color-coded class overlays
  • Instance segmentation overlays — renders Detections with per-instance mask overlays positioned at bounding boxes
  • Brightness / Contrast — adjustable sliders (0-200%)
  • Overlay opacity — control mask transparency (0-100%)
  • Class filtering — toggle individual classes on/off with chip selectors

Operators

get_mask_targets

An unlisted Python operator that fetches mask_targets and default_mask_targets from the dataset. Called internally by the panel to map pixel values to class labels for semantic segmentation overlays.

Usage

  1. Open the FiftyOne App and load a dataset with segmentation labels
  2. Open the Sample Inspector panel from the panels menu
  3. Select one or more samples in the grid
  4. Use the sliders to adjust brightness, contrast, and overlay opacity
  5. Use the class filter chips to toggle specific classes on/off

Development

Requires a local clone of the FiftyOne repository and FIFTYONE_DIR set to its root.

yarn install
yarn build

See FiftyOne JS Plugin Build Utils for build configuration details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors