« Participating in EU Robotics Week! | New video demonstrating Lucas Kanade Optical Flow tracking and Disparity Mapping ! » |
Skipping frames to improve cpu usage / power consumption
I Just added a frame processing skipper for when there are no changes on the frames (after a very quick check implemented here ) and therefore computation of faces , corners , RANSAC tracking and depth mapping has no meaning ( because the image remains almost 99% the same )
I will have to add some cooldowns ( i.e. 1 mandatory recalculation after 2000 milliseconds of skipping )
In the graph you can visually see when the skipping occurs and when normal processing takes place..
This Behaviour is switched with VisCortx_SetSetting(USE_MOVEMENT_FLOW_FOR_CALCULATION_SKIPPING,1 or 0 )
github commit : https://github.com/AmmarkoV/RoboVision/commit/cb69d0453e215a8766cfd840109fbfbfeffc7158