LePatrick
Augment your images with Patrick Star!
LePatrick is a Python package that applies fun and creative Patrick imprints to images using OpenCV.
What It Does
LePatrick enhances images by pasting Patrick Star's figure onto your input image — great for data augmentation, or just plain fun.
Features
- Add Patrick imprints with a single function
- Uses OpenCV and NumPy for high-performance image processing
- Installable via PyPI
Installation
Install from PyPI:
pip install LePatrick
Example Usage
import cv2
from LePatrick import Patrick
# Apply to your dataset
Patrick(
source_dir = "data/train",
num_outputs = 1000,
num_patricks = 5
)
[!NOTE] The
patrick.pngasset is bundled within the package and loaded internally.
Requirements
- Python 3.10 or newer
- OpenCV 4.9.0.80
- NumPy 1.26.4
These are installed automatically when you install the package.
Metadata
Release files for LePatrick 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lepatrick-0.1.0.tar.gz | 154.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lepatrick-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 308.2 kB
Release files / lepatrick-0.1.0.tar.gz
| Download URL | lepatrick-0.1.0.tar.gz |
|---|---|
| Size | 154.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52df9cd9de0c6f7cc4ab51b667db05468dd012393311b657572a22b85b3afea2
|
|
BLAKE2b-256 checksum How to use checksums |
68a27205f545b80502f6fe147d8912f5ac5ed89d049ebcee1e2fee549d523c09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / lepatrick-0.1.0-py3-none-any.whl
| Download URL | lepatrick-0.1.0-py3-none-any.whl |
|---|---|
| Size | 153.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1eb07ad03856c5cc2b02b5210b0f27a5a65c69147d02114be1e2c5b60356840b
|
|
BLAKE2b-256 checksum How to use checksums |
50516fc757566e4364bab8ff22453cfd98d1a5225ac17afa038cee90a330baec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|