[−][src]Struct opencv::tracking::TrackerStateEstimatorMILBoosting_TrackerMILTargetState
Implementation of the target state for TrackerStateEstimatorMILBoosting
Implementations
impl TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
pub fn as_raw_TrackerStateEstimatorMILBoosting_TrackerMILTargetState(
&self
) -> *const c_void
[src]
&self
) -> *const c_void
pub fn as_raw_mut_TrackerStateEstimatorMILBoosting_TrackerMILTargetState(
&mut self
) -> *mut c_void
[src]
&mut self
) -> *mut c_void
impl TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
pub fn new(
position: Point2f,
width: i32,
height: i32,
foreground: bool,
features: &Mat
) -> Result<TrackerStateEstimatorMILBoosting_TrackerMILTargetState>
[src]
position: Point2f,
width: i32,
height: i32,
foreground: bool,
features: &Mat
) -> Result<TrackerStateEstimatorMILBoosting_TrackerMILTargetState>
\brief Constructor \param position Top left corner of the bounding box \param width Width of the bounding box \param height Height of the bounding box \param foreground label for target or background \param features features extracted
Trait Implementations
impl Boxed for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
impl Send for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
impl TrackerStateEstimatorMILBoosting_TrackerMILTargetStateTrait for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
fn as_raw_TrackerStateEstimatorMILBoosting_TrackerMILTargetState(
&self
) -> *const c_void
[src]
&self
) -> *const c_void
fn as_raw_mut_TrackerStateEstimatorMILBoosting_TrackerMILTargetState(
&mut self
) -> *mut c_void
[src]
&mut self
) -> *mut c_void
fn set_target_fg(&mut self, foreground: bool) -> Result<()>
[src]
fn set_features(&mut self, features: &Mat) -> Result<()>
[src]
fn is_target_fg(&self) -> Result<bool>
[src]
fn get_features(&self) -> Result<Mat>
[src]
impl TrackerTargetStateTrait for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
[src]
fn as_raw_TrackerTargetState(&self) -> *const c_void
[src]
fn as_raw_mut_TrackerTargetState(&mut self) -> *mut c_void
[src]
fn get_target_position(&self) -> Result<Point2f>
[src]
fn set_target_position(&mut self, position: Point2f) -> Result<()>
[src]
fn get_target_width(&self) -> Result<i32>
[src]
fn set_target_width(&mut self, width: i32) -> Result<()>
[src]
fn get_target_height(&self) -> Result<i32>
[src]
fn set_target_height(&mut self, height: i32) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
impl !Sync for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
impl Unpin for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
impl UnwindSafe for TrackerStateEstimatorMILBoosting_TrackerMILTargetState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,