SDE_Detector: convert frame color format to rgb (#8284)
predict_image() requires that the image is RGB format, but VideoCapture.read() returns BGR image, so we need to convert the frame to RGB format.
Showing
想要评论请 注册 或 登录
predict_image() requires that the image is RGB format, but VideoCapture.read() returns BGR image, so we need to convert the frame to RGB format.