Skip to Content
Mastering Computer Vision with TensorFlow 2.x
book

Mastering Computer Vision with TensorFlow 2.x

by Krishnendu Kar
May 2020
Beginner to intermediate
430 pages
10h 39m
English
Packt Publishing
Content preview from Mastering Computer Vision with TensorFlow 2.x

The OpenCV tracking method

OpenCV has a number of built-in tracking methods:

  • A BOOSTING tracker: An old tracker based on Haar cascades.
  • A MIL tracker: Has better accuracy than the BOOSTING tracker.
  • A Kernelized Correlation Filters (KCF) tracker: This is faster than the BOOSTING and MIL trackers.
  • A CSRT tracker: This is more accurate than KCF but the tracking can be slower.
  • The MedianFlow tracker: This tracker works when the object has a regular movement and is visible for the entire sequence.
  • The TLD tracker: Do not use it.
  • The MOSSE tracker: A very fast tracker but not as accurate as CSRT or KCF.
  • The GOTURN tracker: A deep learning-based object tracker.

The implementation of the preceding methods in OpenCV is as follows:

tracker = cv2.TrackerBoosting_create() ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres

Publisher Resources

ISBN: 9781838827069Supplemental Content