解决了原作者无法运行的问题,另外也没有android M 的限制,在时候的时候可以看到系统只是截取相关图片去做识别,我把截取的图片内容页显示在屏幕上。 使用的时候,需要把tessdata目录及里面的内容放到sdcard 根目录下才能使用。
2022-04-05 10:49:55 19.54MB tess-two
1
OCR开源工具 tess-two 9.1.0 的 jni 库编译生成文件,使用 ndk 14编译。可以直接用,在android studio里面引入 tess-two的库时没找到jni库。
2022-03-15 19:28:35 10.33MB tess-two oc android
1
2019编译,tess-two可用的so文件 测试通过 中英图形识别 2019编译,tess-two可用的so文件 测试通过
2021-12-13 22:56:51 1.97MB tess-two
1
本资源分本地识别和第三方识别,本地识别有些手机需要更改SD卡路径,第三方识别用的是百度云,assets目录下的文件需要自己获取
2021-10-22 10:54:21 36.78MB android tess-two OCR
1
该文件是tess-two项目使用ndk编译生成的.so文件,可以直接引入Android工程中实现图片识别
2021-06-23 12:35:26 3.23MB tess-two android ocr
1
OCR引擎的jar包,在android开发文字识别是的jar包
2021-05-21 13:00:39 135KB OCR引擎
1
该文件是tess-two项目使用ndk编译生成的.so文件,可以直接引入Android工程中实现图片识别
2019-12-21 22:01:06 14.61MB tess-two
1
This is a program that support OCR
2015-06-03 00:00:00 15MB Tess2
1
----基于google tesseract-ocr-3.02版本;2012-12; ----Linux环境编译, 2014-12-01。 直接导入jar包,并把libs目录拷进项目即可使用。 ocr识别库下载 地址:: https://code.google.com/p/tesseract-ocr/downloads/list 调用示例程序: public void testGetUTF8Text() { // First, make sure the eng.traineddata file exists. final String inputText = "hello"; final Bitmap bmp = getTextImage(inputText, 640, 480); // Attempt to initialize the API. final TessBaseAPI baseApi = new TessBaseAPI(); baseApi.init(TESSBASE_PATH, DEFAULT_LANGUAGE); baseApi.setPageSegMode(TessBaseAPI.PageSegMode.PSM_SINGLE_LINE); baseApi.setImage(bmp); // Ensure that the result is correct. final String outputText = baseApi.getUTF8Text(); assertEquals("\"" + outputText + "\" != \"" + inputText + "\"", inputText, outputText); // Ensure that getHOCRText() produced a result. final String hOcr = baseApi.getHOCRText(0); assertNotNull("HOCR result found", hOcr); // Ensure getRegions() works. final Pixa regions = baseApi.getRegions(); assertEquals("Found one region", regions.size(), 1); // Ensure getWords() works. final Pixa words = baseApi.getWords(); assertEquals("Found one word", words.size(), 1); // Iterate through the results. final ResultIterator iterator = baseApi.getResultIterator(); String lastUTF8Text; float lastConfidence; int[] lastBoundingBox; int count = 0; iterator.begin(); do { lastUTF8Text = iterator.getUTF8Text(PageIteratorLevel.RIL_WORD); lastConfidence = iterator.confidence(PageIteratorLevel.RIL_WORD); lastBoundingBox = iterator.getBoundingBox(PageIteratorLevel.RIL_WORD); count++; } while (iterator.next(PageIteratorLevel.RIL_WORD)); // Attempt to shut down the API. baseApi.end(); bmp.recycle(); }
2014-12-02 00:00:00 2.95MB tesseract ocr
1