Unlock instant, AI-driven research and patent intelligence for your innovation.

Collision analysis method and system based on vector space cosine similarity and storage medium

A technology of cosine similarity and collision analysis, applied in the field of image processing, can solve the problems of heavy workload, missing the best time for handling cases, low efficiency, etc., to improve accuracy, improve query efficiency and query accuracy, and improve flexibility Effect

Pending Publication Date: 2022-03-29
以萨技术股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, for criminal investigators to manually compare multiple sets of pictures, the workload is heavy, the efficiency is low, and the accuracy rate is low, resulting in missing the best time to handle the case

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Collision analysis method and system based on vector space cosine similarity and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as figure 1 As shown, the present invention provides an embodiment of a collision analysis method based on vector space cosine similarity, comprising the following steps:

[0043] S1, receiving image data to be processed; the image data includes image compression package data and video data;

[0044] S2, processing the image data to obtain picture data; the picture data includes several pictures;

[0045] S3, call the GPU to carry out the recognition operation on the image data, and obtain the Base64 encoding value information of each image;

[0046] S4, based on the vector space cosine similarity, perform collision analysis on the Base64 encoded value information, and obtain a collision analysis result.

Embodiment 2

[0048] The present invention provides an embodiment of a collision analysis method based on vector space cosine similarity, comprising the following steps:

[0049] Step 1, create a new collision analysis task, including its basic task information, such as task name, task collision callback address, operation rules of task collision, etc. In the embodiment of the present invention, there are two types of operation rules, one is reference collision, and the other is many-to-many multipoint collision. Receive two files uploaded by the user. In the embodiment of the present invention, the first file is image compression package data, and the second file is video data. In other embodiments, the two files can both be image compression package data, or both can be video data;

[0050] Step 2, judging the formats of the two files, and decompressing the data in the image compression package to obtain the first image data. Store the image address of the first image data in the server...

Embodiment 3

[0058] The present invention also provides a collision analysis system based on vector space cosine similarity, including:

[0059] A data receiving module, configured to receive image data to be processed;

[0060] The data processing module is used to process the image data to obtain picture data; the picture data includes several pictures;

[0061] The identification calculation module is used to call the GPU to perform identification calculations on the picture data, obtain the Base64 encoded value information of each picture and store it in the Redis hash;

[0062] The collision analysis module is used to perform collision analysis on the Base64 encoded value information in the Redis hash based on the vector space cosine similarity, and obtain the collision analysis result;

[0063] Clickhouse database module for storing collision analysis results;

[0064] and a retrieval module, which is used to obtain retrieval parameters and send them to the collision analysis modul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a vector space cosine similarity-based collision analysis method and system, and a storage medium. The method comprises the steps of receiving to-be-processed image data; processing the image data to obtain picture data; the picture data comprises a plurality of pictures; calling a GPU (Graphics Processing Unit) to carry out identification operation on the picture data to obtain Base64 coding value information of each picture; and carrying out collision analysis on the Base64 coded value information based on the vector space cosine similarity to obtain a collision analysis result. According to the method, real-time analysis and calculation work of massive pictures can be carried out by utilizing the professional GPU, and the recognition speed and the picture recognition accuracy are improved. In addition, collision comparison can be carried out on uploaded compressed picture packages and videos according to use scenes, various collision operation rules can be selected, the method is suitable for multiple scenes, and the flexibility is improved. According to the method, the Clickhome open source big database is used for storing data, so that the query efficiency and the query accuracy are improved.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a collision analysis method, system and storage medium based on vector space cosine similarity. Background technique [0002] In the field of image processing, it is sometimes necessary to perform collision analysis on pictures or videos. For example, for criminal investigators to manually compare multiple sets of pictures, the workload is heavy, the efficiency is low, and the accuracy rate is low, resulting in missing the best time to handle the case. Therefore, the research on the collision analysis of massive photos is of great significance. Contents of the invention [0003] Aiming at the defects in the prior art, the present invention provides a collision analysis method, system and storage medium based on cosine similarity in vector space, the purpose of which is to improve the efficiency and accuracy of collision analysis of massive photos. [0004] The invent...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06V20/40G06T1/20G06K9/62G06V10/74
CPCG06T1/20G06F18/22
Inventor 刘鹏李凡平王堃
Owner 以萨技术股份有限公司