client/server application for easy managing face recognition outputs for a specific image source
Just started as a little application for easy managing face recognition outputs.
You have a video/ image stream of a camera or something else. And you want to analyse the images for known faces. And get needed infos for further triggering for e.g. a smart home system to open a door or similar things.
face recognition daamon ;-)
screenshots of client:

The application is written in Python. So you need an already installed environment as described here: https://www.python.org/about/gettingstarted/ - needed version >= 3.6
If you running an ubuntu maybe you need for compiling dlib (only one time)
sudo apt install python3.7-dev
Donwload ‘face recognition daemon’ application the last release at https://github.com/ohAnd/faceRecogDaemon/releases
Update pip to the latest
python -m pip3 install --upgrade pip
during the installation dlib will be installed (need’s some time for compiling ;-) )
intall needed modules
pip3 install -r requirements.txt
for quick start:
Structure:
</path/to/knownFaces>/
|-- <person1>/
| |-- <somename1>.jpeg
| |-- <somename2>.png
| |-- ...
|-- <person2>/
| |-- <somename1>.jpeg
| |-- <somename2>.jpeg
|-- ...
start the server (service installation coming soon)
bash://<paht/to/your/download>> ./faecRecogDaemon.py
create a config file in application root directory
touch config.ini
with following content
# config file for face recog daemon
[webserver]
Port: 5001
[imageSource]
urlToImageSrc = <your_path_to_image_src> # e.g. http://<urlTocam>:port/image.cgi
// urlToImageSrc = <your_path_to_image_src> # e.g. rtsp://user:pass@<ip-address>:<port>/media.amp
[faceRecognition]
knnDistance = 0.50
[directories]
pathToKnownFaces = <your_path>
pathToImageArchive = <your_path>
trigger new face recognization with a fresh image from source
return: JSON