Color detection

Added by Pawel Zaborny 8 days ago

Colour detection program is now able to find eg. tennis ball in a room and shows it's position and size. I made some changes to increase performance and now its has max and constant value of 30fps all the time on PC. I also changed a way how program capture centre of ball. Now it tries to find minimal bounding rectangle then counts centre of that rectangle. Instead of trying to use openCV "moments" function. This changes caused that program is more resistant for errors caused by smaller objects with similar colour and can capture more remote objects. There are required only few changes in code.