/OpenCV-DetectionProject

This project was made while implementing OpenCV with python. This was taught by Ilias Papachristos, Data Analyst - Scientist.

Primary LanguageJupyter Notebook

Forks Contributions Welcome Stargazers LinkedIn Instagram

OpenCV Detection Project

Recently, I've been working on a face😀, eye👁 and body🚶 detection it is finally working!🕺 The source codes basically uses a image, video or the camera as user input and displays the type of detection desired by the user.

👨‍💻 The basic layout of detection through images is to create a classifier, open and fix the image colors and then using .detectMultiScale function is cascade classifiers to detect the face, eye or full body. 📽 As far the as the input video is concerned, a while loop is preferred which captures the frames from the video and delivers the result on it. Image processing still requires some adjustments

🎇I'm very new to all this and so, I took a project offered by Ilias Papachristos (Data Analyst - Scientist). I'm sharing the the source code on my GitHub. Feel free to alter and hit me up!!!

👨‍🏫 Also, I'd like to clearly state it: This is not something new, it has already been implemented years ago and even open sourced. I just stitched the pieces of several codes together and altered it to what I wanted to detect.

⚡ TechStack Used

This section lists all the technologies that I used to built this project.

🚀 Getting Started

Prerequisites

  1. Clone the repo
    $ git clone https://github.com/yuvrajverma01/OpenCV-DetectionProject.git
  2. Install Numpy
    $ pip install numpy
  3. Install Matplotlib
    $ pip install matplotlib
  4. Install OpenCV
    $ pip install opencv-python
  5. Install Jupyter Notebook
    $ pip install notebook
  6. Initialise Jupyter Notebook
    $ jupyter-notebook
  7. Run Codeinjupyter file

📁 File Structure

The file structure of the current project is structured as shown below:

OpenCV-DetectionProject
    ├── Images
    ├── Video
    ├── Code.py
    ├── Codeinjupyter.ipynb
    ├── cascade_eye.xml
    ├── cascade_frontalface_default.xml
    ├── cascade_fullbody.xml
    └── haarcascade_car.xml

❤ About Me

Made with ❤ by Yuvraj Verma.

Yuvraj's Email Yuvraj's LinkdeIN Yuvraj's Instagram Yuvraj's YouTube Yuvraj's Twitter