单项选择题

在OpenCV中,以下哪个代码片段用于读取图像文件?()

A.cv2.imread(’image.jpg’)
B.cv2.read(’image.jpg’)
C.cv2.load(’image.jpg’)
D.cv2.open(’image.jpg’)

相关考题