Specs: RPi 2, not overclocked, did rpi-upgrade, using ssh to run vnc on laptop.
I've got a face tracking algorithm that is working fine on the Pi (and my PC). Problem is it has a lag of about 2 seconds on the Pi which is workable but not great. I'm running the program out of the lxterminal via python (2).
When the program is running, /sudo top shows the program using 99.2% CPU and the percentage on the top right shows 25%.
Ram usage via /free shows a usage of 229/927MB when the program is on and 192/927MB when the program is off.
Is there some way I can speed it up?