ArduCAM / Arducam_tof_camera

51 stars 20 forks source link

Unable to install Arducam depth sensor dependencies on Raspberry Pi 4B #39

Open Jayyo opened 1 year ago

Jayyo commented 1 year ago

I am currently trying to install the dependencies for using the Arducam depth sensor module with Python on my Raspberry Pi 4B, but I am encountering some issues.

I was able to view the depth image and greyscaled monitor using the compile and run command, but when I try to install the dependencies using the ./Install_dependencies_python.sh command, my terminal gets stuck. I have also tried to manually install the dependencies as per the instructions on the Arducam GitHub page, but I get stuck at ./install_pivariety_pkgs.sh -p kernal_driver.

I am using a Raspberry Pi 4B with kernel version 6.1.19-v8+ and the Bullseye-arm64 operating system. I opened the kernel driver link.txt file, but I cannot access the URL mentioned in the file.

I would greatly appreciate any guidance or support on how to install the necessary dependencies for using the Arducam depth sensor module with Python on my Raspberry Pi 4B.

no module find when run "pip3 list | grep ArduCamDepthCamera"

Thank you for your time and assistance.

Environment:

Raspberry Pi 4B Kernel version 6.1.19-v8+ Bullseye-arm64 operating system Steps to Reproduce:

Download and install Arducam depth sensor module for Raspberry Pi Try to install dependencies using ./Install_dependencies_python.sh command Terminal gets stuck Try to manually install dependencies, get stuck at ./install_pivariety_pkgs.sh -p kernal_driver Expected Result: Successfully install dependencies and use Arducam depth sensor module with Python on Raspberry Pi 4B.

Actual Result: Unable to install dependencies, getting stuck at ./Install_dependencies_python.sh and ./install_pivariety_pkgs.sh -p kernal_driver.

image image

Jayyo commented 1 year ago

I was able to I was able to solve the issue by installing the required packages using the command 'pip3 install opencv-python ArducamDepthCamera'. However, when I tried to view the camera feed using 'VideoCapture(0)' in OpenCV, it only displayed amplitude data instead of the original camera frame. Is there a way to view the camera feed in its original format, like a normal camera. I'd be happy to know the classes, attributes of the library like getDepthData, releaseFrame() etc

BeamNC commented 1 year ago

I'm facing the same issue. Have you managed to fix this?

maureen-sun-0812 commented 1 month ago

Hi, I also have the same issue. Is this camera just simply incompatible with Ubuntu OS?: