文本識別

使用 ML Kit 的文本識別 API,您可以識別任何基於拉丁語的文本(以及更多基於雲的文本識別)。

文本識別可以自動輸入信用卡、收據和名片的繁瑣數據。借助基於雲的 API,您還可以從文檔圖片中提取文本,以提高可訪問性或翻譯文檔。應用程序甚至可以跟踪現實世界中的物體,例如通過閱讀火車上的數字。

iOS安卓

如果您是 Flutter 開發人員,您可能會對FlutterFire感興趣,它包含一個用於 Firebase 的 ML Vision API 的插件。

在設備端 API 和雲 API 之間進行選擇

設備上
價錢自由的

每月前 1000 次免費使用此功能:請參閱定價

理想用例實時處理——適用於相機或視頻源
識別圖像中的稀疏文本
高精度文本識別
識別圖像中的稀疏文本
識別文檔圖片中的密集文本

請參閱Cloud Vision API 演示

語言支持識別拉丁字符識別和識別範圍廣泛的語言和特殊字符

示例結果

稀疏文本

照片: Dietmar Rabich / Wikimedia Commons / “Düsseldorf, Wege der parlamentarischen Demokratie -- 2015 -- 8123” / CC BY-SA 4.0
識別文本
文本Wege
der parlamentarischen
Demokratie
(1塊)
塊 0
文本Wege der parlamentarischen Demokratie
框架(117.0, 258.0, 190.0, 83.0)
角點(117, 270), (301.64, 258.49), (306.05, 329.36), (121.41, 340.86)
識別的語言代碼
線條(3 行)
第 0 行
文本Wege der
框架(167.0, 261.0, 91.0, 28.0)
角點(167, 267), (255.82, 261.46), (257.19, 283.42), (168.36, 288.95)
識別的語言代碼
元素(2個元素)
元素 0
文本Wege
框架(167.0、263.0、59.0、26.0)
角點(167, 267), (223.88, 263.45), (225.25, 285.41), (168.36, 288.95)

文檔文本

識別文本
文本DR. SEWARD'S DIARY 361
Professor. He had evidently expected some such call, for
I found him dressed in his room. His door was ajar, so that
he could hear the opening of the door of our room. He
came at once; as he passed into the room, he asked Mina
if the others might come, too.
"No," she said quite simply, "it will not be necessary.
You can tell them just as well. I must go with you on your
journey."
Dr. Van Helsing was as startled as I was. After a mo-
ment's pause he asked:
"But why?"

...

(全文)

(1塊)
塊 0
文本

DR . SEWARD ' S DIARY 361 Professor . He had evidently expected some such call , for I found him dressed in his room . His door was ajar , so that he could hear the opening of the door of our room . He came at once ; as he passed into the room , he asked Mina if the others might come , too .

" No , " she said quite simply , " it will not be necessary . You can tell them just as well . I must go with you on your journey . "

Dr . Van Helsing was as startled as I was . After a mo ment ' s pause he asked :

...

(全文)

信心0.98
框架(25.0, 21.0, 359.0, 583.0)
識別的語言代碼zh
段落(10段)
第 1 段
文本" No , " she said quite simply , " it will not be necessary . You can tell them just as well . I must go with you on your journey . "
信心0.98
框架(29.0, 110.0, 355.0, 44.0)
識別的語言代碼zh
(34 個字)
字 7
文本simply
信心0.99
框架(179.0、110.0、37.0、15.0)
識別的語言代碼zh
符號(6 個符號)
符號 0
文本s
信心1.00
框架(179.0、110.0、3.0、15.0)
識別的語言代碼zh