https://github.com/ar-ray-code/draw-in-terminal
Draw image or video in terminal.
https://github.com/ar-ray-code/draw-in-terminal
Last synced: about 2 months ago
JSON representation
Draw image or video in terminal.
- Host: GitHub
- URL: https://github.com/ar-ray-code/draw-in-terminal
- Owner: Ar-Ray-code
- License: mit
- Created: 2020-12-30T02:55:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T09:34:23.000Z (8 months ago)
- Last Synced: 2025-03-19T06:44:35.837Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 13.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Draw in terminal
[](https://github.com/Ar-Ray-code/draw_in_terminal/actions/workflows/cmake.yml)


Draw image or video in terminal.
## Requirement
- Ubuntu20.04 LTS Desktop
- OpenCV## Installation & Usage
#### Installation
```sh
git clone https://github.com/Ar-Ray-code/draw_in_terminal.git
cd draw_in_terminal
mkdir build
cd build
cmake ..
make
sudo make install
```#### Usage
`draw_in_terminal `
e.g. if you want to draw video.mp4, Run `draw_in_terminal video.mp4`.
- The larger the image, the slower the drawing of the terminal. It takes 5 to 10 seconds for a 4K display.
- The size of the output image depends on the width of the terminal.

Wallpaper (Pronamachan) -> https://pronama.jp/pronama/wallpapers/
## Options
Default option : -b and -d
- --help or -h : View help
- --background or -b : Background is colored.
- --number or -n : Number is colored.
- --fixed_value or -f : Output values are fixed at 8.
- --random_value or -r : Output values are random number.
- --disable_number or -d : Disable output values.
- --gray_enable or -g : The number is output in grayscale.(In development)
## License

## About writer
- Ar-Ray : Japanese student.
- Brog(Japanese) : https://ar-ray.hatenablog.com/
- Twitter : https://twitter.com/Ray255Ar