AI for Everyone LESSON 12: Understanding the HSV Color Space

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 81

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

    Watching your educational/chat morning show makes my day so much better. Thanks Paul. Excellent video.

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

    Thanks sir I believe the content u make deserves 100Milion Likes I hope humanity one day starts to believe that these contents change the future of people in technology poor countries and those change the world

  • @leeg.1402
    @leeg.1402 3 роки тому +1

    Thanks for the great lesson, Paul. Will have to watch it again to fully grasp what you're showing us (hard to concentrate during premiere with chat going). But great stuff!! 👍🏻

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

    folded up like a cheap walmart lawn chair ☹. It was quite difficult, all this HSV stuff 😵‍💫😵‍💫. Thanks Paul for these lessons! 😀

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

    The matrices were so heavy they broke down my cheap lawn chair. I watched Lesson 7 again and thought I understood this stuff, but sadly I was wrong. Next step is to watch your next lesson and hope it makes me a little smarter. Thanks for teaching us this interesting material Paul.

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

    This video cleared a big confusion of mine. Thanks a lot for a great course 🙏

  • @Sean-lv8kh
    @Sean-lv8kh 3 роки тому +1

    I am Legend , Paul boss I do enjoy the way you teach.

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

    What a fantastic explanation of HSV! Thank you!

  • @aman-sood
    @aman-sood 2 роки тому +3

    Hello Paul,
    I seem to be having the same problem many other students have been having, when we convert BGR to HSV colour space it messes up the colours and gives a really weird image. Why does this happen?

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

    Sadly, with this lesson, I've been 'Walmarted'. I followed exactly and everything worked, then when we converted to HSV the colors were completely off e.g. a white background gave a bright red window; green would give black or brown. As far as I could determine the numbers matched the color of the wee window. I decided to start again from scratch and had the same result. I hunted for a syntax error but could not find any. What am I doing wrong?

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

      I have the same problem after I followed Pauls lesson and typed in exactly the same code. cv2.imshow still interprets as if it was BGR color space. I didn't start the homework , since I figured I would run into the same problem. Google doesn't show anything useful. So far I have no idea

    • @aman-sood
      @aman-sood 2 роки тому +1

      guys I have the same problem. what it does is, is gave H (hue) the value of blue, S (saturation) is given the value green and value is given red value's which causes this to break.

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

      I'm having the same problem. Did any of you all figure this out?

  • @bosshogg8621
    @bosshogg8621 2 роки тому +2

    When we display x with imshow how does python know if your tuples represent BRG or HSV? Mine seems to assume RGB because the displayed color is wrong. EDIT: I see that others are having the same issue. I’ll just move on and hope that the answers are in the next video.

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

    I seem to have a problem with line 33. When I click on the frame the hue value is correct but the color in 'Color Picker' is wrong. Replace the ' y' with 'frame', then hue value looks wrong but color in 'Color Picker' is correct. Excellent lesson with a lot to absorb.

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

      I also had this problem, and found a solution ! you should ask yourself what does the cv2.imshow need as format to function correctly.

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

      @@omegalande I asked myself that question but couldn't come up with an answer. If you are able to advise how you worked it out, that would be very much appreciated.

    • @neilausten9404
      @neilausten9404 2 роки тому +2

      Yes I see now. Convert x back to BGR for imshow and colors become correct for viewing.

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

    I learned a lot about colors.

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

    Great Lesson!

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

    i ike ur good explanations and your constintancy . keep doing your super good work

  • @AchWa93-maroc
    @AchWa93-maroc 9 місяців тому

    You should show us how you make that delicious black iced coffee!🙂🙏

  • @alfredcalleja450
    @alfredcalleja450 8 місяців тому

    Hi Paul, after 2 days of agony, I folded like a limp piece of spaghetti. I'm moving onto your next video to find out why I am such a weasel.

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

    I'm stumped on one thing. Once x=clr and clr is in HSV form, how can imshow of x still look right hue in 'Color Picker' in your example?

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

    For some reason I am getting the correct HSV value but the colorin my color picker frame is the BGR value of the number gotten from HSV, why is this?

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

    Why did you end at 179 and not 180?

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

      180 and zero would be the same. It wraps around.

  • @polito-yd8fp
    @polito-yd8fp Рік тому

    Bush Pole, I've now known where to place the set function

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

    This lesson kicked my cheap walmart lawnchair all over the yard. I'll be looking for the answers in the next lesson. Looks like I was in good company of those walmart lawnchairs of most of the rest of your followers.

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

    Great Class Thanks!!!

  • @leeg.1402
    @leeg.1402 3 роки тому

    I folded up like a cheap Walmart lawn chair on this one. These "old" brain cells just weren't functioning!

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

    The white balance is crazy off on my camera (the same one your are using), I am think my room lighting is part this problem.

  • @Eng.Ali13
    @Eng.Ali13 3 роки тому

    Thank you my master

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

    Folded up, like a cheap Walmart lawn chair 😔 It nearly crushed me like a bug as well 🐛🐞🤕

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

      Yes the evening is still young. You still have a few hours to figure it out.

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

      @@paulmcwhorter Nope 🙅🏻 I'm afraid I have no time left, as soon as I get home from work the solution plays 🤷
      I'm looking forward to it 👍

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

      Lets see, I have known people do a lot worse at work than try to program up a HSV color space at work. Just have a spreadsheet open and minimized and then if you hear the boss walking up, then you pop open the spreadsheet full screen

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

    Hey! I need some help deciding what stuff i am going to get. After this course and the 3d one i am thinking of getting a jetson nano.
    1. Is the jetson worth it if I have a monster pc and this course?
    2. What jetson should i get (2gb/4gb)
    3. Should i take the new or the old nano course?
    Also does any one know if the tello dji drone works with opencv? Thinking of geting one of those to.
    Great video! This is facinating!

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

      With the Jetson nano you have GPIO pins, which allow you to connect to sensors and actuators. Opens a whole new world of possibilities

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

      @@paulmcwhorter Ordering one soon

  • @Princess-rw7ic
    @Princess-rw7ic Місяць тому

    For the ones having trouble:
    You should convert x from HSV to BGR.

  • @LiamAllbright
    @LiamAllbright 4 місяці тому

    Make Ice Black Coffee tutorial.

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

    i have this strange error when i click on the right side of the frame "IndexError: index 540 is out of bounds for axis 0 with size 480" If someone knows anything please help

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

      Perhaps in y=cv2.cvtColor(frame,cv2.COLOR_BGR2HSV) you are passing x instead of frame.

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

    Folded like a cheap lawn chair, my HSV colors do not correlate with the colors on my camera window frame, they seem to be the opposite. ?

  • @For_the-love_of_physics
    @For_the-love_of_physics 3 роки тому

    I can't import (from PyQt5.Qtcore import QTimer , QTime , QDate , Qt)
    Also I'm getting a error from QThread.
    class MainThread(QThread):
    def __init__(self):
    super (MainThread, self).__init__()
    ("QThread" is not defined)
    Sir do you have any solution for it
    😭😭

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

    Yes! Legend on Linux.

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

    I am not quite a LEGEND. I forgot to convert the image back into BGR color. Ref: ua-cam.com/video/zOkywU16-Z0/v-deo.html

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

    Sir can you make AI like in python Jarvis that speak and listen our voice

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

    do you teach c++?

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

    Got it

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

    What? No magic word?

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

      Yes, forgot. I got so wrapped up in trying to explain the assignment, I had one but forgot to give it. Next lesson, I promise

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

    where is the secret ward??? 😅😅

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

    you are a egend. keep doing r great work

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

    Hi prof, I noticed that if I do not convert the image back to BGR before passing it into imshow I do not get the correct color... here is my solution: ua-cam.com/video/EEkO310Rq_w/v-deo.html

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

    i am legend

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

    first!