Quote:
Originally Posted by AlexanderTheOK
While I personally have used mjpg-streamer for some other projects, I've never used it to serve images from opencv. my preferred method has been this copy pasted and cut up to be used as it's own module. Might be interesting to see if there are any performance differences between doing it yourself and going through mjpg-streamer.
|
The code you linked to is fairly inefficient in a couple of different ways (in particular, it doesn't reuse image buffers), so I'm sure out of the box the mjpg-streamer would beat the pants out of it, particularly if you ran it on a RoboRIO.
After optimization, I suspect the mjpg-streamer version would still end up winning.