Challenge - 5 Problems
Stereo Vision Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
What is the main purpose of stereo vision in computer vision?
Stereo vision uses two cameras to mimic human eyes. What is the main goal of using stereo vision?
Attempts:
2 left
💡 Hint
Think about what having two slightly different views helps us understand about the scene.
✗ Incorrect
Stereo vision helps calculate how far objects are by comparing two images from different viewpoints, similar to how our eyes perceive depth.
❓ Predict Output
intermediate2:00remaining
Output of disparity map calculation code snippet
Given the following Python code using OpenCV to compute a disparity map, what is the shape of the output disparity map?
Computer Vision
import cv2 left_img = cv2.imread('left.png', 0) right_img = cv2.imread('right.png', 0) stereo = cv2.StereoBM_create(numDisparities=16, blockSize=15) disparity = stereo.compute(left_img, right_img) print(disparity.shape)
Attempts:
2 left
💡 Hint
The disparity map is a single-channel image matching the input image size.
✗ Incorrect
The disparity map has the same height and width as the input images but only one channel, so its shape is (height, width).
❓ Model Choice
advanced2:00remaining
Choosing the best stereo matching algorithm for real-time depth estimation
You want to implement stereo vision on a mobile robot that needs real-time depth estimation. Which stereo matching algorithm is best suited for this task?
Attempts:
2 left
💡 Hint
Consider the trade-off between speed and accuracy for real-time use.
✗ Incorrect
Block Matching is faster and simpler, suitable for real-time applications, while others are more accurate but slower.
❓ Hyperparameter
advanced2:00remaining
Effect of increasing numDisparities in stereo matching
In stereo vision, what happens if you increase the numDisparities parameter in the block matching algorithm?
Attempts:
2 left
💡 Hint
numDisparities controls how far the algorithm looks for matching points horizontally.
✗ Incorrect
Increasing numDisparities expands the horizontal search range for matching pixels, which helps detect objects at greater distances but requires more computation.
❓ Metrics
expert2:30remaining
Evaluating stereo vision depth accuracy with error metrics
You have ground truth depth data and predicted depth from stereo vision. Which metric best measures the average absolute difference between predicted and true depth values?
Attempts:
2 left
💡 Hint
Look for the metric that averages absolute differences without squaring.
✗ Incorrect
MAE calculates the average absolute difference between predicted and true values, making it a straightforward measure of depth accuracy.