Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Document Extraction Output
- JSON example
-
1{ 2 "ocrDocumentScanResults": [ 3 { 4 "keyValuePairs": [ 5 { 6 "key": { 7 "confidence": 23, 8 "polygon": [ 9 { 10 "xCoordinate": 0.6499073505401611, 11 "yCoordinate": 0.8838216662406921 12 }, 13 { 14 "xCoordinate": 0.694475531578064, 15 "yCoordinate": 0.8838216662406921 16 }, 17 { 18 "xCoordinate": 0.694475531578064, 19 "yCoordinate": 0.8919549584388733 20 }, 21 { 22 "xCoordinate": 0.6499073505401611, 23 "yCoordinate": 0.8919549584388733 24 } 25 ], 26 "text": "Cat. No." 27 }, 28 "value": { 29 "confidence": 23, 30 "polygon": [ 31 { 32 "xCoordinate": 0.6966586112976074, 33 "yCoordinate": 0.8839852809906006 34 }, 35 { 36 "xCoordinate": 0.7384559512138367, 37 "yCoordinate": 0.8839852809906006 38 }, 39 { 40 "xCoordinate": 0.7384559512138367, 41 "yCoordinate": 0.8920071125030518 42 }, 43 { 44 "xCoordinate": 0.6966586112976074, 45 "yCoordinate": 0.8920071125030518 46 } 47 ], 48 "text": "11862M" 49 } 50 } 51 ], 52 "ocrDocumentScanResultId": "0ixRM0000004DPl", 53 "ocrService": "AMAZON_TEXTRACT", 54 "pageNumber": 1, 55 "status": "SUCCESS" 56 } 57 ], 58 "status": { 59 "code": "SUCCESS", 60 "message": "API call has been executed successfully." 61 } 62}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| ocrDocumentScanResults | ODSR Detailed Output[] | Represents the details of the OCR document scan result. | Small, 55.0 | 55.0 |
| status | Status | Indicates whether the request succeeded or failed, and in the case of failure, it also provides the reason. | Small, 55.0 | 55.0 |