Ask Your Question

Revision history [back]

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