OpenCV Course - Full Tutorial with Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 1.1K

  • @gymgeek8355
    @gymgeek8355 3 หลายเดือนก่อน +570

    anyone came here after falling asleep?

    • @Just_A_GK
      @Just_A_GK 2 หลายเดือนก่อน +22

      My phone was just on this vid

    • @greenflock8091
      @greenflock8091 2 หลายเดือนก่อน +9

      This is why I’m dumb

    • @LukasOwen
      @LukasOwen 2 หลายเดือนก่อน +8

      woke up around 1:40 after being asleep for 3 hours...

    • @samuellalruatpuia7044
      @samuellalruatpuia7044 2 หลายเดือนก่อน

      Here

    • @stefanotaloni5445
      @stefanotaloni5445 2 หลายเดือนก่อน +1

      Yes lmao

  • @anirudhgangadhar6158
    @anirudhgangadhar6158 2 ปีที่แล้ว +156

    This is a goldmine of a resource. I have 3+ years experience with image processing in MATLAB. Totally into Python now and enjoying this awesome tutorial.

    • @abhishekaarav4650
      @abhishekaarav4650 2 ปีที่แล้ว +1

      Hi aniruddh can i get your contact / email please? Have some work in your domain its urgent

    • @dremr2038
      @dremr2038 ปีที่แล้ว +7

      Which is better to start with?
      Python or MATLAB for ML?

    • @anirudhgangadhar6158
      @anirudhgangadhar6158 ปีที่แล้ว +16

      @@dremr2038 From my experience, Matlab does not offer as much dynamism and flexibility, so I would definitely go with the former. I've used both but once I made the transition to Python, there was no looking back!

    • @finix7419
      @finix7419 ปีที่แล้ว

      @@dremr2038 python is so good for ML, I don't think it has any rivals other than maybe R

    • @WowSirSmallFan
      @WowSirSmallFan 6 หลายเดือนก่อน +3

      I absolutely dread matlab, i cannot even fathom a language that has 1 indexing. Yes matlab sadly has the audacity to call itself a programming language. Pythons mathplotlib literally has 99% of the functionality of matlab whilst being easier to use.

  • @phantomgaming5199
    @phantomgaming5199 2 ปีที่แล้ว +10

    2:44:26 When The Face was Detected
    This moment gave me the most happiness to be able to detect a face.
    THANK YOU FOR THIS COURSE

  • @danny9642
    @danny9642 9 หลายเดือนก่อน +2

    Completed this in two weeks, what an amazing course! For the computer vision part on kaggle, you might have to use your own model, i recommend convolutional layers. The model used by the tutor is out of date and you might encounter roadblocks. Good thing is, every other line of code works well with any model of choice.
    Really enjoyed this course and i look forward to doing advance stuff from here!

  • @anshul_13j
    @anshul_13j 2 ปีที่แล้ว +26

    I was just clicking on random videos on YT and I somehow landed on this course and GOD THANK YOU!
    Learned a lot and lots of things here that I could've learned nowhere better.
    Thank you for this course, although there were somethings in the last part of this course that I was not able to understand but I got a glimpse of how things are and how they work, I'll definitely learn them.

  • @ashishk81
    @ashishk81 4 ปีที่แล้ว +556

    Can't express my feelings when you get some of the awesome courses on internet for free of cost 🙏

    • @minhajsixbyte
      @minhajsixbyte 4 ปีที่แล้ว +18

      same, thanks to all these cool guys i never had to buy a course when i wanted to learn something new.

    • @everettmusicdojo
      @everettmusicdojo 3 ปีที่แล้ว +11

      Free Code Camp is the best!

    • @justinr9699
      @justinr9699 3 ปีที่แล้ว +7

      Couldn’t agree more! We’re living in the matrix and everyone watching took the blue pill (or whichever one was the right choice lol)

    • @foryoutube1975
      @foryoutube1975 3 ปีที่แล้ว +2

      Really?

    • @kaeptnbaloo
      @kaeptnbaloo 3 ปีที่แล้ว

      @@foryoutube1975 lol that is what i thought too,

  • @parsahosseini4241
    @parsahosseini4241 4 ปีที่แล้ว +70

    Finally, a 2020 updated opencv tutorial on the internet

  • @gopiedits825
    @gopiedits825 4 หลายเดือนก่อน +2

    important ones to remember
    33:19 five basic methods
    1. gaussian blur
    2. canny edge detection
    3. dilate
    4. erode
    5.cv.resize
    ==============================================
    45:17 image transformations
    1. Translate function
    2. rotate function
    ==============================================
    57:55 contours
    1. contours list using canny edge detection
    2. contours list using blur + canny ed
    3. contours list using threshold
    ===============================
    1:12:00 changing color spaces
    1. BGR to HSV
    2. BGR to GRAY
    3. BGR to LAB
    4. BGR to RGB
    AND VICE VERSA
    ========================================
    1:24:00 extracting colors
    blue
    green
    red
    =============================================
    1:37:00 Blurring
    1. Average blur
    2. Gaussian
    3. Median
    4. Bilateral
    ============================================
    1:45:35 Bitwise
    1. Bitwise and
    2.Bitwise or
    3. Bitwise xor

  • @AmanJain-qg5hz
    @AmanJain-qg5hz 3 ปีที่แล้ว +15

    3:29:55 - `x` (images tensor) and `y` (labels) should have the same length - People who are getting this error, convert the list x_train and y_train to numpy arrays
    x_train=np.array(x_train)
    y_train=np.array(y_train)

  • @kdubovetskyi
    @kdubovetskyi 3 ปีที่แล้ว +68

    2:08:26 - actually everything was OK. You don't need to pass masked image to calcHist mask parameter. You can just pass white circle instead, as you did first time. You can compare both histogram plots and make sure, they are identical. It worked because cats-in-a-circle image is identical to white circle in bitwise operations (if those cats have no zero valued pixels in the circle region)

    • @S06paths
      @S06paths 2 ปีที่แล้ว +5

      The course has been really confusing at times. Thankfully, I did the same before following him so I agree with your findings

    • @jinkswang6788
      @jinkswang6788 2 ปีที่แล้ว +1

      you are right.

    • @elementt007
      @elementt007 3 หลายเดือนก่อน +1

      @@S06paths

    • @yucoeverywhere6408
      @yucoeverywhere6408 หลายเดือนก่อน

      Hi, do you know how to get that tooltip type of thing that shows the parameter information in VScode pls ?

  • @cahideneskeles638
    @cahideneskeles638 4 ปีที่แล้ว +15

    I was desperately looking for an OpenCV tutorial and I saw this like a hero :)

  • @vallepuvamsi449
    @vallepuvamsi449 ปีที่แล้ว +2

    Essentially 😂😂 The best opencv course on youtube.

  • @RPAChampion
    @RPAChampion 3 ปีที่แล้ว +3

    Hey iam an automated robot created by the RPA Champion to comment on all videos on youtube. I have liked your video. Thumbs up and keep on doing what you doing

  • @sttaseen5106
    @sttaseen5106 2 ปีที่แล้ว

    I bought a course to learn OpenCV from this website but it was money wasted. The whole thing was filled with too much theory like what is RGB? What is BGR? How do images work? I lost interest so quickly. I LOVE how you are to the point. Your pacing is also perfect. I have never watched anything with 1.0x speed before. THANK YOU for making this course! This video is priceless.

  • @didyouknowthisweird
    @didyouknowthisweird 3 ปีที่แล้ว +8

    That was a nice course for starting machine learning but please look at (3:38:00) . We're larning to reach a conclusion . So why the model cannot work correctly?

  • @VanshikaMehta-r1t
    @VanshikaMehta-r1t 6 หลายเดือนก่อน

    10:34 video running
    11:28 error - 215 assertion error
    53:59 flipping image
    58:34 canny (for edge detection)
    59:12 finding contours
    1:07:18 drawing contours
    2:47:50 best alg for face detection
    2:50:58 getting list in new way

  • @aLoffDasVampiros
    @aLoffDasVampiros 2 ปีที่แล้ว +25

    2:41:06
    Tutorial is awesome, the explanations are much better than other tutorials I have tried, only ran into one real issue so far and that was during the "Face detection with Haar Cascades". When referencing the xml file, I found out I needed to implement the full path to the file in order to get it working properly, just thought I would throw that out there in case anyone else runs into a similar problem.

    • @muhammadbello8756
      @muhammadbello8756 2 ปีที่แล้ว

      Hi,
      Does this course go deep into utilizing artificial intelligence?

    • @clementcabaud8356
      @clementcabaud8356 2 ปีที่แล้ว

      Thanks a lot !

    • @chinmayganguly457
      @chinmayganguly457 2 ปีที่แล้ว

      Are you talking about how to solve the xml parsing error that happens? because yes i'm suffering from that currently. What do you mean by full path? because my xml file is saved in the same directory as my face detection file

    • @incrdble9704
      @incrdble9704 2 ปีที่แล้ว +1

      @@chinmayganguly457 I had the same issue. Just look at your explorer tab (it's on the left in VSCode), right click on your xml and then click 'Copy Path' (or 'Copy Relative Path', it also worked for me)

    • @StaMariaRock
      @StaMariaRock 2 ปีที่แล้ว

      Yeah, same situation, in my case was because I created a file inside "resources" to have more order, so VS Code needed me to give the exact file path to run haar_face.xml.
      Thanks for the tip

  • @greenkiwi7941
    @greenkiwi7941 3 ปีที่แล้ว +2

    I just comment so it reaches more people, because this helps THAT lot. Thank you for making this, and for making this free! It's greatly appreciated!

  • @ice-skully2651
    @ice-skully2651 2 ปีที่แล้ว +30

    Absolute lifesaving course! in the span of a few hours I was able to do my own computer vision projects!
    Sidenote : the cat pictures were a bit too cute and sometimes distracting haha.

  • @okaytree7711
    @okaytree7711 ปีที่แล้ว

    Final Review of This Course:
    Okay, if you want to get a very low level understanding of openCV, then this course will work for you. Its good if you need a refresher or are using it to get an idea of some of the important functions in openCV.
    HOWEVER, you wont really understand why the functions work or why certain parameters are used. I wish the title of this video was called "Referesher Course for OpenCV".
    Id recommend paying for a longer course that will go a lot more in depth into what these functions actually do and how they work.
    Regardless, I still learned something, so thank you.

  • @azzamgalal5350
    @azzamgalal5350 2 ปีที่แล้ว +15

    Thank you for the interesting content.
    The error in the face recognizer is due to 3:04:44
    It should be
    for (x, y, w, h) in face_rects:
    faces_roi = gray[y:y+h, x:x+w]
    instead of:
    for (x, y, w, h) in face_rects:
    faces_roi = gray[y:y+h, x:x+h]

  • @evilservo
    @evilservo 10 หลายเดือนก่อน +1

    great job so far in 1:11 now and love the content also just realized how amazing these image manipulation softwares are amazing
    EDIT: Into advance section now and the true power of openCV is here awesome and awesome tutorial

  • @RajvirSingh1313
    @RajvirSingh1313 4 ปีที่แล้ว +65

    Hey I see your effort. You all are putting so much effort and time in these videos. I think if you make the roadmaps videos like if you want to become a android developer watch this playlist in which you can mention all the videos that are related to the android development. Yes I know that you already had created playlists but they are kinda incomplete and are not roadmaps videos. And one more suggestion make a playlist of roadmaps videos for different learning paths like you had created pytorch and tensorflow tutorials if they both are mentioned in a roadmap video of data scientist and a pdf in description as if anyonnes wants to print and want the learning steps so he/she can download the pdf. I hope you will like my suggestion. Even I follows your tutorials but i didn't know whether the tutorial is for my path or not and then after researching and learning my own I find that you had made the tutorials but I was not able to identify that the tutorial is helpful or not. So if you do this it will save so much time and everyone will know what to do next.
    Thanks For Reading My Suggestion :)

    • @supreetkaur9762
      @supreetkaur9762 4 ปีที่แล้ว +1

      Nice!

    • @TechWithRushabh
      @TechWithRushabh 4 ปีที่แล้ว +2

      u must check code with harry in that case. only if you know hindi

    • @RajvirSingh1313
      @RajvirSingh1313 4 ปีที่แล้ว +1

      @@TechWithRushabh Yes know that but they have more audience than Code With Harry. So if they did this it will help more people.

    • @TechWithRushabh
      @TechWithRushabh 4 ปีที่แล้ว +2

      @@RajvirSingh1313 Yea I know that would be cool.

    • @RajvirSingh1313
      @RajvirSingh1313 4 ปีที่แล้ว +1

      @@TechWithRushabh Even I am learning c++ from him!

  • @falgunpawar
    @falgunpawar 3 ปีที่แล้ว +2

    Just gonna thank this channel and Sir you are the best teacher I have ever come across

  • @BotBytesHQ
    @BotBytesHQ 4 ปีที่แล้ว +14

    Hi Jason,
    I have been going through many courses for OpenCV (Not that I didn't understand them) but I should say even though the course is fast-paced but well explained and especially Chapter BITWISE operations Awesome!..keep it going very well explained and practically show.

  • @soumyadipdutta17
    @soumyadipdutta17 16 วันที่ผ่านมา +2

    3:29:53 There is an error showing "Input data in 'NumpyArrayIterator' should have rank 4. You passed an array with shape (0,)"
    What to do?😢

  • @mhb0496
    @mhb0496 2 ปีที่แล้ว +5

    1:30:00, I try a little tweak here by using ones() instead of zeros(), then multiple blank by 255, so I can get a white canvas. The results are interesting cause it display sort of CMYK.

  • @robogeeky
    @robogeeky หลายเดือนก่อน +1

    The best free, very precise, very well explained course on OpenCV. Everything about this course - the pace, code explanation , and the accent (bleu!) was really engaging. Thank you!

  • @littlecurrybread
    @littlecurrybread 4 ปีที่แล้ว +28

    this is nuts that this is free!

  • @luqmanhakim1660
    @luqmanhakim1660 2 ปีที่แล้ว

    Best OpenCV Course on youtube by far

  • @kunnathbar
    @kunnathbar 5 หลายเดือนก่อน +18

    Anyone else woke up to this ?

    • @Beenesh-f2d
      @Beenesh-f2d หลายเดือนก่อน +1

      Yeah me 😂😂😂

    • @YoungGas444
      @YoungGas444 หลายเดือนก่อน

      Yes bro 😭😭😭😭

  • @재윤-y4t
    @재윤-y4t 4 ปีที่แล้ว +1

    I hope I can learn well with this video. I am now korean high school student, and I learn open cv because i want convert my school subject handwriting to word document. Thank you for nice video

    • @minhajsixbyte
      @minhajsixbyte 4 ปีที่แล้ว +2

      if you have time to learn, don't go for "word" documents.
      rather research about LaTeX (hard, but powerful) and markdown (easy), padoc (a converter)
      you can do all kinds of cool and advance stuff with your text.

  • @vaibhavchaudhary4966
    @vaibhavchaudhary4966 10 หลายเดือนก่อน +3

    Damn, never felt this confident on anything after just finishing the course. Kudos to you guys for bringing out this gem of a tutorial and channel as well. And all of it FREE OF COST🙏🙏

  • @myip05
    @myip05 10 หลายเดือนก่อน

    Thank you for making this available for everyone, really appreciate the good work!

  • @ramnivashsah1291
    @ramnivashsah1291 3 ปีที่แล้ว +3

    This video is really good for learning new things related to computers..🤩🤩🤩🤩🤩💮..good job guys....I learned almost the concepts...and making a project now..

  • @ArenaAssassinYT
    @ArenaAssassinYT 2 ปีที่แล้ว

    you are the best teacher I learned full opencv with the help of you

  • @cupajoe99
    @cupajoe99 5 หลายเดือนก่อน +44

    woke up to this playing on youtube - i dont code

    • @only.korê
      @only.korê 3 หลายเดือนก่อน +3

      lmao same, most likely brainwashing

    • @KaidenGotWeekly
      @KaidenGotWeekly 2 หลายเดือนก่อน

      me aswell

  • @nivedvi2716
    @nivedvi2716 2 หลายเดือนก่อน

    a structuring element is the NxN matrix that determines the way dilation is calculated. it is not the image that is being dilated. the dilation operator requires 2 arguments. the original matrix and the structuring element, which is basically the kernel and it has a certain size and shape. usually a disk, cross or a square (binary kernels most of the time)

  • @HillelGuy
    @HillelGuy หลายเดือนก่อน +7

    I fell asleep and woke up to this how tf did I got here

  • @MayankGoel447
    @MayankGoel447 10 หลายเดือนก่อน +1

    A slight error at 18:57 the function definition will be changeRes(capture, width, height)

  • @ammuubisht
    @ammuubisht 3 ปีที่แล้ว +22

    I'M HALF DONE WITH THIS VIDEO, AND I MUST SAY THIS IS A GEM VIDEO❤

    • @jasmcaus
      @jasmcaus 3 ปีที่แล้ว +1

      Thank you very much! I'm glad this video helped you :)

  • @KriGeta
    @KriGeta 3 ปีที่แล้ว +1

    How can we use openCV in blender to do motion capture?

  • @ankithguzz
    @ankithguzz 4 ปีที่แล้ว +68

    Thank you guys for making such quality videos that has helped millions. I've benefited a lot from your previous tutorials and I'm excited to learn opencv as well!
    Thank you!!

  • @abdullahraihanbhuiyan2346
    @abdullahraihanbhuiyan2346 2 ปีที่แล้ว

    3:27:41 There is a typo in the code uploaded in the github (caer.train_test_split) , the one in the video is the correct one. Thanks!

  • @fratcetinkaya8538
    @fratcetinkaya8538 3 ปีที่แล้ว +35

    Thanks for all your efforts, spent times, and open source-free courses. Indeed, I've started OpenCV through that course, and it's been a superb starting point for me. And there are also different kinds of courses related to Data Science and am gonna benefit from them as well. Am grateful to know a such channel and a such course..

  • @xylox_editor
    @xylox_editor 6 หลายเดือนก่อน +1

    28:35 For some reason that smile made my day 😁😁😁😁

  • @ironichoneybadger5066
    @ironichoneybadger5066 ปีที่แล้ว +3

    3:27:20
    if you're following along with pycharm
    from tensorflow.python.keras.utils.np_utils import to_categorical
    should be used instead of
    from tensorflow.keras.utils import to_categorical

  • @BigDaddyRenny
    @BigDaddyRenny ปีที่แล้ว

    This video is a great help to start computer vision. Thank you so much

  • @rdm5687
    @rdm5687 4 ปีที่แล้ว +27

    Yeeaah. I'm just starting my TFG about Image Processing with Python and this comes out. Love FCC!

    • @TheKing-ul5pw
      @TheKing-ul5pw 3 ปีที่แล้ว

      th-cam.com/video/uNSxrWCwUqQ/w-d-xo.html ..

    • @C_Omkar
      @C_Omkar 3 ปีที่แล้ว +1

      @@TheKing-ul5pw ?

  • @NworieKingsley-l8b
    @NworieKingsley-l8b ปีที่แล้ว +1

    This is a really good resource, but I want to point out that there's error to how he expained match-confidence, somewhere around the (3:10:33) mark.
    The confidence value represents the dissimilarity or error between the detected face and the recognized face. What I am trying to say is that a lower confidence value is typically better because it means that the detected face is more similar to the recognized face.
    Edited: Also, the confidence value is not expressed as a percentage!

    • @namankumar2545
      @namankumar2545 11 หลายเดือนก่อน

      Could you please tell why i am getting confidence value always 0.0 even if face was detected perfectly

  • @Mike-fd7uf
    @Mike-fd7uf 4 ปีที่แล้ว +7

    Been needing this video since last christmas! lol Thank you! -- +9999pts for linking up concepts to examples in the video. Something abt the documentation just gets my mind wandering until I've forgotten what it was I was looking for in the first place. ;D

  • @Anonymous-tm7jp
    @Anonymous-tm7jp 3 ปีที่แล้ว +2

    Omg, having awesome tutorials free of cost, much much better than what programming learners expect.

  • @ejliud
    @ejliud 4 ปีที่แล้ว +22

    omg your courses get released a moment after i start learning a new stuff! GREAT CONTENT! THANKS FCC!

  • @trimixmew1815
    @trimixmew1815 12 วันที่ผ่านมา +1

    I slept to this playing for 2 hours

  • @b.f.skinner4383
    @b.f.skinner4383 3 ปีที่แล้ว +26

    Can't express how grateful I am for this amazing content. Thanks guys

  • @cowloverschronicles
    @cowloverschronicles 2 ปีที่แล้ว +1

    It's amazing when you find the right tutorial all for free, Thanks Jason

  • @nupurtomar5874
    @nupurtomar5874 3 ปีที่แล้ว +4

    In Face Recognition section, at 3:07:45 , in my case, model is always recognizing image with confidence of 0.0 . Could anyone please help me? Please?

    • @ashishSinghSengar17
      @ashishSinghSengar17 3 ปีที่แล้ว

      How many images are you using to train your model?? If you use more images then confidence would also increase.

    • @egemeyvecioglu3165
      @egemeyvecioglu3165 2 ปีที่แล้ว

      Same problem, but i assume the confidence is actually 100.0 and there is a problem due to data type because i always get the correct result.

  • @Robotprogramming
    @Robotprogramming 3 ปีที่แล้ว +2

    Great Job, by the far it is the best video of OpenCV I have seen... keep sharing more please

  • @Soulripper38
    @Soulripper38 3 ปีที่แล้ว +25

    OMG I love this, soooo straight to the point and clear.
    I wish all tutorials were like yours!!!!!

  • @MusicalInterferences
    @MusicalInterferences 2 หลายเดือนก่อน

    Awesome crash course thanks. I too come from a MATLAB background, so I know what to look for. But it's good to see the basics in action to pick it all up with Python/C++ as needed. Thank you, Sir. 👌

  • @johnsonsubedi1193
    @johnsonsubedi1193 4 ปีที่แล้ว +9

    The exact thing I've been looking for
    Thanks a lot

  • @YungAirheadOfficial
    @YungAirheadOfficial หลายเดือนก่อน

    Woke up this morning and was 2 hours and 49 minutes in for some reason I don't know how this video started playing but it did

  • @bilawalgoher
    @bilawalgoher 2 ปีที่แล้ว +71

    What's python?

    • @forgewhelbon1131
      @forgewhelbon1131 6 หลายเดือนก่อน +73

      Snake very danger must avoid piosonus

    • @gamingdude7959
      @gamingdude7959 5 หลายเดือนก่อน

      ​@@forgewhelbon1131same bro, there was a very dangerous snake in my shop a few days ago, that is why I m searching for python, I found this tutorial very useful

    • @MuhammadUmerFarooq-us7ig
      @MuhammadUmerFarooq-us7ig 5 หลายเดือนก่อน +11

      it is a programming language that you can use to make your computer perform different things

    • @Vnitupdates7265
      @Vnitupdates7265 5 หลายเดือนก่อน

      😂 what​@@forgewhelbon1131

    • @speedyspherenetwork1699
      @speedyspherenetwork1699 4 หลายเดือนก่อน +9

      A character from the 90's circus show- Monty python

  • @abiralmahdiakhand9331
    @abiralmahdiakhand9331 10 หลายเดือนก่อน +3

    1:52:40
    "This is a white hole and this is a black hole, for the physicists out there"

  • @stanhopeification
    @stanhopeification 2 ปีที่แล้ว

    Thanks!

  • @lucasmartinsabbione7499
    @lucasmartinsabbione7499 หลายเดือนก่อน +5

    I'm starting to think TH-cam knows when you fall asleep

  • @fayyadhatstsaqibmarwan4104
    @fayyadhatstsaqibmarwan4104 2 ปีที่แล้ว

    im so happy that i found this course😀😀

  • @imyasharya
    @imyasharya 4 ปีที่แล้ว +4

    Okay, here's the shortcut I found about VS Code:
    Ctrl + '/' -> Comments out a line
    Alt + Up/Down Arrow -> To move text up and down
    And this is personalized:
    Alt + D -> Duplicates the lines
    Please share your shortcuts as well.

  • @amirhosseinkhazaei8167
    @amirhosseinkhazaei8167 2 ปีที่แล้ว

    Best opencv tutorial ever

  • @MalcolmJones-bossjones
    @MalcolmJones-bossjones 3 ปีที่แล้ว +6

    One of the best courses i've taken, thank you for this !

  • @hernandobolanos798
    @hernandobolanos798 2 ปีที่แล้ว

    Borned to teaching code!!!....excellent methods and speech...thanks for give us a lot against none trading off fee.....keep on that way my friend!!!

  • @cbsnow1
    @cbsnow1 3 ปีที่แล้ว +7

    "train_gen = datagen.flow(x_train, y_train, batch_size=BATCH_SIZE)" gives a ValueError:
    "`x` (images tensor) and `y` (labels) should have the same length. Found: x.shape = (80, 80, 1), y.shape = (11047, 10)"

  • @amirghahramani9516
    @amirghahramani9516 3 ปีที่แล้ว

    English is my second language and I can't understand it very well but You teach such as a very powerful teacher ^_^
    I hope the bests for you :)

  • @sambathnarayananparthasara9403
    @sambathnarayananparthasara9403 3 ปีที่แล้ว +5

    Thank you ! Wonderful video.
    I encountered problem when trying to run ' Face Recognition with OpenCV's built-in recognizer'
    (Face Detection ' works)
    at the line
    face_recognizer = cv.face.LBPHFcaeRecognizer_create()
    Attribute Error: module 'cv2.cv2' has no attribute face
    Surfing the net, for solution, realized, many people have encountered this problem
    Any help appreciated

    • @sambathnarayananparthasara9403
      @sambathnarayananparthasara9403 3 ปีที่แล้ว +3

      I fixed this error, it took me some time to figure out, many users have been struggling with this error
      by mistake, I had installed both opencv-python & opencv-contrib-python
      Even after uninstalling opencv-contrib-python, I was continuing to get the following error
      ---------------------------
      Successfully uninstalled opencv-contrib-python-4.5.2.52
      python3 faces_train.py
      Training done ---------------
      Traceback (most recent call last):
      File "faces_train.py", line 44, in
      face_recognizer = cv.face.LBPHFaceRecognizer_create()
      AttributeError: module 'cv2.cv2' has no attribute 'face'
      ---------------------------
      Then it stuck me, it is picking the cv2 from some where else
      I reconfirmed this with Python shell & pip list
      ------------------------------
      python3
      Python 3.7.6 (default, Jan 8 2020, 19:59:22)
      [GCC 7.3.0] :: Anaconda, Inc. on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import cv2
      >>> cv2.__version__
      '4.5.1'
      pip list | grep opencv
      opencv-python 4.5.1.48
      ----------------------------
      Then once I uninstalled, opencv-python and reinstalled opencv-contrib-python, ONLY
      the error message vanished and face_recognition started working
      ----------------------------
      Successfully uninstalled opencv-python-4.5.1.48
      Successfully installed opencv-contrib-python-4.5.2.52
      python3 faces_train.py
      Training done ---------------

    • @lavanyaratna6697
      @lavanyaratna6697 3 ปีที่แล้ว

      @@sambathnarayananparthasara9403 thank you so much it worked for me....

  • @Shooter_Mc_Evan
    @Shooter_Mc_Evan ปีที่แล้ว

    I appreciate the tutorial. I'm almost 3/4 of the way through. I just wish there was more reasoning as to why you are learning all the transforms and filters.

    • @kevinwoodrobotics
      @kevinwoodrobotics ปีที่แล้ว

      A lot of times we filter images to either remove noise or extract features from it. We want to do this so computers can better understand what they are looking at. People can do the naturally without thinking, but computers need to be told exactly what to do. This can be used for various computer vision tasks such as tracking someone in a video, recognizing objects in a picture, or stitching together images to form a panoramic picture.

  • @filipkohout4704
    @filipkohout4704 3 หลายเดือนก่อน +5

    It's 7:05 AM right now and I just realized this video is in my search history, fully watched, over night.
    I don't remember watching this, like at all.

    • @JoeWarrington
      @JoeWarrington 2 หลายเดือนก่อน +2

      Hahahahahaha I’m in baso the same place as you mate the algorithm is fucked

  • @anilkumarp4448
    @anilkumarp4448 4 ปีที่แล้ว +1

    very useful for beginners and best presentation......

  • @qantum251
    @qantum251 3 ปีที่แล้ว +5

    3:09:05 a 110% "pretty sure there's an error somewhere" .... 3:39:15 "...definitely not the best model that we could've asked for..." this is learning the blind way, nothing replaces reading a good book, more cartesian, more precise.

    • @abhinavmishra9323
      @abhinavmishra9323 3 ปีที่แล้ว +3

      You mean that reading books are much better, please suggest a book then plz

    • @oussbo3010
      @oussbo3010 3 ปีที่แล้ว +1

      in arabic we have a proverb, make better or keep silent, I dont judge ur ability to do so but his work is great and I found it amazing , any books for suggestion!!!

  • @chinmayganguly457
    @chinmayganguly457 2 ปีที่แล้ว +1

    Hello, really grateful for this course, thank you so much. I am getting this error at 2:42:58-
    error: (-212:Parsing error) cv::XMLParser::parse in function 'haar_face.xml(1): Valid XML should start with '''
    how do i resolve this?

  • @chrisonicx5170
    @chrisonicx5170 3 ปีที่แล้ว +6

    thanks for the amazing lesson best opencv course ever!

  • @anirveshmangipudi8799
    @anirveshmangipudi8799 2 หลายเดือนก่อน +1

    What are the prerequisites to watch this video?
    Appreciate the help!

  • @isamuchild3587
    @isamuchild3587 3 ปีที่แล้ว +3

    I stucked an error at 3:30:00 and i surrendered to resolve. Finally, your Github resume back again together with "Fix Sklearn ImportError" which is inside simpsons.py then i follow the github to import sklearn.model_selection as skm and change x_train, x_val, y_train, y_val = caer.train_val_split(featureSet, labels, val_ratio=.2) to
    split_data = skm.train_test_split(featureSet, labels, test_size=.2)
    x_train, x_val, y_train, y_val = (np.array(item) for item in split_data)
    So far, I don't find error at all. Thanks a lot

  • @laurentlarose5687
    @laurentlarose5687 ปีที่แล้ว

    Big thank from France ! Really great job, you really help meand learn me a lot !

  • @geekyaman3842
    @geekyaman3842 4 ปีที่แล้ว +14

    WAS WAITING FOR THISSS!!!!!

    • @TheKing-ul5pw
      @TheKing-ul5pw 3 ปีที่แล้ว

      th-cam.com/video/uNSxrWCwUqQ/w-d-xo.html ..

  • @oledgaming8011
    @oledgaming8011 10 หลายเดือนก่อน +2

    pls make complete tutorial on people counting

  • @skipper2023
    @skipper2023 4 ปีที่แล้ว +3

    讲的非常详细, I like this video.

  • @radhasingh3549
    @radhasingh3549 2 ปีที่แล้ว

    I haven't even watched full video yet but still I really want to say "Thank You so much!!"

  • @frederiktoklenegard7255
    @frederiktoklenegard7255 4 ปีที่แล้ว +5

    What is the extension to display those short descriptions of the functions?

    • @Henk777ER
      @Henk777ER 4 ปีที่แล้ว

      Kite AI Code AutoComplete, I think

    • @itsbehnam
      @itsbehnam 3 ปีที่แล้ว

      You can use "help()" and pass in the function. for example "help(print)"
      Also, you can use "?? print" or any function you have in mind.

  • @mpakash2041
    @mpakash2041 2 ปีที่แล้ว +1

    3:24:13 - What is [0] [0] in plt.imshow(train[0][0], cmap='gray') line?

  • @ethanspitips5903
    @ethanspitips5903 3 ปีที่แล้ว +4

    Wow! More content in this than in my semester long Computer Vision course. Thanks!

  • @ege5383
    @ege5383 3 ปีที่แล้ว +1

    You are the best, thanks a lot, it helped a lot for my internship project.

  • @somethingnew4650
    @somethingnew4650 4 ปีที่แล้ว +4

    I've been waiting for this kind of tutorial here thank you

  • @NoOne-sy5fg
    @NoOne-sy5fg 2 ปีที่แล้ว

    uint is not datatype for images but it's a datatype that refers to ONLY positive numbers including zero and NOT negative numbers. it stands for unsigned integer.

  • @h.vats_
    @h.vats_ 3 ปีที่แล้ว +37

    The tutorial is great. Everything is explained in a great way. The only thing that I felt could be improved is by using some constants instead of just writing them again and again like you did in draw.py. You could've specified constant like STARTING_POINT, ENDING_POINT, COLOR and many more which would've made the code much more readable and could've also reduced the tutorial length. I would be making a pull request for this soon. Thank you for this amazing tutorial :)

    • @bubbelut
      @bubbelut 2 ปีที่แล้ว +1

      If you are using intellisense, it will also pop up what each parameter is! But yeah I agree, magic numbers are never good

  • @manishbolbanda9872
    @manishbolbanda9872 3 ปีที่แล้ว +1

    content is gold for one who is beginner in CV. with this tutorial i gor familiar with all the basic stuff.Thanks for the tut Jason

  • @sumithbhat
    @sumithbhat 4 ปีที่แล้ว +84

    I voted for this! Yayy!!!

  • @kiranchowdary8100
    @kiranchowdary8100 4 ปีที่แล้ว +2

    at 17:52 the inbuilt dimesional format was (height,width) but when u gave it as parameter to resize why did u give (width,height) ?

    • @jasmcaus
      @jasmcaus 4 ปีที่แล้ว +1

      Opencv internally uses the (height,width) format, but in cv.resize(), it uses (width,height). A bit confusing, but it does the job. You might want to consider the Caer library additionally. It extends on OpenCV with modern best practices. Cheers :)

  • @JamesJohnAgar
    @JamesJohnAgar 4 ปีที่แล้ว +9

    How close is this to the technology to the large scale commercial organsations are using such as Facebook, Apple etc? What percentage are the commercial organisations getting when they run their image identification systems?

    • @joelapin953
      @joelapin953 3 ปีที่แล้ว +1

      th-cam.com/video/GnnFy0uFe3E/w-d-xo.html

  • @EchoPulseX
    @EchoPulseX หลายเดือนก่อน

    Nice!! Keep up the good stuff!

  • @vambylamby83
    @vambylamby83 ปีที่แล้ว +3

    Warning, the Simpsons deep learning part is having some difficulties as decay and learning rate are deprecated in Keras 2.3 above, might need to find a new way to overcome it.

    • @Shekleer
      @Shekleer ปีที่แล้ว

      Did you find the solution? Hit if you do, thx