Improved algorithm for shirt colour matching