Package com.github.axet.lookup

Examples of com.github.axet.lookup.OCR.loadFont()


        OCR l = new OCR(0.70f);

        // will go to com/github/axet/lookup/fonts folder and load all font
        // familys (here is only font_1 family in this library)
//        l.loadFontsDirectory(Main.class, new File("fonts"));
        l.loadFont(Main.class, new File("fonts//font2"));

        String str = "jjj";
        // recognize using all familys set
        str = l.recognize(Capture.load("kwh.png"));
        System.out.println(str);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.