Skip to main content

AlphaDeep Capture

AlphaDeep Capture Logo

AlphaDeep Capture is a high-performance Python/Pygame application designed for live streaming, data capture, and realtime cloud-inference using the AlphaDeep AI platform.

Installation

Install the application directly from PyPI using pip:

pip install alphadeep-capture

Configuration

AlphaDeep Capture uses a YAML configuration file stored in your user configuration directory (following the XDG Base Directory standard).

Configuration Path: ~/.config/alphadeep/capture/config.yaml

If this file does not exist when the app is first launched, a default configuration will be automatically generated.

Example config.yaml

cameras:
  - id: 0
    name: Camera 1
  - id: 1
    name: Camera 2

fps: 30
fullscreen: false
samples_dir: ~/alphadeep_samples

# AlphaDeep API Configuration
alphadeep_session: "your_session_id"
alphadeep_adapter: "zero_adapter"
alphadeep_api_key: "your_api_key_here"

# Set the AI task. Supported values: 
# "detection", "segmentation", "classification", "ocr", "captioning"
alphadeep_task: "detection"

# (Optional) List of target classes to look for
alphadeep_classes: 
  - "car"
  - "person"

# Number of parallel threads to use when calling the AlphaDeep API (default is 4)
alphadeep_workers: 4

# Target square resolution to send to the server. Supported: 224, 448, 896
alphadeep_resolution: 448

# The default resolution for the camera hardware (if save_full_res is False) and standard saved images.
capture_resolution: [640, 480]

# Auto Capture configuration
autocapture:
  length: 2.0               # Total duration (in seconds) to run auto capture
  period: 0.5               # Trigger frequency (in seconds) between captures
  new_sample_on_start: true # Create a new sample automatically when auto capture starts

# Full-screen toast notification configuration
toast:
  duration: 0.5             # Default notification display duration (in seconds)
  font_size: 240            # Target font size for toast text (auto-scales down to fit)

# Keyboard / Presenter shortcuts (set debug: true to log pressed key names)
keybindings:
  auto_capture: "PAGE_DOWN"
  cycle_class: "PAGE_UP"

# Enable verbose console output for debugging API responses and keypresses
debug: true

Adding Your API Key

In order to use the Analyze functionality, you must edit your config.yaml and provide your alphadeep_api_key, alphadeep_session, and alphadeep_task.

Running the Application

Once installed, you can launch the application directly from your terminal:

alphadeep-capture

Features and Controls

  • New Sample: Creates a fresh timestamped directory in your samples_dir for saving data.
  • Capture: Instantly grabs the current frame from all active cameras and saves them as .jpg files in the current sample directory.
  • Auto Capture: Automatically captures frames repeatedly over a configurable duration and frequency.
  • Preview Sample: Opens an interactive gallery overlay to view all images captured in the current sample.
  • Analyze: Sends the current sample to the AlphaDeep API for remote inference. Results are saved locally as .json and rendered interactively in the gallery (supports detection, segmentation, classification, OCR, and captioning).
  • Comment: Opens a dialog to attach text notes to the current sample (saved as comment.txt).

Metadata

Release files for alphadeep-capture 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alphadeep-capture 0.1.12
File Size Uploaded Provenance Actions
alphadeep_capture-0.1.12.tar.gz 208.5 kB Without provenance Details for alphadeep_capture-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alphadeep-capture 0.1.12
File Interpreter ABI Platform Actions
alphadeep_capture-0.1.12-py3-none-any.whl Python 3 none any Details for alphadeep_capture-0.1.12-py3-none-any.whl

Total release size: 419.6 kB

Release files / alphadeep_capture-0.1.12.tar.gz

Download URL alphadeep_capture-0.1.12.tar.gz
Size 208.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dfa85fa0819b6b63f3167599298bdd313d69d5e2439038cc0f31f5d89e82357e
BLAKE2b-256 checksum
How to use checksums
0d3d633d1b59869caf3fa6b89e2c5df70baf7caa7638e242ba600f26f9a244e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / alphadeep_capture-0.1.12-py3-none-any.whl

Download URL alphadeep_capture-0.1.12-py3-none-any.whl
Size 211.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f706bc1cc27bf9efe12e82f855a0598cca28c12e8970ac4eda3a4575c70c4677
BLAKE2b-256 checksum
How to use checksums
e313d2eac16c12bf1bf89131e7c774fd7eceef1d848f61e4be3c5bba893119f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for alphadeep-capture 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page