目录
1. sudo apt-get install libjpeg8-dev #JPEG支持库
2. sudo apt-get install imagemagick
3. sudo apt-get install libv4l-dev #4l是小写"L"
4. sudo apt-get install cmake #下载编译工具
5. git clone https://github.com/jacksonliam/mjpg-streamer.git(若未安装git,则需先进行安装sudo apt-get install git)
1. cd mjpg-streamer/mjpg-streamer-experimental #进入下载目录后进入左侧路径
1.sudo rasp-config
2. ./start.sh运行,运行成功红灯亮
3.浏览器输入http://树莓派IP地址:8080