Detect Eyes Using Haar Cascades and Hough Transformation

This project is part of the liveProject series Computer Vision Applications using OpenCV.
basics of Python • basics of OpenCV
skills learned
reading and writing images • using Haar Cascade Classifier for eye detection • using Hough Circle Transform for circle detection
Vishwesh Shrimali
1 week · 3-6 hours per week · INTERMEDIATE

placing your order...

Don't refresh or navigate away from the page.
liveProject liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save: $10 (33%) self-paced learning
FREE domestic shipping on orders of three or more print books
Detect Eyes Using Haar Cascades and Hough Transformation (liveProject) added to cart
continue shopping
go to cart

Look inside
In this liveProject, you’ll upgrade facial recognition security to more complex iris recognition. You will read an image, draw bounding boxes around the detected eyes and detect the circular eye area region, then save the output image.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Vishwesh Shrimali
Vishwesh Ravi Shrimali is an AI and computer vision engineer with a mechanical engineering background. In his previous company, he was involved in developing the official OpenCV AI course series. He has also written multiple books on OpenCV and machine learning. He has recently joined Mercedes Benz R&D India as an engineer in the ADAS domain. He is also pursuing his master's in ML & AI from LJMU.


These liveProjects are for aspiring OpenCV developers with some knowledge of Python. To begin these liveProjects, you will need to be familiar with:

  • Basics of Python
  • Basics of NumPy
    • Creating NumPy arrays
    • NumPy array datatypes
    • Extracting values from NumPy array using binary logic
  • Basics of OpenCV
    • Reading and writing images using OpenCV
    • Displaying images using OpenCV

you will learn

In this liveProject you’ll learn essential OpenCV skills for developing useful computer vision applications.

  • Reading and writing images
  • Using Haar Cascade Classifier for eye detection
  • Using Hough Circle Transform for circle detection


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.