Skip to content

This is a web application which can be used for data annotation for tasks like face detection, facial emotion classification, facial emotion detection

License

Notifications You must be signed in to change notification settings

PrudhvirajuChekuri/DataGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataGen(Data Annotation Tool)📁

If you are here and this is your first reading of mine, you can go here and check that repo first.

Jump over to the Installation section using the table of contents if you don't want to know much about the project.

Table of Contents
  1. Description
  2. About the Models
  3. How the Output looks
  4. Installation
  5. Inference
  6. License
  7. Credits

📝Description

When I'm building the facial emotion detector data annotation and organization became a pain for me. So after completed that project I decided to bulid this data annotation tool. This will help the folks who are intrested in building models related to face like face detection, facial emotion classification, facial emotion detection etc.

(back to top)

🤖About the Models

If you haven't check this repo yet, go there and check it first to know more about the models used.

(back to top)

📂How the Output looks

Facial Emotion Classification

After giving the input, the dataset will be generated and you can download it as z .zip file. The dataset.zip file looks like this

image

with all the images in their respective directories.

Face detection

A .zip file will be generated containing all the bounding boxes of faces in xml format which is the required format for TensorFlow 2.0 object detection. Ths labeldata.zip looks like this

image

The output directory contains all the outputs for the given images. The output xml file looks like this

image

same as the output that is generated by the labelImg software.

Facial Emotion Detection

It looks same as the above option but there is only one change i.e change in the name part of the xml files. The above files consist of name face for all the boxes and these files consist of the respective emotion of the bounding boxes.

🖥Installation

🛠Requirements

  • Python 3.7+
  • Other requirement are in the requirements.txt and can be installed as shown below.

⚙️Setup

  1. First create a virtual environment using venv. You can use powershell, go to the path you want and type the below commands.
python -m venv DGen
  1. Activate it.
DGen\Scripts\activate

Then you can use pip list to see what are all the packages installed and there will be pip and settup tools(in my case).

  1. Upgrade pip to the latest version.
python -m pip install --upgrade pip

Clone the DataGen repo and change the directory to DataGen and run the below command.

  1. Install the required packages.
python -m pip install -r requirements.txt

That's it you're set to go.

(back to top)

🎯Inference

python app.py

(back to top)

⚖License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Credits

(back to top)

About

This is a web application which can be used for data annotation for tasks like face detection, facial emotion classification, facial emotion detection

https://datagen.emoviz.biz (link inactive)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published