Accessing RealSense camera from python #12018
Replies: 1 comment
-
Hi @AntonThai2022 Intel's official installation instruction guide for Raspberry Pi and Raspbian OS, which was designed for Pi 3 but is similar to guides that I have seen for Pi 4, is at the link below. https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_raspbian.md The Buster version of Raspbian OS should be used with the librealsense SDK, as the newer Bullseye version does not work with it. The pyrealsense2 wrapper would need to be built from source code as the pip install pyrealsense2 installation procedure's packages are not compatible with Arm. Python 3.6 support was recently removed from the SDK, so any Python version newer than 3.6 (such as 3.10 or 3.11) should be fine. The documentation for building librealsense from source code recommends CMake 3.8 or newer. It also recommends gcc 5. https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md The question about 'bare Linux' may not be necessary if building for Raspbian OS instead of Ubuntu. Whilst the official Rasbian installation guide recommends Protobuf 3.5.1, some RealSense users found that using Protobuf 3.12 or newer provided a smoother build process. The official guide recommends TBB 2018 U2. For OpenCV a minimum of version 3.4 is recommendable. The current latest librealsense version at the time of writing this is 2.54.1, which should be used with camera firmware version 5.15.0.2. I am not aware of a need for additional dependencies beyond those described in the official installation guide. Having said all that, it is difficult to get the librealsense SDK working on Raspberry Pi and you could do everything perfectly and still get a segmentation error. So I would recommend exploring the possibility of installing librealsense on an alternative computer / computing device to Pi. |
Beta Was this translation helpful? Give feedback.
-
I need a proven working link to work with D435 or L515 Intel Real Sense cameras on Rasbery Pi4 (arm64).
That is, you need a working sequence of commands for a specific OS (please specify the version).
Minimum questions:
I have already tried 3-4 instructions and everywhere there is a Segmentation foul, which occurs in the depths of the SDK.
Beta Was this translation helpful? Give feedback.
All reactions