Two-dimensional feature framework – feature matching using FLANN OpenCV v4.8.0

Previous tutorial: Feature Description Next tutorial: Finding known objects using feature 2D + homology Original author Ana Huamán Compatibility OpenCV >= 3.0 Goals In this tutorial you will learn how to Use the cv::FlannBasedMatcher interface to perform fast and efficient matching using the Clustering and Searching Module in Multidimensional Space Warning You need to use […]

k8s Flannel network plug-in installation prompt forbidden without permission

1. Problem description When installing the k8s network plug-in, the following message is prompted, various forbidden permissions are not available [root@zzyk8s01 scripts]# kubectl apply -f kube-flannel.yml Error from server (Forbidden): error when retrieving current configuration of: Resource: “policy/v1beta1, Resource=podsecuritypolicies”, GroupVersionKind: “policy/v1beta1, Kind=PodSecurityPolicy” Name: “psp.flannel.unprivileged”, Namespace: “” from server for: “kube-flannel.yml”: podsecuritypolicies.policy “psp.flannel.unprivileged” is forbidden: User […]

K8s + Flannel network architecture diagram

This is the network architecture diagram given by Flannel’s official website This is a logical structure diagram drawn through my own understanding View bridge [root@node01 ~]# brctl show bridge name bridge id STP enabled interfaces cni0 8000.0a580af40001 no veth34bdd66f veth374f9b6c vethfe4aad1b docker0 8000.0242ec6d0fef no Check netns (you need to execute ln -s /var/run/docker/netns /var/run/netns first) […]

The k8s registration node appears kube-flannel-ds service status Init:0/1

1. Check the system environment version 1.1, system version 1.1.1, Master node [root@master ~]# cat /etc/os-release NAME=”CentOS Linux” VERSION=”7 (Core)” ID=”centos” ID_LIKE=”rhel fedora” VERSION_ID=”7″ PRETTY_NAME=”CentOS Linux 7 (Core)” ANSI_COLOR=”0;31″ CPE_NAME=”cpe:/o:centos:centos:7″ HOME_URL=”https://www.centos.org/” BUG_REPORT_URL=”https://bugs.centos.org/” CENTOS_MANTISBT_PROJECT=”CentOS-7″ CENTOS_MANTISBT_PROJECT_VERSION=”7″ REDHAT_SUPPORT_PRODUCT=”centos” REDHAT_SUPPORT_PRODUCT_VERSION=”7″ 1.1.2, node1 node root@node1:~# cat /etc/os-release PRETTY_NAME=”Debian GNU/Linux 10 (buster)” NAME=”Debian GNU/Linux” VERSION_ID=”10″ VERSION=”10 (buster)” VERSION_CODENAME=buster ID=debian HOME_URL=”https://www.debian.org/” SUPPORT_URL=”https://www.debian.org/support” […]

Ubuntu20.04 + kubeadm + 1.28.0 + flannel vxlan

Environmental information Host PowerEdge-R440 Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz 4×8 128G 2T Virtual machines (VirtualBox 3) OS:ubuntu 20.04 4c, 16G, 64G Net: bridge bond0.11 10.250.11.186-188 container Containerd 1.7.2 Cni-plugin 1.3.0 IPv6 address Disabled See deployment steps for details. Deployment preparation Note that some of the instructions below will use wget to download the […]

How to implement FLANN based feature matching in OpenCV Python?

We use Scale Invariant Feature Transform (SIFT) and Fast Library for Approx Nearest Neighbor (FLANN) to achieve feature matching between two images. Use SIFT to find feature keypoints and descriptors. Use FLANN-based KNN matcher to match descriptors in two images. We use cv2.FlannBasedMatcher() as FLANN based matcher. Steps To achieve feature matching between two images […]

k8s cluster deployment (use the kubeadm deployment tool for rapid deployment, and the corresponding version is docker20.10.0+k8s1.23.0+flannel)

1. Installation requirements Before starting, the deployment of Kubernetes cluster machines needs to meet the following conditions: One or more machines, operating system CentOS7.x-86_x64 Hardware configuration: 2GB or more RAM, 2 CPUs or more, hard disk 20GB or more You can access the external network, you need to pull the image, if the server cannot […]

[kubernetes series] vxlan mode analysis of flannel

Overview To ensure network interoperability between containers in Kubernetes, the network is very important. Kubernetes itself does not implement the container network itself, but uses the CNI standard to freely access it through plug-in methods. Access to the container network needs to meet the following basic principles: Pods can communicate directly with each other no […]

Principles of k8s container interconnection-flannel host-gw

A brief analysis of host-gw The principle of flannel vxlan mode for container cross-host communication was analyzed earlier, but the vxlan mode requires additional packet unpacking processing for data packets, which brings a large overhead. Therefore, flannel provides another communication mode of pure 3-layer forwarding, called host-gw. Gu Mingsiyi, this mode uses the host as […]