mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-09 00:09:58 +00:00
Calibration now gets saved and loaded to a file on the client side.
Simplified the calibration data structure on client. Updated README, LICENSE and gitignore.
This commit is contained in:
@@ -34,9 +34,6 @@ public:
|
||||
vector<vector<float>> worldR;
|
||||
int iUsedMarkerId;
|
||||
|
||||
vector<float> cameraT;
|
||||
vector<vector<float>> cameraR;
|
||||
|
||||
vector<MarkerPose> markerPoses;
|
||||
|
||||
bool bCalibrated;
|
||||
@@ -45,6 +42,8 @@ public:
|
||||
~Calibration();
|
||||
|
||||
bool Calibrate(RGB *pBuffer, Point3f *pCameraCoordinates, int cColorWidth, int cColorHeight);
|
||||
bool LoadCalibration();
|
||||
void SaveCalibration();
|
||||
private:
|
||||
IMarker *pDetector;
|
||||
int nSampleCounter;
|
||||
|
||||
Reference in New Issue
Block a user