printimg-rust

crates.io crates.io

Print an imgae or an video in terminal using OpenCV.
Currently only Linux is supported.

ferris

Installation

Ubuntu 20.04

sh $ sudo apt install libopencv-dev clang clang-dev $ cargo install printimg

Ubuntu 18.04

sh $ sudo apt install libopencv-dev clang clang-dev $ cargo install printimg --no-default-features --features opencv-32

Other (Use Docker)

Multi-architecture docker image is available.

sh $ docker pull oza6ut0ne/opencv:4.3.0 # already installed in the image!

Usage

```sh

print image.

$ printi foo.png

print video.

$ printi bar.mp4

print video from USB camera 0.

$ printi 0

print from url.

$ printi https://rustacean.net/assets/rustacean-flat-happy.png ```