Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stereo camera waiting for images #927

Open
nesquik011 opened this issue Aug 25, 2024 · 2 comments
Open

stereo camera waiting for images #927

nesquik011 opened this issue Aug 25, 2024 · 2 comments

Comments

@nesquik011
Copy link

i am using windows , stereo camera 3840 X 1080 @ 60
i connect then down sample then split

    // Set the camera resolution to 3840x1080 (the combined stereo image)
    cap.set(cv::CAP_PROP_FRAME_WIDTH, 3840);
    cap.set(cv::CAP_PROP_FRAME_HEIGHT, 1080);
    cap.set(cv::CAP_PROP_FPS, 60);
    
            // Downsample the frame to 2560x720
        cv::resize(frame, frame_resized, cv::Size(2560, 720));

        // Split the downsampled frame into left and right images
        imLeft = frame_resized(cv::Rect(0, 0, 1280, 720)); // Left half
        imRight = frame_resized(cv::Rect(1280, 0, 1280, 720)); // Right half
        

and no matter what i do i still cant manage to fix this problem

@nesquik011
Copy link
Author

i feeded rectified images and raw , still the same , by the way the everything works fine with orb slam2 so i guess nothing wrong with my calibration

@nesquik011
Copy link
Author

update for anyone facing this problem , just keep lowering the resolution it will work , but i dont like it its a bug i believe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant