摘要: // 连接opencvSystem.setProperty("java.awt.headless", "false");System.out.println(System.getProperty("java.library.path"));URL url = ClassLoader.getSyste 阅读全文
posted @ 2024-08-16 11:42 Lee597 阅读(136) 评论(0) 推荐(0)
摘要: //region 图像匹配 3.0 private Mat imageMatch(Image ori, Image tbi) { System.setProperty("java.awt.headless", "false"); System.out.println(System.getProper 阅读全文
posted @ 2024-08-16 10:57 Lee597 阅读(213) 评论(0) 推荐(0)
摘要: ITesseract instance = new Tesseract(); try { // 设置字体库路径 instance.setDatapath("/path/to/tessdata/"); // 添加特定的字体 instance.setLanguage("eng", "/path/to/f 阅读全文
posted @ 2024-08-16 10:44 Lee597 阅读(200) 评论(0) 推荐(0)