pub struct Legacy_MultiTrackerTLD { /* private fields */ }Expand description
Multi Object %Tracker for TLD.
TLD is a novel tracking framework that explicitly decomposes the long-term tracking task into tracking, learning and detection.
The tracker follows the object from frame to frame. The detector localizes all appearances that have been observed so far and corrects the tracker if necessary. The learning estimates detector’s errors and updates it to avoid these errors in the future. The implementation is based on TLD .
The Median Flow algorithm (see cv::TrackerMedianFlow) was chosen as a tracking component in this implementation, following authors. The tracker is supposed to be able to handle rapid motions, partial occlusions, object absence etc.
§See also
Tracker, MultiTracker, TrackerTLD
Implementations§
Source§impl Legacy_MultiTrackerTLD
impl Legacy_MultiTrackerTLD
Sourcepub fn default() -> Legacy_MultiTrackerTLD
pub fn default() -> Legacy_MultiTrackerTLD
Creates a default instance of the class by calling the default constructor
Trait Implementations§
Source§impl Boxed for Legacy_MultiTrackerTLD
impl Boxed for Legacy_MultiTrackerTLD
Source§unsafe fn from_raw(
ptr: <Legacy_MultiTrackerTLD as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <Legacy_MultiTrackerTLD as OpenCVFromExtern>::ExternReceive, ) -> Self
Source§fn into_raw(
self,
) -> <Legacy_MultiTrackerTLD as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <Legacy_MultiTrackerTLD as OpenCVTypeExternContainer>::ExternSendMut
Source§fn as_raw(
&self,
) -> <Legacy_MultiTrackerTLD as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self, ) -> <Legacy_MultiTrackerTLD as OpenCVTypeExternContainer>::ExternSend
Source§fn as_raw_mut(
&mut self,
) -> <Legacy_MultiTrackerTLD as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <Legacy_MultiTrackerTLD as OpenCVTypeExternContainer>::ExternSendMut
Source§impl Debug for Legacy_MultiTrackerTLD
impl Debug for Legacy_MultiTrackerTLD
Source§impl Default for Legacy_MultiTrackerTLD
impl Default for Legacy_MultiTrackerTLD
Source§impl Drop for Legacy_MultiTrackerTLD
impl Drop for Legacy_MultiTrackerTLD
Source§impl From<Legacy_MultiTrackerTLD> for Legacy_MultiTracker_Alt
impl From<Legacy_MultiTrackerTLD> for Legacy_MultiTracker_Alt
Source§fn from(s: Legacy_MultiTrackerTLD) -> Self
fn from(s: Legacy_MultiTrackerTLD) -> Self
Source§impl Legacy_MultiTrackerTLDTrait for Legacy_MultiTrackerTLD
impl Legacy_MultiTrackerTLDTrait for Legacy_MultiTrackerTLD
fn as_raw_mut_Legacy_MultiTrackerTLD(&mut self) -> *mut c_void
Source§fn update_opt(&mut self, image: &impl ToInputArray) -> Result<bool>
fn update_opt(&mut self, image: &impl ToInputArray) -> Result<bool>
Source§impl Legacy_MultiTrackerTLDTraitConst for Legacy_MultiTrackerTLD
impl Legacy_MultiTrackerTLDTraitConst for Legacy_MultiTrackerTLD
fn as_raw_Legacy_MultiTrackerTLD(&self) -> *const c_void
Source§impl Legacy_MultiTracker_AltTrait for Legacy_MultiTrackerTLD
impl Legacy_MultiTracker_AltTrait for Legacy_MultiTrackerTLD
fn as_raw_mut_Legacy_MultiTracker_Alt(&mut self) -> *mut c_void
Source§fn set_target_num(&mut self, val: i32)
fn set_target_num(&mut self, val: i32)
Source§fn set_trackers(&mut self, val: Vector<Ptr<Legacy_Tracker>>)
fn set_trackers(&mut self, val: Vector<Ptr<Legacy_Tracker>>)
Source§fn set_bounding_boxes(&mut self, val: Vector<Rect2d>)
fn set_bounding_boxes(&mut self, val: Vector<Rect2d>)
Source§fn set_colors(&mut self, val: Vector<Scalar>)
fn set_colors(&mut self, val: Vector<Scalar>)
Source§fn add_target(
&mut self,
image: &impl ToInputArray,
bounding_box: Rect2d,
tracker_algorithm: Ptr<Legacy_Tracker>,
) -> Result<bool>
fn add_target( &mut self, image: &impl ToInputArray, bounding_box: Rect2d, tracker_algorithm: Ptr<Legacy_Tracker>, ) -> Result<bool>
Source§impl Legacy_MultiTracker_AltTraitConst for Legacy_MultiTrackerTLD
impl Legacy_MultiTracker_AltTraitConst for Legacy_MultiTrackerTLD
fn as_raw_Legacy_MultiTracker_Alt(&self) -> *const c_void
Source§fn target_num(&self) -> i32
fn target_num(&self) -> i32
Source§fn bounding_boxes(&self) -> Vector<Rect2d>
fn bounding_boxes(&self) -> Vector<Rect2d>
impl Send for Legacy_MultiTrackerTLD
Auto Trait Implementations§
impl Freeze for Legacy_MultiTrackerTLD
impl RefUnwindSafe for Legacy_MultiTrackerTLD
impl !Sync for Legacy_MultiTrackerTLD
impl Unpin for Legacy_MultiTrackerTLD
impl UnwindSafe for Legacy_MultiTrackerTLD
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
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
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