Simple Animation Maker
Project description
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
目前支持如下动画,详细简介请看注释:
- 旋转
- 放大
- 放大旋转
- 平移
效果:
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:
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
simple-dh-1.0.0.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple-dh-1.0.0.tar.gz.
File metadata
- Download URL: simple-dh-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce44a14599375a06377a790cbe66d2c0373408f1aca70d82fd75eaf16ca11685
|
|
| MD5 |
75a8f5588232bdebaf68fc2c24ff9571
|
|
| BLAKE2b-256 |
79100eb6f5894f20419a68324cc1cf447546c7d9d8be357517a6c2904c042254
|
File details
Details for the file simple_dh-1.0.0-py3-none-any.whl.
File metadata
- Download URL: simple_dh-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b77908a58cb8b4a2a6c2b5985ad8a8ae07f47ad9223126104d16f8fd1df4ce8
|
|
| MD5 |
32c91aca07e8e68abc5479ec3a35a7d0
|
|
| BLAKE2b-256 |
f503a955d75a7ad434355845df91db09294eaca70f90e3c05900bb604ee3616a
|