Skip to content

Pipelines

PAD pipelines

PAD pipelines overview

The set of algorithms the IDLive Face relies on is grouped together in an entity called a pipeline. We constantly improve the algorithms, and each new set is bundled as a separate pipeline.

  • Perseus. Added in version 1.44. This is a default pipeline. This pipeline demonstrates better accuracy on live samples captured in low light conditions. It also shows a significant improvement on high quality 3D masks. The soft calibration of this pipeline shows a very low BPCER without significantly affecting APCER.
  • Iris. Added in version 1.42. The Iris pipeline improves accuracy regarding fabric masks and screen replays. It operates comparably with Astraea in terms of performance and improves preciseness in Liveness detection.
  • Hestia. Added in version 1.41. The Hestia pipeline significantly enhances APCER and BPCER metrics, particularly in the mobile domain. It operates approximately twice as slowly as Astraea, making it ideal for scenarios where accuracy is prioritized over speed. Explicit enablement is required to activate this pipeline, and future updates are expected to optimize its processing speed.
  • Pegasus. Added in version 1.39. Pegasus, replacing the Heron pipeline, offers improved performance with lower latency and ten times the accuracy. This pipeline is well-suited for applications demanding high performance and speed, such as time-sensitive or high-volume tasks.
  • Astraea. Added in version 1.37, removed in version 1.44.
  • Aphrodite. Added in version 1.36, removed in version 1.42.
  • Apollo. Added in version 1.35, removed in version 1.40.
  • Heron. Added in version 1.16, removed in version 1.39.
  • Artemis. Added in version 1.31, removed in version 1.37.
  • Theia. Added in version 1.29, removed in version 1.37.
  • Dionysus. Added in version 1.27, removed in version 1.35.
  • Hephaestus. Added in version 1.24, removed in version 1.31.
  • Zeus. Added in version 1.21, removed in version 1.29.
  • Jupiter. Added in version 1.18, removed in version 1.23.

Mobile pipelines

Mobile releases use different pipelines:

  • Pegasus. Added in version 1.42.
  • Persephone. Added in version 1.38.
  • Demetra. Added in version 1.16, removed in version 1.38.

Mobile release size reduction

Since version 1.42 mobile releases include multiple pipelines. If you need only one specific pipeline the files related to the rest of pipelines can be removed to decrease IDLive Face SDK release size. The sections below describe how to remove each pipeline, for Android and iOS release.

Android AAR release

AAR file is a ZIP archive, you can unzip it, make changes with contained files and then zip it again.

If you don't need Pegasus pipeline you can remove following directories in AAR:

  • assets/data/models/tflite/pad/apimenov-g2-exp31-e96-384
  • assets/data/models/tflite/pad/mk_035_effb0

If you don't need Persephone pipeline you can remove following directories in AAR:

  • assets/data/models/tflite/pad/apimenov-g2-exp20-e98-384
  • assets/data/models/tflite/pad/mk_036_effb00

iOS release and Android native libraries release

If you don't need Pegasus pipeline you can remove following directories in SDK release:

  • data/models/tflite/pad/apimenov-g2-exp31-e96-384
  • data/models/tflite/pad/mk_035_effb0

If you don't need Persephone pipeline you can remove following directories in SDK release:

  • data/models/tflite/pad/apimenov-g2-exp20-e98-384
  • data/models/tflite/pad/mk_036_effb00

DFD pipelines

DFD pipelines overview

The set of algorithms the IDLive Face Deepfake Detection relies on is grouped together in an entity called a pipeline. We constantly improve the algorithms, and each new set is bundled as a separate pipeline.

  • dfd-1. Added in version 1.45. This pipeline provides robust protection against various deepfakes and digitally manipulated images. It can identify AI faceswaps, including complex deepfakes, and synthetic images created by tools like Midjourney and Stable Diffusion. The system also detects digital modifications such as watermarks, borders, screenshots, or overlays. While it currently provides basic protection against face reenactment and audio-driven deepfakes, such as lipsyncing or talking heads, improvements in these areas are expected in future updates for enhanced security.

Choosing pipeline

By default IDLive Face Server uses the latest available pipeline. To select another one put its name into the IDFACE_SERVER_PIPELINE environment variable:

docker run --env IDFACE_SERVER_PIPELINE=apollo ...

You can load additional pipelines by setting the IDFACE_SERVER_AVAILABLE_PIPELINES environment variable. Several pipelines should be separated with a comma:

docker run \
    --env IDFACE_SERVER_PIPELINE=apollo \
    --env IDFACE_SERVER_AVAILABLE_PIPELINES='astraea,apollo'
    ...

Note that each additional pipeline will increase the IDLive Face Server's memory usage and a startup time.