Code Monkey home page Code Monkey logo

Comments (6)

abhiTronix avatar abhiTronix commented on May 18, 2024

@SaddamBInSyed

  1. To get things started first throughly read NetGear API Wiki which designed to transfer video frames & data synchronously (Pair & Client/Server) as well as asynchronously (Publish/Subscribe) between various interconnecting systems over the network in real-time ZMQ messaging system.
  2. Since New features are as of now haven't available through pypi, therefore, you have to clone and install latest Vidgear as follows:
git clone https://github.com/abhiTronix/vidgear.git
cd vidgear
git checkout testing
sudo pip3 install .
cd
  1. Then, You can use VidGear's exclusive Multi-Server-Mode exclusive designed for NetGear API, for robustly handling Multiple Servers at once, through exclusive Publish/Subscribe (zmq.PUB/zmq.SUB) messaging pattern, thereby providing access to seamless Live Streams across the various device in a network at the same time.

Finally, if something doesn't work for you, report me here. Good luck!

from vidgear.

abhiTronix avatar abhiTronix commented on May 18, 2024

@SaddamBInSyed Closing this issue and marked solved. Feel free to reopen if this solution doesn't work for you.

from vidgear.

SaddamBInSyed avatar SaddamBInSyed commented on May 18, 2024

@abhiTronix ,

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.
So I would like your advice here to use your library in the below requirement.

image

from vidgear.

abhiTronix avatar abhiTronix commented on May 18, 2024

@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.

from vidgear.

SaddamBInSyed avatar SaddamBInSyed commented on May 18, 2024

@abhiTronix .

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,

from vidgear.

abhiTronix avatar abhiTronix commented on May 18, 2024

@SaddamBInSyed , VidGear can handle any stream or any number of streams you can think of, it is designed for performance video processing.

Also, If add camera request comes from the Client then I want to start a separate process to process the IP camera stream.

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.

if i use multithreading here Will not be slow down the performance of the server (single process).?

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.

Is there any sample code for Vidgear to process multiple camera streams?

Yep, it's pretty easy. See this example code in my comment, also everything runs synchronized as well. Goodluck

from vidgear.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.