Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What function do you use to draw rectangles in OpenCV?
Think about the name of the function for rectangles.
How do you specify the color for drawn shapes?
Remember the order of colors in OpenCV.
What parameters do you need for cv2.rectangle()?
Remember the acronym for rectangle parameters.
True or False: cv2.circle() requires a radius parameter.
Think about what makes a circle complete.
Create a function that takes an image and a list of circles with coordinates and radius, then draws all these circles on the image.
Remember to use the correct parameters for color and thickness.
Design a simple OpenCV application that loads an image and allows users to click on the image to draw circles where they click.
Map the click coordinates to the circle parameters.
5 more questions in this section. Enroll free to practise them all.
Enroll free