Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OpenCV 4 with Python Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
OpenCV 4 with Python Blueprints

OpenCV 4 with Python Blueprints

By : Dr. Menua Gevorgyan , Michael Beyeler (USD), Mamikonyan, Michael Beyeler
5 (4)
close
close
OpenCV 4 with Python Blueprints

OpenCV 4 with Python Blueprints

5 (4)
By: Dr. Menua Gevorgyan , Michael Beyeler (USD), Mamikonyan, Michael Beyeler

Overview of this book

OpenCV is a native cross-platform C++ library for computer vision, machine learning, and image processing. It is increasingly being adopted in Python for development. This book will get you hands-on with a wide range of intermediate to advanced projects using the latest version of the framework and language, OpenCV 4 and Python 3.8, instead of only covering the core concepts of OpenCV in theoretical lessons. This updated second edition will guide you through working on independent hands-on projects that focus on essential OpenCV concepts such as image processing, object detection, image manipulation, object tracking, and 3D scene reconstruction, in addition to statistical learning and neural networks. You’ll begin with concepts such as image filters, Kinect depth sensor, and feature matching. As you advance, you’ll not only get hands-on with reconstructing and visualizing a scene in 3D but also learn to track visually salient objects. The book will help you further build on your skills by demonstrating how to recognize traffic signs and emotions on faces. Later, you’ll understand how to align images, and detect and track objects using neural networks. By the end of this OpenCV Python book, you’ll have gained hands-on experience and become proficient at developing advanced computer vision apps according to specific business needs.
Table of Contents (14 chapters)
close
close
11
Profiling and Accelerating Your Apps
chevron up
12
Setting Up a Docker Container

Accelerating with Numba

Numba is a compiler that optimizes code written in pure Python using the Low-Level Virtual Machine (LLVM) compiler infrastructure. It efficiently compiles math-heavy Python code to reach performance similar to C, C++, and Fortran. It understands a range of numpy functions, Python construct libraries, and operators, as well as a range of math functions from the standard library, and generates corresponding native code for Graphical Processing Units (GPUs) and Central Processing Units (CPUs), with simple annotations.

In this section, we will use the IPython interactive interpreter to work with the code. It is an enhanced interactive Python shell that particularly supports so-called magic commands, which—in our case—we will use for timing functions. One of the options is to use the interpreter directly in the console. A couple of other options...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY