david

david

33个粉丝

368

问答

253

专栏

229

资料

david  发布于  2019-03-25 20:25:45
采纳率 1%
368个问答
一个爱徒步的~IT民工
3387

双目摄像头资料

[attach]11314[/attach]
摄像头 分辨率 640x480
uvc
[attach]11315[/attach]
[attach]11316[/attach]
资料:
open cv  使用双目摄像头代码参考

[code]
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

using namespace cv;
using namespace std;
using namespace ml;

int main()
{
        VideoCapture Camera(1);
        if (!Camera.isOpened())
        {
                cout << "Could not open the Camera " << endl;
                return -1;
        }
        Mat Fream;
        Mat DoubleImage;


        while (true)
        {
                Camera >> Fream;            
                if (Fream.empty()) break;   
                resize(Fream, DoubleImage, Size(640, 240), (0, 0), (0, 0), INTER_AREA);
                imshow("【双目视图】", DoubleImage);
                Mat        LeftImage = DoubleImage(Rect(0, 0, 320, 240));
                Mat RightImage = DoubleImage(Rect(320, 0, 320, 240));

                imshow("【左视图】", LeftImage);
                imshow("【右视图】", RightImage);
                char key = waitKey(30);
               
                char c = cvWaitKey(30);
                if (c == 27)//Esc键退出
                {
                        break;
                }
        }
        return 0;
}
[/code]

易百纳技术社区文件: Ubuntu下驱动廉价双目摄像头(CHUSEI-3D-Webcam)-Python-OpenCV.pdf
下载
易百纳技术社区文件: 双目摄像头上位机序列号在压缩包.zip
下载
我来回答
回答0个
时间排序
认可量排序
易百纳技术社区暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区