A simple CycleGAN-based image translation package (modern <-> vintage)
Project description
vintagify
A simple Python package for image-to-image translation using CycleGAN model.
Easily convert modern photos into vintage-style images with just one function call.
✨ Features
- 🎨 Translate modern images to vintage style using pretrained model.
- 🔁 Based on CycleGAN with unpaired training capability.
- 📦 Packaged with built-in pretrained model – no extra downloads required.
- 🔧 Simple API, minimal setup.
📦 Installation
Install via pip:
pip install vintagify
🚀 Quick Start
from vintagify import translate_image
translate_image("photo.jpg", "photo_vintage.jpg")
📐 Input Requirements
- Input image should be at least 500×500 pixels.
- The image will be automatically center-cropped and resized to 512×512.
📝 License
MIT License © 2025 beingbetter11643
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
vintagify-0.1.0.tar.gz
(42.3 MB
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
vintagify-0.1.0-py3-none-any.whl
(42.3 MB
view details)
File details
Details for the file vintagify-0.1.0.tar.gz.
File metadata
- Download URL: vintagify-0.1.0.tar.gz
- Upload date:
- Size: 42.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbfa2e52d13d2f73c32483dd7b34f95cb6ecfb251e77909e6503c945312688e9
|
|
| MD5 |
71c63b22db64c778a6e04ac64c5805e3
|
|
| BLAKE2b-256 |
c16ef9ff664d62fc4ded351c07caf744890d6b3d9addfe8ddd5613157c514dbc
|
File details
Details for the file vintagify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vintagify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1720fe8d426e8b523f35b701b3f0708b7e43b15077d05a21227c79e5ba1088c2
|
|
| MD5 |
22b2a0f98293484dbbe0b057dc59c5ed
|
|
| BLAKE2b-256 |
1a112ba199c5a19eff2597f93605ef0d30179b1d392f870a33e2ae1857ebce11
|