question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] StereoCamera model and OpenCV initializations

See original GitHub issue

🚀 Feature

For Stereo Vision tasks it would be handy to have a StereoCamera model which can be initialized with two kornia.geometry.camera.PinholeCamera and the stereo calibration. The StereoCamera can have some handy methods such as StereoCamera.get_disparity_from_depth and StereoCamera.get_depth_from_disparity and other methods for working with disparity maps.

In addition to this, I propose a feature for both the PinholeCamera and proposed StereoCamera that would add a factory method to both, called something like from_OpenCV_calibration, such that we can easily initialize a PinholeCamera and StereoCamera from OpenCVs calibrateCamera and stereoCalibrate. OpenCVs calibration methods are the de facto standard in many stereo vision tasks.

Motivation

This will help researchers and developers who work on Stereo Vision tasks and want to use the nice features of Kornia otherwise. A lot of research is being put into Stereo Vision and Disparity Map estimation and I think Kornia will be a valuable tool here.

Additional context

I would be happy to contribute these proposed features.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
copaahcommented, Jan 15, 2021

@edgarriba I will! Looking into it this weekend and hopefully have a first draft.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Making A Low-Cost Stereo Camera Using OpenCV
In this post, we will learn how to create a custom low-cost stereo camera (using a pair of webcams ) and capture 3D...
Read more >
Real-Time Stereo Camera Calibration Using OpenCV
Aimed at the applications of technology of camera calibration to 3D reconstruction, the ideal camera model is discussed, especially on the ...
Read more >
Model-based object tracking with an infrared stereo camera
The general steps are first acquiring the images from the Leap Motion controller, then processing them with OpenCV functions and afterwards estimate the...
Read more >
A Multiple-Camera System Calibration Toolbox Using A ... - Ethz
Abstract—This paper presents a novel feature descriptor- based calibration pattern and a Matlab ... both a stereo camera and a circular camera rig...
Read more >
Stereo camera tracking for mobile devices - Archive ouverte HAL
Using a stereo camera, instead, the initialization step does not require any user interaction, since the features can be reconstructed by ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found