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.2.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.2-py3-none-any.whl
(42.3 MB
view details)
File details
Details for the file vintagify-0.1.2.tar.gz.
File metadata
- Download URL: vintagify-0.1.2.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 |
c904922bf584c204311fff2fcae998d88537f214e37e2b1d5b936cc762790fe5
|
|
| MD5 |
d416a2263ede7c9a0d79ce05f1d17d46
|
|
| BLAKE2b-256 |
1059594f385245291002e38458c143fffeb860417efff202625678716b3d75b5
|
File details
Details for the file vintagify-0.1.2-py3-none-any.whl.
File metadata
- Download URL: vintagify-0.1.2-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 |
f3b38b728cc6158e97f77c3cc1bf784a63f427db47c445941ad2da3747fa208f
|
|
| MD5 |
3b5b854f5969489a968a794aaaca499b
|
|
| BLAKE2b-256 |
e35053aaa00fe47bc8a8f67ec0a5f040b9cc95f0fa108217934222dca4df90bd
|