树莓派网络摄像头

http://www.taiyingshi.vip/res/af420186.html
http://www.ktt1080.com/67825/11700029.html
http://wquan.moojing.com/quiz/index.html

3、安装依赖

sudo apt-get install libjpeg8-dev cmake

4、wget https://github.com/jacksonliam/mjpg-streamer/archive/master.zip

解压

unzip master.zip

5、进入目录

cd /home/pi/mjpg-streamer-master/mjpg-streamer-experimental

6、安装

make

sudo make install

7、编写脚本

sudo nano stream.sh

输入

cd /home/pi/mjpg-streamer-master/mjpg-streamer-experimental

sudo ./mjpg_streamer -i “./input_uvc.so -f 10 -r 320x240 -d /dev/video0 -y -n” -o “./output_http.so -w ./www -p 8080”

8、启动脚本

赋予权限:sudo chmod +x stream.sh

./stream.sh

9、用浏览器访问  端口8080

输入ip(树莓派的ip地址):8080

你可能感兴趣的:(树莓派,开源,开源软件)