Skip to main content

Thin OAK-D depth+RGB wrapper for the robot-md ecosystem. RPN-000000000003.

Project description

oak-d-actuator

Thin depth+RGB wrapper for the robot-md ecosystem. RPN-000000000003.

A Python package mirroring so-arm101-actuator's API shape for OAK-D cameras (Luxonis). Lazy-imports depthai so the package installs on machines without the SDK; throws clearly when you actually try to open a device without it.

Install

pip install oak-d-actuator

Or via robot-md init auto-detect, which pip-installs this package when an OAK device is detected on the host.

Usage

from oak_d_actuator import Camera

cam = Camera()
rgb = cam.read_rgb()            # (H, W, 3) uint8 BGR
depth = cam.read_depth()        # (H, W) uint16 millimeters
intr = cam.get_intrinsics(stream="rgb")
# {'fx': ..., 'fy': ..., 'cx': ..., 'cy': ...,
#  'distortion_model': 'plumb_bob',
#  'distortion_coeffs': [...],
#  'width': 1280, 'height': 720,
#  'provenance': 'depthai factory cal'}
cam.release()

Discovery

from oak_d_actuator import discover

for dev in discover():
    print(dev.mxid, dev.product_family)

Provenance

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

oak_d_actuator-0.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

oak_d_actuator-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file oak_d_actuator-0.1.0.tar.gz.

File metadata

  • Download URL: oak_d_actuator-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oak_d_actuator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4ccf2e92a0b8372cb988c6e470d56ef65d8c64983860053e612c5a0c0bf06ff
MD5 943cf245385b36dfe4bf6b7aae6aba83
BLAKE2b-256 fbb307b97cb24693dbc4def6760627bbb426270a5ab5efd08b5a1d888db10e31

See more details on using hashes here.

Provenance

The following attestation bundles were made for oak_d_actuator-0.1.0.tar.gz:

Publisher: release.yml on RobotRegistryFoundation/oak-d-actuator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oak_d_actuator-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: oak_d_actuator-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oak_d_actuator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d50579573dcc23ec98bdadc3d9665c958878a0b439b06aab232d0466f45feac9
MD5 f3a8a46213a8b346ad47fb182c8a4b69
BLAKE2b-256 58aa66d6556f3ee2bb767f934793d7376243e1bd3944b3a700e72a4f137c85d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for oak_d_actuator-0.1.0-py3-none-any.whl:

Publisher: release.yml on RobotRegistryFoundation/oak-d-actuator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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