2017-10-12 3 views
1

Ich lade Video mit VideoFileClip und frage mich, ob es Video mit RGB oder BGR-Palette lädt?movepy.editory.VideoFileClip - RGB oder BGR?

clip = VideoFileClip(myVideo.mp4') 

Ich frage, weil ich Bild konvertieren möchte in Graustufen und weiß nicht, ob ich

return cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) 

oder

return cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) 

Antwort

Verwandte Themen