y9luiz / FaceRecognitionServer

A face recognition server written in C++ [Under development]
1 stars 2 forks source link

C++ Server for face recognition

Build status

Build Status ubuntu

Build Status Windows

Project Description

This server allows you to send and receive request for face recognition on any kind of camera resolution.

Supported Features

Messages Framework:

The base message class was created on top of these 3 fields:

| code (1 byte) | payload size (4 bytes)| payload |

The application works with 4 main messages:

For more details @see

Enviroment Setup

Dependencies

Ubuntu 18.04+

On ubuntu 18.04+ run the following command lines:

Installing dependencies - Part 1

sudo apt-get update
sudo apt-get install -y git
sudo apt-get install -y cmake
sudo apt-get install -y build-essential
sudo apt-get install -y libboost-dev
sudo apt-get install -y libboost-system-dev
sudo apt-get install -y libboost-date-time-dev

Installing dependencies - Part 2 (OpenCV) (if ubuntu < 22.04)

mkdir ~/Libraries
cd ~/Libraries
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --install .

Installing dependencies - Part 2 (OpenCV) (if ubuntu >= 22.04)

sudo apt-get install libopencv-dev

Build from souce

git clone https://github.com/y9luiz/FaceRecognitionServer.git
cd  FaceRecognitionServer
mkdir build
cd build
cmake ..
cmake --build .

Windows

For windows you need download cmake and boost from source or use chocolatey

Installing dependencies via chocolatey

You have to install Microsoft Visual Studio first with C++ Development support

choco install choco install boost-msvc-14.1 -y
choco install cmake -y

Build from souce

git clone https://github.com/y9luiz/FaceRecognitionServer.git
cd  FaceRecognitionServer
mkdir build
cd build
cmake ..
cmake --build .