Skip to content

vicky60629/Face-Counting

Repository files navigation

Face-Counting

Table of Content

Directory Tree

├── results
│   ├── 2020-06-25 16_23_57-Window.png
│   ├── 2020-06-25 16_25_13-Window.png
├── app.py
├── Dockerfile
├── haarcascade_frontalface_default.xml
├── requirements.txt
├── LICENSE
├── README.md

Problem Statement

The method of face detection in pictures is complicated because of variability present across human faces such as pose, expression, position and orientation, skin colour, the presence of glasses or facial hair, differences in camera gain, lighting conditions, and image resolution.

Object detection is one of the computer technologies, which connected to the image processing and computer vision and it interacts with detecting instances of an object such as human faces, building, tree, car, etc. The primary aim of face detection algorithms is to determine whether there is any face in an image or not. We challenge all the hackers to participate in this computer vision challenge that aims to test skills in deep learning and object detection.

People detection and head counting is one of the classical albeit challenging computer vision application. For this problem, given a group selfie/photo, you are required to count the number of heads present in the picture.

Installation

The Code is written in Python 3.7. If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

pip install -r requirements.txt

How to Use

Just follow 3 simple steps :

  1. Download repository and extract using winrar in Downloads folder .

  2. Open Command Prompt and give command 'cd Downloads' .

  3. Then directory change to Downloads and then give command 'cd Face-Counting-master' .

  4. Then directory change to "Face-Counting-master" and give command python app.py .Results comes as given below:


If you face any problem : email me at vg60629@gmail.com

LICENSE

MIT License

Copyright (c) 2020 Vicky Gupta

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.