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
  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.13

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.13
File Size Uploaded Provenance Actions
alphadeep_capture-0.1.13.tar.gz 210.1 kB Without provenance Details for alphadeep_capture-0.1.13.tar.gz

Built distribution (wheel)

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

Total release size: 422.8 kB

Release files / alphadeep_capture-0.1.13.tar.gz

Download URL alphadeep_capture-0.1.13.tar.gz
Size 210.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8f7464c28a3a608a6dc31a9a5ebc94b09a7260568855e9900c5a0dc594927844
BLAKE2b-256 checksum
How to use checksums
c65e5e0ae649cf919e6ee84a0836397b77851971b80a3c75ea989276cd15e56e
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.13-py3-none-any.whl

Download URL alphadeep_capture-0.1.13-py3-none-any.whl
Size 212.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1625b9c63039ce9c71af8735be25658211997e7c24889c87b55c08d959feb07
BLAKE2b-256 checksum
How to use checksums
51190c2bcc444fa21f7b45d6006fea8b8290b63b2b9dccf6227c227c0c29aae3
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.13

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