my notes
/home/pi/project/
cv3py3 python3 with opencv3.4
if you can not run workon:
source ~/.profile
Use Picamera to capture image and video Picamera Doc
https://www.pyimagesearch.com/2017/10/09/optimizing-opencv-on-the-raspberry-pi/
use pip virtulenv install opencv3 https://www.pyimagesearch.com/2017/09/04/raspbian-stretch-install-opencv-3-python-on-your-raspberry-pi/
For object detect Opencv Python
https://pythonprogramming.net/self-driving-car-python-plays-gta-v/
autopilot https://wroscoe.github.io/compound-eye-autopilot.html
https://pythonprogramming.net/self-driving-car-python-plays-gta-v/
pi 安装 vlc server
sudo apt-get install vlc
启动视频流
raspivid -o - -w 320 -h 240 -t 9999999 |cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/}' :demux=h264
w: 宽度,h 高 , 8554 端口 h264 视频编码
mac, 安装 vlc 播放器 播放地址 rtsp://192.168.0.5:8554/
https://pimylifeup.com/raspberry-pi-webcam-server/
https://www.jianshu.com/p/86adb6d5347b
python 脚本 自启动 https://www.embbnux.com/2015/04/12/raspberry_pi_setting_python_script_start_on_boot/
http://shumeipai.nxez.com/2018/10/05/how-to-easily-detect-objects-with-deep-learning-on-raspberry-pi.html
free 命令 查看内存 htop 查看进程
https://www.techcoil.com/blog/how-to-setup-jupyter-notebook-on-raspberry-pi-3-with-raspbian-stretch-lite-supervisor-and-virtualenv-to-run-python-3-codes/
在 pi 上 运行 jupyter notebook --ip 0.0.0.0 --port 9999 --no-browser
在 mac 浏览器上 http://(raspberrypi 地址):9999/?token=24970c42bb31323ebc6a0258e99dc109145aa3576283cc29
https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/
on pi run
jupyter notebook --ip 0.0.0.0 --port 9999 --no-browser