← 返回命令列表

Linux command

rpicam-hello 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

rpicam-hello -t 5000

Example

rpicam-hello --tuning-file /usr/share/libcamera/ipa/rpi/path/to/config.json

说明

rpicam-hello displays a live camera preview from a Raspberry Pi camera module. It's the simplest way to verify camera functionality and view the camera output. The tool uses libcamera for modern camera support on Raspberry Pi.

参数

-t, --timeout _ms_
Preview duration in milliseconds
--tuning-file _file_
Camera sensor tuning configuration

FAQ

What is the rpicam-hello command used for?

rpicam-hello displays a live camera preview from a Raspberry Pi camera module. It's the simplest way to verify camera functionality and view the camera output. The tool uses libcamera for modern camera support on Raspberry Pi.

How do I run a basic rpicam-hello example?

Run `rpicam-hello -t 5000` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -t, --timeout _ms_ do in rpicam-hello?

Preview duration in milliseconds