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
Very great.... You provide very nice and useful information, thank you very, very much
Glad it was helpful!
Ma'am you just have every answers for my questions.... thank you
Great stuff Aarohi. Please continue more embedded device topics in Computer Vision
Thanks and Sure, I will post more videos related to this
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
Thank you so much mam... all your videos are so helpful and it is very clear to the point...
Glad to hear that
Great video, thank you very much for this knowledge.
Glad it was helpful!
Keep it up👍👍
I will try my best
Another good video. Great series !
Thanks again!
Thanks!
Welcome
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
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
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.
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.
I have used IMOU 360° camera.
Some common RTSP address formats include:
rtsp://[username]:[password]@[camera IP]:[port]/stream
rtsp://[camera IP]:[port]/live
Great tutorial. BTW, where can I download the python examples you started with?
github.com/AarohiSingla/python_examples
Where is your GStreamer lecture you mentioned? Can you share a link? Thanks for this series!
Hi, I haven't made that yet.
Hi, Aarohi, nice job and thank you so much. J.W Huang@Taiwan
Glad it was helpful 🙂
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 ?
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.
You can download any image or video from internet and test on them.
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
Check the path of the video. And if it is fine then check the file extension
@@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.
Bildiğin virtual environmenta opencv kurmanla övünüyosun, hiçbi işe yaramıyo ki yaptığın
bro i wasted my 20 days following ur vids ..for real it didnt work out at all.. just errors and errors
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
/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.
Did you solve this problem?
@abdullahmemon6908 did you find a solution?