O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cross-Platform Application Development with OpenCV 4 and Qt 5

Video Description

Build visually appealing and cross-platform computer vision applications

About This Video

  • Create a GUI that works for both desktop and mobile applications.
  • Develop a cross-platform application using OpenCV's main features.
  • Configure your development environment to create Android Applications using Qt.

In Detail

OpenCV is the most popular library for building computer vision applications. Qt is a C++ IDE used to create GUI applications with ease. The main benefit of using Qt is that we can integrate OpenCV GUIs of GUIs created with Qt. Follow along with instructor Antonio Ortiz to build cross-platform applications using Qt.

In this course, you will learn to combine the power of OpenCV and Qt. First, you will start by grabbing some images and videos to show them in QML. Antonio also shows you how to calibrate an array of two stereo cameras. You will learn to deploy your application on both Linux and Android platforms.

By the end of this course, you will have become better at developing OpenCV applications, especially with Qt.

All codes and supporting files are placed on GitHub at this link: https://github.com/PacktPublishing/Cross-Platform-Application-Development-with-OpenCV-4-and-Qt-5

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Setting Up Your Development Environment
    1. The Course Overview 00:02:24
    2. Qt5 and Qt Creator Installation 00:05:14
    3. Qt Creator: Playing Around the IDE 00:02:51
    4. Configuring OpenCV 00:05:56
  2. Chapter 2 : Showing Images and Videos in QML
    1. Getting Started with QML 00:15:43
    2. Creating a GUI 00:25:06
    3. From Mat to QImage 00:27:19
    4. Showing an Image in QML 00:09:44
    5. Working with Threads in Qt 00:26:07
    6. Showing a Video in QML 00:11:51
  3. Chapter 3 : Image Processing
    1. Image Smoothing 00:12:36
    2. Eroding and Dilating 00:10:15
    3. Finding Contours in Your Image 00:14:20
    4. Extracting Horizontal and Vertical Lines 00:12:05
    5. Applying Laplacian Filter 00:05:19
    6. Detecting Edges with Canny Edge Detector 00:05:30
  4. Chapter 4 : Working with Videos
    1. Background Subtraction 00:18:01
    2. Detecting Colors 00:11:40
    3. Getting Live Video from a Camera 00:05:44
    4. Cascade Classifier 00:24:28
    5. YOLO Algorithm 00:17:15
    6. Showing Objects Detected with YOLO 00:25:50
  5. Chapter 5 : Getting Depth Information from Images
    1. Creating Threads for the Cameras 00:13:53
    2. 3D Calibration 00:25:21
    3. Saving the Results in Files 00:07:52
    4. Read the Calibration Data from a File 00:06:24
    5. Generate Depth Map from Two Cameras 00:28:02
  6. Chapter 6 : Working with Android
    1. Setting Up Qt Creator for Android 00:16:49
    2. Configuring a Android Virtual Device 00:06:03
    3. Open Files Using QAndroidJniObject to Call Android Native Methods 00:45:12
    4. Compile Applications for Android Devices 00:18:51
  7. Chapter 7 : Debugging and Testing
    1. Checking Qt Creator Debugging Configuration 00:04:26
    2. Debugging C++ Parts 00:12:25
    3. Debugging QML Parts of Your App 00:06:52
    4. Unit Testing 00:23:57