Skip to main content
pip install simple-dh
from dh import *
img=cv2.imread('testimg.png')
mx,my=img.shape[0],img.shape[1]
mx//=2
my//=2
spin(img,30,2,'result.mp4',col=(255,255,255))
enlarge(img,2,'result2.mp4',(my,mx),col=(255,255,255))
enlarge_spin(img,30,2,'result3.mp4',(my,mx),col=(255,255,255))
translate(img,110,250,2,'result4.mp4',col=(255,255,255))
spin(img,30,2,'result.gif',col=(255,255,255))
enlarge(img,2,'result2.gif',(my,mx),col=(255,255,255))
enlarge_spin(img,30,2,'result3.gif',(my,mx),col=(255,255,255))
translate(img,110,250,2,'result4.gif',col=(255,255,255))

simple_dh

简易动画制作器

需要的库:opencv-python,imageio

目前支持如下动画,详细简介请看注释:

  • 旋转
  • 放大
  • 放大旋转
  • 平移

效果:

result.gif

result2.gif

result3.gif

result4.gif

Simple Animation Maker

Required libraries: opencv-python,imageio

Currently, these types of animation are supported. Please refer to the comments for a detailed introduction:

  • Spin
  • Enlarge
  • Enlarge and spin
  • Translate

Effect:

result.gif

result2.gif

result3.gif

result4.gif

Metadata

Release files for simple-dh 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-dh 1.0.0
File Size Uploaded
simple-dh-1.0.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-dh 1.0.0
File Interpreter ABI Platform
simple_dh-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / simple-dh-1.0.0.tar.gz

Download URL simple-dh-1.0.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ce44a14599375a06377a790cbe66d2c0373408f1aca70d82fd75eaf16ca11685
BLAKE2b-256 checksum
How to use checksums
79100eb6f5894f20419a68324cc1cf447546c7d9d8be357517a6c2904c042254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.0

Release files / simple_dh-1.0.0-py3-none-any.whl

Download URL simple_dh-1.0.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b77908a58cb8b4a2a6c2b5985ad8a8ae07f47ad9223126104d16f8fd1df4ce8
BLAKE2b-256 checksum
How to use checksums
f503a955d75a7ad434355845df91db09294eaca70f90e3c05900bb604ee3616a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page