Skip to content

Instantly share code, notes, and snippets.

@Abhinay1997
Created August 13, 2019 09:31
Show Gist options
  • Save Abhinay1997/147f29b4882a578217ebe5c5bbc05305 to your computer and use it in GitHub Desktop.
Save Abhinay1997/147f29b4882a578217ebe5c5bbc05305 to your computer and use it in GitHub Desktop.
A complete pipeline test of the timelapse generator. Contrast stretching and other image processing to be added. The plan is to not distribute this as a package installable from pip but as a simple git clone and run.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Abhinay1997
Copy link
Author

See generated video at: https://youtu.be/MIvDywCjXnk.
interested_data = tg.get_sub_image(bgr_data,1,2,0,1)
In the above snippet. 1,2 imply that treat image as a 1 row, 2 column grid. 0 and 1 tell it to get the grid cell from 0th row and 1st column. Useful for extracting specific parts from image to make timelapse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment