CN115665310A - System for scanning and modifying object color in real time according to mobile phone camera - Google Patents

System for scanning and modifying object color in real time according to mobile phone camera Download PDF

Info

Publication number
CN115665310A
CN115665310A CN202211278270.XA CN202211278270A CN115665310A CN 115665310 A CN115665310 A CN 115665310A CN 202211278270 A CN202211278270 A CN 202211278270A CN 115665310 A CN115665310 A CN 115665310A
Authority
CN
China
Prior art keywords
color
mobile phone
module
user
colors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211278270.XA
Other languages
Chinese (zh)
Inventor
高洁
张峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hongtu Xinda Technology Co ltd
Original Assignee
Beijing Hongtu Xinda Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hongtu Xinda Technology Co ltd filed Critical Beijing Hongtu Xinda Technology Co ltd
Priority to CN202211278270.XA priority Critical patent/CN115665310A/en
Publication of CN115665310A publication Critical patent/CN115665310A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention relates to the field of mobile phone color optimization systems, in particular to a system for scanning and modifying object colors in real time according to a mobile phone camera. The color blindness crowd enters the color value module, the mobile phone displays the object to the screen of the mobile phone through the shooting function, and the color value of the object color is displayed through system analysis. The crowd of the colour weakness gets into the value added module, at first sets for the colour weakness degree that corresponds the colour weakness colour, then presents the object to the cell-phone screen in through the shooting function, through system analysis object colour, and the selectivity strengthens the colour value degree that corresponds the colour weakness colour, lets the colour weakness crowd indiscriminate true colour of experiencing the object. Finally, the color value of the object is displayed or the color tone of the object is enhanced through real-time scanning of a camera of the mobile phone, and the problems of color blindness and visual color difference of a patient with weak color in the use process of the mobile phone are solved.

Description

