explore.textmode.art

Post on Mastodon

Posted by AndyGarber@mastodon.social (opens in a new tab)

Caption

Not my beloved Ascii but really thought this was neat. The steps of the program are:1) Grab frame via opencv2) Pixelate (derez) the image to 80 by 24 tiles3) Map the tiles to an ANSI palette4) Loop through the tiles measuring a pixel in the middle to see if it has RGB values that match an ansi color (if not just make it black)5) Append to big string and print#Ansi #Opencv #Python

Tags