树莓派摄像头V3使用问题?如何解决

fahui_yang 2024-05-31799 次点击
pi@raspberrypi:~ $ libcamera-jpeg -o test3.jpg
Made X/EGL preview window
[0:23:35.648885827] [1406] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:23:35.827048283] [1420] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:23:35.827240940] [1420] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:23:35.828850576] [1406] INFO Camera camera.cpp:1033 configuring streams: (0) 2304x1296-YUV420
[0:23:35.829591514] [1420] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected unicam format: 2304x1296-pBAA
terminate called after throwing an instance of 'std::runtime_error'
what(): failed to import fd 21
Aborted
收藏 ♥ 感谢
Spoony 小组长 2024-05-31 
V3 的摄像头要配置 config.txt 里面:
dtoverlay=imx708

其它配置步骤参考这个教程:
https://shumeipai.nxez.com/2023/05/14/camera-module-v3-configuration-and-libcamera-usage.html

登录注册 后可回复。