在使用raspistill指令时一直提示未找到命令应该怎么做,lucview 的安装又无法定位软件包
3条回答 默认 最新
- Plume_leaf 2021-12-02 22:42关注
我在这个网页的评论找到了答案:
https://stackoverflow.com/questions/69907904/bash-raspistill-command-not-found/69919964#69919964?newreg=3de1cb1d9c404a07b3d127f0e73b7e71
我用的是树莓派4B和CSI摄像头,在用sudo raspi-config开启Camera的使能后,使用libcamera-still -o test.jpg就可以拍出照片了
输出如下:pi@raspberrypi:~ $ libcamera-still -o test.jpg
Preview window unavailable
[0:19:53.507029031] [1993] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
[0:19:53.573790504] [1993] INFO Camera camera.cpp:937 configuring streams: (0) 1296x972-YUV420
[0:19:53.574152572] [1995] INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt BG10 Score: 2067 (best 2067)
[0:19:53.574204243] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt BG10 Score: 1849.67 (best 1849.67)
[0:19:53.574239968] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt BG10 Score: 1500 (best 1500)
[0:19:53.574272749] [1995] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BG10 Score: 3796 (best 1500)
[0:19:53.574304918] [1995] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BA81 Score: 4796 (best 1500)
[0:19:53.574338421] [1995] INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt pBAA Score: 1567 (best 1500)
[0:19:53.574371146] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pBAA Score: 1349.67 (best 1349.67)
[0:19:53.574403741] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt pBAA Score: 1000 (best 1000)
[0:19:53.574435836] [1995] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt pBAA Score: 3296 (best 1000)
[0:19:53.576249120] [1995] INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected mode: 1296x972-pBAA
[0:19:53.598938858] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000
[0:19:53.599021105] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000
[0:19:53.599055719] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000
[0:19:53.599085926] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0
[0:19:53.599115206] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000
[0:19:53.599146727] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000
[0:19:53.599196898] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 0
[0:19:53.599236216] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[0:19:53.599279535] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0
[0:19:53.599317890] [1999] INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 3
[0:19:53.601027609] [1995] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:19:53.601062482] [1995] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:19:53.601086003] [1995] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:19:53.601107041] [1995] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:19:53.673358110] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (7 left)
[0:19:53.718272120] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (6 left)
[0:19:53.751995775] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (5 left)
[0:19:53.785983619] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (4 left)
[0:19:53.818631960] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (3 left)
[0:19:53.855783498] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (2 left)
[0:19:53.885496775] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (1 left)
[0:19:53.918849806] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (0 left)
[0:19:58.701502876] [1993] INFO Camera camera.cpp:937 configuring streams: (0) 2592x1944-YUV420
[0:19:58.702086813] [1995] INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt BG10 Score: 1500 (best 1500)
[0:19:58.702186581] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt BG10 Score: 4738.67 (best 1500)
[0:19:58.702239419] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt BG10 Score: 6036 (best 1500)
[0:19:58.702292793] [1995] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BG10 Score: 8332 (best 1500)
[0:19:58.702344816] [1995] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BA81 Score: 9332 (best 1500)
[0:19:58.702392524] [1995] INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt pBAA Score: 1000 (best 1000)
[0:19:58.702440157] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pBAA Score: 4238.67 (best 1000)
[0:19:58.702486235] [1995] INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt pBAA Score: 5536 (best 1000)
[0:19:58.702532572] [1995] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt pBAA Score: 7832 (best 1000)
[0:19:58.703406052] [1995] INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected mode: 2592x1944-pBAA
[0:19:58.756511514] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000
[0:19:58.756654878] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000
[0:19:58.756703937] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000
[0:19:58.756748682] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0
[0:19:58.756790741] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000
[0:19:58.756835967] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000
[0:19:58.756881026] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 0
[0:19:58.756947791] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 100, 1000000000 ]
[0:19:58.756997999] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0
[0:19:58.757052262] [2001] INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 2
[0:19:58.760472990] [1995] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:19:58.963090398] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (1 left)
[0:19:59.154571664] [1995] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (0 left)
Still capture image received解决 2无用