From the course: Introduction to Deep Learning with OpenCV
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Viewing images in OpenCV - OpenCV Tutorial
From the course: Introduction to Deep Learning with OpenCV
Viewing images in OpenCV
- As we mentioned earlier, the OpenCV code is originally written in C++. When we use OpenCV in Python, what's happening under the hood is that we have a Python wrapper around the original C++ code. We also use NumPy, which is a highly optimized Python library for numerical operations. All the OpenCV array structures are converted to and from NumPy arrays. Here are a couple of things NumPy contains: a powerful N-dimensional array object, sophisticated broadcasting functions, and tools for integrating C, and C++, and Fortran code, and this is very helpful because it makes processing for images faster. It's also useful for linear algebra, Fourier transforms, and random number capabilities. NumPy's main object is the multidimensional array. It's a table of elements, usually numbers, indexed by a tuple of positive integers. Every NumPy array is a grid of elements of the same type. NumPy provides a large set of numeric data types that you can use to construct arrays. Let's take a look at…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.