Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Detect Text and Entities in Business Cards

To return text for a business card, specify a modelId of OCRModel and task parameter of contact. In addition to the text, the model returns the entity type for each text element that it detects.

BusinessCardOriginal

The cURL call looks like this.

BusinessCardOCRWithCallouts

The response looks like this JSON.