Improved colour detection performance(removed 2nd and 3rd most dominant colour calculation)