Skip to content

Repository containing InterIIT BOSCH AGE-GENDER WORK FOR InterIIT TECH MEET 10.0

License

Notifications You must be signed in to change notification settings

Amshra267/Age-Gender-Detection

Repository files navigation

BOSCH_A-G_INTERIIT

Repository containing Our Solution for BOSCH Age and Gender Detection Problem Statement in InterIIT TechMeet 10.0

A snapshot for our approach is shown below : -

INSTALLATION

Step1 - Cloning this Repository

  • In terminal/git bash run
git clone https://github.com/Amshra267/BOSCH_A-G_INTERIIT.git
## move to that directory
cd BOSCH_A-G_INTERIIT

Step 2 - We had provided two configurations for installation

  • For GPU(Recommended) - (Requirements - CUDA version = 11.1)

    • In the above opened terminal run
    chmod +x install_gpu.bash
    ./install_gpu.bash
  • For CPU

    • In the above opened terminal run
    chmod +x install_cpu.bash
    ./install_cpu.bash

Now you are ready to run our solution

TESTING

In terminal run

python main.py --video <path_to_your_video_file>

Above file have some arguments:-

--video = <path of video file> 
             or <camera id_no in case of real time image feed
            example = 0 (for webcam ), 1 (for external camera) >

--show  = 1 (for showing our output), default = 0  

--output = <path_of_output_saved_video_result>

OUTPUT FORMAT

We are creating three folders inside the outputs folder corresponding to the passed video's as an input result, persons in their cropped form and labels file having their demographic details.

The output inside the labels.txt is in the format as follows; Timestamp, Person Id, Gender , Age Range , Age

we added a test file for you in outputs/video_results folder

DATASET USED

  • We trained Age and Gender from a Gait Rcognition Dataset TUM-GAID DATASET which we got from a CS Department Professor and took authorization from him.
  • Trained UNet on Open Source data - OCHuman Dataset
  • Other models and datasets are available open source like coco for object detection. Mars dataset.

References

About

Repository containing InterIIT BOSCH AGE-GENDER WORK FOR InterIIT TECH MEET 10.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •