Image detection method based on attention mechanism

An image detection and attention technology, applied in the field of target detection technology and deep learning, can solve problems affecting image analysis, matching, and low accuracy, and achieve the effect of improving utilization, improving accuracy, and reducing the impact of interference.

Pending Publication Date: 2021-09-03
NANJING UNIV OF INFORMATION SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when we detect the relevant features of the picture, the previous detection methods are easily affected by the content of the picture, and the accuracy of extracting and detecting the features of important parts of the picture is not high, which affects the analysis and matching of the image.

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
  • Image detection method based on attention mechanism
  • Image detection method based on attention mechanism
  • Image detection method based on attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] The present invention is based on Ubuntu18.04.4LTS environment, with PyTorch as the framework, the main parameters are: the initial learning rate is 0.01, the final learning rate is 0.0005; the momentum parameter is 0.937, the weight coefficient is 0.0005, the training threshold is 0.2, and imagesize is 608×608, epoch is 400.

[0024] The technical solution adopted in the present invention is: a target algorithm based on attention mechanism improvement, including the following steps:

[0025] Step 1. Obtain the information of the target dataset image and use it as an image sample;

[0026] The image data set in this embodiment is collected through the network. The collected data set pictures are all from scenes in life, and then use the target detection and labeling tool to mark and format the pictures into a certain picture size. composition of life scenes.

[0027] Step 2, dividing the target data set image sample into a verification set and a test set;

[0028] Fo...

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 an image detection method based on an attention mechanism, which can determine an interested area in a picture through the attention mechanism, and comprises the following steps: collecting an image, and obtaining an image data set needing to be tested; dividing the images into a verification set and a test set which are independent and not repeated; performing feature extraction on the images in the verification set and the test set to obtain required feature information; adding an SCSE module composed of a channel attention module and a space attention module based on a Darknet53 network model, and obtaining a model of a test image; taking the image features in the verification set as input model parameters; taking the image features in the test set as input model parameters; and inputting the features of the images in the test set to obtain a corresponding test result. According to the experiment, the precision of picture detection can be improved, the detection efficiency can be improved, and the utilization rate of resources is improved.

Description

technical field [0001] The invention is an attention mechanism-based picture feature detection method, which relates to deep learning and target detection technology. Background technique [0002] Since the deep neural network algorithm first shined on the ImageNet dataset, the field of object detection has gradually begun to use deep learning for research. Subsequently, deep models of various structures were proposed, and the accuracy of the data set was repeatedly refreshed. In fact, deep learning models have left traditional methods far behind in classification tasks. The obvious improvement in image classification has also led to the rapid development of the detection field. Target detection is a kind of detection field, which has been widely used in various fields such as traffic monitoring, human-computer interaction, and precision guidance. Target detection methods can be roughly divided into four types, template matching-based methods, knowledge-based methods, met...

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): G06K9/62G06K9/46G06N3/04G06N3/08
CPCG06N3/08G06N3/045G06F18/214
Inventor 宋公飞王明邓壮壮卢峥松王瑞绅张子梦汪海洋徐宝珍
Owner NANJING UNIV OF INFORMATION SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products