Face Detection using Open CV(Google Colab)

OpenCV TypeError: Expected cv:: UMat for argument ‘src’

You may wonder why this error occurs?

What is the need of converting an image into a NumPy array?

With Numpy you can make blazing fast operations on numerical arrays, no matter which dimension, shape, etc. they are.

why do we convert from RGB to Grayscale?

First of all, we should know the difference between both RGB and Grayscale Image.

Haar-cascade Detection in OpenCV

Here, I used the Haar-cascade classifier for the detection



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



Data science Enthusiast|Cricketer| Gymmer| Blog Writer