Skip to main content

Fast multiple zooms on a picture using cv2 and ffmpeg

Project description

Fast multiple zooms on a picture using cv2 and ffmpeg

# Allowed image formats: url/path/buffer/base64/PIL/np
# ffmpeg must be installed 
from cv2multizoom import multizoom
    howmanyzooms=10,  # number of output pictures might be a little less than howmanyzooms
    outputfolder=r"F:\cv2mergepics\tt4",  # will be created if it does not exist
    zfill=7,  # 0000001.png instead of 1.png

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cv2multizoom-0.10.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

cv2multizoom-0.10-py3-none-any.whl (5.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page