Speed up queryFrame/imencode
Hey guys,
i am writing a programm that takes a picture, encodes it to jpg and sends it over network. This should work as fast as possible. I examined my program and found out that queryFrame needs around 80ms (hd picture with 1280x720) and imencode around 50ms. Is there any way to speed up this functions ? I read about the Cuda possibility but i dont have a Nvidia graphic card.
i tried png as encoding alternative but that takes even longer than jpg
JPEG is the only way of encoding fast but it gets you quite a big loss in quality. As to speeding up, did you built openCV with TBB capability?