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

PaddlePaddle note 6- change face (understand all understand)

Ruiluo medical reference resources: Using paddlehub to realize video face changing - Propeller AI Studio - artificial intelligence learning and training community Change your face, Cang * Kong becomes Zhao * Ying, single welfare (understand all), get on the bus quickly. Just kidding, it's purely for technical learning and communication. 1. ...

Added by lansing on Thu, 23 Dec 2021 08:18:49 +0200

Daily summary of KMeans cluster analysis of "Python data operation"

Content introduction This paper introduces cluster analysis with a simple example of Python using Keans for cluster analysis. Cluster analysis or clustering is the task of grouping a group of objects, Make objects in the same group (called clusters) more similar (in a sense) to objects in other groups (clusters) It is the main task of exp ...

Added by DJ Unique on Tue, 21 Dec 2021 04:37:06 +0200

[Python] Python module foundation

Module 1Modules can be regarded as a collection of functions.A stack of functions can be placed inside a py file, so a py file can be regarded as a module.If the file name of this py file is {module Py, and the module name is "module".1. Four forms of modulesIn Python, there are four types of modules:Custom module: if you write a py f ...

Added by aeshanw on Tue, 21 Dec 2021 01:19:54 +0200

Attention mechanism SENet, CBAM

Rimeng Society AI AI:Keras PyTorch MXNet TensorFlow PaddlePaddle deep learning real combat (irregular update) Encoder Decoder framework + Attention mechanism Pytoch: Transformer(Encoder Decoder decoder, multi head attention mechanism, multi head self attention mechanism, mask tensor, feedforward full connection layer, normalization layer, ...

Added by devxtec on Mon, 20 Dec 2021 22:43:33 +0200

Linear algebra and code implementation vector

Linear algebra and code implementation (I) vector background The Linear Algebra I studied in university is a little forgotten now, and I am not proficient in the code implementation; This column mainly reviews the basis of linear algebra and implements the code part; 1. Some basic concepts Essence: the basic expression of a group of numbers ...

Added by st89 on Mon, 20 Dec 2021 00:41:40 +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

Python data visualization | 7. How Seaborn makes distribution more intuitive

%matplotlib inline import numpy as np import pandas as pd from scipy import stats, integrate from warnings import filterwarnings filterwarnings('ignore') import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns sns.set(color_codes=True) np.random.seed(sum(map(ord, "distributions"))) Univariate distribution Grayscal ...

Added by PHPTOM on Sun, 19 Dec 2021 03:06:43 +0200

Interpretable AI (XAI): how to better interpret the prediction of the model using LIME and shake

As data scientists or machine learning practitioners, integrating interpretability into machine learning models can help decision makers and other stakeholders have more visibility and understand the interpretation of model output decisions.In this article, I will introduce two models, life and shake, which can help understand the decision-maki ...

Added by Dima on Sat, 18 Dec 2021 10:04:39 +0200

The most complete Vision Transformer(ViT) paper interpretation and code reproduction (based on the paddle framework)

preface The pioneering work of the VIT model is to use a pure transformer structure, as shown in the title of the paper: AN IMAGE IS WORTH 16X16 WORDS, which embeds the pictures into a series of sequence s, and realizes the effect comparable to the SOTA model in CNN through multiple encoder structures and head s. Image classification t ...

Added by T2theC on Sat, 18 Dec 2021 09:54:15 +0200