OpenCV Python Tutorial | Creating Face Detection System And Motion Detector Using OpenCV | Edureka

Sdílet
Vložit
  • čas přidán 10. 06. 2024
  • 🔥 Post Graduate Diploma in Artificial Intelligence by E&ICT Academy
    NIT Warangal: www.edureka.co/executive-prog...
    This Edureka Python Tutorial video on OpenCV explains all the basics of OpenCV. It also explains how to create a face recognition system and motion detector.
    Subscribe to our Edureka CZcams channel to get video updates: goo.gl/6ohpTV
    Check out our complete Python playlist: goo.gl/LTVNVx
    ---------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐏𝐲𝐭𝐡𝐨𝐧 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠𝐬----------
    🔵Python Programming Certification: bit.ly/37rEsnA
    🔵Python Certification Training for Data Science: bit.ly/2Gj6fux
    ---------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐌𝐚𝐬𝐭𝐞𝐫𝐬 𝐏𝐫𝐨𝐠𝐫𝐚𝐦---------
    🔵Data Scientist Masters Program: bit.ly/2t1snGM
    🔵Machine Learning Engineer Masters Program: bit.ly/3Hi1sXN
    ----------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐔𝐧𝐢𝐯𝐞𝐫𝐬𝐢𝐭𝐲 𝐏𝐫𝐨𝐠𝐫𝐚𝐦---------
    🌕Post Graduate Diploma in Artificial Intelligence Course offered by E&ICT Academy
    NIT Warangal: bit.ly/3qdRRdw
    #PythonOpenCV #FaceRecognition #Edureka
    -----------------------------------------------------------------
    Instagram: / edureka_lea. .
    Facebook: / edurekain
    Twitter: / edurekain
    LinkedIn: / edureka
    ----------------------------------------------------------------
    How it Works?
    1. This is a 5 Week Instructor-led Online Course,40 hours of assignment and 20 hours of project work
    2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.
    3. At the end of the training, you will be working on a real-time project for which we will provide you a Grade and a Verifiable Certificate!
    - - - - - - - - - - - - - - - - -
    About the Course
    Edureka’s Machine Learning Course using Python is designed to make you grab the concepts of Machine Learning. The Machine Learning training will provide a deep understanding of Machine Learning and its mechanism. As a Data Scientist, you will be learning the importance of Machine Learning and its implementation in Python programming language. Furthermore, you will be taught Reinforcement Learning which in turn is an important aspect of Artificial Intelligence. You will be able to automate real-life scenarios using Machine Learning Algorithms. Towards the end of the course, we will be discussing various practical use cases of Machine Learning in Python programming language to enhance your learning experience.
    After completing this Machine Learning Certification Training using Python, you should be able to:
    Gain insight into the 'Roles' played by a Machine Learning Engineer
    Automate data analysis using python
    Describe Machine Learning
    Work with real-time data
    Learn tools and techniques for predictive modeling
    Discuss Machine Learning algorithms and their implementation
    Validate Machine Learning algorithms
    Explain Time Series and it’s related concepts
    Gain expertise to handle business in the future, living the present
    - - - - - - - - - - - - - - - - - - -
    Why learn Machine Learning with Python?
    Data Science is a set of techniques that enable the computers to learn the desired behavior from data without explicitly being programmed. It employs techniques and theories drawn from many fields within the broad areas of mathematics, statistics, information science, and computer science. This course exposes you to different classes of machine learning algorithms like supervised, unsupervised and reinforcement algorithms. This course imparts you the necessary skills like data pre-processing, dimensional reduction, model evaluation and also exposes you to different machine learning algorithms like regression, clustering, decision trees, random forest, Naive Bayes and Q-Learning.
    For more information, Please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).

