我正在尝试使用android ML Kit文本识别库进行文本识别,但在运行时遇到错误,没有返回任何文本。W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite.ocr not foundcom.google.android.gms.vision.dynamite.ocr:0
W/DynamiteModule: Local module descriptor class for c
更新我有画布对象,在页面加载后,我将文本放入其中,因此任何有能力的OCR都应该能够读取它。下面是将convas转换为OCR识别的代码
// This is the stream I'll use for OCR detectionto make sure the stream above contains what I'v