Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Computer Vision with OpenCV 3 and Qt5
Computer Vision with OpenCV 3 and Qt5

Computer Vision with OpenCV 3 and Qt5: Build visually appealing, multithreaded, cross-platform computer vision applications

Arrow left icon
Profile Icon Amin Ahmadi Tazehkandi
Arrow right icon
€8.99 €32.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (12 Ratings)
eBook Jan 2018 486 pages 1st Edition
eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Amin Ahmadi Tazehkandi
Arrow right icon
€8.99 €32.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (12 Ratings)
eBook Jan 2018 486 pages 1st Edition
eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Computer Vision with OpenCV 3 and Qt5

Creating Our First Qt and OpenCV Project

It's been a long time since the Qt and OpenCV frameworks were introduced to the open source community and the world, but it wasn't until recently that people started noticing the benefits of using the two together, and the combination became popular among computer vision experts. We're in luck since we are at a phase in the history of these two frameworks where they both have been grown enough to be combined very easily, with little or no effort. There are also no more questions about the stability of these frameworks, and they are sometimes used to build applications running on quite sensitive hardware. Even a brief search on the internet would prove this. As we'll learn in this chapter, Qt Creator has become an almost fully-grown IDE, and it provides very easy mechanisms to integrate and build computer vision applications...

What is Qt Creator?

Qt Creator is not the same thing as the Qt framework. Yes, that's right; it is just an IDE created by and for the Qt framework. This is what confuses many people who are somewhat new to these terms. So, what does that really mean? In a very basic definition, it means you can use Qt Creator or any other IDE to create Qt applications. At some point, when the Qt framework became rich with classes and functions, the people responsible for Qt decided to create an IDE using the wonderful Qt framework itself, and, voila! An IDE free from the operating systems and C++ compiler types was born. Qt Creator is an IDE that supports better integration with the Qt framework, it's open source (which basically means you can use it for free), it's cross-platform, and it includes almost all the tools required from an IDE. Here's a screenshot of the Welcome...

A tour of the IDE

In this section, we will take a walk around different parts and bits of Qt Creator. It's always a good idea to get a sense of your surroundings and environment when you move to a new place. You may not notice the differences at the beginning, but this is actually a very similar situation, as you'll come to realize. You are going to use the Qt Creator environment throughout the whole book, and, basically, live and work with it for the entire period of reading this book, and, later on, hopefully, for a long time in your career, personal projects, or studies. So, let's start our walk and start touching things to see what really happens.

Let's go back to the first picture in this chapter. What you see here is the initial Qt Creator screen, or as you'll see a bit later, it is the welcome mode of the Qt Creator. You may notice that the icons...

Summary

This chapter was an introduction to Qt Creator more than it was anything else, and that is exactly what we need in order to comfortably proceed with the next chapters, concentrating on building things instead of repetitive instructions and configuration tips and hints. We learned how to use Qt Creator to design user interfaces and write code for the user interfaces. We were introduced to some of the most widely used Qt classes and how they are packed in different modules. By learning about different Qt Creator modes and building an application at the same time, we can now practice more by ourselves and even improve the application we wrote. The next chapter will be the chapter where we build the skeleton of an extendable plugin-based computer vision application that will continue almost for the rest of the book, until the very last chapters. In the next chapter, we&apos...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • ? Start creating robust applications with the power of OpenCV and Qt combined
  • ? Learn from scratch how to develop cross-platform computer vision applications
  • ? Accentuate your OpenCV applications by developing them with Qt

Description

Developers have been using OpenCV library to develop computer vision applications for a long time. However, they now need a more effective tool to get the job done and in a much better and modern way. Qt is one of the major frameworks available for this task at the moment. This book will teach you to develop applications with the combination of OpenCV 3 and Qt5, and how to create cross-platform computer vision applications. We’ll begin by introducing Qt, its IDE, and its SDK. Next you’ll learn how to use the OpenCV API to integrate both tools, and see how to configure Qt to use OpenCV. You’ll go on to build a full-fledged computer vision application throughout the book. Later, you’ll create a stunning UI application using the Qt widgets technology, where you’ll display the images after they are processed in an efficient way. At the end of the book, you’ll learn how to convert OpenCV Mat to Qt QImage. You’ll also see how to efficiently process images to filter them, transform them, detect or track objects as well as analyze video. You’ll become better at developing OpenCV applications.

Who is this book for?

This book is for readers interested in building computer vision applications. Intermediate knowledge of C++ programming is expected. Even though no knowledge of Qt5 and OpenCV 3 is assumed, if you’re familiar with these frameworks, you’ll benefit.

