Skip to content

Logic flow

Logic flow diagram for IDLive Face Plus (IAD) iOS which show sample flow.

sequenceDiagram
Mobile App->>+IDLiveFaceCamera   : init camera session
    Note over IDLiveFaceCamera   : take photo (auto/manual)
    IDLiveFaceCamera->>+Mobile App  : did capture image
    Mobile App->>+IDLiveFaceCamera  : create IADBundle
   IDLiveFaceCamera->>+IDLiveFaceIAD   : create IADBundle
   IDLiveFaceIAD->>-IDLiveFaceCamera   : IADBundle
   IDLiveFaceCamera->>-Mobile App   : IADBundle
   Note over Mobile App : init network session request
  Mobile App->>+Server  : Request with IADBundle
  Note over Server   : Precess request
  Server->>-Mobile App  : Attack detection response
  Note over Mobile App  : Process response

The logic flow for using IDLive Face Plus (IAD) iOS frameworks is as follows:

  1. Instantiate and configure the camera controller.
  2. Present the camera controller.
  3. Wait for the user to take the photo (automatically or manually).
  4. Handle result via delegate methods.
  5. If result is unsuccessfull (photo is not taken), process the error and dismiss the controller, or let the user retry.
  6. If result is successfull (photo is taken), receive the data (photo or IAD bundle) from the controller.
  7. For attack detection, send the data to server
  8. Receive the result and process it (e.g. show it in the controller UI).