Pinkeye image algorithm
An image algorithm and image technology, applied in image enhancement, image analysis, image data processing and other directions, can solve problems such as high cost, low efficiency, waste, etc., and achieve the effect of limited equipment dependence, convenient installation and fast speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The present invention provides a kind of red-eye image algorithm, comprises the following steps:
[0034] S1: import an image, import the image in RGB format to be detected, and crop the image to an image size of 200*200;
[0035] S2: Image conversion, converting the processed image in RGB format into an image in HVS format, that is, converting red, green and blue into hue, saturation, and brightness;
[0036] S3: parameter setting, parameter setting is performed according to the acquired feature points;
[0037] Among them, the model of HSV (hue, saturation, value) color space corresponds to a conical subset in the cylindrical coordinate system, and the top surface of the cone corresponds to V=1, which contains R=1 and G=1 in the RGB model , B=1 three faces, the color represented is brighter; the color H is given by the rotation angle around the V axis. Red corresponds to an angle of 0°, green corresponds to an angle of 120°, and blue corresponds to an angle of 240°;...
Embodiment 2
[0048] The difference from Example 1 lies in the difference of S1, specifically:
[0049] S1: Import the image, import the image in RGB format to be detected, and crop the image to an image size of 200*200, add a watermark label to the upper left corner of the image, and perform denoising processing on the image;
[0050] The cropping of the image includes:
[0051] Perform histogram normalization on the input image;
[0052] It involves rotating the image so that the line connecting the left and right eyes remains horizontal;
[0053] Scale the image to obtain a normalized image of uniform size;
[0054] Use the face detection class divider to get the face area;
[0055] Locate the effective area of the eye through eye detection and pupil positioning;
[0056] Crop the image to preserve the effective area of the eyes.
[0057]In summary, the present invention has a screening function, which can detect people with red eye symptoms in time, and remind managers to condu...
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