LBCNN
Local Binary Convolutional Neural Network for Facial Expression Recognition of Basic Emotions in Python using the TensorFlow framework
Install / Use
/learn @whoisraibolt/LBCNNREADME
Local Binary Convolutional Neural Network for Facial Expression Recognition of Basic Emotions
People
Alexandra Raibolt ( Lattes | E-mail )
Alberto Angonese ( Lattes | E-mail )
Paulo Rosa ( Lattes | E-mail )
Overview
This Jupyter Notebook shows step by step, the process of building a Local Binary Convolutional Neural Network for Emotional Expression Recognition in Python using the TensorFlow framework.
In this example we use the JAFFE dataset.
Notice:
-
The LBCNN model proposed in this work was implemented in Python (version 2.7.12) using the TensorFlow framework (version 1.4.0) using a GPU based architecture, and might not work with other versions.
-
The directory where the datasets should stay is not available in GitHub, since it would violate the dataset rules.
Dependencies
- datetime
- scipy.stats
- sklearn.externals
- sklearn.metrics
- gzip
- itertools
- matplotlib
- numpy
- os
- tensorflow
- time
You can install missing dependencies with pip. And install TensorFlow via TensorFlow link.
Usage
- Install the dependencies;
- Run Jupyter Notebook in terminal to see the code in your browser.
Credits
-
Juefei-Xu, Felix, Vishnu Naresh Boddeti, and Marios Savvides. "Local binary convolutional neural networks." Computer Vision and Pattern Recognition (CVPR), 2017 IEEE Conference on. Vol. 1. 2017.
-
Lyons, Michael, et al. "Coding facial expressions with gabor wavelets." Automatic Face and Gesture Recognition, 1998. Proceedings. Third IEEE International Conference on. IEEE, 1998.
License
Code released under the MIT license.
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
109.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
350.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
