2017-05-01 06:17:23 -0600 | commented question | cvtColor RGB to GRAY end up in a shorter video with nine tiles instead of one @Raphaell No RGB2GRAY still fails... with corrupted output and I am wondering to be the only one where it fails. If you have a solution indeed please let me know... |
2017-04-25 05:08:27 -0600 | asked a question | cvtColor RGB to GRAY end up in a shorter video with nine tiles instead of one I am new to opencv and python and not really sure ehere to address this issue... When I gray-scale a mp4 teststream I end up with a grayed video but it is shorter than the original and i see it multiple (9) times in the viewing frame. To test my code I used cv2.COLOR_RGB2YUV and that woked fine This works fine 10 sec.video as one image in the viewing framenew_clip = test_clip.fl_image(lambda x: cv2.cvtColor(x, cv2.COLOR_RGB2YUV)) This fails only 3 sec. output and 9 tiles of the same content in the viewing framenew_clip = test_clip.fl_image(lambda x: cv2.cvtColor(x, cv2.COLOR_RGB2GRAY)) Best regards NIls tested in miniconda jupyter notebook:
bleach 1.5.0 py36_0 |