Project is based on ORB_SLAM2 (https://github.com/raulmur/ORB_SLAM2)
- ОС: Windows x64;
- Qt 5.5.1 or higher;
- OpenCV version: 3.1;
- Compiler: : MSVC2013 x64;
- Two Web-cameras or one stereocamera.
- Open the project in QtCreator;
- Set up assembly pattern "Release";
- Build the project;
- Copy libraries OpenCV (https://cloud.mail.ru/public/KMiB/znjPSo2CZ) to bin folder;
- Copy libraries Qt to bin folder;
- Copy files from directory /assets (files: ORBvoc.txt, settings.yaml, webcam.yaml) to bin folder;
- Calibrate stereopair:
- binary files calibration program - https://cloud.mail.ru/public/5iHb/CbBNiNDin);
- source codes calibration program - https://github.com/MimusTriurus/QtStereoCamCalibration;
- Copy generated calibration file - extrinsics.yaml to bin folder;
- Enter parameters of camera matrix in file webcam.yaml: Camera.fx, Camera.fy, Camera.cx, Camera.cy (parameters K1[0,0][1,1][0,2][1,2] in file extrinsics.yaml respectively)
- Set up in file settings.yaml:
- leftCamIndex, rightCamIndex - index of left camera and index of right camera respectively;
- frameWidth, frameHeight - camera resolution
- calibrationFilePath - path to calibration file extrinsics.yaml
- Copy library OrbSlamTracker.dll to bin folder
Colibration results: smaller error value (less than 0.5) indicates better tracker work.