Skip to Content
Hands-On Convolutional Neural Networks with TensorFlow
book

Hands-On Convolutional Neural Networks with TensorFlow

by Iffat Zafar, Giounona Tzanidou, Richard Burton, Nimesh Patel, Leonardo Araujo
August 2018
Intermediate to advanced
272 pages
7h 2m
English
Packt Publishing
Content preview from Hands-On Convolutional Neural Networks with TensorFlow

Filtering output

More often than not, your model in practice will return multiple detection windows for the same object. To handle this, we use an algorithm called Non-Maximum Suppression. This algorithm filters these multiple boxes using the "IoU and presence of object" as heuristics. Here's how it works:

  1. Discard all boxes with a low probability of containing an object (pc < 0.6)
  2. Select the box with the biggest probability of having an object (pc on our label)
  3. Discard all boxes with a high overlap with the selected box (IoU > 0.5)
  4. Repeat steps 2 and 3 until all detections are either discarded or selected

We will use the Non-Maximum suppression on the prediction time on our detector:

Tensorflow already has a function that implements the ...

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

Computer Vision Using Deep Learning: Neural Network Architectures with Python and Keras

Computer Vision Using Deep Learning: Neural Network Architectures with Python and Keras

Vaibhav Verdhan

Publisher Resources

ISBN: 9781789130331Supplemental Content