Number of neighbours

Hi
what exactly we mean by number of neighbours=5 in following command.
faces=face_cascade.detectMultiScale(gray_frame,1.3,5)

and for what the method ‘detectMultiScale()’ is used here for.

I have understood what ‘detectMultiScale()’ does, you can just brief me about what neighbours=5 exactly means.

Hey @pasta, actually when you use haarcascade file detect Multiscale, sometimes haarcascade detects, multiple unnecessary things as faces, you can check it by setting to 0. You will get lot of unnecessary boxes. So to reduce these unnecessary boxes we say, that for final result we will include a box only when it has atleast 5 other boxes, near it. So by this way count of unnecessary boxes gets reduced.

Hope this resolved your doubt.
Plz mark the doubt as resolved as well. :blush:

please aslo reply my queries asked in chat box

Hey @pasta, okay will see that.