Open nesquik011 opened 3 weeks ago
image type: 8UC3 , i really dont understand , i thought maybe the rectification is bad , so i test with orb slam2 it worked perfectly , then i feeded raw images , still the same problem , but it also works well with orb slam2
it keep waiting for images , i hate this msg , i am stuck there for days , here some of the prints : Actual camera settings: Width: 3840 Height: 1080 FPS: 60 Input sensor was set to: Stereo
Loading ORB Vocabulary. This could take a while... Vocabulary loaded!
Initialization of Atlas from scratch Creation of new map with id: 0 Creation of new map with last KF id: 0 Seq. Name:
Camera Parameters:
Depth Threshold (Close/Far Points): 0.602271
ORB Extractor Parameters:
Start processing live feed ... Starting the Viewer Current timestamp: 0.476911 seconds Tracking not initialized. Current timestamp: 19.116371 seconds Tracking not initialized. Current timestamp: 19.333230 seconds Tracking not initialized. Current timestamp: 19.442575 seconds Tracking not initialized. Current timestamp: 19.498325 seconds Tracking not initialized.
the CODE starts Here : `#include
include
include
include
include
include
include <opencv2/core.hpp>
include <opencv2/highgui.hpp>
include <opencv2/calib3d.hpp>
include <opencv2/videoio.hpp>
include "System.h" // Adjust path as per your project setup
using namespace std;
void LoadCameraParameters(const string& pathToSettings, cv::Mat& K_left, cv::Mat& K_right, cv::Mat& D_left, cv::Mat& D_right, cv::Mat& R, cv::Mat& T, cv::Size& imageSize, double& fps, double& bf);
int main(int argc, char** argv) { if (argc != 4) { cerr << endl << "Usage: ./stereo_live path_to_vocabulary path_to_settings camera_index" << endl; return 1; }
}
void LoadCameraParameters(const string& pathToSettings, cv::Mat& K_left, cv::Mat& K_right, cv::Mat& D_left, cv::Mat& D_right, cv::Mat& R, cv::Mat& T, cv::Size& imageSize, double& fps, double& bf) { cv::FileStorage fs(pathToSettings, cv::FileStorage::READ); if (!fs.isOpened()) { cerr << "Failed to open settings file: " << pathToSettings << endl; return; }
}`
i am using Windoes 10 , CUDA , and it works perfectly with sequances
some info about my camera its ELP stereo camera , and no one ever think about buying this thing ever !