Painting recognition with smartphones equipped with inertial measurement unit