...
 
Commits (2)
......@@ -42,11 +42,12 @@ ScreenCameraInfo ScreenCameraInfo::getCurrentDiviceInfo() {
}
cv::Matx33d ScreenCameraInfo::cameraMatrix() {
return cv::Matx33d();
return cameraMatrixForFrameSize(frontCameraResolution);
}
cv::Matx33d ScreenCameraInfo::cameraMatrixForFrameSize(cv::Size2i frameSize) {
return cv::Matx33d();
// very temporary report
return cv::Matx33d(1000, 0, frameSize.width/2, 0, 1000, frameSize.height/2, 0, 0, 1);
}
double ScreenCameraInfo::cameraXFov() {
......
......@@ -23,7 +23,7 @@ namespace cve {
int durationLength = 50;
time_point<system_clock> startTime;
public:
TickTockTimer(const std::string & timerName, int timerLength): timerName{timerName}, durationLength{timerLength} {}
TickTockTimer(const std::string & timerName, int timerLength = 50): timerName{timerName}, durationLength{timerLength} {}
void tick();
void tock();
......