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:
Marek Kowalski
2017-01-17 19:04:45 +01:00
parent 8e15bcf917
commit 64027fc77d
7 changed files with 71 additions and 50 deletions
+2 -3
View File
@@ -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;