我是靠谱客的博主 小巧滑板,这篇文章主要介绍多摄像头实现全景监控,现在分享给大家,希望可以做个参考。

         我们时常在电视上看见监控的画面,可以使在不同地方的摄像头采集的图像画面显示在一个大的屏幕上,这样就方便了人们去管理。其实代码方面很简单。下面是我编写的简单程序,处理时间也是相当的快,而且都是opencv中比较基本的函数。



#include "stdafx.h"
#include "D:libopencvincludeopencv2corecore.hpp"
#include "D:libopencvincludeopencv2highguihighgui.hpp"
#include "D:libopencvincludeopencv2imgprocimgproc.hpp"
using namespace std;
using namespace cv;

VideoCapture cap(0);
VideoCapture cap1(1);
Mat frame,frame1,frame2,frame3,frame4,mergeframe;
Rect RoiRect1,RoiRect2,RoiRect3,RoiRect4;


int _tmain(int argc, _TCHAR* argv[])
{
int  frameheight=cap.get(CV_CAP_PROP_FRAME_HEIGHT);
int  framewidth =cap.get(CV_CAP_PROP_FRAME_WIDTH);
// int height=frameheight/2;

最后

以上就是小巧滑板最近收集整理的关于多摄像头实现全景监控的全部内容,更多相关多摄像头实现全景监控内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(109)

评论列表共有 0 条评论

立即
投稿
返回
顶部