Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Transpose #313

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Fix Transpose #313

merged 2 commits into from
Apr 2, 2024

Conversation

jhogsett
Copy link
Owner

@jhogsett jhogsett commented Apr 2, 2024

I needed to horizontally flip FHD 60 FPS content. It took 30 minutes to flip 10 seconds of footage.

  • Images are numpy arrays, which are 6X faster to flip with np.flip() than using Pillow
  • With these changes, the flip time was 5 minutes
  • Switching the project to JPG instead of PNG, the flip time was 2.5 minutes

@jhogsett jhogsett merged commit cf24b36 into main Apr 2, 2024
2 checks passed
@jhogsett jhogsett deleted the fix-transpose branch April 2, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant