use of cvutil in photo_check