Examples of OCR


Examples of com.github.axet.lookup.OCR

*/
public class Main {

    public static void main(String[] args) {

        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);
        System.out.println("-----");
        str = l.recognize(Capture.load("test2.png"));
        System.out.println(str);

        // recognize using all familys set
//        str = l.recognize(Capture.load("D:\\Dropbox\\Icon\\coa reza\\coa si.png"));
//        System.out.println(str);
View Full Code Here

Examples of com.poker.ui.ocr.OCR

    OCR ocr;

    public OCRDelegate() {

        this.ocr = new OCR();
    }
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.