Skip to content

christianmdz/ImageToAscii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Image to ASCII converter

Convert images into ASCII art using command-line.

Dependencies

OpenCV (>= 4.5)

Build

With MinGW compiler version 12.2.0
Modify the OpenCV path

g++ -o main main.cpp -IC:\OpenCV\opencv\build\include -LC:\OpenCV\opencv\build\lib -llibopencv_core450 -llibopencv_highgui450 -llibopencv_imgcodecs450 -llibopencv_imgproc450

Usage and examples

Just add the image path and output file name when you run the program in the command console

main.exe img/blade_runner.jpg blade_runner_ascii
RAW ASCII

Increases SCALE_FACTOR to generate larger and more detailed images. Check img examples.

Goals

  • Add command line arguments to modify scale, colour, brightness, etc.
  • Video support

Releases

No releases published

Packages

No packages published

Languages