Skip to Content
Computer Vision with OpenCV 3 and Qt5
book

Computer Vision with OpenCV 3 and Qt5

by Amin Ahmadi Tazehkandi
January 2018
Intermediate to advanced content levelIntermediate to advanced
486 pages
11h 28m
English
Packt Publishing
Content preview from Computer Vision with OpenCV 3 and Qt5

Speed

How fast your algorithm performs is especially important, in case you are developing a real-time application where the FPS (frames per second, or framerate) value must be as high as possible. So, same as the accuracy, you need to be careful with clarifying this requirement, too. If you match two images and show some matching results to the user, even a delay of half a second (500 ms) may still be acceptable, but, when working with high FPS values, half a second of delay for each frame is extremely high.

You can use the TickMeter class or the getTickFrequency and getTickCount functions in OpenCV to measure the execution time of a computer vision process (or any process for that matter). First, let's see how the older method works:

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

Mastering OpenCV 4 - Third Edition

Mastering OpenCV 4 - Third Edition

Roy Shilkrot, David Millán Escrivá
Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres
OpenCV 4 with Python Blueprints - Second Edition

OpenCV 4 with Python Blueprints - Second Edition

Dr. Menua Gevorgyan, Michael Beyeler (USD), Arsen Mamikonyan, Michael Beyeler

Publisher Resources

ISBN: 9781788472395Supplemental Content