Skip to content

highplainscomputing/Eye_detection_CV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Vision Eye Detection

Project Overview

This is a computer vision application that opens a webcam and detects eyes using the Haar Cascade Algorithm, along with the Hough Transform for improved results. The project is implemented in Python and relies on the following libraries: Python, NumPy, and OpenCV-Python.

Detect Eye

Table of Contents

Algorithm Overview

Haar Cascade Algorithm

The Haar Cascade Algorithm is a machine learning object detection method used to identify objects in images or video. In this project, it is utilized to detect eyes.

Hough Transform

The Hough Transform is a technique used for the detection of simple shapes, such as lines or circles, in an image. In this project, it is used to improve the accuracy of eye detection.

Why Haar Cascade, not CNN?

Haar cascades are a simpler and faster approach for object detection, while neural networks offer more flexibility and accuracy, but can be computationally expensive. The choice between the two approaches depends on the specific requirements of the task at hand, such as accuracy, speed, and available computing resources.

Installation

To run this project on your local machine, follow these steps:

  1. Create Virtual Environment
python -m venv <your-environment-name>

Activate

<your-environment-name>\Scripts\activate
  1. Install Dependencies
pip install -r requirements.txt
  1. Clone the repository:
git clone https://github.com/highplainscomputing/Eye_detection_CV.git
  1. Run the application.
python eye_detector.py

Usage

Provide instructions on how to use the application:

Launch the application, and it will open your webcam. The application will start detecting eyes using the Haar Cascade Algorithm and Hough Transform. Adjust parameters for better results (if applicable).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages