-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOW-TO] install picamera2 on docker on ubuntu 24.04 on rapsberry pi 5 #1145
Comments
Hi, I'm afraid I don't know anything about libcamera on Ubuntu. It might be worth asking on a Ubuntu forum? If there is no libcamera package for Raspberry Pi on Ubuntu, you might want to consider building it for yourself? For example, although it was some time ago, there was a post about it here. Sorry not to have better answers for you! |
Dear Mr David ,
Thank you for your reply.
I already did that in the docker container and managed to build the
libcamera library ( ../libcamera/build/src/libcamera/libcamera.so) .
[image: Screenshot from 2024-10-28 17-38-38.png]
the problem is that when I import picamera2 I got this error :
[image: Screenshot from 2024-10-28 17-29-57.png]
Do you think I need to add the libcamera.so path to LD_LIBRARY_PATH ?
Thank you in advance.
Sincerely,
Mahmoud
Le lun. 28 oct. 2024 à 16:45, davidplowman ***@***.***> a
écrit :
… Hi, I'm afraid I don't know anything about libcamera on Ubuntu. It might
be worth asking on a Ubuntu forum?
If there is no libcamera package for Raspberry Pi on Ubuntu, you might
want to consider building it for yourself? For example, although it was
some time ago, there was a post about it here
<#563>.
Sorry not to have better answers for you!
—
Reply to this email directly, view it on GitHub
<#1145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJDEJUYCRLGSSTAGBXKE4C3Z5ZEYTAVCNFSM6AAAAABQXSGEXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRHE2TKNRQGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm afraid your images aren't showing, so I can't tell exactly what errors you have. (Maybe just post text if they're text errors?) I assume you installed libcamera as well, so that the .so files are on your system somewhere? Maybe check it's there and in the right place. Sometimes I find I need a |
Any idea how to install picamera2 on docker on ubuntu 24.04 installed on raspberry pi 5
I have a raspberry pi 5 , I installed ubuntu 24.04 on it, then I created a docker image with python 3.9.2 using for computer vision project (tensorflow, mediapipe,pyqt5...) everything is working fine, now I would like to read frames from picamera instead of usb camera ,but i cannot install picamera2 or even libcamera-dev , any idea how to do that please
I tried to install libcamera-dev but I get this : E: Unable to locate package libcamera-dev , you find attached the dockerfile used
The text was updated successfully, but these errors were encountered: