# Sample Application

{% embed url="<https://www.youtube.com/watch?v=9HM70PFa4lQ>" %}
NIST FRVT #1 Face Recognition, Liveness Detection Mobile SDK Demo
{% endembed %}

***

## Build Project

### - Download

* [**FaceRecognition-Flutter-main.zip**](https://www.dropbox.com/scl/fi/249pbdp0hrb7ke9um8uyv/FaceRecognition-Flutter-main.zip?rlkey=vis9kg8m3camsr3uhk4tgzuss\&st=in3j1s1r\&dl=0)

### - Setting Up SDK License Key

* Add license:

{% code title="main.dart" lineNumbers="true" %}

```dart
if (Platform.isAndroid) {
    await _facesdkPlugin.setActivation(
        "EO5wcxhdMXJoLRpKq3Lexv2sTHPU8Ehed3vsBwmzdye/MJw+rVJTnY9SidD3vKV/2YNE6kufwIcC"
        "7LvLGFSORk3b14swPe7415aYSLKNI2RaUL5Nfn9oWHBjW1XehQLjLUx3w0Qi8bUth6vyg9Oaj7V7"
        "+dKruxjx/2dD2ddXKBoiIwYDonjW7gx7PmF9W66DXDtfRGpARvKW5Cn+jSCCH8A3Gft8wOBdQXM8"
        "UTDZUZxNbvozkgV6Dw9hMQJSka06iFK1h/UO6NrGLudt1SOC2b3hfoFJcAVjl3W7UTxzVyByJpLp"
        "tYTWJNr36pn1ixWhazLHC4s4TXtyQR67yzN3aw==")
    .then((value) => facepluginState = value ?? -1);
} else {
    await _facesdkPlugin.setActivation(
        "H/Fs6Zgbsi9av6VVDAi54yqpYxnq0eDV3MSZAxMnARvUVePNY85UJu3d95nM7iO2RrCm19/eq+qb"
        "gSDmhJRYVJBMEUcxG+0cPPWVAW7m46dfS1Kpn+Flqbanfbco+Hd9Uda3aAzDkklzgdfYt7TvSXRt"
        "LZ8wW7jLiPjt8Lufj1GvhRzfESARv18VrxfQV+U8x3EqqvfKTJrkkg91NuAKvUZSoao4B5pQLpRd"
        "GwQ/saP9AQSWuyU1Zw+Whw/cnmXY2xZLGx6n/ict3NW9vpttv2tBbPCe/TdofRuJbE7R1Yb60BvQ"
        "ajzoaQWx3RsRgca9ah+Pccxb15tPVzr1apTK7A==")
    .then((value) => facepluginState = value ?? -1);
}
```

{% endcode %}

* Build Project.

```bash
flutter pub get
flutter run
```

***

## Application UI

<div><figure><img src="/files/jGuNuRDga2c4QnDsDdaz" alt=""><figcaption></figcaption></figure> <figure><img src="/files/tdXFr34AIpk2rhS6IGuK" alt=""><figcaption></figcaption></figure> <figure><img src="/files/uLOLbY0893owYQtCNN3A" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ghDaUvVcX5HfkE2CB4Nt" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Mv2RxbjrmZd3rwI9Ez8b" alt=""><figcaption></figcaption></figure> <figure><img src="/files/oJEIK3rZY8RUYq7i7c0q" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.recognito.vision/face-recognition-sdk/integration-guide/flutter/sample-application.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
