Convert videos and images to ASCII art, including live streaming.
Project description
GLFY is a tool for converting videos, images, and live streams into ASCII art. It supports video conversion, live video capture, virtual camera streaming, and screen capturing.
Features
- Video to ASCII Art: Convert video files into ASCII art video files.
- Image to ASCII Art: Convert image files into ASCII art images.
- Live Video to ASCII Art: Utilizes a virtual camera to capture live video from a camera or screen and display it as ASCII art.
Installation
Install GLFY directly from PyPI:
pip install glfy
GLFY can be used from the command line or within a Python script.
Command Line Usage
-
Convert an image to ASCII art: glfy image path/to/image.jpg
-
Convert a video to ASCII art: glfy video path/to/video.mp4
-
Start live video ASCII conversion: glfy live
Python Script Usage
You can use GLFY’s CLI from within a Python script using the subprocess module:
import subprocess
Convert an image to ASCII art using the CLI subprocess.run(['glfy', 'image', 'path/to/image.jpg'])
Convert a video to ASCII art using the CLI subprocess.run(['glfy', 'video', 'path/to/video.mp4'])
Start live video ASCII conversion using the CLI subprocess.run(['glfy', 'live'])
Customizable Parameters
GLFY allows you to adjust various parameters to customize the ASCII art output:
- Brightness, Contrast, and Vibrancy Adjustments: Modify the appearance of the ASCII art.
- Gamma Correction: Fine-tune brightness and color balance for a more accurate visual representation.
- Background Manipulation: Adjust background vibrancy, brightness, and blur.
- ASCII Character Set: Use different ASCII characters for varied artistic effects.
- Resolution and Frame Rate: Set resolution and frame rate for virtual camera streaming or video processing.
License
This project is licensed under the MIT License.
Enjoy creating ASCII art with GLFY!
Project details
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 glfy-0.1.4.tar.gz.
File metadata
- Download URL: glfy-0.1.4.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e9e0e4fb26ee010aa480da49155cecb8490e3091f35d74ceb5efded8a9e5aec
|
|
| MD5 |
29a6caf81edddb5b9737c9dbaea2aa0f
|
|
| BLAKE2b-256 |
99f0993e3e78138dc947b7c5c74413e8cb929f2c776449ca5e5e251cebab270e
|
File details
Details for the file glfy-0.1.4-py3-none-any.whl.
File metadata
- Download URL: glfy-0.1.4-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa6aec4dccf30e47ce4811503e1f3d956c3630d545a726d4a5a69d17f60579c5
|
|
| MD5 |
2fea1d28e3b725d97d6de81a367e9c78
|
|
| BLAKE2b-256 |
4cabd6ceda59092d3717f72dc736dad7ce488de63322bc2edc3d50385c9cb902
|