Thursday, April 26, 2012

:: Chasso and Julio are working simultaneously! ::

Finally we have a breakthrough on a problem that has importunate us for several weeks, the performance issue on having Chasso and Julio robots turned on at the same time. We couldn't have performance to show both videos at the same time and having an acceptable user interface response from the screen controls (in Maria's console App).

After rewriting the algorithm, we took off the timers for image processing and put all tasks regarding the UI on the "Form Shown" event of the main form of the application. Doing this, we maintain a loop that is repeating the update of the user interface, therefore not having any latency during video processing. This is also better in terms of taking advantage of a better CPU. The disadvantage is that the CPU usage is always on a very high limit, but with the video process and live face detection/recognition this is a high resource consuming application. But at least, everything is working and the performance with only one robot at a time is very acceptable, processing at least 2 video frames per second.

On the software front, the next steps are:
  • Try to have Chasso to turn the degrees defined by us (not the ones he wants :) );
  • Try to have a precise estimation on distance traveled by Chasso, according to the time if moved;
  • Implement the full layout of Maria Console.