wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

computer vision Quiz

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

You want to crop a part of one image, resize it, and blend it with another image so both are partially visible. Which OpenCV functions and parameters would you need?

a)

 a) Cropping + cv2.addWeighted()

b)

 b) Cropping + cv2.add()

c)

 c) cv2.merge() + Cropping

d)

 d) cv2.bitwise_or() + Cropping

2.

You apply Gaussian Blur before Canny edge detection on a grayscale image. Which problem is this sequence trying to avoid?

a)

 a) Missing strong edges

b)

b) Detecting noise as edges

c)

c) Losing image brightness

d)

d) Changing color representation

3.

You are designing a shape-tracking app that requires edge detection and real-time object boundary drawing. Which two main OpenCV features would you combine?

a)
  1.  a) Filters + Color conversion

b)
  1. b) Edge detection + Contours

c)
  1. c) HSV masking + Gaussian Blur

d)
  1. d) Cropping + Rotation

4.

You want to compare the smoothing effects of three filters from the slides. Which combination of filters should you apply in sequence to see clear differences?

a)

a) Averaging → Gaussian → Median

b)

b) Laplacian → Sobel → Canny

c)

c) HSV mask → Contours → Sobel

d)

d) Resize → Merge → Rotate

5.

You are processing a webcam feed to detect a moving blue object and draw a rectangle around it. Which two main steps from the slides are required?

a)

 a) HSV masking + Contours

b)

b) Gaussian Blur + Sobel

c)

c) Laplacian + Merge

d)

d) Cropping + Resize

6.

You need to detect vertical edges in a resized grayscale image and then highlight them in color on the original image. Which sequence works?

a)

 a) Resize → Grayscale → Sobel Y → Overlay on original

b)

b) Sobel X → Merge → HSV

c)

c) Laplacian → HSV mask

d)

d) Grayscale → Gaussian Blur → Canny

7.

You want to detect objects of a certain color in HSV and then find their exact shape outlines. Which two methods from the slides should you combine?

a)

 a) Masking + Contours

b)

b) Sobel + Median Blur

c)

c) Laplacian + AddWeighted

d)

d) Gaussian Blur + Cropping

8.

You want to make a real-time drawing board that uses color tracking. Which combination from the slides is most essential?

a)

a) HSV masking + Contours + Drawing functions

b)

b) Sobel + Gaussian Blur + Merge

c)

c) Laplacian + AddWeighted + Resize

d)

d) Grayscale + Median Blur + Rotate

9.

You apply Median Blur to a grayscale image and then run Canny edge detection. Why might this give better results than applying Canny directly?

a)

 a) Removes small noise before edge detection

b)

b) Makes edges thicker

c)

c) Increases brightness

d)

d) Changes the image resolution

10.

You run Canny edge detection on a noisy HSV mask without blurring first. What is the most likely problem you’ll face?

a)

a) Many false edges from noise in the mask

b)

b) Edges will be too thin

c)

c) Only vertical edges will be detected

d)

d) Edges will disappear completely

11.

You want to detect a red ball in a live feed, draw a rectangle around it, and overlay text showing its coordinates. Which is the correct set of operations?

a)
  1. a) HSV mask → Contours → cv2.rectangle() → cv2.putText()

b)
  1. b) Sobel → Canny → cv2.rectangle()

c)
  1. c) Grayscale → Laplacian → cv2.putText()

d)
  1. d) HSV mask → Gaussian Blur → Laplacian

12.

You apply Sobel in X direction after resizing the image and converting it to grayscale. How will resizing impact the Sobel result?

a)

a) Smaller details may be lost but processing is faster

b)

b) Edges will remain identical

c)

c) Edges will invert colors

d)

d) It will increase noise

13.

You merge two grayscale images using cv2.addWeighted() and then apply Canny. What’s the main advantage of doing this?

a)

a) Edge detection on combined brightness details from both images

b)

b) Better color tracking

c)

c) Higher resolution output

d)

d) Stronger saturation

14.

You want to create a binary mask for blue objects and detect their edges in one pipeline. Which correct sequence comes from the slides?

a)

 a) Convert BGR to HSV → Create mask → Canny

b)

b) Canny → HSV mask → Gaussian Blur

c)

c) Median Blur → Convert to HSV → Create mask

d)

d) Gaussian Blur → Canny → HSV

15.

You apply Laplacian to detect edges and then immediately pass the result to cv2.putText(). Why might this be done?

a)

a) Label the detected edge image with information

b)

b) Increase edge sharpness

c)

c) Convert edges to grayscale

d)

d) Merge edges into background

16.

You are tracking two colors at once in HSV but they overlap in certain lighting. Which method from the slides can help separate them?

a)

 a) Use two different masks and combine them with bitwise operations

b)

b) Convert to grayscale and threshold

c)

c) Apply Laplacian before masking

d)

d) Resize images before masking

17.

You apply Laplacian to detect edges, then overlay them on the original color image. What is the benefit of this combination?

a)

a) See edges clearly while keeping original colors

b)

b) Blur edges

c)

c) Remove colors entirely

d)

d) Change color intensity

18.

ou want to detect red objects using HSV, but lighting conditions change rapidly. Which extra step should you add before masking to improve detection stability?

a)

a) Apply Gaussian Blur

b)

b) Convert to Grayscale

c)

c) Apply Canny

d)

d) Increase image resolution

19.

You merge two images using cv2.addWeighted() after converting both to grayscale. Why might this be done?

a)

 a) To reduce complexity and blend brightness values

b)

b) To make colors appear more natural

c)

c) To increase color contrast

d)

d) To improve contour detection

20.

You create a binary mask in HSV and then apply contours to it. What does this combination achieve?

a)

a) Detects shape outlines of the chosen color

b)

b) Creates a grayscale version of the image

c)

c) Sharpens image edges

d)

d) Blends two images together