Convert videos and images to ASCII art, including live streaming.
Project description
# GLFY Tool
GLFY is a versatile tool that converts videos, images, and live streams into ASCII art. It supports various processing modes, including live video capture, virtual camera streaming, and screen capturing. The tool is designed to be efficient and customizable, making it ideal for artistic and fun applications.
## Features
- Convert Videos to ASCII Art: Converts video files into ASCII art video files.
- Convert Images to ASCII Art: Converts image files into ASCII art images.
- Live Video ASCII Conversion: Captures live video from your webcam and displays it as ASCII art.
- Virtual Camera Support: Streams ASCII art to a virtual camera, making it compatible with various video applications.
- Screen Capture: Streams your screen as ASCII art in real-time.
- Customizable Parameters: Adjust brightness, contrast, vibrancy, gamma, and more to fine-tune the ASCII art output.
## Installation
Install GLFY directly from PyPI:
pip install glfy
## Usage
After installing, you can use the GLFY tool directly from the command line or within a Python script, similar to tools like `ffmpeg`.
### Command Line Usage
To convert an image to ASCII art:
glfy image path/to/image.jpg
To convert a video to ASCII art:
glfy video path/to/video.mp4
To start live video ASCII conversion:
glfy live
### Python Script Usage
If you want to use GLFY's CLI from within a Python script, you can do so using the `subprocess` module:
```python
import subprocess
# Example: Convert an image to ASCII art using the CLI
subprocess.run(['glfy', 'image', 'path/to/image.jpg'])
# Example: Convert a video to ASCII art using the CLI
subprocess.run(['glfy', 'video', 'path/to/video.mp4'])
# Example: Start live video ASCII conversion using the CLI
subprocess.run(['glfy', 'live'])
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
glfy-0.1.0.tar.gz
(1.6 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
glfy-0.1.0-py3-none-any.whl
(1.6 MB
view details)
File details
Details for the file glfy-0.1.0.tar.gz.
File metadata
- Download URL: glfy-0.1.0.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 |
300ec6e7b8732b20cdbcc572fa6a20d71c14c4518d20c4d5580fd96f6146dbfd
|
|
| MD5 |
c40f792cad26c0b15c0f306c237e2618
|
|
| BLAKE2b-256 |
091a854b749d944a80736cd735c497f214f85587d19ffc7d93097c1884d97fca
|
File details
Details for the file glfy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: glfy-0.1.0-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 |
f8ede8ab8521efb4b5dd9203b22a882750becc8cec0cac35d65d62b4e1503f1c
|
|
| MD5 |
37e99b3ad33779ffc8369ea1a7bcd724
|
|
| BLAKE2b-256 |
68a2564153cf84cb9fa9e0651e074904d2bbbdd1f03735a1184fb3f47f3b98c7
|