https://github.com/birulz/userstatedetection
Exploring State-of-the-Art Tools for Emotion Detection / LibreFace Implementation
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
Repository
Exploring State-of-the-Art Tools for Emotion Detection / LibreFace Implementation
Basic Info
- Host: GitHub
- Owner: BirulZ
- License: other
- Default Branch: main
- Homepage: https://github.com/ihp-lab/LibreFace
- Size: 116 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
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:
- Windows 10 or higher
- Python: Download here
- .NET 8: Download here
- OpenSense WPF Application 3.20 with new AU Models CPU Only without AzureKinect Download here (no installation needed!)
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
- Navigate to the directory where the repository was cloned/downloaded.
- Open the folder
utils, copy themediapipefolder and paste it toC:\Windows\System32. - If your webcam is not yet connected, do so now.
Starting the Application
- Extract the downloaded OpenSense WPF Application
.zip - Open the extracted folder, search for
OpenSense.WPF.exeand run it as an administrator - A window will open. Click on Pipeline Editor.
- In the Pipeline Editor:
- Click File -> Open.
- Navigate to
UserStateDetection/utils/PipeLineInjector. - Select the file
20230825__LibreFace__Injector__AzureKinect.pipe.json.
- 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.pbtxtin the Settings.- File path:
C:\Windows\System32\mediapipe\modules\face_landmark.
- File path:
Running the Application
- Select Runner in the ribbon menu at the top.
- Click Run/Stop to start processing.
Owner
- Login: BirulZ
- Kind: user
- Repositories: 1
- Profile: https://github.com/BirulZ
GitHub Events
Total
- Watch event: 7
- Push event: 3
- Public event: 1
Last Year
- Watch event: 7
- Push event: 3
- Public event: 1