Skip to content

Input images that have snapchat time on your face and outputs the pictures aligned together

Notifications You must be signed in to change notification settings

jakic12/ocala_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Co-authored by Yon Ploj

How it works

If you want to generate your own timelapse from ocala images

like this one Screenshot_20210307_002322

place the file ocalaFinder.py into the folder with your images and call

./ocalaFinder.py

Note

If the program finds the two circles, it will cache their positions in the file
<filename>_bestBoiPosition.txt
So the next time you will run the program, it will ignore the cached files. If you want to force the search to all files, run:

rm *_bestBoiPosition.txt

Prerequisites

  • python3 is required to run
  • All images must be in the folder next to the script
  • All images must use the extension .jpg or .png (search the code for @%^magic_string@%^ if you need to alter it)

Post-processing

Use the following script to remove the xx_adj_ prefix from your images:

rename -n 's/\d*_adj_(.*)/$1/' *

if you're satisfied with the result, remove the simulation flag (-n)
(rename needs to be installed for this)

About

Input images that have snapchat time on your face and outputs the pictures aligned together

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages