You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Digital-Twin/gwx/笔记/第四周 树莓派摄像机推流至上位机人脸检测.md

57 lines
3.5 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 推流
##### libcamera使用tcp推流未采用
[树莓派 Raspberry Pi Bullseye Camera V2 相机 libcamera 用法拍照直播视频_学习溢出的博客-CSDN博客](https://blog.csdn.net/qq_41608408/article/details/126535572)
##### mpeg
[树莓派CSI/USB摄像头使用mjpg实现网页摄像头监控_帅帅气气的黑猫警长的博客-CSDN博客](https://blog.csdn.net/Hao_ge_666/article/details/119081484)
##### 使用rtsp
[最详细的音视频流媒体传输协议-rtsp协议详解 - 知乎 (zhihu.com)](https://zhuanlan.zhihu.com/p/478736595)
[树莓派CSI摄像头实现rtsp流的传输笔记本使用Python调用Opencv显示 - Cool-baby - 博客园 (cnblogs.com)](https://www.cnblogs.com/coolbaby/p/15616113.html)
[rtsp视频流传输demo - 知乎 (zhihu.com)](https://zhuanlan.zhihu.com/p/446190374)
[树莓派 + PiCamera 打造局域网实时监控 Version 2 | 码农网 (codercto.com)](https://www.codercto.com/a/43634.html)
##### 使用HTTP最终方法
[树莓派监控3— 树莓派监控推流和保存 cc's blog (ccarea.cn)](https://www.ccarea.cn/archives/693)
##### raspivid
$ raspivid -o - -t 0 -hf -b 1000000 -w 640 -h 480 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264
# 使用rtl8188cus网卡
##### 初始账户
[2022年4月树莓派系统初始用户名&密码_shamqu的博客-CSDN博客_树莓派默认用户名和密码](https://shamqu.blog.csdn.net/article/details/124920129?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-3-124920129-blog-104454758.pc_relevant_aa2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-3-124920129-blog-104454758.pc_relevant_aa2&utm_relevant_index=4)
##### 无线网卡wlan设置
[wireless - Trouble setting up wifi, daemon failed to start - Raspberry Pi Stack Exchange](https://raspberrypi.stackexchange.com/questions/67556/trouble-setting-up-wifi-daemon-failed-to-start)
[树莓派 Raspberry Pi 设置无线上网 | 树莓派实验室 (nxez.com)](https://shumeipai.nxez.com/2016/09/17/raspberry-pi-set-up-a-wireless-internet-access.html#:~:text=%E6%8A%8A%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%E6%8F%92%E5%88%B0%E6%A0%91%E8%8E%93%E6%B4%BE%E4%B8%8A%EF%BC%8C%E8%BE%93%E5%85%A5%E5%91%BD%E4%BB%A4ifconfig,-a%E6%9F%A5%E7%9C%8B%E6%98%AF%E5%90%A6%E6%9C%89wlan0%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%9C%89%E8%AF%B4%E6%98%8E%E7%BD%91%E5%8D%A1%E7%8A%B6%E6%80%81%E6%AD%A3%E5%B8%B8%EF%BC%8C%E5%8F%AF%E4%BB%A5%E8%B7%B3%E8%BF%87%E7%AC%AC%E4%BA%8C%E6%AD%A5%EF%BC%8C%E7%9B%B4%E6%8E%A5%E9%85%8D%E7%BD%AE%E6%97%A0%E7%BA%BF%E7%BD%91%E7%BB%9C%E3%80%82%20%E5%A6%82%E6%9E%9C%E6%9F%A5%E4%B8%8D%E5%88%B0wlan0%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E5%88%99%E9%9C%80%E8%A6%81%E5%AE%89%E8%A3%85%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%E7%9A%84%E9%A9%B1%E5%8A%A8%E3%80%82)
```
wpa_passphrase xxxx xxxxx | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf
```
```
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
iface default inet dhcp
wpa-ssid "xxxxxxx"
wpa-psk "xxxxxx"
```
##### ifup连接wifi报错
[wireless - Trouble setting up wifi, daemon failed to start - Raspberry Pi Stack Exchange](https://raspberrypi.stackexchange.com/questions/67556/trouble-setting-up-wifi-daemon-failed-to-start)
##### 恶性bug
基于Debian11的Raspberry Pi OS Lite系统在开启相机后无法启动尝试Legecy系统换成butter后bug消失