Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Qt 5 and OpenCV 4 Computer Vision Projects

You're reading from  Qt 5 and OpenCV 4 Computer Vision Projects

Product type Book
Published in Jun 2019
Publisher Packt
ISBN-13 9781789532586
Pages 348 pages
Edition 1st Edition
Languages
Author (1):
Zhuo Qingliang Zhuo Qingliang
Profile icon Zhuo Qingliang

Table of Contents (11) Chapters

Preface 1. Building an Image Viewer 2. Editing Images Like a Pro 3. Home Security Applications 4. Fun with Faces 5. Optical Character Recognition 6. Object Detection in Real Time 7. Real-Time Car Detection and Distance Measurement 8. Using OpenGL for the High-Speed Filtering of Images 9. Assessments 10. Other Books You May Enjoy

Chapter 6, Object Detection in Real Time

  1. When we trained the cascade classifier for the faces of Boston bulls, we annotated the dog faces on each image by ourselves. The annotation process was very time-consuming. There is a tarball of annotation data for that dataset on its website: http://vision.stanford.edu/aditya86/ImageNetDogs/annotation.tar. Is it possible to generate the info.txt file from this annotation data by using a piece of code? How can this be done?

The annotation data in that tarball relates to the dogs' bodies, and not to the dogs' faces. So, we can't use it to train a classifier for the dogs' faces. However, if you want to train a classifier for the full bodies of the dogs, this can help. The data in that tarball is stored in XML format, and the annotation rectangles are the nodes with the //annotation/object/bndbox path, which we can extract...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}