System for scanning and modifying object color in real time according to mobile phone camera
Technical Field
The invention relates to the field of mobile phone color optimization, in particular to a system for scanning and modifying object colors in real time according to a mobile phone camera.
Background
People are generally classified as normal, color weakness and color blindness according to the color discrimination ability. Color blindness is that a certain color cannot be distinguished completely, color weakness is that the distinguishing power of a certain color is reduced, a certain color cannot be distinguished easily when a plurality of complex colors are combined, and the color can be distinguished completely and is not influenced when the colors are more vivid. The incomplete statistics show that the whole country has 6000 or more ten thousand color weakness and 2000 or more ten thousand color blindness. With the popularization of the mobile phone and the improvement of the receiving performance, the shooting quality of the mobile phone is very close to that seen by naked eyes. Most mobile phone software in the market has single function, and only supports to acquire object color values or enhance photo (video) color intensity. However, for color blindness and color weakness patients, certain visual chromatic aberration still exists in photos shot by a mobile phone, the requirements on the shooting function cannot be met, and the viewing effect of the photos is also influenced.
Disclosure of Invention
Aiming at the problems in the background technology, a system for scanning and modifying the color of an object in real time according to a mobile phone camera is provided. The software sets a color value module and a hyperchromic module based on a set of mobile phone software capable of controlling object color scanning and adjusting object color. The achromatopsia crowd gets into the color value module, and the cell-phone shows the color value of object colour through system analysis in the cell-phone screen through shooting function with the object. The color weakness crowd enters the value-added module, firstly sets the color weakness corresponding to the color weakness color, then presents the object to the mobile phone screen through the shooting function, analyzes the color of the object through the system, selectively enhances the color value of the corresponding color weakness color, and enables the color weakness crowd to experience the true color of the object without difference. Finally, the color value of the object is displayed or the color tone of the object is enhanced through real-time scanning of a camera of the mobile phone, and the problems of color blindness and visual color difference of a patient with weak color in the use process of the mobile phone are solved.
The invention provides a system for scanning and modifying object colors in real time according to a mobile phone camera, which is based on a set of mobile phone software capable of controlling object color scanning and adjusting object colors, wherein the mobile phone software is provided with a selection function module page; a color value module and a hyperchromic module are arranged on the page of the selection function module; the color value module analyzes the color value of the color of the displayed object; and the hyperchromic module analyzes the color of the object and enhances the chroma of the color value according to the requirement of a user.
Preferably, the working method is as follows:
s1, after a user enters an App, if the user does not log in, entering a login page, and if the user logs in, directly entering a page of a selection function module;
s2, the user logs in through a short message verification code of the input mobile phone number; entering a page of a selection function module after login is successful;
s3, selecting different functional modules by a user according to the requirements of the user;
s4, a color value module is selected by a user, the system starts the function of a mobile phone camera by using a videoCapture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set to obtain pixel points of colors, and then the displayed RGB colors are converted into HSV colors through cvtColor (frame, vc2.COLOR _ BGR2 HSV) of openvc; finally, judging the color according to the HUE, and displaying the color to a screen;
s5, a user selects a hyperchromic module, the user sets a chromaticity parameter, the system starts the function of a mobile phone camera by using a videoCapture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set to obtain pixel points of colors, and then the displayed RGB colors are converted into HSV colors through cvtColor (frame, vc2.COLOR _ BGR2 HSV) of openvc. Finally, judging the color according to the HUE, and displaying the color to a screen; then recoloring the object by using glBegin (GL _ TRIANGLES) and glcolor3f (1, 1) glVertex3f (0, 0) glEnd of opengl respectively; finally, the recolored object is rendered to the screen.
Preferably, the user-set colorimetry parameters include enhanced color type and intensity of color value.
Compared with the prior art, the invention has the following beneficial technical effects:
the invention is based on a set of mobile phone software capable of controlling object color scanning and adjusting object color, achieves experience optimization at a fine granularity layer, and forms a thousand-person and thousand-face display effect for different users. The implementation details are a color value setting module and a hyperchromic module. The color blindness crowd enters the color value module, the mobile phone displays the object to the screen of the mobile phone through the shooting function, and the color value of the object color is displayed through system analysis. The color weakness crowd enters the value-added module, firstly sets the color weakness corresponding to the color weakness color, then presents the object to the mobile phone screen through the shooting function, analyzes the color of the object through the system, selectively enhances the color value of the corresponding color weakness color, and enables the color weakness crowd to experience the true color of the object without difference. Finally, the color value of the object is displayed or the color tone of the object is enhanced through real-time scanning of a camera of the mobile phone, and the problem of visual color difference of a patient with color blindness and color weakness in the use process of the mobile phone is solved.
Drawings
FIG. 1 is a block diagram of a method flow according to an embodiment of the present invention.
Detailed Description
Example one
The invention provides a system for scanning and modifying object colors in real time according to a mobile phone camera, which is based on a set of mobile phone software capable of controlling object color scanning and adjusting object colors, wherein the mobile phone software is provided with a selection function module page; a color value module and a hyperchromic module are arranged on the page of the selection function module; the color value module analyzes the color value of the color of the displayed object; and the hyperchromic module analyzes the color of the object and enhances the chroma of the color value according to the requirement of a user.
Example two
The invention provides a system for scanning and modifying object colors in real time according to a mobile phone camera, which is based on a set of mobile phone software capable of controlling object color scanning and adjusting object colors, wherein the mobile phone software is provided with a selection function module page; a color value module and a hyperchromic module are arranged on the page of the selection function module; the color value module analyzes the color value of the color of the displayed object; and the hyperchromic module analyzes the color of the object and enhances the chroma of the color value according to the requirement of a user.
As shown in fig. 1, the working method is as follows:
s1, after a user enters an App, if the user does not log in, entering a login page, and if the user logs in, directly entering a page of a selection function module;
s2, the user logs in by inputting a short message verification code of the mobile phone number; entering a page of a selection function module after successful login;
s3, selecting different functional modules by a user according to the requirements of the user;
s4, a user selects a color value module, the system starts a camera function of the mobile phone by using a VideoCapture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set to obtain pixel points of colors, and then RGB colors in display are converted into HSV colors through cvtColors (frame, vc2.COLOR _ BGR2 HSV) of openvc; finally, judging the color according to the HUE, and displaying the color to a screen;
s5, a user selects a hyperchromic module, the user sets chroma parameters, the system starts a camera function of the mobile phone by using a video Capture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set as a position to acquire pixel points of colors, and then displayed RGB colors are converted into HSV colors through cvtColors (frame, vc2.COLOR _ BGR2 HSV) of openvc. Finally, judging the color according to the HUE, and displaying the color to a screen; then recoloring the object by using glBegin (GL _ TRIANGLES) and glcolor3f (1, 1) glVertex3f (0, 0) glEnd of opengl respectively; finally, the recolored object is rendered to the screen.
EXAMPLE III
The invention provides a system for scanning and modifying object colors in real time according to a mobile phone camera, which is based on a set of mobile phone software capable of controlling object color scanning and adjusting object colors, wherein the mobile phone software is provided with a selection function module page; a color value module and a hyperchromic module are arranged on the page of the selection function module; the color value module analyzes the color value of the color of the displayed object; and the hyperchromic module analyzes the color of the object and enhances the chroma of the color value according to the requirement of a user.
As shown in fig. 1, the working method is as follows:
s1, after a user enters an App, if the user does not log in, entering a login page, and if the user logs in, directly entering a page of a function selection module;
s2, the user logs in by inputting a short message verification code of the mobile phone number; entering a page of a selection function module after login is successful;
s3, selecting different functional modules by a user according to the requirement of the user;
s4, a user selects a color value module, the system starts a camera function of the mobile phone by using a VideoCapture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set to obtain pixel points of colors, and then RGB colors in display are converted into HSV colors through cvtColors (frame, vc2.COLOR _ BGR2 HSV) of openvc; finally, judging the color according to the HUE and displaying the color to a screen;
s5, a user selects a hyperchromic module, the user sets a chromaticity parameter, the system starts the function of a mobile phone camera by using a videoCapture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set to obtain pixel points of colors, and then the displayed RGB colors are converted into HSV colors through cvtColor (frame, vc2.COLOR _ BGR2 HSV) of openvc. Finally, judging the color according to the HUE and displaying the color to a screen; then recoloring the object by utilizing the glBegin (GL _ TRIANGLES) and the glcolor3f (1, 1) glVertex3f (0, 0) glEnd of opengl respectively; finally, the recolored object is rendered to the screen.
Further, the user-set colorimetry parameters include enhanced color type and intensity of color value.
According to the invention, based on a set of mobile phone software capable of controlling object color scanning and adjusting object color, experience optimization is achieved at a fine granularity layer, and thousands of people and thousands of faces of different users are displayed. The implementation details are a color value setting module and a hyperchromic module. The achromatopsia crowd gets into the color value module, and the cell-phone shows the color value of object colour through system analysis in the cell-phone screen through shooting function with the object. The color weakness crowd enters the value-added module, firstly sets the color weakness corresponding to the color weakness color, then presents the object to the mobile phone screen through the shooting function, analyzes the color of the object through the system, selectively enhances the color value of the corresponding color weakness color, and enables the color weakness crowd to experience the true color of the object without difference. Finally, the color value of the object is displayed or the color tone of the object is enhanced through real-time scanning of a camera of the mobile phone, and the problem of visual color difference of a patient with color blindness and color weakness in the use process of the mobile phone is solved.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (3)

