...
 
Commits (2)
......@@ -247,7 +247,7 @@ void CameraCalibration::calibrate()
if (fishEye) {
int fisheyeFlags = 0;
fisheyeFlags |= fisheye::CALIB_RECOMPUTE_EXTRINSIC;
fisheyeFlags |= fisheye::CALIB_CHECK_COND;
//fisheyeFlags |= fisheye::CALIB_CHECK_COND;
fisheyeFlags |= fisheye::CALIB_FIX_SKEW;
rms = fisheye::calibrate(objectPoints, imagePoints, imageSize, cameraMatrix, distCoeffs, rv, tv, fisheyeFlags);
} else {
......
......@@ -3,8 +3,7 @@
using namespace cv;
DataRecorder::DataRecorder(QString id, QString header, QObject *parent)
: id(id.replace("Widget", "").replace(" ", "")),
header(header),
: header(header),
videoWriter(NULL),
dataFile(NULL),
dataStream(NULL),
......@@ -13,6 +12,7 @@ DataRecorder::DataRecorder(QString id, QString header, QObject *parent)
{
if (!id.contains("Journal"))
pmIdx = gPerformanceMonitor.enrol(id, "Data Recorder");
this->id = id.replace("Widget", "").replace(" ", "");
}
DataRecorder::~DataRecorder()
......