CN112882640A - System and method for changing background and font color of scanning pen - Google Patents

System and method for changing background and font color of scanning pen Download PDF

Info

Publication number
CN112882640A
CN112882640A CN202110336283.7A CN202110336283A CN112882640A CN 112882640 A CN112882640 A CN 112882640A CN 202110336283 A CN202110336283 A CN 202110336283A CN 112882640 A CN112882640 A CN 112882640A
Authority
CN
China
Prior art keywords
color
background
user
value
setting
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.)
Granted
Application number
CN202110336283.7A
Other languages
Chinese (zh)
Other versions
CN112882640B (en
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.)
Readboy Education Technology Co Ltd
Original Assignee
Readboy Education 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 Readboy Education Technology Co Ltd filed Critical Readboy Education Technology Co Ltd
Priority to CN202110336283.7A priority Critical patent/CN112882640B/en
Publication of CN112882640A publication Critical patent/CN112882640A/en
Application granted granted Critical
Publication of CN112882640B publication Critical patent/CN112882640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour

Abstract

The invention discloses a system and a method for replacing background and font colors by a scanning pen. The method is simple to operate, the user can set the color of the cardioscope as the background color or the character color of the scanning pen, the functions of the scanning pen are enriched, and the use experience of the user is promoted.

Description

System and method for changing background and font color of scanning pen
Technical Field
The invention relates to the technical field of scanning pens, in particular to a system and a method for changing background and font colors of a scanning pen.
Background
The wand is a hand-held electronic device, and the user can realize the scanning of characters or image through holding the wand and type, through built-in Optical Character Recognition (OCR) module, can discern, operation such as storage and editing to the characters, by wide application in scenes such as student's study, tourism translation.
In order to better meet the experience requirements of user operation, review and the like, the display screen of the current scanning pen is gradually expanded, and the user has further requirements on the content style displayed in the screen, such as setting the favorite display screen background or font color.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a system and a method for replacing the background and the font color of a scanning pen.
In order to achieve the purpose, the invention adopts the following technical scheme:
a system for changing background and font color of a scanning pen comprises:
a triggering module: the event is used for triggering the change of the background color or the change of the font color by the user;
a color setting module: the device is used for extracting an RGB average value from a color picture acquired by a scanning pen; the color setting module is used for setting the extracted RGB average value as a color value of a background or characters for users to preview, and providing options for users to confirm and quit on a display interface of the scanning pen, when the users select to confirm, the color setting module keeps the current color value of the background or the characters and quits an event of changing the background color or changing the font color of the display interface, when the users select the option to quit, the color setting module discards the current color value of the background or the characters and restores the color value of the background or the characters to the original color value, and then the event of changing the background color or the font color of the display interface is quitted.
The system further comprises a color adjusting module, which is used for displaying an adjusting option on a display interface of the scanning pen after the color setting module sets the RGB average value as the color value of the background or the character, when the user selects to adjust, providing a color adjusting interface for the user, so that the user can adjust the current color value and set the color value adjusted by the user as the color value of the background or the font in real time for the user to preview, and providing options of confirmation, cancellation and quitting for the user on the color adjusting interface; when the user selects and confirms, the color adjusting module keeps the current color value of the background or the characters and quits the background color changing or character color changing event; when the user selects to cancel, the color adjusting module sets the color value of the background or the character as the RGB average value again, and the user starts to adjust again from the RGB average value; when the user selects to quit, the color adjusting module discards the current color value of the background or the character and restores the color value of the background or the character to be the original color value.
The system further comprises a background image setting module, which is used for providing options of setting a background image and directly setting a color value for a user on a display interface of the scanning pen when the user triggers an event of changing the background color, splicing image frames acquired by the scanning pen in sequence when the user selects to set the background image first, setting the spliced image as the background image for the user to preview, and providing options of confirmation and rejection for the user on the display interface of the scanning pen; if the user selects to confirm, the background image setting module reserves the current background image and jumps to the color setting module for the user to set the background color; if the user chooses to discard, the background image setting module restores the background image to the original background image and provides the user with options of continuously setting the background image and directly setting the background color on the display interface of the scanning pen; and if the user selects to directly set the background color, skipping to a color setting module for the user to set the background color, and if the user selects to continue setting the background image, repeating the background image setting process.
The invention also provides a method for replacing the background and the font color by using the scanning pen of the system, which comprises the following specific processes:
s1, triggering an event of changing the background color of the display interface or changing the font color by the user through the trigger module;
s2, the user scans the scanning pen to obtain the picture of the target color, the color setting module extracts the RGB average value of the picture of the target color, sets the RGB average value as the color value of the background or font for the user to preview, and provides the user with the options of confirmation and quit on the display interface of the scanning pen; when the user selects the confirmation, the color setting module retains the current color value of the background or the character and quits the event of replacing the background color of the display interface or the font color, and when the user selects the quitting option, the color setting module discards the current color value of the background or the character and restores the color value of the background or the character to the original color value, and then quits the event of replacing the background color of the display interface or the font color.
Further, in the above method, in step S2, after the color setting module sets the RGB average value as the color value of the background or the text, the color adjusting module displays an adjustment option on the display interface of the scanning pen; when the user selects adjustment, the color adjustment module provides a color adjustment interface for the user, and the user adjusts the current color value on the color adjustment interface; the color adjusting module sets the color value adjusted by the user to be the color value of the background or the font in real time for the user to preview, and provides options of confirmation, cancellation and quitting for the user on a color adjusting interface; when the user selects and confirms, the color adjusting module keeps the current color value of the background or the characters and quits the background color changing or character color changing event; when the user selects to cancel, the color adjusting module sets the color value of the background or the character as the RGB average value again, and the user starts to adjust again from the RGB average value; when the user selects to quit, the color adjusting module discards the current color value of the background or the character and restores the color value of the background or the character to be the original color value.
Further, in the above method, if the event that the user triggers to change the background color is triggered, the background image setting module provides the user with the options of changing the background image first and changing the background color directly on the display interface of the wand; if the user selects to directly change the background color, the background color setting is performed as per step S2; if the user selects to replace the background image first, the user scans the pictures of the cardioscope from top to bottom, from left to right through the scanning pen, the background image setting module splices the scanned picture frames in sequence, and replaces the spliced pictures with the background image for the user to preview, and provides options of confirmation and rejection for the user on the display interface of the scanning pen; if the user selects confirmation, the background image setting module keeps the current background image, and the user continues to set the background color according to the process of the step S2; if the user chooses to discard, the background image setting module restores the background image to the original background image and provides the user with options of continuously setting the background image and directly setting the background color on the display interface of the scanning pen; if the user selects to directly set the background color, the user continues the background color setting in accordance with the process of step S2, and if the user selects to continue the setting of the background map, the above-described process of background map setting is repeated.
The invention has the beneficial effects that: the method is simple to operate, the user can set the color of the cardioscope as the background color or the character color of the display screen of the scanning pen, the functions of the scanning pen are enriched, and the use experience of the user is promoted.
Detailed Description
The present invention will be further described below, and it should be noted that the present embodiment is based on the technical solution, and a detailed implementation manner and a specific operation process are provided, but the protection scope of the present invention is not limited to the present embodiment.
Example 1
The embodiment provides a system for replacing background and font color of a scanning pen, which comprises:
a triggering module: the event is used for triggering the change of the background color or the change of the font color by the user;
a color setting module: the device is used for extracting an RGB average value from a color picture acquired by a scanning pen; the color setting module is used for setting the extracted RGB average value as a color value of a background or characters for users to preview, and providing options for users to confirm and quit on a display interface of the scanning pen, when the users select to confirm, the color setting module keeps the current color value of the background or the characters and quits an event of changing the background color or changing the font color of the display interface, when the users select the option to quit, the color setting module discards the current color value of the background or the characters and restores the color value of the background or the characters to the original color value, and then the event of changing the background color or the font color of the display interface is quitted.
It should be noted that the triggering module may be configured to trigger an event of changing a background color or changing a font color through one or more of voice, a key, and a gesture slide.
The system further comprises a color adjusting module, which is used for displaying an adjusting option on a display interface of the scanning pen after the color setting module sets the RGB average value as the color value of the background or the character, when the user selects to adjust, providing a color adjusting interface for the user, so that the user can adjust the current color value and set the color value adjusted by the user as the color value of the background or the font in real time for the user to preview, and providing options of confirmation, cancellation and quitting for the user on the color adjusting interface; when the user selects and confirms, the color adjusting module keeps the current color value of the background or the characters and quits the background color changing or character color changing event; when the user selects to cancel, the color adjusting module sets the color value of the background or the character as the RGB average value again, and the user starts to adjust again from the RGB average value; when the user selects to quit, the color adjusting module discards the current color value of the background or the character and restores the color value of the background or the character to be the original color value.
The system further comprises a background image setting module, which is used for providing options of setting a background image and directly setting a color value for a user on a display interface of the scanning pen when the user triggers an event of changing the background color, splicing image frames acquired by the scanning pen in sequence when the user selects to set the background image first, setting the spliced image as the background image for the user to preview, and providing options of confirmation and rejection for the user on the display interface of the scanning pen; if the user selects to confirm, the background image setting module reserves the current background image and jumps to the color setting module for the user to set the background color; if the user chooses to discard, the background image setting module restores the background image to the original background image and provides the user with options of continuously setting the background image and directly setting the background color on the display interface of the scanning pen; and if the user selects to directly set the background color, skipping to a color setting module for the user to set the background color, and if the user selects to continue setting the background image, repeating the background image setting process.
Example 2
A method for replacing background and font color of a scanning pen comprises the following specific processes:
s1, triggering an event of changing the background color of the display interface or changing the font color by the user through the trigger module;
s2, the user scans the scanning pen to obtain the picture of the target color, the color setting module extracts the RGB average value of the picture of the target color, sets the RGB average value as the color value of the background or font for the user to preview, and provides the user with the options of confirmation and quit on the display interface of the scanning pen; when the user selects the confirmation, the color setting module retains the current color value of the background or the character and quits the event of replacing the background color of the display interface or the font color, and when the user selects the quitting option, the color setting module discards the current color value of the background or the character and restores the color value of the background or the character to the original color value, and then quits the event of replacing the background color of the display interface or the font color.
Furthermore, after the color setting module sets the RGB average value as the color value of the background or the characters, the color adjusting module displays the adjusting options on the display interface of the scanning pen; when the user selects adjustment, the color adjustment module provides a color adjustment interface for the user, and the user adjusts the current color value on the color adjustment interface; the color adjusting module sets the color value adjusted by the user to be the color value of the background or the font in real time for the user to preview, and provides options of confirmation, cancellation and quitting for the user on a color adjusting interface; when the user selects and confirms, the color adjusting module keeps the current color value of the background or the characters and quits the background color changing or character color changing event; when the user selects to cancel, the color adjusting module sets the color value of the background or the character as the RGB average value again, and the user starts to adjust again from the RGB average value; when the user selects to quit, the color adjusting module discards the current color value of the background or the character and restores the color value of the background or the character to be the original color value. If the user clicks on the confirmation without adjustment on the color adjustment interface, the current color value is the RGB average.
Furthermore, if the event of changing the background color is triggered by the user, the background image setting module provides the user with the options of changing the background image firstly and directly on the display interface of the scanning pen; if the user selects to directly change the background color, the background color setting is performed as per step S2; if the user selects to replace the background image first, the user scans the pictures of the cardioscope from top to bottom, from left to right through the scanning pen, the background image setting module splices the scanned picture frames in sequence, and replaces the spliced pictures with the background image for the user to preview, and provides options of confirmation and rejection for the user on the display interface of the scanning pen; if the user selects confirmation, the background image setting module keeps the current background image, and the user continues to set the background color according to the process of the step S2; if the user chooses to discard, the background image setting module restores the background image to the original background image and provides the user with options of continuously setting the background image and directly setting the background color on the display interface of the scanning pen; if the user selects to directly set the background color, the user continues the background color setting in accordance with the process of step S2, and if the user selects to continue the setting of the background map, the above-described process of background map setting is repeated.
Various corresponding changes and modifications can be made by those skilled in the art based on the above technical solutions and concepts, and all such changes and modifications should be included in the protection scope of the present invention.

