Skip to content

auriou/FIGlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIGlet

library write in C# for generating Ascii-Art text and recognize this characters.

Example

# Basic usage (cli)
$ artii 'Art!'
# =>  __  __  _                                  __  _       _   _        _
# => |  \/  |(_)  ___  _ __   ___   ___   ___   / _|| |_    | \ | |  ___ | |_
# => | |\/| || | / __|| '__| / _ \ / __| / _ \ | |_ | __|   |  \| | / _ \| __|
# => | |  | || || (__ | |   | (_) |\__ \| (_) ||  _|| |_  _ | |\  ||  __/| |_
# => |_|  |_||_| \___||_|    \___/ |___/ \___/ |_|   \__|(_)|_| \_| \___| \__|
# =>

Examples

# =>                 _   _
# =>      /\        | | | |
# =>     /  \   _ __| |_| |
# =>    / /\ \ | '__| __| |
# =>   / ____ \| |  | |_|_|
# =>  /_/    \_\_|   \__(_)
# =>

# =>      ___         __  __
# =>     /   |  _____/ /_/ /
# =>    / /| | / ___/ __/ /
# =>   / ___ |/ /  / /_/_/
# =>  /_/  |_/_/   \__(_)
# =>

OCR-ArtASCII: Microsoft.Net

Code :

var fig = new Figlet();
//Load specific font (Figlet format)
//fig.LoadFont(@"D:\FIGLET\FONTS\standard.flf");
//Generate ASCII-Art Text
var asciiart = fig.ToAsciiArt("Microsoft.Net");
Console.WriteLine(asciiart);

//Prepare alphabet for reconize 
fig.PrepareAlphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.");
//Reconize Ascii-Art
var reconize = fig.ReconizeAsciiArt(asciiart);
Console.WriteLine("OCR-ArtASCII: {0}", reconize);
Console.ReadLine();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages