1.准备一个双目摄像头
二、环境:C++、opencv库
#include"stdafx.h"
#include<iostream>
#include<string>
#include<sstream>
#include<opencv2/core.hpp>
#include<opencv2/highgui.hpp>
#include<opencv2/videoio.hpp>
#include<opencv2/opencv.hpp>
#include<stdio.h>
using namespace std;
using namespace cv;
const char* keys =
{
"{help h usage ? | | print this message}"
"{@video | | Video