Claims (6)

1. A system for changing background and font color of a scanning pen is characterized by comprising:
a triggering module: the event is used for triggering the change of the background color or the change of the font color by the user;
a color setting module: the device is used for extracting an RGB average value from a color picture acquired by a scanning pen; the color setting module is used for setting the extracted RGB average value as a color value of a background or characters for users to preview, and providing options for users to confirm and quit on a display interface of the scanning pen, when the users select to confirm, the color setting module keeps the current color value of the background or the characters and quits an event of changing the background color or changing the font color of the display interface, when the users select the option to quit, the color setting module discards the current color value of the background or the characters and restores the color value of the background or the characters to the original color value, and then the event of changing the background color or the font color of the display interface is quitted.
2. The system of claim 1, further comprising a color adjustment module, configured to display an adjustment option on the display interface of the scan pen after the color setting module sets the RGB average value as the color value of the background or the text, when the user selects adjustment, provide a color adjustment interface for the user to adjust the current color value and set the color value adjusted by the user as the color value of the background or the font in real time for the user to preview, and provide an option of confirmation, cancellation, and exit for the user on the color adjustment interface; when the user selects and confirms, the color adjusting module keeps the current color value of the background or the characters and quits the background color changing or character color changing event; when the user selects to cancel, the color adjusting module sets the color value of the background or the character as the RGB average value again, and the user starts to adjust again from the RGB average value; when the user selects to quit, the color adjusting module discards the current color value of the background or the character and restores the color value of the background or the character to be the original color value.
3. The system of claim 1, further comprising a background image setting module, configured to provide, when a user triggers an event of changing a background color, options of setting a background image and directly setting a color value for the user on the display interface of the wand, and when the user selects to set the background image first, sequentially concatenate image frames obtained by the wand, then set the concatenated image as the background image for the user to preview, and then provide options of confirmation and rejection for the user on the display interface of the wand; if the user selects to confirm, the background image setting module reserves the current background image and jumps to the color setting module for the user to set the background color; if the user chooses to discard, the background image setting module restores the background image to the original background image and provides the user with options of continuously setting the background image and directly setting the background color on the display interface of the scanning pen; and if the user selects to directly set the background color, skipping to a color setting module for the user to set the background color, and if the user selects to continue setting the background image, repeating the background image setting process.
4. A method for changing background and font color by using a scanning pen of the system of any one of claims 1 to 3, which is characterized in that the specific process is as follows:
s1, triggering an event of changing the background color of the display interface or changing the font color by the user through the trigger module;
s2, the user scans the scanning pen to obtain the picture of the target color, the color setting module extracts the RGB average value of the picture of the target color, sets the RGB average value as the color value of the background or font for the user to preview, and provides the user with the options of confirmation and quit on the display interface of the scanning pen; when the user selects the confirmation, the color setting module retains the current color value of the background or the character and quits the event of replacing the background color of the display interface or the font color, and when the user selects the quitting option, the color setting module discards the current color value of the background or the character and restores the color value of the background or the character to the original color value, and then quits the event of replacing the background color of the display interface or the font color.
5. The method of claim 4, wherein in step S2, after the color setting module sets the RGB average value as the color value of the background or the text, the color adjustment module displays the adjustment option on the display interface of the scanning pen; when the user selects adjustment, the color adjustment module provides a color adjustment interface for the user, and the user adjusts the current color value on the color adjustment interface; the color adjusting module sets the color value adjusted by the user to be the color value of the background or the font in real time for the user to preview, and provides options of confirmation, cancellation and quitting for the user on a color adjusting interface; when the user selects and confirms, the color adjusting module keeps the current color value of the background or the characters and quits the background color changing or character color changing event; when the user selects to cancel, the color adjusting module sets the color value of the background or the character as the RGB average value again, and the user starts to adjust again from the RGB average value; when the user selects to quit, the color adjusting module discards the current color value of the background or the character and restores the color value of the background or the character to be the original color value.
6. The method of claim 4 or 5, wherein if the user triggers an event of changing the background color, the background image setting module provides the user with the options of changing the background image first and changing the background color directly on the display interface of the wand; if the user selects to directly change the background color, the background color setting is performed as per step S2; if the user selects to replace the background image first, the user scans the pictures of the cardioscope from top to bottom, from left to right through the scanning pen, the background image setting module splices the scanned picture frames in sequence, and replaces the spliced pictures with the background image for the user to preview, and provides options of confirmation and rejection for the user on the display interface of the scanning pen; if the user selects confirmation, the background image setting module keeps the current background image, and the user continues to set the background color according to the process of the step S2; if the user chooses to discard, the background image setting module restores the background image to the original background image and provides the user with options of continuously setting the background image and directly setting the background color on the display interface of the scanning pen; if the user selects to directly set the background color, the user continues the background color setting in accordance with the process of step S2, and if the user selects to continue the setting of the background map, the above-described process of background map setting is repeated.
CN202110336283.7A 2021-03-29 2021-03-29 System and method for changing background and font color of scanning pen Active CN112882640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110336283.7A CN112882640B (en) 2021-03-29 2021-03-29 System and method for changing background and font color of scanning pen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110336283.7A CN112882640B (en) 2021-03-29 2021-03-29 System and method for changing background and font color of scanning pen

