-
在Linux环境下,利用socket和opencv技术实现实时摄像头数据传输
资源介绍
linux下实现的摄像头实时视频数据传输demo,可根据自己的需求更改,可用cmake编译(需完整安装opencv),也可用g++编译(需部分编译pence库-lopencv_core -lopencv_video -lopencv_highgui -lopencv_imgproc):服务端 g++ simple_server_main.cpp ServerSocket.cpp Socket.cpp -o server -I . -I/usr/local/include -L/usr/local/lib -lopencv_core -lopencv_video -lopencv_highgui -lopencv_imgproc 客户端: g++ simple_client_main.cpp ClientSocket.cpp Socket.cpp -o client -I ~/work/experiment/c++/socket/socket-opencv/src -I/usr/local/include -L/usr/local/lib -lopencv_core -lopencv_video -lopencv_highgui -lopencv_imgproc 也可用你自己的IDE编译