We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f493d0d commit b50be4bCopy full SHA for b50be4b
test_decode.py
@@ -32,6 +32,8 @@
32
end = time.time()
33
print(p.codec, p.pixel_format, p.queue_len, "all_time={}".format(int(end * 1000 - p.frame_received_ts)),
34
"python_time={}".format(int(end * 1000 - p.frame_processed_ts)))
35
+ # convert RGB24 to BGR
36
+ res = cv2.cvtColor(res, cv2.COLOR_RGB2BGR)
37
cv2.imshow('Image', res)
38
if cv2.waitKey(1) & 0xFF == ord('q'):
39
s.stop()
0 commit comments