Publications (2)

Publication Number Publication Date
CN112882640A true CN112882640A (en) 2021-06-01
CN112882640B CN112882640B (en) 2023-02-24

Family

ID=76039788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110336283.7A Active CN112882640B (en) 2021-03-29 2021-03-29 System and method for changing background and font color of scanning pen

Country Status (1)

Country Link
CN (1) CN112882640B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031572A (en) * 1996-07-12 1998-02-03 Casio Comput Co Ltd Character color setting method
CN101605175A (en) * 2009-07-13 2009-12-16 中兴通讯股份有限公司 A kind of method of displaying colorful desktop text by mobile terminal and device
US20120326834A1 (en) * 2011-06-23 2012-12-27 Sony Corporation Systems and methods for automated adjustment of device settings
US20150347000A1 (en) * 2013-04-05 2015-12-03 Kabushiki Kaisha Toshiba Electronic device and handwriting-data processing method
CN106204678A (en) * 2016-07-13 2016-12-07 广州视睿电子科技有限公司 The display color adjustment method of content, system and device
CN111204300A (en) * 2018-11-22 2020-05-29 上海擎感智能科技有限公司 Vehicle, vehicle equipment and display element color setting method
CN112232342A (en) * 2020-10-21 2021-01-15 安徽淘云科技有限公司 Method for setting theme of scanning pen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031572A (en) * 1996-07-12 1998-02-03 Casio Comput Co Ltd Character color setting method
CN101605175A (en) * 2009-07-13 2009-12-16 中兴通讯股份有限公司 A kind of method of displaying colorful desktop text by mobile terminal and device
US20120326834A1 (en) * 2011-06-23 2012-12-27 Sony Corporation Systems and methods for automated adjustment of device settings
US20150347000A1 (en) * 2013-04-05 2015-12-03 Kabushiki Kaisha Toshiba Electronic device and handwriting-data processing method
CN106204678A (en) * 2016-07-13 2016-12-07 广州视睿电子科技有限公司 The display color adjustment method of content, system and device
CN111204300A (en) * 2018-11-22 2020-05-29 上海擎感智能科技有限公司 Vehicle, vehicle equipment and display element color setting method
CN112232342A (en) * 2020-10-21 2021-01-15 安徽淘云科技有限公司 Method for setting theme of scanning pen

