Skip to content

Commit fb732f1

Browse files
authored
docs(ml-vision): update text-recognition doc, note only image files work (#4346)
Updated verbiage: image file types only
1 parent 8a4e9a5 commit fb732f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ml-vision/text-recognition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ previous: /ml-vision/usage
88
Text recognition can automate tedious data entry for credit cards, receipts, and business cards. With the Cloud-based API,
99
you can also extract text from pictures of documents, which you can use to increase accessibility or translate documents.
1010

11-
Once a file has been processed, the API returns a [`VisionDocumentText`](/reference/ml-vision/visiondocumenttext), referencing
11+
Once an image file has been processed, the API returns a [`VisionDocumentText`](/reference/ml-vision/visiondocumenttext), referencing
1212
all found text along with each [`VisionDocumentTextBlock`](/reference/ml-vision/visiondocumenttextblock). Each block contains
1313
meta-data such as:
1414

@@ -19,7 +19,7 @@ meta-data such as:
1919

2020
# Cloud Text Recognition
2121

22-
The cloud based text recognition service uploads a given document to the remote Firebase service which processes the results and returns them.
22+
The cloud based text recognition service uploads a given image of a document to the remote Firebase service which processes the results and returns them. Only image file types are allowed.
2323
To get started, call the `cloudDocumentTextRecognizerProcessImage` method with a path to a local file on your device:
2424

2525
```js

0 commit comments

Comments
 (0)