Skip to main content

Plesty Cam Dmk 37aux290 Device

A plesty device for cam dmk 37aux290 using the Plesty standard.

Installation

git clone https://gitlab.com/plesty/hub/devices/others/cam_dmk_37aux290.git
cd cam_dmk_37aux290
uv sync

This project depends on the legacy The Imaging Source Windows stack, not IC4. It needs both:

  • Cam33U_setup_6.0.0.2811.exe for 33U/37U/38U/39U/32U cameras
  • TISGrabberSetup_3.4.0.51.exe for tisgrabber_x64.dll

You can download and install them with:

powershell -ExecutionPolicy Bypass -File .\scripts\install-tis-legacy.ps1

Or only download the installers with:

powershell -ExecutionPolicy Bypass -File .\scripts\install-tis-legacy.ps1 -OnlyDownload

Run As TCP Server

Make sure the device is connected and powered on.

Machine-specific paths come from .env (see .env.example): DMK_DRIVERPATH (folder containing tisgrabber_x64.dll if it is not on PATH), DMK_CONFIG (device-state XML), and DMK_DATA_PATH (image output directory). Server tuning (TCP port, threading) lives in config/server.yaml; CLI flags override both.

cp .env.example .env   # fill in the machine-specific paths
uv run python -m plesty.cam_dmk_37aux290 --tcp-port 5555

The server loads config/camera-state.xml automatically (device selection, video format, frame rate — committed for the lab camera, serial 0x11220398); precedence: --config > DMK_CONFIG > config/camera-state.xml. Without any of them the server opens the first connected DMK 37AUX290 silently, as 8-bit mono at 1920x1080 with the camera's power-on settings — no window asks anything, so a remote bench starts unattended. Camera parameters listed under startup: in config/server.yaml (e.g. the flips) are written through the parameter system right after connecting. To regenerate the state file from the camera: dev.save_config("config/camera-state.xml").

--gui opens the camera's control panel instead of serving it (needs uv sync --extra gui). --driverpath mock runs the server or the panel on an in-memory simulator, with no camera and no IC Imaging Control installed.

At start-up the preflight prints the .env in effect, the server port and the installed version. It cannot check the camera itself — the DLL finds a camera only by opening it — so it reports it as not checked and never stops the server. --skip-preflight leaves the report out.

Where images go

Frames are saved under the data path: DMK_DATA_PATH, else DEVICE_DATA_PATH (what a bench hands the device: its view of the shared disk), else the current directory. A client can redirect captures inside it with set_data_path() — an experiment routes them into its run directory this way — but never outside it.

Legacy Downloads

Linux

The DMK 37AUX290 camera has Linux-capable vendor SDK options, but this repository does not currently run on Linux as-is.

Why not:

  • the transport layer in plesty/cam_dmk_37aux290/traffic.py explicitly loads tisgrabber_x64.dll or tisgrabber.dll
  • the current implementation is built around the Windows-only IC Imaging Control 3.x / DirectShow API

Viable Linux paths:

  1. For new development, use The Imaging Source IC Imaging Control 4 on Linux. The vendor documents Ubuntu 20.04+ support on amd64 and arm64, and lists the 37U family under USB3 Vision support.
  2. For legacy Linux integration, use tiscamera, which The Imaging Source positions as its legacy Linux image acquisition SDK built on GStreamer.

Relevant vendor pages:

Implication for this repo:

  • running this code on Linux would require a new traffic layer that talks to IC4 or tiscamera instead of tisgrabber
  • the current Windows installer helper does not apply on Linux

Metadata

Release files for plesty-cam-dmk-37aux290 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plesty-cam-dmk-37aux290 0.1.1
File Size Uploaded Provenance Actions
plesty_cam_dmk_37aux290-0.1.1.tar.gz 185.6 kB Without provenance Details for plesty_cam_dmk_37aux290-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plesty-cam-dmk-37aux290 0.1.1
File Interpreter ABI Platform Actions
plesty_cam_dmk_37aux290-0.1.1-py3-none-any.whl Python 3 none any Details for plesty_cam_dmk_37aux290-0.1.1-py3-none-any.whl

Total release size: 232.6 kB

Release files / plesty_cam_dmk_37aux290-0.1.1.tar.gz

Download URL plesty_cam_dmk_37aux290-0.1.1.tar.gz
Size 185.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7696e9478888acc05a608d5453a3564970494fd6a8ced0401bd097ddf5218ac0
BLAKE2b-256 checksum
How to use checksums
f09a0b2591f2431c17e27d38b0fb08bcaea4b9d1fdd19a159902854137c035e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / plesty_cam_dmk_37aux290-0.1.1-py3-none-any.whl

Download URL plesty_cam_dmk_37aux290-0.1.1-py3-none-any.whl
Size 47.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70cd54a8d8f97a6aa259c853335d217d8af107687c5bd7d39bbc020cc5290039
BLAKE2b-256 checksum
How to use checksums
f1b8e2d099d9bf1b7975b17dcc58753d4d0bfcab748471ad602e5fba27d62b55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for plesty-cam-dmk-37aux290 0.1.1

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