This Python script converts a sequence of time-lapse images into a video. It stacks the images together to create a smooth transition video, ideal for time-lapse photography.
- Converts a sequence of images into a video.
- Smooth transition between images.
- Customizable parameters (frame rate).
- Simple to use.
-
Clone this repository to your local machine:
git clone [email protected]:danielxu05/Time-lapse-stacking.git
-
Navigate to the directory:
cd your-repository
-
Install the required packages:
pip install opencv-python
-
Place your time-lapse images in a folder (e.g.,
input_images
). -
Run the Python script:
python main.py -i input_images -o output_video.mp4 -f 25
Replace
input_images
with the path to your input folder andoutput_video.mp4
with the desired name for your output video file.
-i
,--input
: Path to the input folder containing time-lapse images.-o
,--output
: Path to the output video file.-f
,--frame_rate
: Frame rate of the output video (default: 25).