Image detection method and device, storage medium and equipment

An image detection and to-be-detected technology, applied in the field of image processing, can solve problems such as poor matching effect, high complexity, and slow matching speed, and achieve the effect of improving matching effect, reducing computational complexity, and improving computational efficiency.

Pending Publication Date: 2022-04-12
BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for the image scene with dense text, when matching the position of the text line and the position of the single word, a large number of such as figure 1 The shown box calculates the IOU, which leads to a slow matching speed. This is because for polygons, it is necessary to use a toolkit such as Polygon to calculate the IOU of the two boxes, which makes the calculation complexity (for the number of single characters and the text The product of the number of rows) is higher
Moreover, for irregular shapes (such as concave polygons, etc.), considering the calculation speed, it will be converted into the minimum circumscribed rotation rectangle (minAreaRect) for calculation when calculating the IOU, which is suitable for tilt, irregular shape, For the location box with a containment relationship, the calculated IOU result is not accurate enough, which leads to poor final matching effect, and it is impossible to obtain a more accurate text detection result.

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 and device, storage medium and equipment
  • Image detection method and device, storage medium and equipment
  • Image detection method and device, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0074] see figure 2 , which is a schematic flow chart of an image detection method provided in this embodiment, the method includes the following steps:

[0075] S201: Obtain a target image to be detected; and detect the target image to obtain a binary image containing a position of a text line and a binary image containing a position of a word.

[0076] In this embodiment, any image that is used for text detection in this embodiment is defined as a target image. Moreover, it should be noted that the present embodiment does not limit the type of the target image. For example, the target image can be a color image composed of three primary colors of red (R), green (G), and blue (B), or a grayscale image. Wait.

[0077] In addition, this embodiment does not limit the acquisition method of the target image. The target image can be obtained by screenshotting, shooting, etc. according to actual needs. For example, the image sent by a friend in the chat APP can be saved as the ta...

no. 2 example

[0114] This embodiment will introduce an image detection device, and for relevant content, please refer to the foregoing method embodiments.

[0115] see Figure 10 , which is a schematic diagram of the composition of an image detection device provided in this embodiment, the device 1000 includes:

[0116] The detection unit 1001 is configured to obtain a target image to be detected; and detect the target image to obtain a binary image containing the position of the text line and a binary image containing the position of the word;

[0117] A marking unit 1002, configured to mark the text lines in the binary image containing the positions of the text lines to obtain the corresponding identification of each text line; and determine the coordinate values ​​of each pixel in the position of each text line;

[0118] Calculation unit 1003, for calculating the pixel point coordinate value of the center position of each word in the binary image containing the position of the word;

...

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 and device, a storage medium and equipment, and the method comprises the steps: firstly, carrying out the detection of an obtained target image, obtaining a binary image containing a text line position and a binary image containing a single word position, then carrying out the marking of a text line in the binary image containing the text line position, and carrying out the marking of the single word position; obtaining an identifier corresponding to each text line; determining the coordinate value of each pixel point in the position of each text line, and calculating the coordinate value of the pixel point in the central position of the position of each single character in the binary image containing the position of the single character; next, the coordinate value of the pixel point at the central position of the position of each single character is matched with the coordinate value of each pixel point in the position of each text line, and the text line identifier to which each single character belongs is determined, so that each single character can be filled into the text line of the corresponding identifier; accurate matching of the position of the text line and the position of the single character is achieved, and therefore the accuracy of the detection result and the detection efficiency are improved.

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular to an image detection method, device, storage medium and equipment. Background technique [0002] With the continuous breakthrough and development of artificial intelligence (AI) technology. The demand for optical character recognition (Optical Character Recognition, OCR for short) recognition technology is gradually increasing. Among them, multi-granularity OCR detection refers to the simultaneous detection of text lines and single characters in an image, which is equivalent to simultaneously detecting text line position information and single character position information. Because some business scenarios require both text line information and single word information. Therefore, how to accurately match and integrate the position of the text line and the position of the word is an important issue in related fields at present. [0003] At present, when perf...

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/62G06V10/75G06V10/28G06K9/62
Inventor 石威林丽黄灿王长虎
Owner BEIJING YOUZHUJU NETWORK TECH CO LTD
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