Skip to main content

A CLI tool to access Deplace Datasets.

Project description

Deplace CLI

deplace-cli is a command-line tool to interact with Deplace datasets.

🚀 Usage

The CLI supports the following commands:

  • download —> Download a file or folder from Deplace's Storage. (Requires Access Token)
  • annotate —> Annotate a video episode with optional bounding boxes, masks, and labels.

📥 Command: download

Download data from Deplace's Storage.

Required arguments:

  • --token — Your Azure access token. (With quotes)
  • --path — Path to the file/folder to download.
  • --dataset- Name of the dataset to download.
  • --limit — Limit the number of mp4 files to download (default: 0 means no limit).

Example:

deplace download \
    --token SAS_TOKEN 
    --path /path/to/resource
    --dataset sample

🖊️ Command: annotate

Annotate a video episode with optional overlays and save the output. Only works after dataset download

Optional arguments:

  • --output_folder — Where to save the annotated video (default: annotated/)
  • --bbox — Enable bounding box annotations
  • --mask — Enable mask annotations
  • --label — Enable label annotations
  • --compression — Video compression codec (avc1, mp4v, h264) — default: mp4v

Example:

deplace annotate \
    --episode V1_E2 \
    --bbox \
    --mask \
    --label \
    --compression mp4v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deplace_cli-0.1.54.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deplace_cli-0.1.54-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file deplace_cli-0.1.54.tar.gz.

File metadata

  • Download URL: deplace_cli-0.1.54.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for deplace_cli-0.1.54.tar.gz
Algorithm Hash digest
SHA256 d055a9990b5486383ffdfa30a0b4d0068bb6d085924870bbc726f6f2c9921e28
MD5 2b5c1e2a482da8c6fbaf9fe556fbfd9c
BLAKE2b-256 6e9a598e7c0dd44f0245e73e7b2861c917289f7473676a32314cfc858406b2eb

See more details on using hashes here.

File details

Details for the file deplace_cli-0.1.54-py3-none-any.whl.

File metadata

  • Download URL: deplace_cli-0.1.54-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for deplace_cli-0.1.54-py3-none-any.whl
Algorithm Hash digest
SHA256 094fd47ff9a20ea00f67abc2fe31634e58e203cdba8679bfe70d79592917d371
MD5 fa3a4212a2ae35b410c835231facb232
BLAKE2b-256 f18b5cf803321019a6018c44ee89884b939a789b3c890adb0044ea819088e831

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page