Scala package for controlling Imperx cameras through the Imperx C++ SDK.
imperx-core: Scala domain model and API over native bridge.imperx-native: C/C++ bridge contract and starter implementation.imperx-tests: integration and hardware-gated tests.
- Imperx SDK path:
/opt/IpxCameraSDK-1.5.0.83/ - Linux dynamic loader must find native bridge and Imperx SDK libraries.
Example:
export LD_LIBRARY_PATH=/opt/IpxCameraSDK-1.5.0.83/lib:$LD_LIBRARY_PATHcmake -S imperx-native/src/main/cpp -B imperx-native/build
cmake --build imperx-native/build -jThis produces:
imperx-native/build/libimperx_bridge.soFor dependency setup and Scala streaming/capture examples, see:
docs/USAGE_EXAMPLES.md
- Unit and contract tests:
sbt test- Hardware tests (requires connected camera and network setup):
LD_LIBRARY_PATH=/home/jweiss/tmtsoftware/ImperxCamera/imperx-native/build:/opt/IpxCameraSDK-1.5.0.83/lib/Linux64_x64:$LD_LIBRARY_PATH \
IMPERX_HW_TESTS=true \
sbt "project imperx-tests" testHardware test defaults are in:
imperx-tests/src/test/resources/hardware-test.propertiesOverride with env vars as needed:
IMPERX_CAMERA_IPIMPERX_CAPTURE_OUTPUT(.png,.fits,.fit, or raw bytes for other extensions)IMPERX_EXPOSURE_MICROSIMPERX_GAINIMPERX_PIXEL_FORMATIMPERX_GRAB_TIMEOUT_MSIMPERX_SOAK_FRAMES
For CLI usage and examples, see:
docs/USAGE_EXAMPLES.md
CLI defaults are in:
imperx-tests/src/main/resources/imperx-capture.properties
For potential upgrades and roadmap items (including non-blocking stream abstraction), see:
docs/POTENTIAL_UPGRADES.md