kmeans principle and segmentation example of opencv
K-Means principle and implementation method of opencv (C + + and python versions)
KMeans principle
Today, record the principle of kmeans in opencv and an example of image segmentation. K-Means is an algorithm for data classification, which belongs to unsupervised learning. First, determine the number of categories for the image, that is, know ...
Posted by montana111 on Thu, 30 Dec 2021 04:08:08 +0100
Source code analysis of find_template for image matching
aircv It is a small open source project released by Netease. It should also be the most cited project for simple image matching. The last article did how to use find of aircv_ Template description, however, it is not a mature project. There are many small pits in it, which need to be improved. Today, let's do a code logic analysis.Core function ...
Posted by Porl123 on Mon, 27 Dec 2021 12:16:53 +0100
Yolov5 detection based on Region of Interest
Introduction of preface
It must be easy for everyone to encounter such problems when doing yolo target detection. In fact, I don't want to detect the items in a part of the picture. It doesn't matter Just like this corner, I only want to detect the target of the front channel. This corner should be handed over to another camera for recogn ...
Posted by davidprogramer on Sun, 26 Dec 2021 03:08:55 +0100
Start using OpenCV
Start using OpenCV
1. Compile OpenCV
1.1 configure OpenCV using the command line
OpenCV official website tutorial
The OpenCV official website tutorial is configured by using the command line. It is written in detail. Generally, it can be successful if you operate according to the tutorial. Because the domestic access to GitHub is unstable, ...
Posted by twick100 on Sun, 26 Dec 2021 02:55:19 +0100
[opencv] the role of Keys in CommandLineParser
I The role of CommandLineParser
This class belongs to one of many classes in opencv, which is used to parse the command line. When (int argc,char** argv) in the main function receives the input parameter, it can parse the input command through CommandLineParser to make different responses. One of the advantages of this parsing class is that wh ...
Posted by e11even on Sat, 25 Dec 2021 19:45:06 +0100
A binarization method for uneven illumination image
Previously, we talked about the two most commonly used image binarization algorithms, "Otsu method" and "optimal threshold iteration method", and made some improvements to the "optimal threshold iteration method", so that it can distinguish the foreground and background to a certain extent in the case of uneven ill ...
Posted by biz0r on Sat, 25 Dec 2021 16:58:24 +0100
The desktop is too monotonous? Make a custom animation Pendant with Python. It's fun and interesting!
preface
Some time ago, I wrote a blog about Python made a cool music player . Some fans asked me why the music player uses PyQt5. Is the effect better than Tkinter? Can PyQt5 really realize these cool UI images? I haven't contacted PyQt5 before. Can you share more development cases in this regard?
Today, let's take you to develop an interest ...
Posted by tmharrison on Sat, 25 Dec 2021 16:07:31 +0100
Detailed explanation of mean shift principle and code
What is target tracking: tracking a target in an image, to put it bluntly, is to track a small image in the image. Remember the concept of image and small image, so let's start.
Mean shift principle
The principle of mean shift is to find the local optimum according to the gradient climb of probability density.
probability density
If ...
Posted by Nandini on Fri, 24 Dec 2021 17:29:11 +0100
JavaCV face recognition Trilogy 3: recognition and Preview
Welcome to my GitHub
Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos
Link to JavaCV face recognition Trilogy
Save face in video as pictureTrainingIdentification and Preview
Overview of this article
As the end of the JavaCV face recognition trilog ...
Posted by kutatishh on Wed, 22 Dec 2021 18:11:39 +0100
Opencv java to achieve simple special effects
Opencv java to achieve simple special effects
Following the simple use of OpenCV Java last time, this time I share the implementation of some image processing effects.
In fact, there are many special effects tutorials imitating ps, but most of them are in opencv and python versions, and there are few materials to implement opencv in java vers ...
Posted by webwannabee on Wed, 22 Dec 2021 18:06:50 +0100