Komentáře • 584

  • @edurekaIN
    @edurekaIN  Před 5 lety +29

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka Python Machine Learning Course curriculum, Visit our Website: bit.ly/2OpzQWw

  • @TheMarotron
    @TheMarotron Před 5 lety +334

    TimeStampped list of topics in this Video:
    0:45 What is Computer Vision
    1:30 How a Computer Reads an Image?
    3:38 What is OpenCV
    4:48 Basics of OpenCV
    4:54 Load Images
    7:55 Image shape / Resolution
    8:03 Displaying the Image
    9:58 Resizing the Image
    12:26 Face Detection
    16:51 Capturing video
    22:53 How to capture the video, Instead of first Image/Frame of the Video
    28:26 Motion detection using OpenCV
    28:33 Problem statement
    29:14 Solution Logic
    31:57 Motion Detector
    34:10 Now we need to calculate the time for which the object was in front of the camera.
    34:15 Storing time Values
    38:29 Plotting the Motion Detection Graph

  • @DeepakSingh-ji3zo
    @DeepakSingh-ji3zo Před 5 lety +7

    Awesome tutorial....All my life I wanted to learn this :)

  • @abdulwahabmoro9133
    @abdulwahabmoro9133 Před 5 lety +22

    The tutorials was very insightful. Thank you for the good work done.

    • @edurekaIN
      @edurekaIN  Před 5 lety +2

      Hey Abdul, we are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @amankaushik5833
    @amankaushik5833 Před 4 lety +10

    A very reasonable course teaches a layman everything!!😎🤩

  • @5GLayer3Tut
    @5GLayer3Tut Před 5 lety +15

    Sir nice tutorial please upload more tutorial of machine learning edureka is only one youtube channel which updates the latest technology I love edureka

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Asif, glad you feel that way. We will surely process your request as soon as possible. For now, you can check out our Machine Learning Playlist: czcams.com/video/Pj0neYUp9Tc/video.html Do subscribe and stay tuned for future updates

  • @tedmosby9409
    @tedmosby9409 Před 4 lety +2

    wow they way you lay code out is the best iv seen on youtube so far so much easier to understand

  • @barncha
    @barncha Před 3 lety +4

    Hi edureka, just want you to know how I really appreciate you sharing these tutorial videos at no charge when our lessons gained is priceless. I'm a complete beginner to CV and I gained so much practical learning in less than an hour. Many thanks to you! Cheers!

  • @omarabrilvivanco2517
    @omarabrilvivanco2517 Před 3 lety

    I think this is one of the best tutorials I have found on youtube, even, you as a teacher could not imagine. Only I would like to say THANK YOU VERY MUCH. (MUCHAS GRACIAS) :-)

  • @TejasDhanani
    @TejasDhanani Před 3 lety +17

    For error on *Video Capture* (18:15) :
    Use: *video = cv2.VideoCapture(0,cv2.CAP_DSHOW)*

  • @niteenautade
    @niteenautade Před 5 lety

    Fantastically Explained ! Good job.

  • @kartikbansal3107
    @kartikbansal3107 Před 4 lety +1

    face detection part worked superbly thnks

  • @rameshr6300
    @rameshr6300 Před 4 lety +1

    Best vedio on opencv ever seen.Keep going on guys .We all r be behind u

  • @anmjubaer
    @anmjubaer Před 4 lety +4

    Nice presentation, well explained.

  • @erajkhan942
    @erajkhan942 Před 4 lety

    This is a best tutorial ever.. i have done my project related to openCV Thank you Edureka :)

  • @Samuftie
    @Samuftie Před 4 lety

    direct applicable. thank you!

  • @slimbuv
    @slimbuv Před 5 lety +3

    The way you explained was awesome. Thank you so much for this tutorial

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Simbu, thanks for appreciating our efforts. Do give this video a thumbs up and subscribe to the channel for more amazing content. Cheers!

  • @ratanpriya4148
    @ratanpriya4148 Před 3 lety +1

    i watch this video.. and amazing learning experience... all thus i m not know about OpenCV. but finally i know its a library. and how it works. good experience.

  • @hacker6695
    @hacker6695 Před 4 lety +1

    Super Explanation... Really Appreciable...!!!

  • @SumanBiswasintouch
    @SumanBiswasintouch Před 3 lety +1

    Thanks for explaining it in so simple way.....!

  • @1DarkBlossom
    @1DarkBlossom Před 3 lety +3

    Thank you for taking time to explain all the complicated stuff I don’t habe any idea about. Keep up the good work

    • @edurekaIN
      @edurekaIN  Před 3 lety +3

      Thanks for the compliment! We are glad we could help. Do subscribe to our channel to stay posted on upcoming tutorials.

  • @kavithamg6635
    @kavithamg6635 Před 3 lety +1

    Wow, you are really a good teacher 😀
    Thanks for this tutorial!!

  • @swapnilsbagul
    @swapnilsbagul Před 5 lety +1

    Nicely explained .... Good learning

  • @vigneshmani2636
    @vigneshmani2636 Před 5 lety +5

    Simple and crisp.... awesome

  • @hamzazaheer3977
    @hamzazaheer3977 Před 3 lety +3

    for anyone struggling with cascade object use this
    fc = cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")

  • @narendarreddy3916
    @narendarreddy3916 Před 5 lety +156

    How to create cascadeClassifier object ? I mean what is that "haarcascade_frontalface_default.xml"

    • @chirayumaheshwari7736
      @chirayumaheshwari7736 Před 5 lety +1

      basically you are not required to create classifier you can find them on githun=b what you are need to do is just click on the required classifier then go to row then save the page in the folder where you have all the files related to anaconda a.k.a home>>windows(c)>>user>>name folder

    • @gadgetboynaija
      @gadgetboynaija Před 5 lety +5

      It is an XML file you can download from GitHub. Do a Google search for "OPENCV haarcascade_frontalface_default.xml" and save the "haarcascade_frontalface_default.xml" file to your pc. Then you can point to it from your code.

    • @adnanbandey5450
      @adnanbandey5450 Před 5 lety +1

      search "haarcascade_frontalface_default.xml" in the file where opencv is installed and copy the whole path in that command while creating the classifier object.

    • @shipper611
      @shipper611 Před 4 lety +1

      stuck with the same question...

    • @ayushranjan2494
      @ayushranjan2494 Před 4 lety +2

      the xml file is just a file which contains the features of faces .it is just like a training set from which the program will know what a face looks like ..... just search the file name in google and you will see it in opencv github . download and use it in your computer .

  • @vin.....2k
    @vin.....2k Před 3 lety

    perfect start for beginners!!

  • @SantoshKumar-fr5tm
    @SantoshKumar-fr5tm Před 4 lety +3

    Explained in a pretty simple way. At least I understood the concept behind it. thanks

    • @edurekaIN
      @edurekaIN  Před 4 lety

      Thank you for appreciating our work. We are glad you loved the video. Do subscribe to our channel and stay connected with us.

  • @hassainehassen5700
    @hassainehassen5700 Před 4 lety +2

    Amazing, thank you Sir

  • @zigazagateam
    @zigazagateam Před 5 lety +7

    Many thanks for such an interesting session. Very nice tutorial!

    • @edurekaIN
      @edurekaIN  Před 5 lety +1

      Thanks for the compliment Ferran! Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @sadhanapatidar5369
    @sadhanapatidar5369 Před 4 lety

    Very helpful for me...thank you sir

  • @muminibnaadm3361
    @muminibnaadm3361 Před 4 lety +1

    From now i am fan of edureka.. Love you

  • @muhammadbilalawan
    @muhammadbilalawan Před 5 lety

    Wondering and clearly explained everything! Thank you

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hi Bilal, thanks for the appreciation. We are glad that you loved the video. Do subscribe, like and share to stay connected with us. Cheers!

  • @hetalgulhane2630
    @hetalgulhane2630 Před 4 lety

    very helpful this video. thank you so much

  • @jaufraysauron5969
    @jaufraysauron5969 Před 4 lety +4

    Thank you for your great tutorial! I have a question though: at the end, why does it change from thresh_delta to thresh_frame in the line: (_,cnts,_) = cv.findContours(thresh_delta.copy(), cv.RETR_EXTERNAL, cv.CHAIN_APPROX_SIMPLE) ? And what does thresh_frame represent?

  • @horaciolampe166
    @horaciolampe166 Před 4 lety

    EXCELENT VIDEO!!!! THANKS YOU VERY MUCH!!!

  • @himanigajjar1260
    @himanigajjar1260 Před 4 lety

    Hello, thank you for the tutorial, it's help me a lot

  • @psudheerbabu2300
    @psudheerbabu2300 Před 5 lety

    Very much inspired and knowledge gaining video. We want tutorial on on book aswell.

  • @bharatbajoria
    @bharatbajoria Před 4 lety

    Great tutorial, thanks for the insights

  • @pardonmasuka2
    @pardonmasuka2 Před 3 lety +1

    Thank you for the video!!! Very helpful!!!

  • @JA5GZ
    @JA5GZ Před 4 lety

    Bro thank you so much for explanation

  • @sinharoop
    @sinharoop Před 3 lety

    Like the Confident & speed of the tutor.

  • @amitkarmakar6418
    @amitkarmakar6418 Před 5 lety +1

    Thank you Edureka! for this detailed tutorial... Saurab sir Plz upload a tutorial on bokeh as well

    • @edurekaIN
      @edurekaIN  Před 5 lety +2

      Hey Amit, we are glad you feel this way. We will be processing your request soon, so do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!

  • @NEURA152
    @NEURA152 Před 3 lety

    Thanks , appreciate your effort

  • @SChannel404
    @SChannel404 Před 5 lety +1

    Thanks. Nice video

  • @5uperzer0
    @5uperzer0 Před 4 lety

    This was super helpful

  • @neopolitanimran2157
    @neopolitanimran2157 Před 5 lety +1

    Fantastic!!!.. Practical easy to learn..

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Imran, we are glad you feel this way. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @freedmoresidume
    @freedmoresidume Před 4 lety +1

    Great tutorial. Thanks a lot for sharing

  • @krishj8011
    @krishj8011 Před 4 lety

    very useful... thanks...

  • @pravingawanang9150
    @pravingawanang9150 Před 4 lety +1

    Thanks edureka! 👍 Great video..

  • @allaboutdata2050
    @allaboutdata2050 Před 5 lety +2

    It was very nice tutorial for implementing opencv in python.
    All the concept of face detection and motion detection was clear 😊 . Very good tutorial sir ...
    Please keep uploading such tutorials...
    One request : please try make tutorial on how to make our own AI system from scratch . It will be very helpful 😊

    • @edurekaIN
      @edurekaIN  Před 5 lety +3

      Hey Girish, thanks for the compliment. We are really glad you feel this way about our channel. We will process your request as soon as possible. Do subscribe and stay tuned for future updates. Cheers!

  • @swetha6555
    @swetha6555 Před 3 lety +4

    I have completed my project in one single day..thank you very much for saving my time !!

    • @harihari8658
      @harihari8658 Před 3 lety

      I need this project pls...

    • @edurekaIN
      @edurekaIN  Před 3 lety +1

      Hi Hari, kindly drop in your email id to help us assist you with the required source codes. Cheers :)

  • @nagavarmadandu1027
    @nagavarmadandu1027 Před 5 lety +1

    Sir thank you so much, you detailed explain of each line . I want Face recognition attendence process and that is stored in folder or database.

  • @TaaaiooMarvel
    @TaaaiooMarvel Před 5 lety +1

    I like it 😍 you're the best... 😎 😁 💪

  • @arpangarg2312
    @arpangarg2312 Před 5 lety

    Reallyy liked this video.

  • @vikashchandramaurya1168

    Thank you so much for such nice tutorial 😊😊

  • @nivitus9037
    @nivitus9037 Před 4 lety

    Grateful Explanation, Please create a full course on Computer vision ..

  • @ayushnaithani7169
    @ayushnaithani7169 Před 3 lety

    Vedio is too good...very helpful
    I hope u will keep uploading such vedios in coming days for all the programing languages

  • @BhimPandey
    @BhimPandey Před 4 lety +1

    very nice tutorial, easy thought... keep it up,,,,

  • @Umeshkumar-hb9nn
    @Umeshkumar-hb9nn Před 2 lety

    thank you so much for the tutorial

  • @kaarthigeyanrajendran5513

    Please do tutorial for face recognition.

  • @anAlokDubey
    @anAlokDubey Před 3 lety

    Thanks Edureka. Your videos are really helpful to us. 😊

  • @sucharitaghosh4511
    @sucharitaghosh4511 Před 3 lety

    It is really awesome how you explained everything. Thanks a lot.

    • @edurekaIN
      @edurekaIN  Před 3 lety

      You are welcome👍
      Do subscribe to our channel to stay posted on upcoming tutorials: czcams.com/users/edurekaIN.

  • @karthickrajalearn
    @karthickrajalearn Před 5 lety +14

    In 40m 4sec
    Separate tutorial on bokeh with
    Basic mathematics concepts

  • @arslanalimalik7905
    @arslanalimalik7905 Před 4 lety

    Very good tutorial... Very helpful for me. Thank you Edureka.😍😍. can you please make full tutorial on Face recognizing.

  • @ancyjenifer201
    @ancyjenifer201 Před 4 lety

    very nice explanation.....

  • @LeishangthemBishwantaSingh

    Nice explaination,thankx a lot

  • @kalyanbanka7287
    @kalyanbanka7287 Před 5 lety +1

    nice explanation with real time example

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Kalyan, we are glad you feel this way. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @judetenga2148
    @judetenga2148 Před 2 lety +2

    at 5:45 how did you get that url link of the image to paste it inside img = cv2.imread (). Im a bit confused on that.
    Thanks,

  • @mvlad7402
    @mvlad7402 Před rokem +1

    Excellent video on opencv motion detection internals

  • @KeffelewAssefa
    @KeffelewAssefa Před 4 lety +1

    Thank you

  • @mansooor2008
    @mansooor2008 Před 5 lety

    thank you pro really is very good explanation for lesson

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Mansoor, we are glad you loved the video. Do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!

  • @plouf1969
    @plouf1969 Před 5 lety +1

    Great video!

  • @virupakshPandey
    @virupakshPandey Před 5 lety +1

    Thanks for a such a amazing tutorial

    • @edurekaIN
      @edurekaIN  Před 5 lety +1

      Hey Virupaksh, we are glad you feel this way. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @utkarshjaryal6170
    @utkarshjaryal6170 Před 2 lety +1

    you are great Edureka !!! every time i got doubt you are always there .Thank you

    • @edurekaIN
      @edurekaIN  Před 2 lety +1

      We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @sourabhbagade6932
    @sourabhbagade6932 Před 3 lety

    The main thing is I like most your presentation.

  • @fireinsidepower3648
    @fireinsidepower3648 Před 5 lety

    This is Great Video

  • @JesusLegarda
    @JesusLegarda Před 4 lety

    Really well

  • @vinaychiruvella2459
    @vinaychiruvella2459 Před 4 lety +1

    Really nice explanation, the order of the explanation is also good.

    • @edurekaIN
      @edurekaIN  Před 4 lety

      Hey Vinay, thanks for the compliment! Do subscribe to our channel to stay posted on upcoming tutorials.

  • @8dsounds433
    @8dsounds433 Před 4 lety

    thanku so much

  • @aavulaanusha3141
    @aavulaanusha3141 Před 2 lety

    Very grateful for your step to teach us..this tutorial made me free from my project stress.. Thank you for your time

    • @edurekaIN
      @edurekaIN  Před 2 lety

      Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @shubhamkatke9852
    @shubhamkatke9852 Před 5 lety +1

    nice explanation

  • @aditisrivastava7079
    @aditisrivastava7079 Před 4 lety

    The explaination was very good .....Yes if Possible please provide the tutorial on Bokeh

  • @SachinKumar-uv4nu
    @SachinKumar-uv4nu Před 3 lety

    Great explained

  • @ANSYoutube
    @ANSYoutube Před 3 lety

    Best channel for ai ml

  • @Mukeshkumar-yl1qq
    @Mukeshkumar-yl1qq Před 2 lety

    Really helpful... thanks🤩

    • @edurekaIN
      @edurekaIN  Před 2 lety

      You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @papow6309
    @papow6309 Před 4 lety

    Thank you teacher

  • @sagarmahato6690
    @sagarmahato6690 Před 5 lety +1

    it was pretty good...

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Thanks for the compliment Sagar! We are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @hemanthvokkaliga
    @hemanthvokkaliga Před 3 lety

    Superb sir I understood soo much thanks 😊

    • @edurekaIN
      @edurekaIN  Před 3 lety

      Happy to hear that!We are glad to have learners like you . Do subscribe our channel and hit that bell icon to never miss an video from our channel .

  • @puja5654
    @puja5654 Před 4 lety

    nice Vedio sir thanku so much

  • @tanushreenagar3116
    @tanushreenagar3116 Před 3 lety +1

    Nice thnk u

  • @engwarsamadiiriye433
    @engwarsamadiiriye433 Před 5 lety

    Thanks Sir
    Keep going effort
    Please share us updates new technologies

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Warsama, we are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @sanjeevi567
    @sanjeevi567 Před 5 lety

    Awesome tutorial sir...

    • @edurekaIN
      @edurekaIN  Před 5 lety

      Hey Sanjeevi, thanks for the compliment. We are glad you loved the video. Cheers!

  • @madhavagarwal2658
    @madhavagarwal2658 Před 3 lety

    great video!!

  • @rajeshwariarumugam6409

    Thanks for the detailed session!

    • @edurekaIN
      @edurekaIN  Před 2 lety

      Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @alamgeer401
    @alamgeer401 Před 5 lety +1

    Best ...

  • @prasadjayanti
    @prasadjayanti Před 2 lety

    This was awesome !

    • @edurekaIN
      @edurekaIN  Před 2 lety

      Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @hannaalemu9539
    @hannaalemu9539 Před 4 lety

    it was really helpfull 10q

  • @aruv6128
    @aruv6128 Před 4 lety +1

    Super video's from you guys

  • @muffiq1
    @muffiq1 Před 5 lety

    Very nice tutorial.
    Please help us with the Bokeh tutorial as well.
    You guys are awesome.
    Thank You!!!!