cv_rect to float_rect