Skip to content

This project explains how to implement face detection.

Notifications You must be signed in to change notification settings

RNS-CVG/face-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

face-detect

Project Structure

-src
  -main.py
  -face_detect.py
-media
  -images
    -- *
  -videos
    -- *
  • Install Python 3.x from Python.org.
  • Learn Python if you already don't know it. The best place to start is often the official documentaion of the language.
  • [RECOMMENDED] Install a text editor to view the code and manage projects in a better way. VSCode and Atom are good choices.
  • Fork this repository.
  • Clone your copy of the repository using git clone https://github.com/GITHUB_USERNAME/face-detection.git in your workspace on your computer. It's strongly advised to get comfortable with using CLI Git tools. All the steps mentioned hence further will also be assuming you use the CLI.
  • Create the above project sturcture and the files.
  • Install OpenCV with: pip install opencv-python.
  • Create all functions in face_detect.py and then later import the function into main.py after testing.
    • To read and display images in CV, refer to this.
    • To read and display videos in CV, refer to this.
    • To perform face-detection and draw bounding boxes, refer to this.
  • Edit out the following section in the README.md.
  • Create a PR back to main repo. The code that gets merged will be based on the following criteria:
    • Syntax
    • Semantics
    • Efficiency
    • Readibilty
    • Comments and explanations
    • Extra features with documentation
  • It is advised to work in incremental efforts while maintaining neat commits and keeping your code open-source. If you feel you can contribute to someone else's code in the group, fork their progress and continue off from there, and so on.

Getting Started

Prerequisites

What things you need to install the software and how to install them:

1.Download Anaconda Navigator with Anaconda prompt
2.Open Anaconda Prompt
3.Install python 3.6 using command conda install python=3.6
4.Install OpenCV library using command pip install opencv-python
5.Install VScode editor using the Anaconda GUI interface.
6.Create a .py file to run the python program.
7.Debug and Run the program.

Running the Code

What commands and how are they used to run the code.

python main.py

About

This project explains how to implement face detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages