A Python project for image effects
Project description
Akuma Image Effect 🖼️➡🎥
Professional framework for transforming images into videos with dynamic effects
Features ✨
- 🎨 Dynamic Effects: Apply zoom, fade, and custom transformations to images.
- 🌐 Multi-Source Support: Load images from local files or remote URLs.
- 🛠️ Extensible System: Easily register custom effects.
- 🎥 Video Generation: Create MP4 videos with configurable duration and FPS.
- 🧩 Professional Configuration: Fine-tune quality, interpolation, and background colors.
Installation 📦
pip install akumaimageeffect
Quick Start 🚀
from akuma import AkumaEngine
# Initialize the engine
engine = AkumaEngine()
# Generate a video with zoom-in effect
engine.generate_video(
image_src="input.jpg",
effect="akuma_zoom_in",
duration=3.0,
output_path="output.mp4"
)
Available Effects 🎨
| Effect Name | Description | Key Parameters |
|---|---|---|
akuma_zoom_in |
Smooth centered zoom effect | interpolation |
akuma_zoom_out |
Progressive reduction with background | background_color |
Register Custom Effects 🛠️
from akuma import AkumaEngine, EffectConfig
@AkumaEngine.register_effect("custom_effect")
def custom_effect(image: np.ndarray, progress: float, config: EffectConfig) -> np.ndarray:
"""
Custom effect logic
Args:
image: Input image (numpy array)
progress: Animation progress (0.0 to 1.0)
config: Effect configuration
Returns:
Transformed image
"""
# Your transformation logic here
return transformed_image
Advanced Configuration ⚙️
from akuma import EffectConfig
# Custom configuration
config = EffectConfig(
output_quality=18, # Video quality (0-51, lower is better)
interpolation=cv2.INTER_CUBIC, # Interpolation method
background_color=(255, 255, 255) # Background color (BGR format)
)
# Initialize engine with custom config
engine = AkumaEngine(config)
System Requirements 💻
- Python: 3.10+
- FFmpeg: Required for video processing
- Dependencies:
- OpenCV (
opencv-python) - NumPy (
numpy) - Requests (
requests)
- OpenCV (
Contributing 🤝
- Fork the repository.
- Add new effects in the
akuma/effects/directory. - Submit a pull request with a clear description of your changes.
License 📄
This project is licensed under the MIT License. See the LICENSE file for details.
Example Use Cases 🌟
- Social Media Content: Create engaging intros/outros for videos.
- Presentations: Add dynamic effects to slides.
- E-Learning: Enhance educational materials with animated visuals.
Support 🆘
For issues or feature requests, please open an issue on the GitHub repository.
Akuma Image Effect: Where images come to life! 🎬✨
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
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 akumaimageeffect-0.1.2.tar.gz.
File metadata
- Download URL: akumaimageeffect-0.1.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1c1ce06715f4041c7cb6411a8a9b3f1b5da36361fe5bec2afef98b02f2dae7f
|
|
| MD5 |
28b2ff82b422acf2884312cf99525547
|
|
| BLAKE2b-256 |
3545d6acf48ae33f55c432e981b0d3123bc030412901ecb164ea2c1cd577e15d
|
File details
Details for the file akumaimageeffect-0.1.2-py3-none-any.whl.
File metadata
- Download URL: akumaimageeffect-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c916438770ed7442095dcdf11a0b3b7ec205eed220c480c8615cd308bc0af66
|
|
| MD5 |
865a6a6f38464ceb4665eeb4f18fd89a
|
|
| BLAKE2b-256 |
201d34969518d234a97bef1c0a30a9a15e40141a453c6e70873fbae58586503b
|