图片 OCR
使用设备端 OCR 从图片中提取文字(支持英语和日语)。图片绝不离开你的设备;仅在首次使用时下载 OCR 引擎。
使用方法
- Choose an image that contains the text you want.
- Select the recognition language: English, Japanese, or both.
- Press "Recognize text". The first run takes a little longer while the OCR engine and language data download. You can edit the result in place, copy it, or download it as a .txt file.
注意事项
Recognition runs with Tesseract.js inside a Web Worker in your browser. Your image is never uploaded to any server. One honest caveat: on the first run only, the OCR engine and the language data are downloaded from the Tesseract CDN (jsDelivr). They are cached by your browser afterwards, so later runs start fast. The recognized text never leaves this page either.
常见问题
- How can I improve accuracy?
- Use images with large, high-contrast text. Straighten tilted photos and avoid shadows and glare. Handwriting is poorly supported and results are not guaranteed.
- Does it work offline?
- Once the engine and language data are cached by your browser it usually works offline. Clearing the browser cache means they will be downloaded again.