A minimal package for video stabilization
Project description
Video-Stabilizer
This is a minimal package implementing video stabilization specifically tuned for microscopic time-lapses.
Get started
Install using pip
pip install video_stabilizer
Examples
We can stabilize a sequence of frames given as a sequence of paths.
import video_stabilizer
paths = [...]
frame_generator = video_stabilizer.FrameGenerator(paths)
for stabilized_frame, transform in video_stabilizer.stabilize_video(frame_generator):
do_something(stabilized_frame, transform)
Or frames given by a cv2.VideoCapture
:
import cv2
import video_stabilizer
cap = cv2.VideoCapture(...)
frame_generator = video_stabilizer.generate_frames_from_video(cap)
for stabilized_frame, transform in video_stabilizer.stabilize_video(frame_generator):
do_something(stabilized_frame, transform)
License
Distributed under the MIT-license. See LICENSE
for more information.
© 2020 Sartorius AG
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
video_stabilizer-0.1.tar.gz
(4.4 kB
view details)
File details
Details for the file video_stabilizer-0.1.tar.gz
.
File metadata
- Download URL: video_stabilizer-0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffaa7cad791647f2d025418aab6faf197f04079bb1015436cf52c3d4cecfb58c |
|
MD5 | 999d1c94a6da0619e958e72164c6a877 |
|
BLAKE2b-256 | 4aa0f0a817fe93b3a432bd983371acfec4b7db2f678030c78c9e98a29460b65d |