Ball Detection

From Control Systems Technology Group
Revision as of 12:09, 27 March 2016 by Nhernand (talk | contribs) (Created page with '==Design Choice== <p> Vision based ball detection was almost a given if we take into account the fact that we are searching for non-tracking or invasive method. Nevertheless, sev…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Design Choice

Vision based ball detection was almost a given if we take into account the fact that we are searching for non-tracking or invasive method. Nevertheless, several methods were researched and compared:


Methods ball detection.jpg


The final design choice was to use the color detection method and it was made based on the amount of previous experience, non-invasive, robustness and easy to implement criteria.

Methodology

Color detection methods are based on removing pixels that do not pass a certain pre-defined color threshold. Thus, filtering will output an image with only the color based pixels we are looking for. From that point onwards, matching and selecting the object becomes the main concern. For selecting the ball candidate, a circular shape matching will be used taking into account that a ball will be seen as a circle from all perspectives, assuming there is no occlusion.

The whole detection process can be divided into two main parts:

  1. Color based filtering
  2. Circular shape matching