-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processing(opencv) and Streaming multiple IPCamera to the Client #60
Comments
git clone https://github.com/abhiTronix/vidgear.git
cd vidgear
git checkout testing
sudo pip3 install .
cd
Finally, if something doesn't work for you, report me here. Good luck! |
@SaddamBInSyed Closing this issue and marked solved. Feel free to reopen if this solution doesn't work for you. |
Thank you so much for your response. I carefully followed your instructions and output was a success. I am building a home surveillance security system where many IP cameras used. |
@SaddamBInSyed Are all cameras connected directly/physically(i.e. directly by wire) to your local server(i.e. your Jatson Nano) or they are connected to your nano wirelessly? Also, VidGear processes each Video stream separately and optimizes performance via multi-threading, so no problem there. |
Yes, all are IP cameras connected with the POE switch. Also, If add camera request comes from the Client then I want to start a separate process to process the IP camera stream. if i use multithreading here Will not be slow down the performance of the server (single process).? Is there any sample code for Vidgear to process multiple camera streams? Thank you, |
@SaddamBInSyed , VidGear can handle any stream or any number of streams you can think of, it is designed for performance video processing.
Yes, you have to add a few lines of code for every new video stream, it can be easily done by Secure shell a.k.a. SSH into your local server.
Multithreading is a leader when it comes down to performance on separate single process a.k.a threads as long as each thread don't interfere with each other. VidGear takes care that these threads are kept separated as far as possible with the help of performance queues a.k.a deques. So there won't be any performance issue if you're not running multiple instances of the same thread or interfering with any VidGear employed video stream with another python script.
Yep, it's pretty easy. See this example code in my comment, also everything runs synchronized as well. Goodluck |
Since I am new to this library, I want someone to help/advise me about How to stream and do process(e.g: detect a face, motion detection etc) the connected multiple IP cameras videos to the web client?
Your Environment
Please help
The text was updated successfully, but these errors were encountered: