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
INFO Camera camera_manager.cpp:293 libcamera v0.0.0+2096-50ec902a-dirty (2020-12-25T00:50:13+08:00) Camera camera not found #23
Comments
"cam -c camera" is asking for a camera called 'camera' - and that's not an appropriate argument for the cam tool. Please run 'cam --list', and it will show the cameras you have: for example:
Then to capture 10 frames with cam from the first camera would be:
But this won't show the images, so you probably want to try using qcam to see what is captured in a viewer. |
Thank you very much for your prompt reply! After executing the command, no camera is available. But I can use 'raspistill -o cam.jpg' to take photos. [1:16:45.845832265] [3348] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+2096-50ec902a-dirty (2020-12-25T00:50:13+08:00) |
Hi, OK - so you're using a Raspberry Pi. You need to enable the unicam peripheral to use libcamera on Raspberry Pi. Make sure you've followed: In particular enabling the dtoverlay for the camera And if you have still have issues, it might be best to check the raspberry pi forums. |
Thank you so much. I'll try your method now! |
Excuse me! I tried to enable the unicam as you said, but I don't know how to do it. So, I try to enabled I2C, but it still can't work. And, I had stop the raspistill . So, do you know how to enable the unicam? |
You need to add an appropriate dtoverlay for the camera sensor you are using. From the README.md I referenced on the raspberrypi.org site:
Just to be clear, when you do this - raspistill will not work. Raspberry pi have not yet released equivalent tools to match the functionality of raspistill, but they expect to do so in the near future. You will be able to use qcam, and cam, but they are only really test tools for experimentation with libcamera. Do you have a particular use case in mind to use libcamera over the existing tools provided by Raspberry Pi? |
I will try again. I just want to learn ISP pipeline systematically through the libcamera open source library. |
which camera do you have? For camera v1 you need to add: for camera v2 it's as shown in the example: and for the latest HD camera:
Ok, well that's certainly a good reason to continue ;-) Make sure you also read the documentation that Raspberry pi have produced on this topic: |
Thank you very much! I have seen this document, but I haven't read it carefully. I will take time to learn it later |
[0:08:35.351592975] [2588] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+2096-50ec902a-dirty (2020-12-30T22:41:17+08:00) This problem has been solved, thank you! By the way, There has no imx. |
Those errors look like you might have the wrong kernel version perhaps. It's saying that the controls it expects to find are not there. You may need to update your kernel to the latest Raspberry Pi kernel. Again, this is listed in the commands at https://www.raspberrypi.org/documentation/linux/software/libcamera/README.md If it still doesn't work you should open a thread with the Raspberry Pi channels to support you. Check the latest entries here too: But you're into areas that are supported by Raspberry Pi here. |
OK! thanks a lot! I will try it. |
Hello kbingham, |
@starkfan007 We don't support running in WSL. Does WSL expose your camera as a UVC device? |
Got it. |
WSL doesn't support camera devices at this time, so I will try it on Raspberrypi 3B+. |
My camera has been installed and can shoot normally, but when I run cam, this error occurs. That's my order “cam -c camera”
The text was updated successfully, but these errors were encountered: