Skip to content

Commit 67b12c5

Browse files
committed
doc: 树莓派通过VNC预览摄像头
1 parent fcab36c commit 67b12c5

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

raspberrypi/install-os/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "安装操作系统"
2+
title: "树莓派安装操作系统"
33
date: "2024-06-10"
44
categories:
55
- "树莓派"

raspberrypi/use-camera/index.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: "树莓派通过VNC连接使用摄像头"
3+
date: "2024-06-11"
4+
categories:
5+
- "树莓派"
6+
tags:
7+
- "RaspberryPi"
8+
order: 2
9+
---
10+
我现在安装的是**Bookworm**的新版本操作系统,默认是开启摄像头的,不需要像老版本在**Raspberry Pi Configuration**中再去开启。
11+
关闭电源后接上摄像头,注意接线正反面,别接错了,之后运行:
12+
```bash
13+
rpicam-hello -t 0
14+
```
15+
就可以在VNC中看到摄像头预览了
16+
![rpicam-hello-preview](rpicam-hello-preview.png)
17+
::: tip
18+
可能需要网线来连接树莓派,用wifi卡的很,也有可能是我这个树莓派是很久之前的3B,可能有点问题,经常要开关电源好几次才能开机。
19+
:::
20+
21+
## 参考资料
22+
23+
https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-apps
Loading
1.29 MB
Loading

0 commit comments

Comments
 (0)