class Abbyy::Models::ProcessBusinessCardResponse
- Abbyy::Models::ProcessBusinessCardResponse
- Abbyy::Models::TaskResponse
- Abbyy::Models::BaseResponse
- Abbyy::Models::BaseModel
- Reference
- Object
Overview
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ocrsdk.com/schema/recognizedBusinessCard-1.0.xsd http://ocrsdk.com/schema/recognizedBusinessCard-1.0.xsd" xmlns="http://ocrsdk.com/schema/recognizedBusinessCard-1.0.xsd">
<businessCard imageRotation="noRotation">
<field type="Phone">
<value>783-37-00</value>
</field>
<field type="Fax">
<value>783-26-63</value>
</field>
<field type="Email">
<value>[email protected]</value>
</field>
<field type="Web">
<value>www.abbyy.com</value>
</field>
<field type="Address">
<value>Otradnaya str., 2b, bld.6, 127273, Moscow, Russia</value>
</field>
<field type="Name">
<value>John Smith</value>
</field>
<field type="Company">
<value>ABBYY Headquarters</value>
</field>
<field type="Job">
<value>Product Analyst</value>
</field>
<field type="Text">
<value>ABBYY ABBYY Headquarters John Smith Product Analyst ABBYY Headquarters Otradnaya str., 2b, bld.6, 127273, Moscow, Russia Tel: 783-37-00 Fax: 783-26-63 [email protected] www.abbyy.com </value>
</field>
</businessCard>
</document>
Note: The imageRotation attribute is supported only for the output xml format. This attribute specifies rotation that was performed upon the input image, namely:
- noRotation - this value denotes no rotation
- clockwise - rotation 90 degrees clockwise
- counterclockwise - rotation 90 degrees counterclockwise (270 degrees clockwise)
- upsideDown - rotation upside down (180 degrees).
See the XSD schema of an XML file.
###Description of business card fields
Below you can see the list of the fields which can be recognized on a business card. Some of the fields can also contain field components (such as zip code and city for the address).
- Name - The person's name. - Possible components: (FirstName, LastName, MiddleName, ExtraName)
- Phone - The phone number. - Possible components: (PhonePrefix, PhoneCountryCode, PhoneCode, PhoneBody, PhoneExtension)
- Mobile - The mobile phone number. - Possible components: (PhonePrefix, PhoneCountryCode, PhoneCode, PhoneBody, PhoneExtension)
- Fax - The fax number. - Possible components: (PhonePrefix, PhoneCountryCode, PhoneCode, PhoneBody, PhoneExtension)
- Company - The company's name.
- Job - The person's position in the company. - Possible components: (JobPosition, JobDepartment)
- Address - This can be the company's address or the personal address. - Possible components: (ZipCode, Country, City, StreetAddress)
- Email - The e-mail address.
- Web - The company's or personal website.
- Text - This field contains all the text recognized on the business card.