More information on haar cascade

I’ve 2 questions on haar cascade.

  1. can someone explain to me frontal_face_haar_cascade.xml file, it just has some <internalNodes>, <leafNodes> these kind of tags, How this file is able to detect the faces. How does it work?

  2. is there any version of the haarcascade file available for object detection as well in the real time.
    Something like this kind of project :-
    https://www.linkedin.com/feed/update/urn:li:activity:6547370558332387329
    so, able to detect many objects simultaneously - cars, person, dog , table , mobile etc.
    Is there any file available for this?

Hello @mohituniyal2010,

I can understand the curiosity of yours to know how magically we are able to detect faces with just an xml file. Unfortunately, I have to tell you that, for your answers, you have to wait a little more, until you get to “Deep Learning”. There you will get every answer to all of your questions regarding haar cascade and other localisation algorithms.
Secondly, in the link you provided, the person has used Deep Learning for detecting objects, that too using tensorflow API. It might be YOLO or SSD that he is using. But thats a discussion for another topic that too after you have done Deep Learning.
We can discuss about all these then.
Till then, we only have to know, it works. :wink:

Happy Learning,
Thanks :slight_smile:

I understand he’s using tensorflow for object detection. But what i am asking is for if there’s any xml file available in opencv to detect objects like the one we used detects faces, Then it would be a simple task.
I hope openCV has made a list of such xml files. Can you provide the link for these files so that i can experiment to detect different different things.

Hello @mohituniyal2010,
Check out this link

I think this article is great and I think you can upload a picture on this page for the person this article is written for.
Chennai Escort || Escorts in Chennai ||