on_cast opencv check_self
