Skip to content

Latest commit

 

History

History

hello-world

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hello World

This plugin contains an example of using both Python and JS together in a FiftyOne plugin.

It demonstrates how to do the following:

  • use Python and JS in the same plugin
  • define a Panel
  • ad hoc operator execution
  • hook-based operator execution
  • how to use the build package to build a JS plugin

Installation

fiftyone plugins download \
    https://github.com/voxel51/fiftyone-plugins \
    --plugin-names @voxel51/hello-world

Refer to the main README for more information about managing downloaded plugins and developing plugins locally.

Operators

count_samples

A basic Python operator that displays the number of samples in the current view or optionally the entire dataset.

show_alert

A basic JS operator that displays an alert.