first Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include <QImage>
|
||||
#include <QJsonObject>
|
||||
#include <QString>
|
||||
|
||||
struct BoardPoseEstimate {
|
||||
QJsonObject data;
|
||||
QImage axesImage;
|
||||
};
|
||||
|
||||
// Uses fixed intrinsics and the physical plate description, including distortion.
|
||||
// Throws 视觉引导/std exceptions on failure. Never recalibrates from one image.
|
||||
BoardPoseEstimate estimateBoardPose(const QImage& image, const QString& cameraFile,
|
||||
const QString& descriptionFile, double axisLengthMm = 20.0, double sigma = 3.0);
|
||||
QImage drawBoardCoordinateAxes(const QImage& image, QJsonObject& poseData,
|
||||
const QString& cameraFile);
|
||||
Reference in New Issue
Block a user