[−][src]Struct opencv::tracking::TrackerFeatureHAAR
TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms
Note: HAAR features implementation is copied from apps/traincascade and modified according to MIL
Implementations
impl TrackerFeatureHAAR
[src]
pub fn as_raw_TrackerFeatureHAAR(&self) -> *const c_void
[src]
pub fn as_raw_mut_TrackerFeatureHAAR(&mut self) -> *mut c_void
[src]
impl TrackerFeatureHAAR
[src]
pub fn new(parameters: &TrackerFeatureHAAR_Params) -> Result<TrackerFeatureHAAR>
[src]
Constructor
Parameters
- parameters: TrackerFeatureHAAR parameters TrackerFeatureHAAR::Params
C++ default parameters
- parameters: TrackerFeatureHAAR::Params()
Trait Implementations
impl Boxed for TrackerFeatureHAAR
[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 TrackerFeatureHAAR
[src]
impl Send for TrackerFeatureHAAR
[src]
impl TrackerFeature for TrackerFeatureHAAR
[src]
fn as_raw_TrackerFeature(&self) -> *const c_void
[src]
fn as_raw_mut_TrackerFeature(&mut self) -> *mut c_void
[src]
fn compute(&mut self, images: &Vector<Mat>, response: &mut Mat) -> Result<()>
[src]
fn selection(&mut self, response: &mut Mat, npoints: i32) -> Result<()>
[src]
fn get_class_name(&self) -> Result<String>
[src]
impl TrackerFeatureHAARTrait for TrackerFeatureHAAR
[src]
fn as_raw_TrackerFeatureHAAR(&self) -> *const c_void
[src]
fn as_raw_mut_TrackerFeatureHAAR(&mut self) -> *mut c_void
[src]
fn extract_selected(
&mut self,
sel_features: Vector<i32>,
images: &Vector<Mat>,
response: &mut Mat
) -> Result<bool>
[src]
&mut self,
sel_features: Vector<i32>,
images: &Vector<Mat>,
response: &mut Mat
) -> Result<bool>
fn selection(&mut self, response: &mut Mat, npoints: i32) -> Result<()>
[src]
fn swap_feature(&mut self, source: i32, target: i32) -> Result<bool>
[src]
fn swap_feature_1(
&mut self,
id: i32,
feature: &mut CvHaarEvaluator_FeatureHaar
) -> Result<bool>
[src]
&mut self,
id: i32,
feature: &mut CvHaarEvaluator_FeatureHaar
) -> Result<bool>
fn get_feature_at(&mut self, id: i32) -> Result<CvHaarEvaluator_FeatureHaar>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrackerFeatureHAAR
impl !Sync for TrackerFeatureHAAR
impl Unpin for TrackerFeatureHAAR
impl UnwindSafe for TrackerFeatureHAAR
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>,