Skip to main content

AlphaDeep Live Capture Tool

Project description

AlphaDeep Capture

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

This project is built using modern Python tooling and can be installed locally via pip or uv:

git clone <repository_url>
cd alphadeep-capture

# Install the application and all dependencies
uv pip install -e .

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_task: "detection"
alphadeep_api_key: "your_api_key_here"
alphadeep_classes: 
  - "car"
  - "person"
alphadeep_workers: 4

# 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.
  • Preview Sample: Opens an interactive gallery overlay to view all images captured in the current sample.
  • Analyze: Sends the currently captured sample to the AlphaDeep API for remote inference and overlays the bounding box results in the UI.
  • Comment: Opens a dialog to attach text notes to the current sample (saved as comment.txt).
  • Sync (Cloud): Placeholder feature for synchronizing samples with AlphaDeep cloud storage.

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

alphadeep_capture-0.1.2.tar.gz (74.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.2-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for alphadeep_capture-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f68f04ac219bdfbf3da9ea5c21ed374f9810ec358fd42024b563043a2106905a
MD5 9827a8add717f12cce40a5e02131186f
BLAKE2b-256 564b620cfc1956fe6bf3030764d28f790a3dbd1f61e15a3b38479efa6e215e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alphadeep_capture-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c3763a95ac57ceee76ab9394b250cc033d64a68fbc32c79b7dd36e64d7068d
MD5 5bd86de5e802d9a6c1d074d90aa98541
BLAKE2b-256 eb6e9da2d6a24df918b1666e9457594469b9691e78f896be3998de8f51c33db2

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