nFace is a terminal-based camera application that converts your live camera feed into ASCII art in real-time using ncurses.
- Linux (for v4l2)
- A camera (obviously)
- gcc
- gzip
- ncurses library
- tmux (optional but recommended)
First you'll have to clone the repo from Github
git clone https://github.com/tomScheers/nFace.git
cd nFaceSecondly, you'll have to run make
makeTo run the program, you'll need to run
(optional) install it to your system
sudo make installYou can install all necessary dependencies via a development shell
nix developYou can run the project by executing the binary
bin/nfaceOr, if you have installed it to your system, just run
nfaceYou can run the program without any prior installations with nix
nix run github:tomScheers/nFace#default| Flag | Description |
|---|---|
--help |
Show help message |
-v, --version |
Show current program version |
-w, --width |
Modify the width of the image frame |
-h, --height |
Modify the height of the image frame |
-i, --increment |
Modify the block increment, the higher the faster, but the less accurate the picture will be |
- You can change the resolution of the camera by increasing/decreasing your terminal size using tmux, because this program is responsive
