calibration.h
#pragma once
#include <cv.h>
#include<opencv2/opencv.hpp>
#include
using namespace std;
using namespace cv;
struct Dobot_Pose
{
float x, y;
};
Dobot_Pose calibration(float x, float y);/定义手眼标定函数接口
===========================================================
calibration.cpp
#include"calibration.h"
using namespace std;
using namespace cv;
Dobot_Pose calibration(float cam_x, float cam_y)
{
//像素坐标 3个点
Mat A = (Mat_<float>(3, 3) <<
1188, 1090, 1,
215, 1135, 1,
1156, 339, 1);// 3*3 写法x,y,1
//物理坐标 3个点
Mat B = (Mat_<float>(3, 3
最后
以上就是糟糕蛋挞最近收集整理的关于基于opencv 的手眼标定模块的全部内容,更多相关基于opencv内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复