What you will learn

  • ? Get an introduction to Qt IDE and SDK
  • ? Be introduced to OpenCV and see how to communicate between OpenCV and Qt
  • ? Understand how to create UI using Qt Widgets
  • ? Learn to develop cross-platform applications using OpenCV 3 and Qt 5
  • ? Explore the multithreaded application development features of Qt5
  • ? Improve OpenCV 3 application development using Qt5
  • ? Build, test, and deploy Qt and OpenCV apps, either dynamically or statically
  • ? See Computer Vision technologies such as filtering and transformation of images, detecting and matching objects, template matching, object tracking, video and motion analysis, and much more
  • ? Be introduced to QML and Qt Quick for iOS and Android application development

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 02, 2018
Length: 486 pages
Edition : 1st
Language : English
ISBN-13 : 9781788473415
Vendor :
Intel
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jan 02, 2018
Length: 486 pages
Edition : 1st
Language : English
ISBN-13 : 9781788473415
Vendor :
Intel
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 120.97
Game Programming using Qt 5 Beginner's Guide
€41.99
Learn Qt 5
€36.99
Computer Vision with OpenCV 3 and Qt5
€41.99
Total 120.97 Stars icon
Banner background image

Table of Contents

13 Chapters
Introduction to OpenCV and Qt Chevron down icon Chevron up icon
Creating Our First Qt and OpenCV Project Chevron down icon Chevron up icon
Creating a Comprehensive Qt+OpenCV Project Chevron down icon Chevron up icon
Mat and QImage Chevron down icon Chevron up icon
The Graphics View Framework Chevron down icon Chevron up icon
Image Processing in OpenCV Chevron down icon Chevron up icon
Features and Descriptors Chevron down icon Chevron up icon
Multithreading Chevron down icon Chevron up icon
Video Analysis Chevron down icon Chevron up icon
Debugging and Testing Chevron down icon Chevron up icon
Linking and Deployment Chevron down icon Chevron up icon
Qt Quick Applications Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4
(12 Ratings)
5 star 66.7%
4 star 16.7%
3 star 8.3%
2 star 8.3%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




KP Jan 04, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I was a technical reviewer for the book! I can also confirm that it was designed for C/C++ developers with NO previous experience in OpenCV or Qt.The book shares a gentle introduction on these technologies and teaches how to install, configure and compile them on Windows/Linux/MacOS.There's something unique in the author's ability to explain image processing algorithms in a non-mathematical way that makes it fun and a lot easier to understand. My advice to you is: be ready to get your hands dirty and code! This is a hands-on book.You will slowly build a cross-platform application capable of performing complex tasks on images and videos, such as filtering, thresholding, using histograms for different purposes, doing template matching and background/foreground detection, doing motion analysis, just to name a few. This application will also support its own plugin system that encapsulates each image processing feature into its own plugin.There is a lot of content in the book (like the chapter on QML) that deserves to be mentioned. Unfortunately, I don't have enough time (or space) to praise all the great topics on the book, but what I can tell you is that one of the things I rarely see being discussed by books on these subjects is how to properly test the code of your application. Fortunately, this book takes time to explain and demonstrate how to use Qt's Unit Testing framework for this purpose. Would you like to know how to test the graphical interface of your application as well? Fear not, there's another section dedicated to show you how to do this.Overall, I think it is a very complete book that discusses several important aspects of professional cross-platform software development. Here is a topic that I see people asking on Stackoverflow (over and over again): how do you deploy an OpenCV/Qt application? It is my pleasure to break these news and tell you, that finally, someone offered a quality answer to this question: good job, Ahmin! The book not only shares a few alternatives for you to learn how to deploy your application to customers, but it also demonstrates how to create an application installer to make things even easier and more professionally looking.This is a very well-rounded book and it's a great addition to anyone involved in computer vision or doing cross-platform development. I believe it's money well spent and I hope you enjoy reading it too!
Amazon Verified review Amazon
William Feb 04, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Really good explanation but the installation guide doesn't work for Macs with M1
Amazon Verified review Amazon
Roman Jul 09, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
It's a solid book for beginners in Qt and OpenCV areas.It's best if you have at least some experience with C++.The topics are explained well, and I found it easy to read and understand.
Amazon Verified review Amazon
nikoniko Aug 19, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
英語の書籍ではありますが、日本で類似の内容の書籍では情報が足りません。少し難易度は高めだと思いますが、画面操作はスクリーンショットに沿って説明されています。特に、プラグイン、マルチスレッド、デバッガーの情報はたすかりました。サンプルの構成がイマイチかなと思いますが、動くサンプルがダウンロードできますので十分です。OpenCVの構成情報は自分の環境に合わせて書く必要はあります。
Amazon Verified review Amazon
Murat Ertugrul Feb 07, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
i`m reading it and i`m loving it. Some complex topics are written and explained in a simple language.Although i have some experience in Qt, i am enjoying to read through all chapters, because you can expect very useful hints and widening your Knowledge. And the combination with Qt and Computer Vision is very interesting. On one side you are learning or increasing your Knowledge in Qt and on the other side you learn fundamental Computer Vision topics and learn to combine both modern Technologies.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.