> For the complete documentation index, see [llms.txt](https://docs.kby-ai.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kby-ai.com/help/demo-projects/server-windows-linux/facerecognition-windows.md).

# FaceRecognition - Windows

## Overview

This is the `Face Recognition Python` project for `Windows` machine.

It stands for `face recognition python`, `facial recognition python`, `face liveness check python`, `spoofing prevention python`, `face matching python`, `face comparison python`, `face search engine python`, `face identification python` on `Windows` server.

## SDK

{% content-ref url="/pages/k2y4cvoJJnyrEI9KW0C7" %}
[Face Recognition SDK - Server](/help/product/face-liveness-detection-sdk-face-recognition-sdk/face-recognition-sdk-server.md)
{% endcontent-ref %}

## Github

{% embed url="<https://github.com/kby-ai/FaceRecognition-Windows>" %}

## Test Online

{% embed url="<https://web.kby-ai.com/>" %}

<figure><img src="/files/SUWW4HgHwDuXDFRssupd" alt=""><figcaption></figcaption></figure>

## Postman

To test the `API`, you can use `Postman`. Here are the `endpoints` for testing:

* Test with an image file: Send a `POST` request to [http://18.221.33.238:8080/compare\_face](http://18.221.33.238:8081/compare_face)
* Test with a `base64-encoded` image: Send a `POST` request to <http://18.221.33.238:8081/compare_face_base64>
* You can download the `Postman` collection to easily access and use these `endpoints`. [click here](https://github.com/kby-ai/FaceRecognition-Docker/tree/main/postman/kby-ai-face.postman_collection.json)

<figure><img src="/files/9wvsYopSIGG1o9N5Zobh" alt=""><figcaption></figcaption></figure>

## How to Run

### 1. System Requirements

**CPU:** 2 cores or more (Recommended: 2 cores)

**RAM:** 4 GB or more (Recommended: 8 GB)

**HDD:** 4 GB or more (Recommended: 8 GB)&#x20;

**OS:** Windows 7 or later&#x20;

**Dependency:** OpenVINO™ Runtime (Version: 2022.3), ncnn Runtime(20220721), Vulkan SDK Runtime(1.3.250)

### 2. Setup and Test

* Clone the project:

```bash
git clone https://github.com/kby-ai/FaceRecognition-Windows.git
```

* Download the model from `Google Drive` and unzip it: [click here](https://drive.google.com/file/d/19vA7ZOlo19BcW8v4iCoCGahUEbgKCo48/view?usp=sharing)
* Run the `Python` code:

```bash
python test.py
```

* Send us the `machine code` and replace the `license.txt` file you received. Then, run the `Python` code again.

<figure><img src="/files/Nfl3r7lVzNIHESBoF1sP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9jyB1vrVrrOyJXKSId8c" alt=""><figcaption></figcaption></figure>