1. A system for scanning and modifying object colors in real time according to a mobile phone camera is characterized in that based on a set of mobile phone software capable of controlling object color scanning and adjusting object colors, the mobile phone software is provided with a selection function module page; a color value module and a hyperchromic module are arranged on the page of the selection function module; the color value module analyzes the color value of the color of the displayed object; and the hyperchromic module analyzes the color of the object and enhances the chroma of the color value according to the requirement of a user.
2. The system for scanning and modifying the color of an object in real time according to the camera of the mobile phone according to claim 1 is characterized in that the working method is as follows:
s1, after a user enters an App, if the user does not log in, entering a login page, and if the user logs in, directly entering a page of a function selection module;
s2, the user logs in by inputting a short message verification code of the mobile phone number; entering a page of a selection function module after login is successful;
s3, selecting different functional modules by a user according to the requirement of the user;
s4, a color value module is selected by a user, the system starts the function of a mobile phone camera by using a videoCapture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set to obtain pixel points of colors, and then the displayed RGB colors are converted into HSV colors through cvtColor (frame, vc2.COLOR _ BGR2 HSV) of openvc; finally, judging the color according to the HUE, and displaying the color to a screen;
s5, a user selects a hyperchromic module, the user sets chroma parameters, the system starts a camera function of the mobile phone by using a video Capture (0) method of openvc, an object video stream is presented in a mobile phone screen, then a central point of the mobile phone screen is set as a position to acquire pixel points of colors, and then displayed RGB colors are converted into HSV colors through cvtColors (frame, vc2.COLOR _ BGR2 HSV) of openvc. Finally, judging the color according to the HUE and displaying the color to a screen; then recoloring the object by using glBegin (GL _ TRIANGLES) and glcolor3f (1, 1) glVertex3f (0, 0) glEnd of opengl respectively; finally, the recolored object is rendered to the screen.
3. The system of claim 2, wherein the user setting the colorimetry parameters includes enhanced color type and intensity of color values.
CN202211278270.XA 2022-10-19 2022-10-19 System for scanning and modifying object color in real time according to mobile phone camera Pending CN115665310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211278270.XA CN115665310A (en) 2022-10-19 2022-10-19 System for scanning and modifying object color in real time according to mobile phone camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211278270.XA CN115665310A (en) 2022-10-19 2022-10-19 System for scanning and modifying object color in real time according to mobile phone camera

