Observables: Data Collection

This page describes RxJS observables for collecting quality analysis results, final selfie images and technical information about LIQA status.

qualityStatus$: Observable<StatusData>

The qualityStatus$ (RxJS) Observable returns details of quality status of the current frame.

  • In real time process (during video) qualityStatus$ returns information about current processed frame.

  • After taking photo, qualityStatus$ returns information about final image quality. N.B.! This option is available since 5.4.0 version.

Head rotation angles illustration

See the Integration Guideline and Stream results parsing for a usage example of an observable.

events$: Observable<number>

The events$ (RxJS) Observable returns status of important LIQA statuses.

See the Parsing guidelines for example of events parsing.

selfieImage$: Observable<string>

The selfieImage$ (RxJS) Observable returns base64 code of photo.

See the Integration Guideline and Selfie capturing results parsing for a usage example of an observable.

selfieLandmarks$: Observable<Array<number>>

The selfieLandmarks$ (RxJS) Observable returns an array of 53 points (vertices) with (X, Y, depth) coordinates, aligned in pixels with a returned selfie image.

See the Integration Guideline and Selfie capturing results parsing for a usage example of an observable.

Last updated