42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#if defined(SG_API_LIBRARY)
|
|||
|
|
# define SG_APISHARED_EXPORT __declspec(dllexport)
|
|||
|
|
#else
|
|||
|
|
# define SG_APISHARED_EXPORT __declspec(dllimport)
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#include "SG_baseDataType.h"
|
|||
|
|
#include <vector>
|
|||
|
|
#include <opencv2/opencv.hpp>
|
|||
|
|
|
|||
|
|
typedef struct
|
|||
|
|
{
|
|||
|
|
int rows; //<2F><>ά<EFBFBD><CEAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
int cols; //<2F><>ά<EFBFBD><CEAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
double row_space; //<2F>м<EFBFBD><D0BC>࣬<EFBFBD><E0A3AC>λmm
|
|||
|
|
double col_space; //<2F>м<EFBFBD><D0BC>࣬<EFBFBD><E0A3AC>λmm
|
|||
|
|
double pointHoleDepth; //<2F><>ά<EFBFBD><CEAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD>λmm
|
|||
|
|
double pointHoleR; //<2F><>ά<EFBFBD><CEAC><EFBFBD><EFBFBD><EFBFBD>İ뾶<C4B0><EBBEB6><EFBFBD><EFBFBD>λmm
|
|||
|
|
}WD_QRcodeParam;
|
|||
|
|
|
|||
|
|
//<2F><>ply<6C><79>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD>ݻָ<DDBB><D6B8><EFBFBD>ɨ<EFBFBD><C9A8><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>Ӷ<EFBFBD><D3B6><EFBFBD><EFBFBD>水<EFBFBD>н<EFBFBD><D0BD>д<EFBFBD><D0B4><EFBFBD>
|
|||
|
|
SG_APISHARED_EXPORT void wd_getScanLines(
|
|||
|
|
std::vector<SVzNL3DPoint>& scanData,
|
|||
|
|
std::vector< std::vector<SVzNL3DPosition>>& scanLines,
|
|||
|
|
int scan_rows);
|
|||
|
|
|
|||
|
|
SG_APISHARED_EXPORT SSG_planeCalibPara wd_getBaseCalibPara(
|
|||
|
|
SVzNL3DLaserLine* laser3DPoints,
|
|||
|
|
int lineNum);
|
|||
|
|
|
|||
|
|
SG_APISHARED_EXPORT void wd_lineDataR(
|
|||
|
|
std::vector< SVzNL3DPosition>& a_line,
|
|||
|
|
const double* camPoseR,
|
|||
|
|
double groundH);
|
|||
|
|
|
|||
|
|
SG_APISHARED_EXPORT void wd_QRcode3Ddetection(
|
|||
|
|
std::vector< std::vector<SVzNL3DPosition>>& scanLines,
|
|||
|
|
const WD_QRcodeParam qrcode_param,
|
|||
|
|
std::vector< SVzNL3DPosition>& objPoints,
|
|||
|
|
cv::Mat& dmCodeImg);
|