Matrix-Alt-Cameras
Matrix-Alt-Cameras is an extension package to the Matrix-Alt-Core framework, designed to add camera capabilities to your Alt Agents with minimal setup.
🚀 Quick Start
Here's a basic example using an OpenCV-compatible webcam:
from Alt.Core.Agents import Agent
from Alt.Cameras.CameraUsingAgent import CameraUsingAgentBase
from Alt.Cameras.Captures.OpenCVCapture import OpenCVCapture
import cv2
class CamTest(CameraUsingAgentBase):
def __init__(self):
super().__init__(capture=OpenCVCapture("test", 0))
def runPeriodic(self):
super().runPeriodic()
cv2.putText(self.latestFrameMain, "This test will be displayed on top of the frame", (10, 20), 1, 1, (255, 255, 255), 1)
def getDescription(self):
return "test-read-webcam"
if __name__ == "__main__":
from Alt.Core import Neo
n = Neo()
n.wakeAgent(CamTest, isMainThread=True)
n.shutDown()
Metadata
Release files for Matrix-Alt-Cameras 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matrix_alt_cameras-0.0.1.tar.gz | 20.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matrix_alt_cameras-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.9 kB
Release files / matrix_alt_cameras-0.0.1.tar.gz
| Download URL | matrix_alt_cameras-0.0.1.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
902dcdef62a4a591f5f699add70697088c5336ca967b918c1fae6709da7358ae
|
|
BLAKE2b-256 checksum How to use checksums |
e8c8de31e513b608d6738fa835fd1a8621d77f200e7cda612a96d6897caac26e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / matrix_alt_cameras-0.0.1-py3-none-any.whl
| Download URL | matrix_alt_cameras-0.0.1-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82e3047c14d0f56f0bc5ffdeaa1ce6656cce95d336206da578c867a154a84fe7
|
|
BLAKE2b-256 checksum How to use checksums |
7ce7a56ae74f10c696477f8c8464423d34c2ffeff5c75963d89bc557c2b1ac40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|