Memories / 文件

本頁目錄

手寫與文字辨識(行動版)

Memories 行動版編輯器可將手寫內容與相片轉為文字。所有辨識作業都在 裝置上執行;不會將影像、筆畫或辨識出的文字傳送至任何伺服器。

手寫

點選編輯器工具列的筆形圖示以開啟畫布。工具包括:畫筆、橡皮擦 (移除碰觸到的筆畫)、復原及清除。選擇中文或英文,然後:

  • 辨識文字使用 Google ML Kit Digital Ink Recognition (google_mlkit_digital_ink_recognition)。語言模型僅在您確認後下載 一次;辨識作業本身在裝置上執行。結果會先顯示於可編輯的預覽中, 再插入游標位置。
  • 儲存為影像(僅限記憶編輯器)將繪圖保留為 PNG。儲存記憶時, 每張影像會儲存為獨立的私密加密檔案資產,標題為 " (handwriting)"。儲存後會清除緩衝區。</li> </ul> <h2 data-section="section-3" id="掃描文字ocr">掃描文字(OCR)<span aria-hidden="true" class="docs-anchor" id="section-3"></span><span aria-hidden="true" class="docs-anchor" id="scan-text-ocr"></span></h2> <p>點選掃描圖示,選擇相機、相片圖庫或影像檔案。文字辨識使用 <code>google_mlkit_text_recognition</code> 及隨附的中文與拉丁文字模型 (iOS 同樣使用裝置上的 ML Kit);選用辨識字元較多的結果。 插入前會顯示可編輯的預覽。相機/相片挑選器產生的暫存影像副本 會在辨識完成後立即刪除;從桌面檔案系統選取的檔案絕不會刪除。</p> <h2 data-section="section-4" id="受保護卡片">受保護卡片<span aria-hidden="true" class="docs-anchor" id="section-4"></span><span aria-hidden="true" class="docs-anchor" id="protected-cards"></span></h2> <p>受保護卡片表單的隱藏機密欄位具有相同的手寫與掃描按鈕。 只會產生文字(不保留影像),預覽保留於應用程式內, 值會直接填入隱藏欄位。</p> <h2 data-section="section-5" id="權限">權限<span aria-hidden="true" class="docs-anchor" id="section-5"></span><span aria-hidden="true" class="docs-anchor" id="permissions"></span></h2> <ul> <li>Android:<code>CAMERA</code>(選擇相機時請求)。系統相片 挑選器不需要儲存空間權限。</li> <li>iOS:<code>NSCameraUsageDescription</code> 與 <code>NSPhotoLibraryUsageDescription</code>。</li> </ul> <p>若存取遭拒,訊息會說明如何在「設定」中允許存取。</p></article><footer class="docs-footer"><a href="/docs/zh-TW/">文件首頁</a><a href="#main">回到頂端 ↑</a></footer></main></div></body></html>