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!
Metadata
Release files for glfy 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| glfy-0.1.6.tar.gz | 1.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| glfy-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.2 MB
Release files / glfy-0.1.6.tar.gz
| Download URL | glfy-0.1.6.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2d32e424f911441bf63dca28cd13d4cdc1887bb1fefee46d09a0a734e925a28
|
|
BLAKE2b-256 checksum How to use checksums |
707a16ff9bf9e7e2a1560eee689ef90dfb1f2735efc6816bb6321b8e21ef7e5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / glfy-0.1.6-py3-none-any.whl
| Download URL | glfy-0.1.6-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e692cb59a7e08cddb5a601ec071a3b9a39c8ce0081fa8d852796cbb74e016d9
|
|
BLAKE2b-256 checksum How to use checksums |
fc9bd9eaaa5716f4e0250d751a03bc1a5168a2310c2838cd2a7d7050337263a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|