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

An image processing method, device, equipment and medium

An image processing and image technology, applied in the field of image processing, can solve the problem of low recognition rate of two-dimensional codes, achieve the effect of improving recognition rate and ensuring brightness

Active Publication Date: 2022-06-17
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides an image processing method, device, equipment and medium to solve the problem that the recognition rate of the two-dimensional code is low when the brightness of the overall image in the two-dimensional code detection window of the existing access control intercom device is relatively bright technical issues

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
  • An image processing method, device, equipment and medium
  • An image processing method, device, equipment and medium
  • An image processing method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 A schematic diagram of a first image processing process provided by an embodiment of the present invention, the process includes the following steps:

[0057] S101: Monitor whether there is a two-dimensional code in the first image currently obtained by the access control intercom device.

[0058] The image processing method provided by the embodiment of the present invention is applied to an access control intercom device. The access control intercom device can obtain images displayed in the camera range of the access control intercom device through the camera in the access control intercom device. In this embodiment of the present invention, the access control intercom device can recognize faces and two-dimensional codes in real time. Specifically, whether there is a two-dimensional code in the currently acquired first image can be obtained by using an existing intelligent algorithm. Monitoring the presence of a two-dimensional code in the first image curr...

Embodiment 2

[0072] In order to improve the recognition rate of the two-dimensional code, on the basis of the above embodiments, in the embodiment of the present invention, after the first reduction ratio of the first average brightness value of the first image is determined, the method further includes: :

[0073] acquiring a first gain value and a first dynamic range value of the first image;

[0074] If the first gain value is greater than a preset gain value threshold, determining a second reduction ratio of the contrast value of the first image and a third increase ratio of the sharpness value;

[0075] The adjusting the first average brightness value of the first image based on the first reduction ratio to obtain the second image includes:

[0076] Based on the first reduction ratio, the second reduction ratio and the third improvement ratio, the first average brightness value, the contrast value and the sharpness value of the first image are correspondingly adjusted to obtain a sec...

Embodiment 3

[0130] In order to improve the recognition efficiency of the two-dimensional code, on the basis of the above embodiments, in the embodiment of the present invention, the method further includes:

[0131] Within the first set time period after the first image is acquired, for each third image acquired by the access control intercom device, according to the set polling frequency, determine the fourth image to be processed, and for each a fourth image, to determine whether there is a two-dimensional code in the fourth image;

[0132] If yes, the fourth image is used as the first image, the first average brightness value of the first image is adjusted to obtain a second image, and the second average brightness value of the two-dimensional code area in the second image is obtained. When the target brightness value is not preset, the second average brightness value of the two-dimensional code area is adjusted to the target brightness value, and the two-dimensional code in the two-di...

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 processing method, device, equipment and medium, which are used to solve the problem that the recognition rate of the two-dimensional code is low when the brightness of the overall image in the two-dimensional code detection window of the existing access control intercom equipment is relatively bright question. Since in the embodiment of the present invention, when it is detected that there is a two-dimensional code in the first image currently acquired by the access control intercom device, the brightness value of the first image is reduced to obtain the second image, if the second average brightness value of the two-dimensional code area For a non-preset target brightness value, the second average brightness value of the two-dimensional code area is adjusted to the target brightness value, thereby ensuring the brightness of the two-dimensional code area and improving the recognition rate of the two-dimensional code.

Description

technical field [0001] The present invention relates to the technical field of image processing, and in particular, to an image processing method, apparatus, device and medium. Background technique [0002] When the existing access control intercom device detects that the currently acquired image contains a QR code, it will adaptively adjust the acquired image parameters of the image to the target image parameters, such as adjusting the brightness of the image to a preset value. , in order to identify the QR code contained in it. [0003] A fixed two-dimensional code detection window is set on the screen of the existing access control intercom device, and the access control intercom device adjusts the image in the two-dimensional code detection window. However, the image in the two-dimensional code detection window may contain both the image of the environment part and the image of the two-dimensional code. When the overall image in the two-dimensional code detection window...

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 Patents(China)
IPC IPC(8): G06K7/10G06K7/14G07C9/20G07C9/37
CPCG06K7/10732G06K7/1417G06K7/146G07C9/20G07C9/37
Inventor 赵超杰董亮王建淼张静
Owner ZHEJIANG DAHUA TECH CO LTD