Face Detection in 2 Minutes using OpenCV and Python

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 466

  • @adithyasai8987
    @adithyasai8987 5 років тому +102

    while others are struggling to explain opencv. you did it in a simple way. In just 2 min
    GREAT vlog

    • @interesting7215
      @interesting7215 4 роки тому +3

      this is not 2 min...

    • @shuaibsugaran8936
      @shuaibsugaran8936 4 роки тому +2

      actually he skip it for a seconds without skipping the countdown in the screen

    • @voltifer5267
      @voltifer5267 4 роки тому +5

      This is not a vlog. If you don’t know, don’t use it

  • @Integralsouls
    @Integralsouls 4 роки тому +13

    i really have to say ...nice work man ...u deserve to be recognised not just be these cascades but also by real people all around this ML community...

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      Thank you so much 😀

    • @nalinin2505
      @nalinin2505 3 роки тому

      @@AdarshMenon which terminal have u used

  • @nainaalex9053
    @nainaalex9053 3 роки тому +3

    You gotta be kidding me..
    The error I've been trying to fix got fixed in 2 seconds just cuz of you 🔥
    Thanks buddy!

  • @okokicici
    @okokicici Рік тому +3

    This helped me a lot done with my project just in 15 mins😊 ,.... U r fabulous bro...

  • @bunnyvlogs7647
    @bunnyvlogs7647 4 роки тому +16

    u earned my like with 2 min stopper clock

  • @philliphelmut1077
    @philliphelmut1077 4 роки тому +7

    Great Video, everyone else makes hour-long videos and explains basically the same stuff, here I learned all what is important in 6min. Good job!

  • @ahmed1o137
    @ahmed1o137 3 роки тому +6

    good job man. keep up the good work because im sure it'll pay off in the long run. its rare to find talanted teachers and you are definitely one. simply well done

  • @albertovarela6050
    @albertovarela6050 3 роки тому +1

    Thank you!!! I tried to do this for more than a month...
    You explained very well!

  • @shubhamkhupase6514
    @shubhamkhupase6514 5 років тому +9

    Bro explained very well. Just carry on !!!!

  • @shaad498
    @shaad498 4 роки тому +35

    Watched every commercial videos but got the thing in DESI ONE

  • @radhikaravindra7293
    @radhikaravindra7293 4 роки тому +2

    Best one I have come across on UA-cam. Works without any error SO INSTANTLY.
    Keep more coming!

  • @anadani81917
    @anadani81917 4 роки тому +24

    Finally, a good video. Thank you!

  • @leamlisophara731
    @leamlisophara731 3 роки тому +3

    I have some error with this --> 'cv2.CascadeClassifier' object has no attribute 'detectMultiScal'. Could you tell how to fix it ????

  • @shouviksamadder5193
    @shouviksamadder5193 4 роки тому +1

    by far the best explanation

  • @akankshachoudante2489
    @akankshachoudante2489 3 роки тому +2

    Please help me sir..it is showing error no Module named cv2

    • @AdarshMenon
      @AdarshMenon  3 роки тому

      make sure you have installed opencv - run pip install opencv-python

    • @akankshachoudante2489
      @akankshachoudante2489 3 роки тому

      @@AdarshMenon sir I have followed all the steps.already installed openCV n I have saved raw file as well .but this error is coming

    • @AdarshMenon
      @AdarshMenon  3 роки тому +1

      @@akankshachoudante2489 if you are on python3 then you might also want to try pip3 install opencv-python. Or the recommended way is to create a virtual env and do everything inside it

    • @akankshachoudante2489
      @akankshachoudante2489 3 роки тому

      @@AdarshMenon ok thank you Sir I will try ...

  • @herecomestherainagain3031
    @herecomestherainagain3031 3 роки тому +2

    u are a king man thanks from turkey

  • @rohitsharma-pz1xc
    @rohitsharma-pz1xc 3 роки тому +3

    This is great video, I knew the basics off all the commands, your video helped me put all my knowledge to a functional detector. Thank you

    • @alizekhan2745
      @alizekhan2745 3 роки тому

      Plz tell me which terminal is used in this video?

    • @gaurav_jambhulkar
      @gaurav_jambhulkar 3 роки тому

      @@alizekhan2745 It's Linux terminal :-)

  • @okokicici
    @okokicici Рік тому +1

    Can u pls upload about human activity recognition

  • @JalalKhan-we1th
    @JalalKhan-we1th 4 роки тому +1

    Wow simply amazing, hats off to you😍

  • @chijonyacigak3119
    @chijonyacigak3119 2 місяці тому

    This was really insightful keep on going

  • @safabelhadjromdhane2922
    @safabelhadjromdhane2922 3 роки тому +3

    Hello, I have a question to ask, I did the exact same thing as you in the video but the program didn't work and it announced an error while running the color saying "error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' " how do I fix it ? and thanks in advance for your help.

  • @HOBBY-MASTER
    @HOBBY-MASTER 3 роки тому

    thank you , this was my first face detection project , awesome explanation

  • @atlurivijay10
    @atlurivijay10 3 роки тому +1

    So I have been getting this error OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' any idea?

  • @betsythomas5971
    @betsythomas5971 4 роки тому +1

    Good work Adarsh..Saved a lot of time!!

  • @rusbiantrush4576
    @rusbiantrush4576 4 роки тому +1

    hi Ardas, thanks for your Lesson. god bless you ..Rusbi from Indonesia

  • @likhithagoberu1304
    @likhithagoberu1304 3 роки тому +2

    Traceback (most recent call last):
    File "C:/face recognition/detectfacevideo.py", line 19, in
    faces = face_cascade.detectMultiScale(gray, 1.1, 4)
    cv2.error: OpenCV(4.5.2) C:\Users
    unneradmin\AppData\Local\Temp\pip-req-build-vi271kac\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale' iam having this error how can i solve it..

  • @OT-oi8kl
    @OT-oi8kl 3 роки тому +2

    This was hella easy to follow, thank you!

  • @pranitsawant6085
    @pranitsawant6085 4 роки тому +1

    amazing buddy its really help me my mca projects thanks a lot buddy.

  • @mohammedfahadfaisal4418
    @mohammedfahadfaisal4418 4 роки тому +1

    Facing problems----------->
    line 13, in
    faces = faceCascade.detectMultiScale(gray, 2, 4)
    cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-jr1ur_cf/opencv/modules/objdetect/src/cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function '

    • @kriptonkripsi9002
      @kriptonkripsi9002 4 роки тому

      same here also

    • @mohammedfahadfaisal4418
      @mohammedfahadfaisal4418 4 роки тому

      @@kriptonkripsi9002 did you found any solution for it?

    • @kriptonkripsi9002
      @kriptonkripsi9002 4 роки тому

      @@mohammedfahadfaisal4418 i got it actually do again from beginning in calmly , i did mistakes line ,if you copy the code and source code and check it by side to side you will solutions

    • @mohammedfahadfaisal4418
      @mohammedfahadfaisal4418 4 роки тому

      @@kriptonkripsi9002 okay .

  • @flodyto
    @flodyto 3 місяці тому

    Gracias por tu video. Octubre de 2024 y funciona perfecto. (Si necesitan activar la camara web externa solo deben modificar esto "cap = cv2.VideoCapture(1)")

  • @Kishu6969
    @Kishu6969 3 роки тому

    Helped A lot. Thanks for a detailed tutorial!

  • @saurabh-ny8cn
    @saurabh-ny8cn 4 роки тому +2

    If we want to recognize faces with names then what we can do ?
    Means it can able to detect face. Then what ?

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      This is only to detect faces. To recognize them - ua-cam.com/video/987QtKPZ-P0/v-deo.html

    • @saurabh-ny8cn
      @saurabh-ny8cn 4 роки тому

      @@AdarshMenon I watched that video but I am saying that if a moving person comes infront of camera. Then how we can do that in real time??

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      the face recognition library can help you do that - github.com/ageitgey/face_recognition

  • @sunil-khatri
    @sunil-khatri 4 роки тому +11

    Hey, I have one question to ask. How can I make my own classifier instead of using pre-built haar cascade files?

    • @AdarshMenon
      @AdarshMenon  4 роки тому +9

      Sentdex has made an amazing video on making your own classifier using haar cascasde - ua-cam.com/video/jG3bu0tjFbk/v-deo.html
      Another option for object detection would be to build a deep learning model using keras. You can also use something called "transfer learning", to retrain existing classification models to classify the objects you want to

  • @valibabushaik5073
    @valibabushaik5073 4 роки тому +1

    Everything is Awesome.... Tnq bro

  • @MertAliBarlas
    @MertAliBarlas 4 роки тому +2

    Hi
    I'm getting this error:
    C:\Users\pc\AppData\Local\Programs\Python\Python38-32\python.exe: can't open file 'test2.py': [Errno 2] No such file or directory
    I'm try to solve but I can't solve it, can you help me ? @Adarsh Menon

    • @AdarshMenon
      @AdarshMenon  4 роки тому +1

      you need to be inside the directory where you saved your file 'test2.py'. Use chdir command in windows terminal to change directory

    • @MertAliBarlas
      @MertAliBarlas 4 роки тому +2

      @@AdarshMenon Thanks but ı already solved, thx for help

  • @Navii369
    @Navii369 4 роки тому +4

    you may not reply for the error i think , you only reply for the person who appreciate you
    you may try to clear the errrors of your subscribers also it may gives you a real happiness and thats the true appretiation

  • @achendvankar
    @achendvankar 4 роки тому

    thank you so much. it totally worked. Keep up the good work.

  • @mertceylan2080
    @mertceylan2080 4 роки тому +1

    thanks man, beneficial video for beginners

  • @Singer_Sonali
    @Singer_Sonali 4 роки тому +1

    Very well explained. ..found it easiest tutorial

  • @hermawannugroho4070
    @hermawannugroho4070 4 роки тому +2

    thanks my man you save my life

  • @SreekumarNk
    @SreekumarNk 4 роки тому +1

    Very useful Adarsh. Thank you.

  • @kmnm9463
    @kmnm9463 4 роки тому +3

    Hi Adarsh,
    You made Face Recognition look so simple . Felt like I can learn FR hands down. . I have subscribed to your channel.
    Thanks form KM

  • @homelessgod2145
    @homelessgod2145 4 роки тому +1

    Thanks, it works so easy in just 5 minutes,

  • @sheikhanikulislamhani1304
    @sheikhanikulislamhani1304 4 роки тому +2

    It works properly. Thank you.

  • @lvmeghana130
    @lvmeghana130 4 роки тому +1

    hey help plz getting errors like
    Module 'cv2' has no 'CascadeClassifier' member..,Module 'cv2' has no 'VideoCapture' member,..Module 'cv2' has no 'cvtColor' member...,Module 'cv2' has no 'COLOR_BGR2GRAY' member...,Module 'cv2' has no 'rectangle' member....,Module 'cv2' has no 'waitKey' member

    • @manishsharma2211
      @manishsharma2211 4 роки тому +1

      Please install cv2 first
      Pip install opencv-python

  • @ft.Atulkumarsingh
    @ft.Atulkumarsingh 4 роки тому +2

    Thanks bro, just thanks, now i really get this

  • @nishanisha1266
    @nishanisha1266 4 роки тому +1

    What if we need to detect a photo which is in a particular drive

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      In the video at 1:30, line number 5 simply change the path of your file. For example if your file is C:/pictures/test.jpg, you can change that line to cv2.imread('C:/pictures/test.jpg')

    • @nishanisha1266
      @nishanisha1266 4 роки тому +1

      @@AdarshMenon thank you for replying

    • @nishanisha1266
      @nishanisha1266 4 роки тому +1

      @@AdarshMenon I have a doubt could you pls help me out...how can I reach you!!pls a small help

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      adarsh1021@gmail.com

    • @nishanisha1266
      @nishanisha1266 4 роки тому

      @@AdarshMenon I mailed!!pls checkout

  • @infobox-Hindi
    @infobox-Hindi 4 роки тому +1

    Can u please make video like detecting the presence of human and with respect to open or close the relay

  • @SomethingSpiritual
    @SomethingSpiritual 4 роки тому +1

    installing error 1 while doing pip install opencv-python
    please guide for opencv installation

  • @Daniel-qo9uv
    @Daniel-qo9uv 3 роки тому +1

    Hi I did: pip3 install opencv-python but I get an error with pycharm regarding open cv2 : ModuleNotFoundError: No module named 'cv2' How to fix it?

    • @AdarshMenon
      @AdarshMenon  3 роки тому

      Maybe you are on another version of python ? if you are using pip3, then make sure you call the script with python3

  • @forhadkhan5316
    @forhadkhan5316 4 роки тому +3

    Oh man you just save my day. Thank u

  • @MohitSaini-zc5zi
    @MohitSaini-zc5zi 2 роки тому

    Good job. Your code is still working.

  • @vishalananth
    @vishalananth 2 роки тому

    Thank you very much for this , helped a lot !!!

  • @akshaykadam3811
    @akshaykadam3811 3 роки тому

    That's Very Nice 👍👍.............
    You have any report of this project which gives details information about this project.

  • @priy3865
    @priy3865 Рік тому

    Thankyou so much vdo helped a lot🙌❤️

  • @deepakdadlani9284
    @deepakdadlani9284 4 роки тому +1

    hey...i need your help please reply..
    can you tell me how can i detect the face of dog and cat and their emotions ...in python..please let me know if you know anything about it ..please help!

  • @HEROSHORTS101
    @HEROSHORTS101 3 роки тому

    thank you very much. very educational and helpful tutorial.

  • @liquidofficialgm
    @liquidofficialgm 4 роки тому

    You deserve more Likes!

  • @AmeerHamza-uu1gc
    @AmeerHamza-uu1gc 3 роки тому

    Good bro Also made video on face MASK detection.
    Thanks

  • @nawaab9275
    @nawaab9275 4 роки тому +1

    how can we display the name along with the rectangle box around the face

    • @AdarshMenon
      @AdarshMenon  4 роки тому +1

      there is a method cv2.putText to write text on the image - you can also check my face recognition video, where I did that

  • @pranavshridhar452
    @pranavshridhar452 5 років тому +1

    Awesome video! Keep going 👍

  • @leon81446
    @leon81446 4 роки тому +1

    I'm getting this error please help
    face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
    AttributeError: module 'cv2' has no attribute 'CascadeClassifier'

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      Maybe your haar cascade file did not load properly. Check if you donwloaded it in the same directory as your code.
      Maybe this will help - answers.opencv.org/question/52340/opencv-error-assertion-failed-empty-in-detectmultiscale/

    • @leon81446
      @leon81446 4 роки тому

      @@AdarshMenon Thank you for replying brother! Actually the problem was w/ the version of OpenCV. It wasn't compatible with the python version installed on my PC

  • @ruggy1689
    @ruggy1689 4 роки тому +2

    can i ask how do i run it? i've done the code but how do i get the camera to pop up with that code?

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      You need to use a command prompt on windows (or terminal) to run this. You need to install python first of all to do that, and the library open-cv for this to work. Please search for 'how to install python on windows/whatever OS you have'

    • @ruggy1689
      @ruggy1689 4 роки тому +1

      @@AdarshMenon hello, im doing your code for almost 5 hours can u help me? it says "python: can't open file (filename)" No such file or directory.

    • @ruggy1689
      @ruggy1689 4 роки тому +1

      @@AdarshMenon i already have the python

    • @MrThe1000thman
      @MrThe1000thman 4 роки тому

      same problem. i already installed python and opencv

  • @spjcovers1204
    @spjcovers1204 3 роки тому +1

    Can we add some time limit for the camera so that the camera turns off automatically and we don't have to press the ESC button ???

    • @AdarshMenon
      @AdarshMenon  3 роки тому

      inside the while loop you could add a delay of say 100ms. Then you can keep a counter to count the number of times it ran (or maybe use a for loop). So now when this counter reaches 100 then you know that 10 seconds have passed

  • @deki90to
    @deki90to 4 роки тому +1

    How to show people names with rectangle? I know to do with pictures, but donno with videos

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      it is the same code you use with pictures, just put it inside the loop of the video. Videos are made up of frames which are images, all functions applied to images can be applied to videos as well

    • @deki90to
      @deki90to 4 роки тому

      @@AdarshMenon Don't know how to do that. Can you write simple example here in comment?

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      www.geeksforgeeks.org/python-opencv-write-text-on-video/#:~:text=cv2.,also%20it's%20color%20and%20thickness.

    • @deki90to
      @deki90to 4 роки тому

      @@AdarshMenon There is no code I need, so you don't know how to do ir or?

  • @suryanshusaxena2082
    @suryanshusaxena2082 2 роки тому +1

    Hello sir I am getting this error:
    error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
    Please tell me how to resolve it

    • @raviteja843
      @raviteja843 2 роки тому

      Same error sir can you help me if you know how to resolve it

    • @hurraykoookie21
      @hurraykoookie21 2 роки тому

      Please help me same error

  • @dpreek
    @dpreek 4 роки тому +1

    sir thank your for this video. i tried this. but i have a error.how can i fix it?
    Traceback (most recent call last):
    File "C:\Users\amali\Desktop\Face_Detection\test1.py", line 13, in
    faces = face_casCade.detectMultiScale(gray, 1.3, 5)
    NameError: name 'face_casCade' is not defined

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      looks like the variable is not defined, python is case sensitive. I think it should be face_cascade if you have used my code. Or else make sure the cascade file is in the same folder where the code is

  • @SUMITMITRA25
    @SUMITMITRA25 2 роки тому

    its small to get started on and its good

  • @seemaager3241
    @seemaager3241 3 роки тому

    Thank u so much..😍
    U saved me today😅

  • @pankajjoshi4206
    @pankajjoshi4206 Рік тому

    How to detect two or more faces coming towards camera. Thankyou for your video

  • @roku1892
    @roku1892 4 роки тому

    Nice video, because :
    -Indian tutorial
    -Cursed audio
    -Machine backsound

  • @kakulapatisunandini8429
    @kakulapatisunandini8429 Рік тому

    Hi... im working with upperbody detection, this is not working with the detection of upper-body. can u plz help me out to get a frame over the upperbody recognition

  • @AayushMatkar
    @AayushMatkar 4 роки тому +1

    OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
    how can i resolve this error

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      Maybe your haar cascade file did not load properly. Check if you donwloaded it in the same directory as your code.
      Maybe this will help - answers.opencv.org/question/52340/opencv-error-assertion-failed-empty-in-detectmultiscale/

  • @aryansonone7751
    @aryansonone7751 4 роки тому

    Thank You So Much !!
    Very Brilliant !!

  • @mishalahammed5850
    @mishalahammed5850 3 роки тому

    Cool tutorial bro

  • @frozen-x-fire163
    @frozen-x-fire163 4 роки тому +1

    thank u very much bro its really nice working

  • @WhiteBossGamerYT
    @WhiteBossGamerYT 4 роки тому +2

    Sir I Make Same Project
    But it can't run

  • @vinsmokearifka
    @vinsmokearifka 3 роки тому

    Raspi 4 camera use to face detection so slow & little bit dark. How to improve camera quality?

  • @shafiquesayed2673
    @shafiquesayed2673 5 років тому +1

    In web cam capture it is not showing rectangle on more than 1 face what should i do

    • @AdarshMenon
      @AdarshMenon  5 років тому

      This will help you stackoverflow.com/questions/33546356/how-to-detect-multiple-faces-in-opencv

  • @merepyaresakha1922
    @merepyaresakha1922 4 роки тому +1

    Can I use this as a final year project?? Will you provide any help??

  • @pankajjoshi8292
    @pankajjoshi8292 4 роки тому +1

    Liked and subscribed.
    One question.
    I want to this with 10 diff ip cams not just one laptop camera. Pls tell how to do

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      you can definitely do it with 2 or even 3 i guess, but 10 might be a bit too much on your computer, unless you have a really powerful machine. In the line cv2.VideCapture(cam_no) - for each camera you need to write this like, where cam_no = 0, 1, 2.. no, of cameras. ref - stackoverflow.com/questions/29664399/capturing-video-from-two-cameras-in-opencv-at-once

  • @vyas8137
    @vyas8137 3 роки тому

    Really loved you way of explaining stuff, could you tell where can I find internship to actually apply what I've learnt :)

  • @WhiteBossGamerYT
    @WhiteBossGamerYT 4 роки тому +2

    Sir please help me 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @rachanasingh1951
    @rachanasingh1951 4 роки тому +1

    Hi Adarsh...good video...my all commands executed well but am unable to see the image with square boxes...please tell me where to find it.

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      cv2.rectangle is used to draw the boxes. Make sure that you are displaying the same variable that you are passing to cv2.rectangle to draw the boxes

  • @abdullaal-bader46
    @abdullaal-bader46 3 роки тому +1

    hello, there is a problem in line 19

  • @raja0sama
    @raja0sama 3 роки тому

    Great job man.

  • @abhicruz1668
    @abhicruz1668 3 роки тому

    i wrote the exact code but i there is not rectangle formation for the detection of faces

  • @koushikguptabonthala2429
    @koushikguptabonthala2429 2 роки тому +1

    Hello. For detecting faces from images and detecting images from webcam do we need to build two different models

  • @FSAirsoftUK
    @FSAirsoftUK 4 роки тому

    i keep getting an error:
    Traceback (most recent call last):
    File "d:/camera test/detect_body_video.py", line 19, in
    faces = face_cascade.detectMultiScale(gray, 1.1, 4)
    cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-zsozjuva\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
    whats going on???

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      Maybe your haar cascade file did not load properly. Check if you donwloaded it in the same directory as your code.
      Maybe this will help - answers.opencv.org/question/52340/opencv-error-assertion-failed-empty-in-detectmultiscale/

  • @akashrajak-PhD
    @akashrajak-PhD 3 роки тому +1

    Good one..

  • @marcusbeck2329
    @marcusbeck2329 4 роки тому +1

    In what software do you code this

  • @cubeheadii9284
    @cubeheadii9284 Рік тому

    can you explain the last commad you put in the terminal?
    pleeeeees

  • @shriyanssudhi4545
    @shriyanssudhi4545 3 роки тому

    Thanks for making this video not complex

  • @imperial-x9899
    @imperial-x9899 3 роки тому

    how did u use face recognization module without having it to train ??? arent we suppose to upload example of face and no face pic and make him learn?

  • @palakeetivikas2569
    @palakeetivikas2569 2 роки тому

    can u explain this part
    cv2.waitKey(30) & 0xff

  • @AtenTetsu
    @AtenTetsu 4 роки тому

    Hi! Can I use this program with Raspberry Pi ? Thanks

  • @zuriuszu
    @zuriuszu 2 роки тому

    How can the image be enlarged so both neck and head could be visible?

  • @madhumitham6702
    @madhumitham6702 4 роки тому

    Hi brother ... You really explained awesome ... Thanks for sharing your knowledge brother How could I modify the code for the recognition of twins ??? ....

  • @appatakkarcreations982
    @appatakkarcreations982 4 роки тому +1

    Awesome bro 💥💥💥

  • @nishanisha1266
    @nishanisha1266 4 роки тому +1

    I got assertion failed error!!!we have to run the code and then open webcam?

    • @AdarshMenon
      @AdarshMenon  4 роки тому

      Maybe your haar cascade file did not load properly. Check if you donwloaded it in the same directory as your code. And no, the code automatically opens the webcam
      Maybe this will help - answers.opencv.org/question/52340/opencv-error-assertion-failed-empty-in-detectmultiscale/