python openCV

Quiz
•
Computers
•
University
•
Medium
Ronnie Luy
Used 78+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the import cv2 statement do?
Imports the SciPy library for numerical processing.
Imports the NumPy library for numerical processing.
Imports our OpenCV Python bindings.
Displays an image to our screen.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We have an image that is 393 pixels wide and 312 tall. How many total pixels are in the image?
367,848
122,616
280,800
93,600
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
OpenCV stores RGB pixels in what order?
BGR
GBR
RGB
BRG
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The RGB tuple (255, 0, 0) codes for red. But OpenCV would actually interpret this color as:
Orange
Blue
Green
Yellow
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cropping: Now, suppose I want to extract a second rectangular region from my image starting at x=1, y=48 and ending at x=80, y=69. What is the correct line of code to perform this cropping?
Crop = image[80:69, 1:48]
Crop = image[1:48, 80:69]
Crop = image[48:80, 48:69]
Crop = image[48:69, 1:80]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following NumPy array shape, how would we interpret the width, height, and number of channels in the image: (400, 600, 3):
Width=600, height=400, channels=3
Width=600, height=3, channels=400
Width=400, height=600, channels=3
width=3, width=600, channels=400
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose our image has a width of 700 pixels, a height of 550 pixels, and 3 channels, one for each Red, Green, and Blue component. How would we express this image as a NumPy array shape?
(550, 700, 3)
(3, 550, 700)
(700, 550, 3)
(3, 700, 550)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Understanding Bitmap Image Representation

Quiz
•
9th Grade - University
22 questions
Graphic Design

Quiz
•
12th Grade - University
25 questions
Профессиональная иностранная терминология_8

Quiz
•
University
20 questions
computer graphics

Quiz
•
University
20 questions
Interactive Media Vocabulary Quiz

Quiz
•
10th Grade - University
17 questions
TURINGLAB - IMAGES AND SHAPES

Quiz
•
7th Grade - University
20 questions
Inetarctive Media Vocabulary Quiz

Quiz
•
10th Grade - University
15 questions
HTML CSS Basics Assessment -1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University