https://github.com/birulz/userstatedetection

Exploring State-of-the-Art Tools for Emotion Detection / LibreFace Implementation

https://github.com/birulz/userstatedetection

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary

Keywords

action-units computer-vision emotion facial-expression-recognition libreface machine-learning
Last synced: 9 months ago · JSON representation

Repository

Exploring State-of-the-Art Tools for Emotion Detection / LibreFace Implementation

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
action-units computer-vision emotion facial-expression-recognition libreface machine-learning
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

UserStateDetection with LibreFace

Libreface is a tool for facial emotion recognition and can be used on OpenSense. It enables real-time capture and analysis of facial expressions and other social signals.

OpenSense

OpenSense is a platform for multimodal real-time acquisition and analysis of social signals. It allows precisely synchronized capture and processing of human behavioral signals. OpenSense is built on Microsoft's Platform for Situated Intelligence and supports various sensor modules and machine learning tools. Developers can easily integrate new components. An intuitive graphical user interface simplifies the creation of application pipelines. OpenSense is freely available for academic research.

LibreFace as an OpenSense Component

LibreFace has been integrated as an OpenSense component allowing it to be used alongside other OpenSense elements in a zero-code setup for real-time or non-real-time inference. The source code of this component is available in the OpenSense repository. By default, execution requires CUDA support, but with this repository you don't need CUDA support because it runs on CPU.

Prerequisites

Before installing LibreFace, ensure that the following dependencies are downloaded and installed:

Installation & Setup

You can download this repository as a ZIP file or clone it using the following command (if you want to clone it, make sure git is installed Download here)

sh git clone https://github.com/BirulZ/UserStateDetection

Preparation

  1. Navigate to the directory where the repository was cloned/downloaded.
  2. Open the folder utils, copy the mediapipe folder and paste it to C:\Windows\System32.
  3. If your webcam is not yet connected, do so now.

Starting the Application

  1. Extract the downloaded OpenSense WPF Application .zip
  2. Open the extracted folder, search for OpenSense.WPF.exe and run it as an administrator
  3. A window will open. Click on Pipeline Editor.
  4. In the Pipeline Editor:
    • Click File -> Open.
    • Navigate to UserStateDetection/utils/PipeLineInjector.
    • Select the file 20230825__LibreFace__Injector__AzureKinect.pipe.json.
  5. Under Components:
    • Go to Media Capture and select your camera in the Settings.
    • Set the Resolution to 1920x1080 or lower.
    • Go to MediaPipe and select the Graph file face_landmark_front_cpu.pbtxt in the Settings.
      • File path: C:\Windows\System32\mediapipe\modules\face_landmark.

Running the Application

  1. Select Runner in the ribbon menu at the top.
  2. Click Run/Stop to start processing.

Owner

  • Login: BirulZ
  • Kind: user

GitHub Events

Total
  • Watch event: 7
  • Push event: 3
  • Public event: 1
Last Year
  • Watch event: 7
  • Push event: 3
  • Public event: 1