python openCV

python openCV

University

20 Qs

quiz-placeholder

Similar activities

GIS UNIT-3 Quiz

GIS UNIT-3 Quiz

University

20 Qs

Pengolahan Citra IK-1 10.45

Pengolahan Citra IK-1 10.45

University

15 Qs

ITN_Explore the networks_1.1 Globally connected

ITN_Explore the networks_1.1 Globally connected

11th Grade - University

20 Qs

Refreshing Materi PC

Refreshing Materi PC

University

17 Qs

Test 1-2

Test 1-2

University

20 Qs

IT Essential UIUX Chapter 1 & 2

IT Essential UIUX Chapter 1 & 2

University

20 Qs

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

11th Grade - University

15 Qs

All About  Text & Image

All About Text & Image

University

20 Qs

python openCV

python openCV

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ronnie Luy

Used 78+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers