How to distinguish opencv3 from opencv4 in your project without conflict
Next to the previous blog, continue to analyze:
Opencv3 and opencv4 are installed on the computer at the same time, so the problem is how to write the CmakeLists.txt file when you are working on a project, when you are using opencv3, and when you are using opencv4, how to write the CmakeLists.txt file, ...
Added by jawapro on Mon, 03 Feb 2020 04:23:13 +0200
Basis of wavelet transform
Basis of wavelet transform
Wavelet basis
The principle understanding and why wavelet should be used can be referred to as follows: https://zhuanlan.zhihu.com/p/22450818 , some of which are helpful for understanding wavelet transform. The basic contents are as follows:
1. Fourier transform (FT) can better analyze the frequenc ...
Added by Iasonic on Wed, 01 Jan 2020 06:55:37 +0200
6, opencv ndk environment building (cmake mode)
opencv full name open source compute vision, open source visual Library
1, Preparations
The steps to import opencv are relatively simple. The preparation steps are divided into the following three steps:
Download opencv android sdk https://opencv.org/releases.html
Copy opencv Android SDK / SDK / native / LIBS to jniLibs of ...
Added by superpimp on Fri, 20 Dec 2019 22:03:31 +0200
[Xuefeng magnetic needle stone blog] computer vision opcencv tool deep learning quick practice 2 opencv quick start
opencv basic operation
# -*- coding: utf-8 -*-
# Author: xurongzhong#126.com wechat:pythontesting qq:37391319
# Technical support nail group: 21745728 (pythontesting invitation can be added)
# qq group: 144081101 591302926 567351477
# CreateDate: 2018-11-17
import imutils
import cv2
# Read picture information
image = cv2.imread("jp.png")
...
Added by Fruct0se on Fri, 06 Dec 2019 05:16:58 +0200
The basic ways of reading and writing images of various image libraries in Python
At present, there are several mainstream image databases:
1. OpenCV 2. PIL(Pillow) 3. matplotlib.image 4. skimage 5. scipy.misc
Conclusion: OpenCV is the most powerful and mature image library.
1.1 reading and storage of OpenCV image
import cv2
#Read image directly numpy Matrix format
img = cv2.imread('horse.jpg ...
Added by nsbrown on Mon, 02 Dec 2019 15:23:35 +0200
Using cuda core in open CV CPP
Prerequisite
Install the Invida graphics card on your computer;
Install Invida driver, version recommendation is more than 10;
Install cuda and cudnn;
github downloads opencv, opencv_contribute; local cmake compiles opencv;
target
In cpp, use the cuda kernel function written by you;
Reasons for writing this article
Recently, I was writing cud ...
Added by ultraslacker on Fri, 22 Nov 2019 04:11:58 +0200
Findpack two dimensional extremum
matlab has to find the extreme value function findpack can only find one-dimensional extreme value, and opencv has no corresponding function, so-called extreme value is larger than the surrounding values, and then it depends on the degree of extreme value required:
/*Calculate the center point of the divisible stone -- the big ...
Added by washbucket on Wed, 20 Nov 2019 23:58:34 +0200
Compile OpenCV with CUDA support on windows 10
This article starts from personal blog https://kezunlin.me/post/6580691f/ Welcome to read!
compile opencv with CUDA support on windows 10
Series
Part 1: compile opencv on ubuntu 16.04
Part 2: compile opencv with CUDA support on windows 10
Part 3: opencv mat for loop
Part 4: speed up opencv image processing with openmp
Guide
requirements:
win ...
Added by nerotic on Mon, 18 Nov 2019 04:52:14 +0200
OpenCV Initial - Using XML and YAML for File Input and Output
Preface:
FileStorage (const string & soutce, int flages, const string & encoding = string (): class constructor
source: If the file name to be opened or the string to be read is the file name, the file suffix determines its format, and the file suffix plus. gz becomes a compressed file.
fl ...
Added by smokenwhispers on Tue, 08 Oct 2019 21:55:57 +0300
Python+OpenCV program for batch clipping of images
Python+OpenCV program for batch clipping of images
In the process of learning online online courses recently, I used mobile phones to intercept a lot of pictures in order to facilitate the review after class. But the interception of the picture files occupied a lot of memory, and there were black and ...
Added by frewuill on Fri, 04 Oct 2019 15:44:34 +0300