# 文字辨識（OCR）

一個基於 Tesseract 的 Android 應用程式，可以辨識圖像中的文字。

這個應用程式（從 3.0 版之後）基於<a href="https://github.com/tesseract-ocr/tesseract/blob/master/README.md">Tesseract 5 </a>，是第一款基於 Tesseract 5 的 Android 應用程式。

###下載訓練資料後，這個應用程式所有動作皆在裝置上離線進行。

在 [Hosted Weblate](https://hosted.weblate.org/projects/android-ocr) 上翻譯這個應用程式。

<font color="#2467d6"><b>功能</b></font>
* 最準確及最快的結果。
* 從圖像擷取文字。
* 複製資料到剪貼簿。
* 選擇資料的任何部分。
* 在一張圖像中處理多種語言（需要先設定）。
* 基於最新的 <a href="https://github.com/tesseract-ocr/tessdoc/blob/master/Data-Files.md">訓練資料</a>.
* 120+ 可辨識的 <a href="https://tesseract-ocr.github.io/tessdoc/Data-Files">語言</a>.
* 3 類型的資料 ： <a href="https://github.com/tesseract-ocr/tessdata">標準</a>，<a href="https://github.com/tesseract-ocr/tessdata_best">最佳</a>，<a href="https://github.com/tesseract-ocr/tessdata_fast">最快</a> 更多詳情 <a href="https://github.com/tesseract-ocr/tessdoc/blob/master/Data-Files.md">請參照此處</a>。
* 數學辨識/公式偵測（尚未經測試）。
* 直接從裝置中圖片庫的分享選單處理圖像。


 <font color="#2467d6"><b>需要權限</b></font>

* 網際網路：下載訓練資料。
* 存取網際網路狀態：用來下載訓練資料。
* 注意：您的資料不會發送到任何地方。

📓 <font color="#2467d6"><b>授權條款</b></font>

* Tesseract 及 Tesseract 資料: <a href="https://github.com/tesseract-ocr/tesseract/blob/master/LICENSE">Apache 2.0</a>。
* Tesseract4Android: <a href="https://github.com/adaptech-cz/Tesseract4Android/blob/master/LICENSE">Apache 2.0</a>。
* ImageCropper: <a href="https://github.com/ArthurHub/Android-Image-Cropper/blob/master/LICENSE.txt">Apache 2.0</a>。
* SpinnerDialog: <a href="https://github.com/MdFarhanRaja/SearchableSpinner/blob/master/LICENSE">[Apache 2.0</a>。

感謝 <a href="https://github.com/adaptech-cz/Tesseract4Android">Tesseract4Android</a> 函式庫使此應用程式變得可能。

如果您想要使用基於 Tesseract 4 的版本，可以使用這個應用程式的舊版本（3.0 版之前）
