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"
alphadeep_auto_upload: false
alphadeep_upload_full_res: false

# 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
  show_countdown_overlay: true # Show a large countdown timer in the bottom-left corner
  countdown_font_size: 120     # Font size for the bottom-left countdown overlay

# 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).
  • Config: Opens config.yaml in your default XDG text editor.
  • Restart: Prompts for confirmation and reboots the machine (systemctl reboot).
  • Click-to-Focus Camera: Click any camera feed in the grid to expand it across the full camera area; click again or press ESC to return to the grid (all cameras continue capturing in the background).

Metadata

Release files for alphadeep-capture 0.1.14

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.14
File Size Uploaded Provenance Actions
alphadeep_capture-0.1.14.tar.gz 211.3 kB Without provenance Details for alphadeep_capture-0.1.14.tar.gz

Built distribution (wheel)

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

Total release size: 425.2 kB

Release files / alphadeep_capture-0.1.14.tar.gz

Download URL alphadeep_capture-0.1.14.tar.gz
Size 211.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d651701565134bb82ab32830b1c061ff11bd313a04035c39179681b86e855af9
BLAKE2b-256 checksum
How to use checksums
8ec955d75744037c5500e6addf323c47cce765e05ba185ed570f9d04195418ed
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.14-py3-none-any.whl

Download URL alphadeep_capture-0.1.14-py3-none-any.whl
Size 213.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52af8bd9f04864dd2ff667964dc8dbf17e0b731857433fd24ef660c8f386f192
BLAKE2b-256 checksum
How to use checksums
01924eda4017c4d3efa668e3e2105ec6596cea407fba17ac25760818df0826ed
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.14

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