文字识别

借助 Cloud Vision 的文本识别 API,您可以识别 100 多种语言和字母系统中的文本。

借助此基于 Cloud 的 API,您可以自动完成繁琐的数据输入工作并从文档图片中提取文字,从而提供更完善的无障碍功能以及文档翻译。

iOS+ Android

主要功能

高准确度文字识别

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+)
识别出的语言代码 de
行数 (3 行)
行 0
文字 Wege der
边界框/框架 Rect (Android) 或 CGRect (iOS+)
识别出的语言代码 de
元素数 (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+)
识别出的语言代码 en
段落数 (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+)
识别出的语言代码 en
单词数 (34 个单词)
单词 7
文字
simply
置信度 0.99
边界框/框架 Rect (Android) 或 CGRect (iOS+)
识别出的语言代码 en
符号数 (6 个符号)
符号 0
文字
s
置信度 0.97
边界框/框架 Rect (Android) 或 CGRect (iOS+)
识别出的语言代码 en