24     catch (std::exception& e)
 
   27                    "Could not open the ORB vocabulary file: %s",
 
   65         float fScaleFactor = 1.2f; 
 
  106         cv::Mat rot         = cv::Mat::eye(4, 4, CV_32F);
 
  107         rot.at<
float>(1, 1) = -1.0f; 
 
  108         rot.at<
float>(2, 2) = -1.0f; 
 
#define PROFILE_FUNCTION()
 
#define SL_LOG_DEBUG(...)
 
Live video camera calibration class with OpenCV an OpenCV calibration.
 
const CVMat & cameraMat() const
 
const CVMat & distortion() const
 
CVMatx44f _objectViewMat
view transformation matrix
 
static AvgFloat detectTimesMS
Averaged time for video feature detection & description in ms.
 
bool _drawDetection
Flag if detection should be drawn into image.
 
HighResTimer _timer
High resolution timer.
 
static AvgFloat poseTimesMS
Averaged time for video feature pose estimation in ms.
 
ORB_SLAM2::ORBextractor * _initializationExtractor
 
ORB_SLAM2::ORBextractor * _trackingExtractor
 
CVTrackedWAI(const string &vocabularyFile)
 
bool track(CVMat imageGray, CVMat imageBgr, CVCalibration *calib) final
 
float elapsedTimeInMilliSec()
 
void set(T value)
Sets the current value in the value array and builds the average.
 
void loadFromFile(std::string strVocFile)
 
virtual bool update(cv::Mat &imageGray)
 
virtual cv::Mat getPose()
 
virtual void drawInfo(cv::Mat &imageBGR, float scale, bool showInitLine, bool showKeyPoints, bool showKeyPointsMatched)
 
void log(const char *tag, const char *format,...)
logs a formatted string platform independently