Spring Boot + minio implements high-performance storage services, So Easy~!

What is minio Quoting the official website: MinIO is a high-performance object storage released under the GNU Affero General Public License v3.0. It is compatible with Amazon S3 cloud storage service. Build high-performance infrastructure for machine learning, analytics, and application data workloads with MinIO. Official website address: https://min.io/ Document address: https://docs.min.io/ 1. Use docker to […]

Mybatis one-to-many mapping uses lazy loading to improve query performance—–Mybatis framework

<?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE mapper PUBLIC “-//mybatis.org//DTD Mapper 3.0//EN” “http://mybatis.org/dtd/mybatis-3-mapper.dtd”> <mapper namespace=”com.powernode.mybatis.mappers.StudentMapper”> <resultMap id=”studentResultMapAssociation” type=”student”> <id property=”sid” column=”sid”></id> <result property=”sname” column=”sname”></result> <!– association means association, a Student object is associated with a clazz object –> <!– The javaType tag is used to specify the JAVA type to be mapped –> <association property=”clazz” javaType=”clazz”> <id column=”cid” […]

OpenCV C++ image processing affine transformation and perspective transformation

1 Affine change Affine transformation is a linear transformation that maps objects (such as points, images, graphics, etc.) in one two-dimensional or three-dimensional space to another space, maintaining some basic geometric properties, such as the parallelism of straight lines and Collinearity of points. Affine transformation usually consists of matrix multiplication and vector addition, and its […]

If the front-end and back-end are separated_Export Excel header information prompt template

A few days ago, I wanted to create a multi-title template based on the original Excel to prompt for input information. Without further ado, the code in the picture above: First modify ExcelUtil.java Add the following code /** * Multiple titles */ private String[] titles; /** * Multiple titles 1 * @param list collection print […]

PCl point cloud filtering (1) straight-through filtering, voxel filtering, uniform sampling, statistical filtering

A visual function void viewPort2(pcl::PointCloud<pcl::PointXYZ>::Ptr inputCloud, pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_filtered) {<!– –> pcl::visualization::PCLVisualizer::Ptr viewer(new pcl::visualization::PCLVisualizer(“Comparison before and after filtering”)); /*—–Viewport 1—–*/ int v1(0); viewer->createViewPort(0.0, 0.0, 0.5, 1.0, v1); //Set the minimum and maximum values of the first viewport on the X-axis and Y-axis, with values between 0-1 viewer->setBackgroundColor(0, 0, 0, v1); //Set the background color, 0-1, default […]

Google’s high-performance open source framework gRPC: rapid construction and HTTP/2 packet capture

1. What is gRPC gRPC is a remote procedure call (rpc) open source framework initiated by Google, which can be written in any programming language in any language. gRPC is based on the HTTP/2 protocol and uses Protocol Buffers as the serialization tool. gRPC official website: https://grpc.io/ RPC Remote Procedure Call, a remote procedure call […]

DateUtils and CalendarUtil classes to perform date processing operations instructions

Background Need to write some utils for the project to process dates Instruction manual This user guide is intended to introduce how to use the DateUtils and CalendarUtil classes to perform date processing operations. Date tool instruction manual Introduction This document describes how to use date utility classes (DateUtils) and calendar utility classes (CalendarUtil) to […]

High performance HTML content parsing

The content is the excerpt, understanding, code practice and problems encountered from “Python Crawler Development: From Getting Started to Practical Combat”. HTML basics HTML is web page source code and is a structured markup language. HTML can describe the structural information of a web page. HTML, CSS (Cascading Style Sheets, Cascading Style Sheets), and JavaScript […]