了解 2023 年 Google I/O 大会上介绍的 Firebase 亮点。了解详情

文本識別

借助 Cloud Vision 的文本識別 API,您可以識別100 多種不同語言和腳本的文本。

借助這個基於雲的 API,您可以自動執行繁瑣的數據輸入並從文檔圖片中提取文本,從而提高可訪問性或翻譯文檔。

iOS+安卓

關鍵能力

高精度文本識別

Firebase ML 的文本識別 API 由 Google Cloud 行業領先的圖像理解功能提供支持。

通過Cloud Vision API 演示自行嘗試。

適用於照片和文檔

為識別圖像中的稀疏文本(例如路標或名片的照片)和識別文檔圖片中的密集文本而優化的 API。

廣泛的語言支持

識別100 多種不同語言和腳本的文本。

有限的免費使用

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

示例結果

稀疏文本

照片: Dietmar Rabich / Wikimedia Commons / “Düsseldorf, Wege der parlamentarischen Demokratie -- 2015 -- 8123” / CC BY-SA 4.0

部分結果

識別文本
文本Wege der
parlamentarischen
Demokratie
邊界框/框架Rect (Android) 或CGRect (iOS+)
(1塊)
塊 0
文本Wege der
parlamentarischen
Demokratie
邊界框/框架Rect (Android) 或CGRect (iOS+)
識別的語言代碼
線條(3 行)
第 0 行
文本Wege der
邊界框/框架Rect (Android) 或CGRect (iOS+)
識別的語言代碼
元素(2個元素)
元素 0
文本Wege

文檔文本

部分結果

全文
文本
361
DR. SEWARD'S DIARY
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?"
"You must take me with you. I am safer with you, and
you shall be safer, too."
"But why, dear Madam Mina? You know that your
safety is our solemnest duty. We go into danger, to which
you are, or may be, more liable than any of us from
from circumstances--things that have been." He paused,
embarrassed.
As she replied, she raised her finger and pointed to her
forehead:
"I know. That is why I must go. I can tell you now,
whilst the sun is coming up; I may not be able again. I
know that when the Count wills me I must go. I know that
if he tells me to come in secret, I must come by wile; by
any device to hoodwink—even Jonathan." God saw the
look that she turned on me as she spoke, and if there be
indeed a Recording Angel that look is noted to her ever-
lasting honour. I could only clasp her hand. I could not
speak; my emotion was too great for even the relief of
tears. She went on
"You men are brave and strong. You are strong in your
numbers, for you can defy that which would break down
the human endurance of one who had to guard alone. Be-
sides, I may be of service, since you can hypotise me and
so learn that which even I myself do not know." Dr. Van
Helsing said very gravely
"Madam Mina, you are, as always, most wise. You shall
with us come; and together we shall do that which we go
forth to achieve." When he had spoken, Mina's long spell
of silence made me look at her. She had fallen back on her
(2塊)
區塊 1
文本
DR. SEWARD'S DIARY
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?"
"You must take me with you. I am safer with you, and
you shall be safer, too."
"But why, dear Madam Mina? You know that your
safety is our solemnest duty. We go into danger, to which
you are, or may be, more liable than any of us from
from circumstances--things that have been." He paused,
embarrassed.
As she replied, she raised her finger and pointed to her
forehead:
"I know. That is why I must go. I can tell you now,
whilst the sun is coming up; I may not be able again. I
know that when the Count wills me I must go. I know that
if he tells me to come in secret, I must come by wile; by
any device to hoodwink—even Jonathan." God saw the
look that she turned on me as she spoke, and if there be
indeed a Recording Angel that look is noted to her ever-
lasting honour. I could only clasp her hand. I could not
speak; my emotion was too great for even the relief of
tears. She went on
"You men are brave and strong. You are strong in your
numbers, for you can defy that which would break down
the human endurance of one who had to guard alone. Be-
sides, I may be of service, since you can hypotise me and
so learn that which even I myself do not know." Dr. Van
Helsing said very gravely
"Madam Mina, you are, as always, most wise. You shall
with us come; and together we shall do that which we go
forth to achieve." When he had spoken, Mina's long spell
of silence made me look at her. She had fallen back on her
信心0.98
邊界框/框架Rect (Android) 或CGRect (iOS+)
識別的語言代碼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.97
邊界框/框架Rect (Android) 或CGRect (iOS+)
識別的語言代碼zh
(34 個字)
字 7
文本
simply
信心0.99
邊界框/框架Rect (Android) 或CGRect (iOS+)
識別的語言代碼zh
符號(6 個符號)
符號 0
文本
s
信心0.97
邊界框/框架Rect (Android) 或CGRect (iOS+)
識別的語言代碼zh