You have receipts that are accessible from a URL. You need to extract data from the receipts by using Form Recognizer and the SDK. The solution must use a prebuilt model. Which client and method should you use?
A.
the FormRecognizerClient client and the StartRecognizeContentFromUri method
B.
the FormTrainingClient client and the StartRecognizeContentFromUri method
C.
the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method
D.
the FormTrainingClient client and the StartRecognizeReceiptsFromUri method
he best answer is C. the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method.
Reason for choosing option C: The FormRecognizerClient is the client used to interact with the service in the Azure.AI.FormRecognizer namespace. The StartRecognizeReceiptsFromUri method is specifically designed to recognize and extract data from receipts, which is exactly what the question asks for. This method uses a prebuilt model trained on receipts, making it the ideal choice for this scenario.
Why other options are not suitable:
Option A: The StartRecognizeContentFromUri method is used to extract layout information such as tables, lines, words, and selection marks. It’s not specifically designed for receipts.
Option B: The FormTrainingClient is used to train custom models, not to extract data from documents using prebuilt models. Also, the StartRecognizeContentFromUri method, as mentioned above, is not specifically designed for receipts.
Option D: Similar to option B, the FormTrainingClient is not suitable for this scenario as it’s used for training custom models. The StartRecognizeReceiptsFromUri method would be correct if used with FormRecognizerClient.
C is the answer.
https://learn.microsoft.com/en-us/dotnet/api/azure.ai.formrecognizer.formrecognizerclient?view=azure-dotnet
The client to use to connect to the Form Recognizer Azure Cognitive Service to recognize information from forms and images and extract it into structured data. It provides the ability to analyze receipts, business cards, and invoices, to recognize form content, and to extract fields from custom forms with models trained on custom form types.
https://learn.microsoft.com/en-us/dotnet/api/azure.ai.formrecognizer.formrecognizerclient.startrecognizereceiptsfromuri?view=azure-dotnet
Recognizes values from one or more receipts.
To extract data from receipts using Form Recognizer and the SDK, while using a prebuilt model, you should use option C: the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method.
Explanation:
Option A (the FormRecognizerClient client and the StartRecognizeContentFromUri method) is incorrect because the StartRecognizeContentFromUri method is used for general content recognition, not specifically for receipts.
Option B (the FormTrainingClient client and the StartRecognizeContentFromUri method) is incorrect because the FormTrainingClient client is used for training custom models, not for extracting data from prebuilt models.
Option D (the FormTrainingClient client and the StartRecognizeReceiptsFromUri method) is incorrect because the FormTrainingClient client is not used for extracting data; it is used for training custom models.
Therefore, the correct choice is option C: the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
2ez4Zane
Highly Voted 2 years, 7 months agoProdyna
Highly Voted 1 year agoJakeCallham
Most Recent 3 months, 1 week agoInfoMerp
6 months agotakaimomoGcup
6 months, 1 week agoPeteColag
6 months, 1 week agonanaw770
6 months, 2 weeks agoAzureGC
7 months, 1 week agoCDL_Learner
7 months, 3 weeks agoCDL_Learner
7 months, 3 weeks agoaudlindr
9 months, 2 weeks agoevangelist
9 months, 3 weeks agordemontis
1 year, 1 month agozellck
1 year, 5 months agozellck
1 year, 5 months agozellck
1 year, 5 months agordemontis
1 year, 1 month agonitz14
1 year, 5 months agoAnichebe
1 year, 8 months agoRAN_L
1 year, 8 months agoap1234pa
1 year, 10 months ago