CameraSDK on GitHub
Development libraries, English documentation, examples and release notes.
Download SDK
Choose a tool
Development workflow
1
Verify the connection
Use LxCameraViewer to check the connection, images and point clouds.
2
Choose the SDK package
Select the package for your operating system and processor architecture, and read its documentation.
3
Run an example and integrate
Run a sample before integrating your application. Record the SDK and camera firmware versions used in deployment.
GitHub quickstart
These examples use the GitHub repository layout. Installed packages may use different directories; adjust paths to match your installation.Supported platforms
Get the source
/opt/MRDVS.
Run a C/C++ example
- Linux
- Windows
Python and C# examples
Python and C# examples
Before running Python examples, set the library path and camera IP. Windows applications must be able to load the DLLs for their target architecture.
API call sequence
API call sequence
ROS integration
Developer documentation
API and integration references
API and integration references
These online references retain detailed API, example and protocol information. Check installation paths and supported features against your SDK and firmware versions.
Error codes and troubleshooting
Error codes help locate SDK, connection, and data-stream problems. Record the error code, SDK version, camera model, and device log before troubleshooting.SDK error reference (−1 to −29)
SDK error reference (−1 to −29)
Linux reports -25 or cannot load LxDataProcess
Linux reports -25 or cannot load LxDataProcess
If the log reports that the The script installs the SDK runtime libraries and configures the shared-library path. Follow its
LxDataProcess algorithm library cannot be loaded and the Linux runtime environment has not been configured, run the following command from the SDK directory containing install.sh:sudo prompt, then restart the application from the same terminal.The acquired image is split into three parts or has an incorrect aspect ratio
The acquired image is split into three parts or has an incorrect aspect ratio
The reported symptom is an incorrect display aspect ratio after image acquisition. Record the camera model, SDK version and output image dimensions, and provide a screenshot to technical support for further diagnosis.
ROS2 conflicts with the camera SDK library
ROS2 conflicts with the camera SDK library
The ROS2 project’s
util wrapper encapsulates the camera SDK and links to its library indirectly. When investigating a library conflict, check the wrapper’s link path and the SDK library actually loaded at runtime, and keep the library versions consistent.How to distinguish a Lite model from an RGB-equipped standard model in the same family
How to distinguish a Lite model from an RGB-equipped standard model in the same family
Query support for the 2D image stream:For this model distinction, the Lite model returns an unsupported-function status. Check the API return status:
test_rgb being false only means that the RGB stream is disabled and does not by itself identify a Lite model.Does SDK and PTP time synchronization require a separate trigger?
Does SDK and PTP time synchronization require a separate trigger?
When SDK and PTP synchronization is used, synchronization occurs automatically on each relevant API call; no additional trigger is required. Check the applicable APIs and conditions for the SDK and firmware versions in use.