class Abbyy::Models::ProcessBusinessCardResponse

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:

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).

Defined in:

abbyy/models/process_business_card_response.cr

Instance methods inherited from class Abbyy::Models::TaskResponse

set_properties_from_xml(xml_data : String | IO) set_properties_from_xml, task : Task | Nil task, task=(task : Task | Nil) task=

Instance methods inherited from class Abbyy::Models::BaseResponse

headers : HTTP::Headers headers, headers=(headers : HTTP::Headers) headers=, protocol_version : String | Nil protocol_version, protocol_version=(protocol_version : String | Nil) protocol_version=, set_properties_from_xml(xml_data : String | IO) set_properties_from_xml, status_code : Int32 status_code, status_code=(status_code : Int32) status_code=, success? success?

Constructor methods inherited from class Abbyy::Models::BaseResponse

new(response : HTTP::Client::Response) new