Control your Webcam with Python - OpenCV Beginners Tutorial #4

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

КОМЕНТАРІ • 15

  • @souravbarua3991
    @souravbarua3991 5 місяців тому

    Thank you for this. Nice explanation. Much needed this for my project.

  • @georgeseese
    @georgeseese 9 місяців тому

    Thanks for your videos. (1) Do you have tips for beginner playing the mp4 file in Visual Studio or pycharm? I got it to work in pycharm but I'm not sure how. (2) You don't mention audio. Using your code, the playback does not have sound. Is that expected at this point? Are there other openCV options for audio, or from what I see elsewhere, a separate audio file is needed?

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

    Thank you .. very nice content.. keep going ..

  • @a.a.patrick
    @a.a.patrick 7 місяців тому

    Good one!
    Let me ask,
    In Linux, using V4L2 library it allows me to perform search of cameras in the USB independent of opencv, the return list is then pass to the opencv as a string.
    The string name for each camera description is available for user select in dropdown menu.
    When any string selected, I used opencv to filtered and retrieve the the camera ID. (0,1,23...). and pass it to opencv to open the camera.
    I have been search how to implement this in window but no success, this will require dos cmd.
    Do know how it can be done, maybe looking for camera from dos cmd?

  • @smainlounici
    @smainlounici 10 місяців тому

    hi sam is there anyway one can use another calera (other than the webcam) that is on a USB port? what is the call code for it?

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

    Says cv2 has no attribute VideoCapture i have never been able to get a web cam going on a pi thanks for any help.

  • @richardpochmara5448
    @richardpochmara5448 10 місяців тому

    I'm getting the No more stream message. I have checked the code and everything looks ok my raspberry pi 4 see's my camera but I get no Video

  • @richardpochmara5448
    @richardpochmara5448 10 місяців тому

    I have an error message NameError: name 'stream' is not defined. What do I do to fix this.

  • @Hathom-q1m
    @Hathom-q1m Рік тому

    That doesn't work, help me, the terminal said "no module named 'cv2'

  • @anirudhhegde9378
    @anirudhhegde9378 Місяць тому

    I want control backcam using python

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

    I had an issue with no window being opened on my rapsberry pi and not returning any values. I use vnc viewer and a pi camera. Any way I can fix this?

    • @pplg-yt
      @pplg-yt Рік тому

      Not sure if you are referring to that, but I had a similar problem and it appears to be that, for whatever reason, the VNC viewer does not show the image but it is in fact displayed over the HDMI signal...

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

    Is it possible to use pycharm instead of visual studio?

    • @georgeseese
      @georgeseese 9 місяців тому

      yes; however I could not get 4_stream.mp4 toplay in either.

    • @georgeseese
      @georgeseese 9 місяців тому

      I got the stream to work in pycharm, to open the mp4 file as Sam does @10:05. no sound.