ansciier-1.2.1
توضیحات
Command line program to mimic any image to your terminal
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ansciier-1.2.1 |
| نام | ansciier |
| نسخه کتابخانه | 1.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Cudiph |
| ایمیل نویسنده | dwiaceromo@gmail.com |
| آدرس صفحه اصلی | https://github.com/Cudiph/ansciier |
| آدرس اینترنتی | https://pypi.org/project/ansciier/ |
| مجوز | MIT |
# Ansciier
Mimic video or image to your terminal
## Overview

## How to use it
1. First you need [python 3][python], I reccomend the latest version but I think it would run on older version too.
2. Install the package with `$ pip install ansciier` or `pip3` if pip is point to python 2 version.
3. Run it with `$ ansciier /path/to/image-or-video.mp4`.
4. Type `$ ansciier -h` for help.
## Example usage
- `$ ansciier ~/Videos/rickroll.mp4 --aspect-ratio 20:9 --fps 24`
Command above will draw frame from rickroll.mp4 in Videos folder with aspect ratio of 20:9 and max fps at 24
- `$ ansciier ~/Video/frame{0}.png --ascii --char @ --dim 200x50 --start-frame 59`
This command will draw image with `@` character, 200x50 square block dimension from frame59.png, frame60.png, until it reaches the highest frame number. It'll automatically find the last frame when `--last-frame` is not specified, it'll still continue if a frame is missing.
- `$ ansciier camera` will use your camera
Note : Support only truecolor terminal (Because majority of terminals nowadays are truecolor I think you already have one).
Should work on Windows and Linux
[python]: https://www.python.org/downloads/release/python-396/
نیازمندی
| مقدار | نام |
|---|---|
| >=1.21.0 | numpy |
| >=4.5.3.0 | opencv-python |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ansciier-1.2.1:
pip install ansciier-1.2.1.whl
نصب پکیج tar.gz ansciier-1.2.1:
pip install ansciier-1.2.1.tar.gz