Integration between V7 Darwin and Voxel51
Project description
darwin_fiftyone
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
- 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.
Development setup
- 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
Example Usage
Several notebooks can be found here
API
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
Testing
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
Supported Annotation Types
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.
TODO
- Support for read only external data storage
- Support for mask and keypoint skeleton types
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file darwin_fiftyone-2.1.2.tar.gz.
File metadata
- Download URL: darwin_fiftyone-2.1.2.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2419915cb5061af82ff07c58833cff6eb9cd7675ee1d62a953dc8da5634af2e8
|
|
| MD5 |
76f3a423efb6109113d9c8a6f29f9393
|
|
| BLAKE2b-256 |
7bf4d6ccdcc0a8cb24410ebfbdf6bba129be34ebfaf0377c73f82cdb73720518
|
Provenance
The following attestation bundles were made for darwin_fiftyone-2.1.2.tar.gz:
Publisher:
python-publish.yml on v7labs/darwin-fiftyone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
darwin_fiftyone-2.1.2.tar.gz -
Subject digest:
2419915cb5061af82ff07c58833cff6eb9cd7675ee1d62a953dc8da5634af2e8 - Sigstore transparency entry: 842064836
- Sigstore integration time:
-
Permalink:
v7labs/darwin-fiftyone@7eb69ec365099db91cab23b6fae359736fb83b38 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/v7labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7eb69ec365099db91cab23b6fae359736fb83b38 -
Trigger Event:
release
-
Statement type:
File details
Details for the file darwin_fiftyone-2.1.2-py3-none-any.whl.
File metadata
- Download URL: darwin_fiftyone-2.1.2-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d1a944554836114aab0f5790b58233b32081714689a74de395017abdbbd7b3f
|
|
| MD5 |
05b7e880853bee43a99a1c510080d9e8
|
|
| BLAKE2b-256 |
916a66dd9c9a3fdec90c532d9896d2d3c87c36d0f8497d8449e37a974e986a6d
|
Provenance
The following attestation bundles were made for darwin_fiftyone-2.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on v7labs/darwin-fiftyone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
darwin_fiftyone-2.1.2-py3-none-any.whl -
Subject digest:
8d1a944554836114aab0f5790b58233b32081714689a74de395017abdbbd7b3f - Sigstore transparency entry: 842064913
- Sigstore integration time:
-
Permalink:
v7labs/darwin-fiftyone@7eb69ec365099db91cab23b6fae359736fb83b38 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/v7labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7eb69ec365099db91cab23b6fae359736fb83b38 -
Trigger Event:
release
-
Statement type: