Provides an integration between Voxel51 and V7 Darwin. This enables Voxel51 users to send subsets of their datasets to Darwin for annotation and review. The annotated data can then be imported back into Voxel51.
This integration is currently in beta.
- Install the library
pip install darwin-fiftyone
- Configure voxel51 to use it
cat ~/.fiftyone/annotation_config.json
{
"backends": {
"darwin": {
"config_cls": "darwin_fiftyone.DarwinBackendConfig",
"api_key": "d8mLUXQ.**********************"
}
}
}
Note: Replace the api_key placeholder with a valid API key generated from Darwin.
- Install the library and development dependencies
# Install all dependencies including development tools
pip install -r requirements.txt
# Install the package in editable mode
pip install -e .
- Configure voxel51 to use it
cat ~/.fiftyone/annotation_config.json
{
"backends": {
"darwin": {
"config_cls": "darwin_fiftyone.DarwinBackendConfig",
"api_key": "d8mLUXQ.**********************"
}
}
}
Note: Replace the api_key placeholder with a valid API key generated from Darwin.
- (Optional) Install the V7 plugin in V51 to push/pull data to V7 directly from V51.
fiftyone plugins download \
https://github.com/voxel51/fiftyone-plugins \
--plugin-names @voxel51/annotation
Several notebooks can be found here
In addition to the standard arguments provided by dataset.annotate()
, we also support:
backend=darwin
, Indicates that the Darwin backend is being used.atts
, Specifies attribute subannotations to be added in the labelling jobdataset_slug
, Specifies the name of the dataset to use or create on Darwin.external_storage
, Specifies the sluggified name of the Darwin external storage and indicates that all files should be treated as external storage
Set up your environment with FiftyOne and Darwin integration settings. To find your team slug check the Darwin documentation on dataset identifiers which has a section called "Finding Team Slugs:"
You'll also need an API Key
export FIFTYONE_ANNOTATION_BACKENDS=*,darwin
export FIFTYONE_DARWIN_CONFIG_CLS=darwin_fiftyone.DarwinBackendConfig
export FIFTYONE_DARWIN_API_KEY=******.*********
export FIFTYONE_DARWIN_TEAM_SLUG=your-team-slug-here
NB. E2E tests run in the IRL env and on a specific team with a specific external storage configuration. See env.example
The integration currently supports bounding boxes, polygons (closed polylines), keypoints, and tags (classification). It also supports attributes, text, instance ids, and properties subtypes.
Future development work will focus on the addition of annotation and subannotation types. Do reach out if you have suggestions.
- Support for read only external data storage
- Support for mask and keypoint skeleton types