pub struct TrackerKCF { /* private fields */ }
Expand description
the KCF (Kernelized Correlation Filter) tracker
- KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed.
- This tracking method is an implementation of KCF_ECCV which is extended to KCF with color-names features (KCF_CN).
- The original paper of KCF is available at http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf
- as well as the matlab implementation. For more information about KCF with color-names features, please refer to
- http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html.
Implementations§
Source§impl TrackerKCF
impl TrackerKCF
Sourcepub fn create(parameters: TrackerKCF_Params) -> Result<Ptr<TrackerKCF>>
pub fn create(parameters: TrackerKCF_Params) -> Result<Ptr<TrackerKCF>>
Sourcepub fn create_def() -> Result<Ptr<TrackerKCF>>
pub fn create_def() -> Result<Ptr<TrackerKCF>>
Create KCF tracker instance
§Parameters
- parameters: KCF parameters TrackerKCF::Params
§Note
This alternative version of TrackerKCF::create function uses the following default values for its arguments:
- parameters: TrackerKCF::Params()
Trait Implementations§
Source§impl Boxed for TrackerKCF
impl Boxed for TrackerKCF
Source§unsafe fn from_raw(ptr: <TrackerKCF as OpenCVFromExtern>::ExternReceive) -> Self
unsafe fn from_raw(ptr: <TrackerKCF as OpenCVFromExtern>::ExternReceive) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(self) -> <TrackerKCF as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <TrackerKCF as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(&self) -> <TrackerKCF as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <TrackerKCF as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <TrackerKCF as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <TrackerKCF as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for TrackerKCF
impl Debug for TrackerKCF
Source§impl Drop for TrackerKCF
impl Drop for TrackerKCF
Source§impl From<TrackerKCF> for Tracker
impl From<TrackerKCF> for Tracker
Source§fn from(s: TrackerKCF) -> Self
fn from(s: TrackerKCF) -> Self
Converts to this type from the input type.
Source§impl TrackerKCFTrait for TrackerKCF
impl TrackerKCFTrait for TrackerKCF
fn as_raw_mut_TrackerKCF(&mut self) -> *mut c_void
Source§fn set_feature_extractor(
&mut self,
callback: TrackerKCF_FeatureExtractorCallbackFN,
pca_func: bool,
) -> Result<()>
fn set_feature_extractor( &mut self, callback: TrackerKCF_FeatureExtractorCallbackFN, pca_func: bool, ) -> Result<()>
C++ default parameters Read more
Source§fn set_feature_extractor_def(
&mut self,
callback: TrackerKCF_FeatureExtractorCallbackFN,
) -> Result<()>
fn set_feature_extractor_def( &mut self, callback: TrackerKCF_FeatureExtractorCallbackFN, ) -> Result<()>
Note Read more
Source§impl TrackerKCFTraitConst for TrackerKCF
impl TrackerKCFTraitConst for TrackerKCF
fn as_raw_TrackerKCF(&self) -> *const c_void
Source§impl TrackerTrait for TrackerKCF
impl TrackerTrait for TrackerKCF
Source§impl TrackerTraitConst for TrackerKCF
impl TrackerTraitConst for TrackerKCF
fn as_raw_Tracker(&self) -> *const c_void
impl Send for TrackerKCF
Auto Trait Implementations§
impl Freeze for TrackerKCF
impl RefUnwindSafe for TrackerKCF
impl !Sync for TrackerKCF
impl Unpin for TrackerKCF
impl UnwindSafe for TrackerKCF
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
Source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res,
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat
or another similar object. By passing
a mutable reference to the Mat
to this function your closure will get called with the read reference and a write references
to the same Mat
. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold
. Read more