Created
November 12, 2025 01:10
-
-
Save SqrtRyan/2b3a06f52c5c601d9fc1d396a8738952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rp.git.Figures.film_strip.film_strip import film_strip | |
| video='/Users/ryan/CleanCode/Projects/Google2025_Paper/OverleafGit/figures_src/CatFish.mp4' | |
| video=load_video(video, use_cache=True) | |
| for vert in [True,False]: | |
| before=video[:,80:,:720] | |
| after=video[:,80:,-720:] | |
| #display_video(after) | |
| frames=[0,25,46] | |
| before=film_strip(before[frames],vertical=vert) | |
| after=film_strip(after[frames],vertical=vert) | |
| before=crop_image_zeros(before) | |
| after=crop_image_zeros(after) | |
| for output in [before,after]: | |
| display_image(output) | |
| copy_image_to_clipboard(output) | |
| input('>>>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment