Method and system for removing highlight of certificate image
An image and certificate technology, which is applied in the highlight removal method and system of certificate images, and in the field of image highlight removal, can solve the problems of many operation steps, heavy certificate photos, and low intelligence, so as to improve work efficiency, reduce work burden, Effects with fast processing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0077] Such as Figure 1 ~ Figure 3 As shown, the highlight removal method of this embodiment includes the following steps:
[0078] 1) Locate the skin area (including the face area, the ear area and the skin area below the chin) on the document image, as follows:
[0079] 1.1) Convert the document image from RGB (red, green, blue) space to YcbCr space;
[0080] 1.2) According to the existing statistical model of skin color (such as the model composed of information such as the mean value and variance of Asian skin color YCbCr space), calculate the probability p of each pixel value belonging to this model, and calculate the average value p' of all probabilities p' , take the threshold thd=1.2*p'.
[0081] 1.3) Traversing the entire document image, if the probability p corresponding to a certain pixel is greater than the threshold thd, it is judged that the pixel belongs to the skin area;
[0082] 1.4) Use the trained data set in the third-party library OpenCV to locate the ...
Embodiment 2
[0104] Such as Figure 6 As shown, the highlight removal system of this embodiment includes:
[0105] The skin area positioning module is used to locate the skin area on the document image;
[0106] The space mapping module is used to map the RGB space of the document image to the Lab space, where L represents the brightness of the pixel, and the range is 0 to 100;
[0107] The pixel selection module is used to compare the brightness of each pixel in the skin area with the size of the specified brightness threshold, if the brightness of a certain pixel is greater than the specified brightness threshold, the pixel is selected;
[0108] The highlight area positioning module is used to dilate and corrode all pixels greater than a specified brightness threshold by using a morphological operator to obtain a highlight area;
[0109] The highlight removal module is used to compress the gradient of the highlight area and remove the highlight.
[0110] Wherein, the skin area localiz...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com