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
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (12 Ratings)
Paperback 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
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (12 Ratings)
Paperback 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 a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
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 : 9781788472395
Vendor :
Intel
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jan 02, 2018
Length: 486 pages
Edition : 1st
Language : English
ISBN-13 : 9781788472395
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

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.