Ascii Art using OpenCV with C++. This program manipulates pixels of an image by turning a pixel into an ascii character.
-
Idea From: https://robertheaton.com/2018/06/12/programming-projects-for-advanced-beginners-ascii-art/
-
Requirements: C++ compiler (preferably GNU Compiler) & OpenCV needs to be installed in your PC.
- Using the makefile
- open terminal in project directory
- use the following command:
$ make
$ ./'Ascii Art'
- To clean the object files and build the project again from scratch use command
$ make clean
- Without using makefile : can use the following commands to compile the project :
$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ ./filename
$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ filename or $ filename.exe