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.53.tar.gz (7.7 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.53-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deplace_cli-0.1.53.tar.gz
  • Upload date:
  • Size: 7.7 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.53.tar.gz
Algorithm Hash digest
SHA256 dff651a444c1359498a6e4af9d789a7565c30a4e430cc0540dca8df5e313718f
MD5 33685435670a409841fd2251f8d1da69
BLAKE2b-256 d4c85a1ba76c7ddfcfc42b55b9d9c6f28e12648b364786792f6a8f0def918327

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deplace_cli-0.1.53-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.53-py3-none-any.whl
Algorithm Hash digest
SHA256 8fbe04ba74a55dc352bb22d73f64a139dca4e88973f5b93fac98f844065a1371
MD5 dd575091825f7915e1cc42585ade0868
BLAKE2b-256 8411bb64d3ac58e76035fd64a91734eedda9bd8441efd56c601eb9bcf979cdcd

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