RoboMaster armor recognition based on OpenCV Python
summary
This article briefly introduces the armor recognition of RoboMaster robot. The method is to select the armor plate area by using the lamp column as the identification through the edge detection method. In this blog, coordinate points will be provided for subsequent mecha debugging.
Techniques used: color channel separation, Gaussian f ...
Added by ediehl on Fri, 18 Feb 2022 17:59:02 +0200
Config distributed configuration center
Introduction to Config
Microservice means to split the business in a single application into one sub service. The granularity of each service is relatively small, so there will be a large number of services in the system. Because each service needs the necessary configuration information to run, a centralized and dynamic configuration mana ...
Added by jackyhuphp on Fri, 18 Feb 2022 17:57:58 +0200
Java multithreading series - thread communication mechanism wait notify notifyAll(03)
Thread communication mechanism wait notify notify all
In this class, we mainly learn the precautions for using the wait/notify/notifyAll method.
We mainly start with three questions:
Why must the wait method be used in synchronized protected synchronization code?Why is wait/notify/notifyAll defined in the Object class and sleep defined in th ...
Added by first_lady_the_queen on Fri, 18 Feb 2022 17:54:13 +0200
Spring Cloud Alibaba large Internet multi scenario best practices online disk download
Download: Spring Cloud Alibaba large Internet multi scenario best practices online disk download
How will the large-scale Internet field develop?
In the field of large-scale Internet, from super portal to super interface, from super APP to super API, super interface should have two meanings: one is "super", that is, it has wide appli ...
Added by starmsa on Fri, 18 Feb 2022 17:54:15 +0200
python: String template replacement
capwords function
Capitalize each word in the sequence
def capwords(s, sep=None):
"""capwords(s [,sep]) -> string
Split the argument into words using split, capitalize each
word using capitalize, and join the capitalized words using
join. If the optional second argument sep is absent or None,
runs of whitespace chara ...
Added by jeff8j on Fri, 18 Feb 2022 17:44:55 +0200
Use Docker to configure flink1 12.2 development and test environment
Use Docker to configure flink1 12 development test environment
Brief introduction
Docker is now an indispensable tool in the development community. We can quickly test and package our applications with docker. At the same time, using containers, we can easily realize the deployment and configuration of CI and CD in software development. At ...
Added by steve490 on Fri, 18 Feb 2022 17:44:04 +0200
python crawls Jingdong Laptop Data Based on scratch and makes simple processing and analysis
This article mainly introduces the example of Python crawling Jingdong Laptop Data Based on scratch and simple processing and analysis, so as to help you better understand and learn to use python. Interested friends can understand
1, Environmental preparation
python3.8.3pycharmThird party packages required for the project
pip install scrap ...
Added by arya6000 on Fri, 18 Feb 2022 17:28:32 +0200
Java annotation learning notes basic concept understanding
Concept of annotation
Annotation, also known as Metadata, is a new feature of Java 5. JDK5 introduces Metadata and can easily call annotations. Annotations are at the same level as classes, interfaces and enumerations, and can be applied to the declarations of packages, types, construction methods, methods, member variables, parameters and ...
Added by billynastie on Fri, 18 Feb 2022 17:28:12 +0200
5. Local - built in filter factory
There are many built-in filter factories in Gateway. Through some filter factories, we can carry out some business logic processors, such as adding and removing response headers, adding and removing parameters, etc
Filter factory official website: https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/#gatewayfilter-factorie ...
Added by pauper_i on Fri, 18 Feb 2022 17:21:55 +0200
Object oriented programming in Python series
Python object oriented programming
There are three common programming methods:
Process oriented: write the base code from top to bottom according to the business logic. The most common operation is paste and copy, and copy the previously implemented code blocks to the existing functions.
Functional: encapsulate a function code into a functio ...
Added by Rich464 on Fri, 18 Feb 2022 17:19:42 +0200