You can use attached Gradle wrapper for build and run of samples.
Build task will also create and build API client files from attached plw-swagger.yml
.
For project build run:
./gradlew clean build
Application can be configured by modifying properties in file ./src/main/resources/application.properties
.
Mostly you will use:
dot-passive-liveness-service-url=url_address_of_running_dot_passive_liveness_service
example-base64-encoded-image=Base64_encoded_image_to_use_in_samples
This sample sends detection request for image under example-base64-encoded-image
and evaluates score for passive liveness detection.
sequenceDiagram
participant Client
participant PLW
Client->>PLW: Create passive liveness selfie
Client->>PLW: Evaluate passive liveness
PLW-->>Client: Passive liveness result