[−][src]Struct opencv::tracking::TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
Implementation of the target state for TrackerAdaBoostingTargetState
Implementations
impl TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[src]
pub fn as_raw_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
&self
) -> *const c_void
[src]
&self
) -> *const c_void
pub fn as_raw_mut_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
&mut self
) -> *mut c_void
[src]
&mut self
) -> *mut c_void
impl TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[src]
pub fn new(
position: Point2f,
width: i32,
height: i32,
foreground: bool,
responses: &Mat
) -> Result<TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState>
[src]
position: Point2f,
width: i32,
height: i32,
foreground: bool,
responses: &Mat
) -> Result<TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState>
\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 responses list of features
Trait Implementations
impl Boxed for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[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 TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[src]
impl Send for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[src]
impl TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetStateTrait for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[src]
fn as_raw_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
&self
) -> *const c_void
[src]
&self
) -> *const c_void
fn as_raw_mut_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
&mut self
) -> *mut c_void
[src]
&mut self
) -> *mut c_void
fn set_target_responses(&mut self, responses: &Mat) -> Result<()>
[src]
fn set_target_fg(&mut self, foreground: bool) -> Result<()>
[src]
fn get_target_responses(&self) -> Result<Mat>
[src]
fn is_target_fg(&self) -> Result<bool>
[src]
impl TrackerTargetStateTrait for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
[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 TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
impl !Sync for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
impl Unpin for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
impl UnwindSafe for TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState
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>,