Search Header Logo

Câu hỏi về OpenCV

Authored by minh van

Computers

2nd Grade

Used 4+ times

Câu hỏi về OpenCV
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để đọc video từ một tập tin, ta sử dụng câu lệnh nào?

cv2.VideoCapture(filename)

cv2.readVideo(filename)

cv2.loadVideo(filename)

cv2.openVideo(filename)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để lấy chiều cao và chiều rộng của một ảnh, ta sử dụng thuộc tính nào?

a) `img.shape`

b) `img.size`

c) `img.dimensions`

d) `img.resolution`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sau đây dùng để phá hủy tất cả cửa sổ do OpenCV tạo ra?

cv2.destroyAllWindows()

cv2.closeAllWindows()

cv2.killAllWindows()

cv2.removeAllWindows()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sau đây dùng để đọc một ảnh từ tập tin?

cv2.imread()

cv2.read()

cv2.imageRead()

cv2.loadImage()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để lưu một ảnh vào tập tin, ta sử dụng lệnh nào?

cv2.imwrite()

cv2.writeImage()

cv2.saveImage()

cv2.storeImage()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để làm mờ một ảnh, ta sử dụng câu lệnh nào?

a) `cv2.GaussianBlur(img, ksize, sigmaX)`

b) `cv2.blur(img, ksize)`

c) `cv2.smooth(img, ksize)`

d) `cv2.filterBlur(img, ksize)`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để chờ một khoảng thời gian cụ thể trước khi tắt cửa sổ hiển thị, ta sử dụng câu lệnh nào?

cv2.waitKey(delay)

cv2.wait(delay)

cv2.pause(delay)

cv2.sleep(delay)

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?