by richard777 » Sat Mar 12, 2016 11:06 am
You just have two threads. One runs just getting frames (so it completes in time to keep up with 30fps). The second thread takes a frame from a shared buffer as and when it can, at a slower rate, to do the tracking processing.
Works a treat with the £5 usb EasyCap video capture device
Please can you let us know which USB device you bought or at least the chipset inside - I am fairly sure they are not all the same.
Also, are you able to share any of the code used?
I am thinking of implementing a wireless reversing camera in my car. I already have the camera so capturing the video on one Rpi (hopefully Zero) and transmit it a few metres to another to display. Anyone done that if not any suggestions welcome.