Computer vision system for wear analysis