Also Published As

Publication number Publication date
CN112882640B (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN107168674B (en) Screen casting annotation method and system
US8988543B2 (en) Camera based method for text input and keyword detection
US20100098341A1 (en) Image recognition device for displaying multimedia data
US20200302664A1 (en) Creating and displaying multi-layered augemented reality
CN110557678A (en) Video processing method, device and equipment
CN113194255A (en) Shooting method and device and electronic equipment
CN106210909A (en) TV the display processing method of content, Apparatus and system
WO2022161260A1 (en) Focusing method and apparatus, electronic device, and medium
CN112383830A (en) Video cover determining method and device and storage medium
CN113242392A (en) Short video production method
CN112882640B (en) System and method for changing background and font color of scanning pen
CN111126083A (en) Terminal picture real-time translation method and system
CN114222149A (en) Plug flow method, device, medium and computer equipment
CN113313027A (en) Image processing method, image processing device, electronic equipment and storage medium
CN205726069U (en) Unmanned vehicle controls end and unmanned vehicle
CN111787267A (en) Conference video subtitle synthesis system and method
CN111327961A (en) Video subtitle switching method and system
US7594190B2 (en) Apparatus and method for user interfacing
KR100858138B1 (en) Control System Using Remote Pointing Device
US20150029297A1 (en) Data Processing Method And Electronic Device
CN103678291A (en) Mobile phone translation method
KR20080094999A (en) Method for configuring display using user's handwriting and the terminal thereof
CN113159017A (en) System and method for intelligently marking key points by scanning pen
US11256850B2 (en) Italic character creation module and method
KR20120063127A (en) Mobile terminal with extended data

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
GR01 Patent grant
GR01 Patent grant