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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


