
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Compare various stereo depth estimation algorithms on image files or with an OAK-D camera.
Small Python utility to compare and visualize the output of various stereo depth estimation algorithms:
Included methods (implementation/pre-trained models taken from their respective authors):
OpenCV stereo block matching and Semi-global block matching baselines, with all their parameters
CREStereo: "Practical Stereo Matching via Cascaded Recurrent Network with Adaptive Correlation" (CVPR 2022)
RAFT-Stereo: "Multilevel Recurrent Field Transforms for Stereo Matching" (3DV 2021)
Hitnet: "Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching" (CVPR 2021)
STereo TRansformers: "Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformers" (ICCV 2021)
Chang et al. RealtimeStereo: "Attention-Aware Feature Aggregation for Real-time Stereo Matching on Edge Devices" (ACCV 2020)
DistDepth: "Toward Practical Monocular Indoor Depth Estimation" (CVPR 2022). This one is actually a monocular method, only using the left image.
See below for more details / credits to get each of these working, and check this blog post for more results, including performance numbers.
https://user-images.githubusercontent.com/541507/169557430-48e62510-60c2-4a2b-8747-f9606e405f74.mp4
python3 -m pip install stereodemo
To capture data directly from an OAK-D camera, use:
stereodemo --oak
Then click on Next Image
to capture a new one.
If you installed stereodemo from pip, then just launch stereodemo
and it will
show some embedded sample images captured with an OAK-D camera.
A tiny subset of some popular datasets is also included in this repository. Just
provide a folder to stereodemo
and it'll look for left/right pairs (either
im0/im1 or left/right in the names):
# To evaluate on the oak-d images
stereodemo datasets/oak-d
# To cycle through all images
stereodemo datasets
Then click on Next Image
to cycle through the images.
Sample images included in this repository:
pip
will install the dependencies automatically. Here is the list:
I did not implement any of these myself, but just collected pre-trained models or converted them to torch script / ONNX.
CREStereo
RAFT-Stereo
Hitnet
Stereo Transformers
Chang et al. RealtimeStereo
DistDepth
The code of stereodemo is MIT licensed, but the pre-trained models are subject to the license of their respective implementation.
The sample images have the license of their respective source, except for datasets/oak-d which is licenced under Creative Commons Attribution 4.0 International License.
FAQs
Compare various stereo depth estimation algorithms on image files or with an OAK-D camera.
We found that stereodemo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.