Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Request camera access via configuring Info.plist in your project.

  2. Configure GiniBankConfiguration.shared. The implementation example can be found here.

  3. Present the UIViewController. You can find the example here.

  4. Handle the extraction results.
    For handling the extraction results you need to implement GiniCaptureResultsDelegate. Here Further below you can find more details about the delegate methods and here you can find the implementation example.

  5. Cleanup configuration and resources while also providing the required extraction feedback to improve future extraction accuracy. Follow the recommendations below:

...

Drawio
mVer2
zoom1
simple0
inComment0
custContentId12288218
pageId11796779
lbox1
diagramDisplayNameUntitled Diagram-1683895916012.drawio
contentVer2
revision2
baseUrlhttps://gini.atlassian.net/wiki
diagramNameUntitled Diagram-1683895916012.drawio
pCenter0
width862
links
tbstyle
height379.5

The Gini Capture SDK can return results by invoking the following GiniCaptureResultsDelegate methods:

  • GiniCaptureResultsDelegate.giniCaptureAnalysisDidFinishWith(result: AnalysisResult)

    A document was analyzed and the extractions are available in the properties of the AnalysisResult object.

  • GiniCaptureResultsDelegate.giniCaptureDidCancelAnalysis()

    The user has canceled Gini Capture SDK.

  • GiniCaptureResultsDelegate.giniCaptureDidEnterManually()

    The document analysis finished with no results or an error and the user clicked the Enter manually button on either the No Results Screen or the Error Screen. Your app should proceed with allowing your user to enter the payment information manually.