Cloth recognition app based c/s structure