/filter-values-plugin

Primary LanguagePythonApache License 2.0Apache-2.0

Filter Values Plugin

A FiftyOne plugin for filtering a field of your FiftyOne dataset by one or multiple values simultaneously.

filter_values_plugin.mp4

Installation

If you haven't already, install FiftyOne:

pip install fiftyone

Then install the plugin and its dependencies:

fiftyone plugins download https://github.com/ehofesmann/filter-values-plugin

Usage

  1. Load your dataset (in this case the FiftyOne quickstart dataset), and open the FiftyOne App:
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart")

session = fo.launch_app(dataset)
  1. Select the filter icon in the sample grid.

Screenshot from 2023-10-30 15-55-49

  1. Select the field by which to filter, copy and paste the value(s), and an optional delimiter if a list of values was given. In this example, select the uniqueness field and copy and paste these values:
0.7320790117423479,0.6570019874067852,0.6739862970978517

Then enter , as the delimiter and hit execute.

filter_values.mp4
filter_values.1.mp4

Screenshot from 2023-10-30 16-10-20