View Demo · Report Bug · Request Feature
This is a sample Emotion Detection project developed using FaceAPI.
The tools/software below are needed to build/extend this project.
-
npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/ahmettekeli/emotiondetection.git
- Install NPM packages
npm install
- Make changes and bundle the project with webpack/babel
npm run build
Make sure you have devdependencies in package.json installed and have a "build" config under scripts section in package.json with the following config
"build": "webpack --config webpack.config.js"
.babelrc with following configs
{
"presets": ["@babel/preset-env"],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
webpack.config.js file with the following configs
const path = require("path");
module.exports = {
entry: "./src/js/app.js",
output: {
path: path.resolve(__dirname, "dist"),
filename: "app.bundle.js",
},
module: {
rules: [
{
exclude: "/node_modules/",
loader: "babel-loader",
},
],
},
};
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Ahmet Tekeli - @ahmettekeli3 - ahmettekeli1991@hotmail.com
Project Link: https://github.com/ahmettekeli/emotiondetection