Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
/ faces Public archive

Uses gocv.io/x/gocv and Microsoft Face API V1.0 to detect faces

Notifications You must be signed in to change notification settings

marcsauter/faces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Requirements

Installation

Embed icons

Icon size should be around 50x50 pixels

  • download/install Packr (v2)
  • replace the icons in assetsdirectory (keep the names)
# packr2

Build faces

# cd <project>
# go build -a -o <target directory>/faces[.exe]

Build Windows App

Write a "GUI binary" instead of a "console binary"

# cd <project>
# go build -a -ldflags "-H windowsgui" -o <target directory>/faces.exe

Build macOS App

To build you App on your Desktop enter:

# scripts/macos.app.sh ${HOME}/Desktop

The app icon may not be displayed properly. Be patient or restart. You can also try this.

Edit faces configuration

Here you will find an example configuration

The config file faces.yaml | faces.yml | .faces.yaml | .faces.yml should be in your ${HOME} directory. Otherwise you have to enter it as an argument.

---
cameraId: 0
subscriptionKey: [check here: https://azure.microsoft.com/en-us/services/cognitive-services/face/]
uriBase: [check here: https://azure.microsoft.com/en-us/services/cognitive-services/face/]
uriPath: 
uriParams: ?returnFaceAttributes=age,gender,headPose,smile,facialHair,glasses,emotion,hair,makeup,occlusion,accessories,blur,exposure,noise
...

Run faces

# dist/faces[.exe] [faces.yaml]

Links

About

Uses gocv.io/x/gocv and Microsoft Face API V1.0 to detect faces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published