OpenCV environment construction

Today, I'm going to build an OpenCV environment on my notebook Ubuntu 20.04. The recording process is as follows. 1. Start 1.1 installing dependent Libraries # Install, compile, download and other tools # Build essential is used to download gcc, g + + and other compilation tool chains sudo apt-get install build-essential cmake git pkg-config ...

Added by Ghulam Yaseen on Mon, 27 Dec 2021 11:16:10 +0200

Opencv Python learning detailed notes

1. Basic concepts of digital image 1.1 digital image concept Digital image, also known as digital image or digital image, is the representation of two-dimensional image with finite digital pixels. Represented by an array or matrix, its illumination position and intensity are discrete. Digital image is an image obtained by digitizing analo ...

Added by tom100 on Sun, 26 Dec 2021 19:05:36 +0200

Opencv java to achieve basic graphics operations

Opencv java to achieve basic graphics operations This is the second blog I came up with after I finished my image processing homework. In the last issue, I briefly introduced how to use opencv in the springboot environment. In this issue, I will continue to briefly talk about the basic operation of OpenCV in Java version. In my understanding, ...

Added by fanfavorite on Sat, 25 Dec 2021 07:54:43 +0200

Using findcontour to find only the inner contour

The first time you try to write a blog, just write an essay! Recently, I was working on a small project. I need to detect the target contour, and only the inner contour is needed. The contour detection function findContours provided by OpenCV is particularly convenient to use. The hierarchical relationship between contours can be used to find ...

Added by MorganM on Fri, 24 Dec 2021 05:18:18 +0200

Learn OpenCV to understand the data types of OpenCV - 3

catalogue Tool function cv::alignPtr() cv::alignSize() cv::allocate() cv::deallocate() cv::fastAtan2() cv::cubeRoot() cv::CV_Assert() & cv::CV_DbgAsser() cv::error() cv::CV_Error() & cv::CV_Error_() cv::fastFree() cv::fastMalloc() cv::format() cv::getCPUTickCount() cv::getNumThreads() cv::getOptimalDFTSize() cv::getTh ...

Added by zoooj on Thu, 23 Dec 2021 09:30:52 +0200

Fundamentals of digital image and machine vision #2

1, Digital image processing 1.1 converting color image files to grayscale files gray image Gray image is an image with only one sampling color per pixel. This kind of image is usually displayed as a gray scale from the darkest black to the brightest white. In theory, this sampling can be different in the depth of any color, or even differ ...

Added by steelerman99 on Wed, 22 Dec 2021 23:58:48 +0200

opencv/c + + simple number / floating point recognition

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface Tip: the project needs to identify the real-time collected pictures and identify the floating-point numbers in the pictures The idea is as follows: CV is used to process the image ...

Added by dips_007 on Tue, 21 Dec 2021 18:22:44 +0200

opencv learning notes

1. Data reading - image cv. The imread() function reads the image 1.1 several ways to read images:                         cv.IMREAD_COLOR: loading color images           & ...

Added by bobcooper on Sun, 19 Dec 2021 23:04:38 +0200

OpenCV (26) image segmentation -- distance transformation and watershed algorithm

catalogue 1, Basic theory 1. Thought 2. Principle 2, Process Step induction 1. Convert the original image to binary image 2. Open operation denoising 3. Determine the background area (expansion) (get the background / maximum pass area) 4. Determine foreground area (distance transformation) (separation) (get seed / foreground) 5. U ...

Added by LawsLoop on Sun, 19 Dec 2021 20:25:00 +0200

Three methods for real-time detection of deep learning -- Opencv DNN loading ONNX model

brief introduction   with the gradual deepening of research, I learned that loading the pytorch training model with libtorch is actually a very tortuous method. It can indeed meet our needs, but it may not be the best method. Now the more common model format is ONNX model, so I wonder if I can use this general model to solve the problem? ...

Added by amitshah on Sun, 19 Dec 2021 16:14:51 +0200