https://github.com/ehofesmann/filter-values-plugin
https://github.com/ehofesmann/filter-values-plugin
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ehofesmann/filter-values-plugin
- Owner: ehofesmann
- License: apache-2.0
- Created: 2023-10-30T18:22:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T20:42:15.000Z (over 2 years ago)
- Last Synced: 2025-02-13T05:48:32.882Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Filter Values Plugin
A [FiftyOne plugin](https://docs.voxel51.com/plugins/index.html) for filtering
a field of your FiftyOne dataset by one or multiple values simultaneously.
https://github.com/ehofesmann/filter-values-plugin/assets/21222883/5195638b-add6-466b-944d-1bd6c51369a2
### Installation
If you haven't already,
[install FiftyOne](https://docs.voxel51.com/getting_started/install.html):
```shell
pip install fiftyone
```
Then install the plugin and its dependencies:
```shell
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:
```py
import fiftyone as fo
import fiftyone.zoo as foz
dataset = foz.load_zoo_dataset("quickstart")
session = fo.launch_app(dataset)
```
2. Select the filter icon in the sample grid.

3. 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:
```py
0.7320790117423479,0.6570019874067852,0.6739862970978517
```
Then enter `,` as the delimiter and hit execute.
https://github.com/ehofesmann/filter-values-plugin/assets/21222883/20a9d1aa-6931-4ed3-ae22-0d63843beca0
https://github.com/ehofesmann/filter-values-plugin/assets/21222883/1dbd1f2d-ca0d-4a84-9035-8093ed393ffe
