1. Goal
Show how my face and hair style changes from time to time
Input: a bunch of selfie
Output: a short clip show the change
2. Plan
- Collect data (image) from camera and phone
- Put into Lightroom in a album for organization and further development
- Output the image with time-tagged prefix
- Remove the background (maybe not)
- Use computer vision to detect the face and crop
3. Code
Eye alignment is the key process
https://github.com/hujunhan/eyelign
- main.py use machine learning to do the most job
- gui_manual_align.py use GUI to manual align the corner case
Generate the timelapse
1 | ffmpeg \ |
New setting
1 | ffmpeg \ |
h264_videotoolbox is used since Apple M series support hardware encode
DS