Skip to content

Scan Business Card

Sends a Business Card image to the Business Card Analyzer and returns the extracted business card information.

The method accepts the following parameters:

  • response_, out parameter of type CLOB, to which the response will be written.
  • image_data_, required parameter of type BLOB to pass the binary image data to the Business Card Analyzer.
  • scheduling_config_id_, optional parameter to specify the Configuration ID from Scheduling Optimization and Machine Learning Configuration to use. If not specified the 'DEFAULT' configuration will be used.
  • response_format_, optional parameter to specify the response format. Possible values are 'XML', 'JSON' and 'IFS_MESSAGE'. If not specified 'IFS_MESSAGE' will be used as the default format.
      response_             => :response_,   -- Clob parameter to accept response data.
      image_data_           => :image_data_, -- Blob parameter to pass the binary image data.
      scheduling_config_id_ => 'DEFAULT',    -- Configuration ID to use.
      response_format_      => 'XML');       -- Response format ('XML' / 'JSON' / 'IFS_MESSAGE').

For the above call, the response may look as following. The response may vary depending on the IFS Planning & Scheduling Optimization (PSO) version being used. For more details about the Business Card Analyzer please see the PSO Machine Learning Guide and the PSO Interface Guide.

<BusinessCardScanResponse xmlns:i="" xmlns="">

Tip: The IFS Message response format ('IFS_MESSAGE') allows using existing methods in Message_SYS package to handle the response which may be simpler to use in the PL/SQL code than 'XML' or 'JSON'.