Data preprocessing for target detection in computer vision

This article covers the preprocessing steps performed on image data when solving object detection problems in computer vision. First, let’s start with choosing the right data for object detection in computer vision. When choosing the best images for object detection in computer vision, you need to choose those that provide the most value in training […]

Vuex: Helper functions: mapState, mapMutations, mapActions, mapGetters: VOA mode

Description Vuex provides four commonly used auxiliary functions: the purpose is to map the corresponding data and functions in state(), mutaions{}, actions{}, getters{} in vuex, so that we can be more flexible in the component. Simply use these data and functions mapState mapMutations mapActions mapGetters Usage cases /src/store/index.jsState Manager import axios, { Axios } from […]

3. Use third-party service targets to collect passive information to prevent discovery

3. Use third-party service targets to collect passive information to prevent discovery 3.1 Passive information collection 3.1.1 Overview and purpose of passive information collection · Information collection methods can be divided into two types: passive and active ? Passive information collection method refers to using third-party services to access and understand the target. (Such as […]

Unity WebRequest GET-POST simple encapsulation

1. Key code 1.1 Coroutine implementation using System; using System.Collections; using UnityEngine; using UnityEngine.Networking; public class WebRequest : MonoBehaviour { /// <summary> /// GET request /// </summary> /// <param name=”url”>Request address</param> /// <param name=”callback”>Request completion callback</param> public void Get(string url, Action<bool,string> callback) { StartCoroutine(CoroutineGetRequest(url, callback)); } /// <summary> /// POST request /// </summary> /// <param […]

Three-party HTTP interface call: POST&GET (supports HTTPS)

1. POST request 1.HTTP tool class import org.apache.http.HttpEntity; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.conn.ssl.SSLConnectionSocketFactory; import org.apache.http.conn.ssl.TrustStrategy; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.message.BasicNameValuePair; import org.apache.http.ssl.SSLContextBuilder; import org.apache.http.util.EntityUtils; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSession; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.GeneralSecurityException; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.ArrayList; import […]

java version conversion gadget

In my spare time, I wrote a conversion gadget with the following functions: timestamp conversion Base64 encoding/decoding URL encoding/decoding JSON formatting Time stamp conversion package org.binbin.container.panel; import javax.swing.*; import java.awt.*; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * *Copyright ? All Rights Reserved by VenusChen * * @author Hu Haibin/[email protected] * […]

QTableWidget cell related signals

Use a piece of code to detail the relevant signals emitted when QTableWidget’s cells are clicked (including single-click and double-click) and the content is edited. (1) Mainly include cellChanged, cellActivated, cellClicked, cellDoubleClicked, cellEntered, cellPressed and corresponding item class signals (2) Timing of sending each signal (3) The order in which signals are sent Through the […]

Infiltration actual target drone 2wp

0x00 Introduction 1. Test environment Target IP: 10.xxxx Test IP: 192.168.139.128 Test environment: win10, kali, etc. Test time: 2021.7.22-2021.7.22 Tester: ruanruan 2. Testing process This actual combat mainly involves continuous integration and analysis of the collected port, directory and other information, and then attempts to use tomcat weak passwords, ghostcat file reading, struts2RCE, SMB non-authentication […]

Project practice: component scanning (5) – parse methods with GetMapping or PostMapping and finally encapsulate them into ControllerDefinition

1. ControllerDefinition package com.csdn.mymvc.core; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; //Suppose there is a uri:/fruit/index @Data @NoArgsConstructor @AllArgsConstructor public class ControllerDefinition { private String requestMapping; private Object controllerBean; private Map<String, Method> methodMappingMap = new HashMap<>(); } 2. ComponentScan package com.csdn.mymvc.core; import com.csdn.mymvc.annotation.*; import java.io.File; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import […]