https://github.com/clementreiffers/emotion-recognition-website-react
facial emotion recognition used in a website made with react
https://github.com/clementreiffers/emotion-recognition-website-react
emotion-recognition face-detection face-recognition fer2013 ferplus javascript nodejs react react-face-recognition react-webcam reactjs tensorflow tensorflowjs
Last synced: 3 months ago
JSON representation
facial emotion recognition used in a website made with react
- Host: GitHub
- URL: https://github.com/clementreiffers/emotion-recognition-website-react
- Owner: clementreiffers
- Created: 2022-06-25T17:08:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T20:32:18.000Z (over 2 years ago)
- Last Synced: 2025-01-31T10:23:23.620Z (3 months ago)
- Topics: emotion-recognition, face-detection, face-recognition, fer2013, ferplus, javascript, nodejs, react, react-face-recognition, react-webcam, reactjs, tensorflow, tensorflowjs
- Language: JavaScript
- Homepage: https://clementreiffers.github.io/emotion-recognition-website-react/
- Size: 9.49 MB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emotion-recognition-website-react
[](https://en.reactjs.org)
[](https://developer.mozilla.org/fr/docs/Web/JavaScript)facial emotion recognition AI used in a website made with React
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
[➡️➡️➡️Try the AI directly in your Browser !!⬅️⬅️⬅️](https://clementreiffers.github.io/emotion-recognition-website-react/)
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
## Overview
1. [Inspiration](#inspiration)
2. [Launch the website](#launch-the-website)
1. [Installation](#yarn-install)
2. [Start the App](#yarn-run-start)
3. [Build the App](#yarn-run-build)
3. [Sources](#sources)## Inspiration
This project is inspired from [this project](https://github.com/clementreiffers/emotion-recognition-website).
The goal is the same, make a complete website to launch an AI able to recognize emotions.The AI was trained by myself and friends in [this project](https://github.com/clementreiffers/emotion_recognition_cnn/).
N.B. There already is a website inside "emotion_recognition_cnn" but made with python and works only in server side. (We
use the camera from the server) The goal of this old project wasn't doing an interface but only making a demo of our AI.
There real interface of our project is here.## Launch the website
you can directly go to this [link](https://clementreiffers.github.io/emotion-recognition-website-react/) and accept using
the camera.If you want to launch the website yourself on your computer, there is below some steps to take this:
### `yarn install`
in the first time, you have to install all requirements, so :
- react
- react-camera
- tfjs (a portability of tensorflow of javascript, used to launch our AI)### `yarn run start`
once you have installed all the requirements, you can type this command in the terminal.
With this command, the website is compiled and the terminal will tell you when you will be able to launch it.
you will be local, so `localhost:3000` will work on your browser### `yarn run build`
if you want an optimized version of your website, an example of a build is available in the gh-pages branch or this
repository. It is not necessary if you stay in local.## Sources
- [React](https://en.reactjs.org)
- [Badges of the readme](https://github.com/aleen42/badges)
- [tfjs](https://www.npmjs.com/package/@tensorflow/tfjs)
- [the base I used to recognize faces on camera](https://github.com/lauirvin/react-use-face-detection)
- [load a layer model into react](https://towardsdatascience.com/loading-models-into-tensorflow-js-using-react-js-f3e118ee4a59)