Publications (1)

Publication Number Publication Date
CN115665310A true CN115665310A (en) 2023-01-31

Family

ID=84988828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211278270.XA Pending CN115665310A (en) 2022-10-19 2022-10-19 System for scanning and modifying object color in real time according to mobile phone camera

Country Status (1)

Country Link
CN (1) CN115665310A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459764A (en) * 2007-12-14 2009-06-17 廖礼士 System and method for vision detect measurement and compensation
CN109151446A (en) * 2018-09-25 2019-01-04 联想(北京)有限公司 Control method and electronic equipment
CN114820386A (en) * 2022-05-26 2022-07-29 太原理工大学 Color blindness and color weakness color image enhancement system for terminal display equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459764A (en) * 2007-12-14 2009-06-17 廖礼士 System and method for vision detect measurement and compensation
CN109151446A (en) * 2018-09-25 2019-01-04 联想(北京)有限公司 Control method and electronic equipment
CN114820386A (en) * 2022-05-26 2022-07-29 太原理工大学 Color blindness and color weakness color image enhancement system for terminal display equipment

Similar Documents

Publication Publication Date Title
US20220116529A1 (en) Light supplementing method for shooting pictures, smart tv and computer-readable storage medium
CN110322830B (en) LED screen brightness correction method and device
CN110351537B (en) White balance method and device for image acquisition, storage medium and electronic equipment
US20090135266A1 (en) System for scribing a visible label
CN104157261A (en) Display mode adjusting method of display device and display mode adjusting module thereof
CN111064942B (en) Image processing method and apparatus
CN104076928A (en) Method for adjusting color tone of text display area
CN106843782B (en) Method for adjusting color of image of electronic equipment and electronic equipment
CN105302517A (en) Method and device for regulating display color of terminal screen
CN105451094B (en) Subtitle color adjustment method and device
CN105915687A (en) User Interface Adjusting Method And Apparatus Using The Same
CN105898252A (en) Television color adjustment method and device
CN103699222A (en) Automatic display terminal image quality adjustment method and display terminal
CN110444181B (en) Display method, display device, terminal and computer-readable storage medium
CN112801858A (en) Color conversion method, device, equipment and storage medium
CN110780961A (en) Method for adjusting character color of application interface, storage medium and terminal equipment
CN115665310A (en) System for scanning and modifying object color in real time according to mobile phone camera
CN111613169B (en) Jewelry color grading display device
CN105677005A (en) Screen control method and device for mobile terminal
EP3913616B1 (en) Display method and device, computer program, and storage medium
KR101396934B1 (en) Liquid Crystal Display Color Correction Module for Mobile Device
JPWO2004023397A1 (en) Visual assistance network server, visual assistance network system, visual assistance method, visual assistance system, color vision function notification system, color vision function notification program, color vision function notification method, color vision assistance system, color vision assistance program, and color vision assistance method
CN114820386A (en) Color blindness and color weakness color image enhancement system for terminal display equipment
CN1808560A (en) Image display method
CN113487497A (en) Image processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination