Skip to content

Conversation

@n-poulsen
Copy link
Contributor

Addresses issue #2283. As documented in Matplotlib's interactive guide, show needs to be called without blocking the thread. When run in non-interactive mode, the default behavior of show() is to block the loop until all windows are closed.

Also fixes the frames being shown with the color channels in the incorrect order (VideoReader returns RGB frames, imshow expects RGB frames, and the channels were being swapped as if the frames were BGR).

This fix was tested on OS X.

@n-poulsen n-poulsen added the bug fix! fix for a real buggy one... label Jun 26, 2023
@n-poulsen n-poulsen requested review from MMathisLab and jeylau June 26, 2023 13:50
@n-poulsen n-poulsen force-pushed the fix_extract_frames_gui_crop branch from 4104181 to 7f70072 Compare June 27, 2023 14:29
@MMathisLab MMathisLab merged commit d557637 into main Jun 29, 2023
@MMathisLab MMathisLab deleted the fix_extract_frames_gui_crop branch July 28, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix! fix for a real buggy one...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants