add some metods of opencv