1 | initial version |
You need to retrieve the source code of your program, go to the line of code that calls the command waitKey('intValue') and change the internal value to an amount of milliseconds you want to perform a wait.
However, be aware that this waiting is mostly to give the window the change to call its internal repaint method, in order to visualize everything correctly. Probably the cause of your slower framerate is either
I do not believe that waitKey, which has mostly a value of like 30 milliseconds, would be the bad guy here.