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

# Enable verbose console output for debugging API responses
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).

Download files

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

Source Distribution

alphadeep_capture-0.1.8.tar.gz (206.7 kB view details)

Uploaded Source

Built Distribution

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

alphadeep_capture-0.1.8-py3-none-any.whl (207.6 kB view details)

Uploaded Python 3

File details

Details for the file alphadeep_capture-0.1.8.tar.gz.

File metadata

  • Download URL: alphadeep_capture-0.1.8.tar.gz
  • Upload date:
  • Size: 206.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for alphadeep_capture-0.1.8.tar.gz
Algorithm Hash digest
SHA256 51f768a39ae1761fd897630c78e89710df28855720d7ceb484bdda15049b78e7
MD5 589b847ce2992e87a7b3a742dd273eec
BLAKE2b-256 f3f67e0f25ba55b2a1e40f69f529600d6f10c04f72672582bd399842af61ce4d

See more details on using hashes here.

File details

Details for the file alphadeep_capture-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for alphadeep_capture-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 686e0223f12ffc31a99e5c45dc6af15381e003d9f8c8ea109097bf30ad9d3ab6
MD5 6b1da4136194d959090106939c69c6d6
BLAKE2b-256 c4ae8054b3a522940a79fcc5f2da5d98c85cc6a693f85715f447fd982fb33452

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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