A Method and System of Smart Dressing