L-4 Use OpenCV with CSI Camera, USB Camera and RTSP streams

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • In this video, I have explained How to use OpenCV with Images, CSI Camera, USB Camera and RTSP streams. OpenCV is the most popular computer vision library in the world.
    GIthub: github.com/Aar...
    Learn How to stream and play videos through a python code. The emergence of OpenCV has made Python a popular programming language for vision systems for inspection, people counting, medical image analysis, etc.
    *******************************************************************************************
    For queries: You can comment in comment section or you can mail me at aarohisingla1987@gmail.com
    *********************************************************************************************
    Python is one of the most common programming languages used by developers across various domains and is gaining more and more popularity every day. It has especially become popular for developing image processing applications due to the emergence of OpenCV - a widely used library to help develop computer vision-oriented applications. These include systems for inspection and surveillance, people/vehicle counting, object detection, medical image analysis, etc.
    OpenCV had earlier supported C/C++. But today it is known for leveraging Python to ensure ease of application development

КОМЕНТАРІ • 40

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

    Very great.... You provide very nice and useful information, thank you very, very much

  • @user-rf6xu6qy8p
    @user-rf6xu6qy8p 3 місяці тому

    Ma'am you just have every answers for my questions.... thank you

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

    Great stuff Aarohi. Please continue more embedded device topics in Computer Vision

    • @CodeWithAarohi
      @CodeWithAarohi  Рік тому +2

      Thanks and Sure, I will post more videos related to this

  • @abdullahmemon6908
    @abdullahmemon6908 7 місяців тому +2

    Whenever I 3rd one code for CSI camera, I got"CSI Camera ready false" message at linux terminal.i also tested CSI camera using ls /dev/video0 command, there it is showing.what to do, kindly help

  • @ShittheswaranSelvakumar
    @ShittheswaranSelvakumar 11 місяців тому

    Thank you so much mam... all your videos are so helpful and it is very clear to the point...

  • @AryanKumar-fz2dm
    @AryanKumar-fz2dm Рік тому

    Great video, thank you very much for this knowledge.

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

    Keep it up👍👍

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

    Another good video. Great series !

  • @oshawaabe5996
    @oshawaabe5996 Рік тому +2

    Thanks!

  • @user-dk8de9io7v
    @user-dk8de9io7v 3 місяці тому

    4.5.1
    Traceback (most recent call last):
    File "1_testing_opencv.py", line 5, in
    cv2.imshow("Output",img)
    cv2.error: OpenCV(4.5.1) /home/shan/opencv/modules/highgui/src/window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'
    i did everythin you said, i changed 4.1.1 to 4.5.1 but script is not running , it throws above error

  • @MarcoAntonio-wd2vp
    @MarcoAntonio-wd2vp Рік тому +1

    Hello, make a fruit recognition code, which gives me an error when executing the code, do you know how to fix it? libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast
    X Error of failed request: GLXBadContext
    Major opcode of failed request: 154 (GLX)
    Minor opcode of failed request: 6 (X_GLXIsDirect)
    Serial number of failed request: 43
    Current serial number in output stream: 42

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

      I don't know much but this error usually occurs when there is an issue with the OpenGL configuration on your system or a problem with the graphics drivers.

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

    All your video has been verify helpful and time savings. Many gratitude for your work. What RTSP camera did you use for RTSP streaming? How do I find my RTSP address? Thanks again.

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

      I have used IMOU 360° camera.
      Some common RTSP address formats include:
      rtsp://[username]:[password]@[camera IP]:[port]/stream
      rtsp://[camera IP]:[port]/live

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

    Great tutorial. BTW, where can I download the python examples you started with?

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

    Where is your GStreamer lecture you mentioned? Can you share a link? Thanks for this series!

  • @user-is5vn8ie5v
    @user-is5vn8ie5v Рік тому

    Hi, Aarohi, nice job and thank you so much. J.W Huang@Taiwan

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

    I want to use gst-launch-1.0 or rtsp within Python3 to pipe openCV image stream output to a listening RTSP server. Can you use the cv2.VideoCapture as a parameter within the streamer pipeline ? Here it seems like rtspsrc is receiving an external stream. I want to send it out. Can you suggest an alternative based on the approach you present here, just the other way around ?

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

    When testing the OpenCV, there is a reference to a picture in Assets folder. However, there is no such folder in your files on Github. I used the test_img.jpg on the root. Also, the Dog.mp4 is missing.

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

      You can download any image or video from internet and test on them.

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

    Maam whenever I try "ls /dev/video*" it gives out an error "No such directory or file exists", can you guide me a little on how to resolve it, i'm trying to connect RaspberryPi 3B+ Ribbon Camera with Jetson Nano

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

      Check the path of the video. And if it is fine then check the file extension

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

      @@CodeWithAarohi i checked it although camera is connected properly it still does not show up in "/dev" , i have upgraded my L4T from 18 .04 to 20.04.

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

    Bildiğin virtual environmenta opencv kurmanla övünüyosun, hiçbi işe yaramıyo ki yaptığın

  • @ankitmeshram7070
    @ankitmeshram7070 12 днів тому

    bro i wasted my 20 days following ur vids ..for real it didnt work out at all.. just errors and errors

  • @abdullahmemon6908
    @abdullahmemon6908 7 місяців тому +1

    Whenever I try 3rd one code for CSI camera, I got"CSI Camera ready false" message at linux terminal.i also tested CSI camera using ls /dev/video0 command, there it is showing.what to do, kindly help

    • @CodeWithAarohi
      @CodeWithAarohi  6 місяців тому

      /dev/video0 tells that the camera is recognized by the system but there may be an issue with software or driver configuration that preventing it from getting accessed correctly.

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

      Did you solve this problem?

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

      @abdullahmemon6908 did you find a solution?