Search test library by skills or roles
⌘ K

Adaface Sample OpenCV Questions

Here are some sample OpenCV questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Image Stitching using SIFT and RANSAC
Image Stitching
Feature Detection
Feature Matching
Solve
You are given two images of a scene taken from different viewpoints, and you want to stitch them together using SIFT feature detection and RANSAC-based homography estimation. You have the following code:
 image
What is the correct way to match the SIFT features between the two images?
A: matches = cv2.BFMatcher(cv2.NORM_L1).knnMatch(des1, des2, k=2)
            B: matches = cv2.BFMatcher(cv2.NORM_L2).match(des1, des2)
            C: matches = cv2.FlannBasedMatcher().knnMatch(des1, des2, k=2)
            D: matches = cv2.DescriptorMatcher_create(cv2.DESCRIPTOR_MATCHER_BRUTEFORCE).match(des1, des2)
            E: matches = cv2.DescriptorMatcher_create(cv2.DESCRIPTOR_MATCHER_FLANNBASED).knnMatch(des1, des2, k=2)
            F: matches = cv2.ORB_create().match(des1, des2)

Hard

Object Tracking using Kalman Filter
Object Tracking
Kalman Filter
Solve
You are given a video sequence of a moving object, and you want to track the object's position and velocity using a Kalman filter. You have the following code:
 image
What is the correct way to detect the object's position in the frame?
A: object_position = cv2.findChessboardCorners(frame, (7, 7))
            B: object_position = cv2.detectMinEigenValAndRichterTerm(frame)
            C: object_position = cv2.HOGDescriptor().compute(frame)
            D: object_position = cv2.goodFeaturesToTrack(frame, 100, 0.01, 10)
            E: object_position = cv2.circle(frame, (int(frame.shape[1] / 2), int(frame.shape[0] / 2)), 5, (0, 255, 0), -1)
🧐 QuestionπŸ”§ Skill

Medium

Image Stitching using SIFT and RANSAC
Image Stitching
Feature Detection
Feature Matching

3 mins

OpenCV
Solve

Hard

Object Tracking using Kalman Filter
Object Tracking
Kalman Filter

3 mins

OpenCV
Solve
🧐 QuestionπŸ”§ SkillπŸ’ͺ DifficultyβŒ› Time
Image Stitching using SIFT and RANSAC
Image Stitching
Feature Detection
Feature Matching
OpenCV
Medium3 mins
Solve
Object Tracking using Kalman Filter
Object Tracking
Kalman Filter
OpenCV
Hard3 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
βœ–οΈ