WO2022057535A1 - 信息展示方法及装置、存储介质及电子设备 - Google Patents
信息展示方法及装置、存储介质及电子设备 Download PDFInfo
- Publication number
- WO2022057535A1 WO2022057535A1 PCT/CN2021/112348 CN2021112348W WO2022057535A1 WO 2022057535 A1 WO2022057535 A1 WO 2022057535A1 CN 2021112348 W CN2021112348 W CN 2021112348W WO 2022057535 A1 WO2022057535 A1 WO 2022057535A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- font
- bitmap
- category
- target
- text
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000006243 chemical reaction Methods 0.000 claims abstract description 93
- 230000004044 response Effects 0.000 claims abstract description 42
- 238000009877 rendering Methods 0.000 claims description 9
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 11
- 238000012549 training Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000013527 convolutional neural network Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003062 neural network model Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/169—Annotation, e.g. comment data or footnotes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/171—Editing, e.g. inserting or deleting by use of digital ink
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
Definitions
- the present disclosure relates to the technical field of information display, and in particular, to an information display method and apparatus, a computer-readable storage medium, and an electronic device.
- an information display method comprising:
- determining a target font conversion model corresponding to the target font category in a model library wherein the model library includes font conversion models corresponding to multiple font categories;
- the initial bitmap of the standard text is converted into a target bitmap corresponding to the target font category and displayed on the display device page.
- the method before responding to a user's writing operation on the display device page, the method further includes:
- determining a standard character corresponding to the writing operation according to a writing trajectory of the writing operation in response to a user's writing operation on the display device page, determining a standard character corresponding to the writing operation according to a writing trajectory of the writing operation, and generating the The initial bitmap corresponding to standard text, including:
- generating the initial bitmap of the standard text includes:
- the initial bitmap is obtained by rendering according to the vector outline shape.
- the method further includes:
- an area to be annotated is determined, and a selection interface of the candidate display font category is displayed in the to-be-annotated area.
- the determining a target font category to be written in response to a user's selection operation on one of the at least one candidate display font categories displayed on the display device page includes:
- the target font category is determined in response to a user's touch operation on a category in the candidate display font category presentation interface.
- the display device page has a font category of an initially displayed font, and the font category of the initially displayed text is a standard font, and the method further includes:
- the first font conversion model is used to convert the bitmap of the initially displayed text into the first bitmap corresponding to the first font category.
- acquiring the bitmap of the displayed text in response to the user's first font conversion operation on the initially displayed text includes:
- bitmaps of the initially displayed characters to be converted are respectively acquired.
- using the first font conversion model to convert the bitmap of the initially displayed text into the first bitmap corresponding to the first font category includes:
- the target font conversion model is used to convert the initial bitmap of the standard text into a target bitmap corresponding to the target font category and display it on the display device page
- the The method also includes:
- the initial bitmap is converted into a second bitmap corresponding to a second font category by using the second font conversion model, and the target bitmap is replaced.
- the input of the font conversion model is a bitmap corresponding to a standard font
- the output is a bitmap corresponding to a category of candidate display fonts.
- an information display device comprising:
- the selection module determines the target font category to be written in response to the user's operation on the display device page
- a determining module for determining a target font conversion model corresponding to the target font category in a model library, wherein the model library includes font conversion models corresponding to multiple candidate display font categories;
- an input module in response to a user's writing operation on the display device page, determining a standard character corresponding to the writing operation according to the writing track of the writing operation, and generating an initial bitmap corresponding to the standard character;
- the conversion module uses the target font conversion model to convert the initial bitmap of the standard text into a target bitmap corresponding to the target font category and display it on the display device page.
- a computer-readable storage medium is provided, and when the program is executed by a processor, the information display method according to any one of the above-mentioned items is implemented.
- an electronic device comprising:
- a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement information as described in any of the above Show method.
- FIG. 1 schematically shows a flowchart of an information display method in an exemplary embodiment of the present disclosure
- FIG. 2 schematically shows a schematic diagram of displaying a device page in an annotation scenario in an exemplary embodiment of the present disclosure
- FIG. 3 schematically shows a flow chart of model library acquisition in an exemplary embodiment of the present disclosure
- FIG. 4 schematically shows a flow chart of converting initially displayed text by taking an electronic whiteboard as an example in an exemplary embodiment of the present disclosure
- FIG. 5 schematically shows a schematic diagram of the composition of an information display apparatus in an exemplary embodiment of the present disclosure
- FIG. 6 schematically shows a schematic structural diagram of a computer system suitable for implementing an electronic device according to an exemplary embodiment of the present disclosure
- FIG. 7 schematically illustrates a schematic diagram of a computer-readable storage medium according to some embodiments of the present disclosure.
- Example embodiments will now be described more fully with reference to the accompanying drawings.
- Example embodiments can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
- the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
- an information display method is first provided, which can be applied to a display device with an intelligent interactive function, for example, applied to an electronic whiteboard system, where the text input by a user on the electronic whiteboard can be displayed through the above information
- the method is converted to the personalized font display set and selected by the user.
- the above-mentioned information presentation method may comprise the following steps:
- S130 in response to a user's writing operation on the display device page, determine a standard character corresponding to the writing operation according to the writing track of the writing operation, and generate an initial bitmap corresponding to the standard character;
- the user when inputting text on the touch display device, the user can first determine the target font category, and then according to the target font category in the model library Determine the target font conversion model, and use the target font conversion model to convert the initial bitmap of the standard text corresponding to the user's writing operation into the target bitmap corresponding to the target font category and display it on the display device page. On the one hand, it can be displayed on the touch display device.
- the target bitmap of the target font category is generated through the pre-trained font conversion model, without setting a complete target font category library, which reduces the storage pressure on the server; on the other hand, through the The font conversion model can be trained with a small amount of data, and personalized fonts for a variety of users can be designed, avoiding the copyright problem caused by using the existing complete font library.
- step S110 the target font category to be written is determined in response to the user's operation on the display device page.
- the server may determine the target font category to be written in response to the user's operation on the display device page, specifically, the response may be on the display device page.
- the personalized font is not specifically limited in this example implementation.
- the above information display method can be applied to an annotation scenario, and the server can first respond to the user's operation of initiating annotation, determine an area 211 to be annotated on the display device page 210, and The annotation area displays a selection interface 212 for candidate display font categories. Then, the server can respond to the user's first operation on the candidate font selection interface 212 to display multiple candidate display font categories, and finally, the server can respond to the user's touch operation on a category in the candidate display font category display interface to determine the above target. Font category.
- the font selection interface 212 may be displayed outside the to-be-annotated area 211 , and an arrow is used to indicate that the font-selection interface 212 is a font for selecting annotated text in the to-be-annotated area 211 category.
- fonts there are many ways to select fonts. For example, a variety of candidate display font categories are displayed directly in the preset area of the above-mentioned display device page, and the user can select the target font category by clicking, or the user can input the font by voice.
- the target font category is determined by the method, and for another example, a correspondence between gestures and candidate font categories is set in the display device, and the user selects different target font categories through different gestures.
- the selection method is specifically limited.
- the confusion between the initial display text and the annotation text can be avoided.
- the user continues to complete the remaining work after completing the annotation, and the user can clearly distinguish the annotation text from the initial display text during playback display.
- the above-mentioned font selection interface can respond to the selection operations of different users, that is, multiple users can use different fonts to annotate at the same time, that is, the area to be annotated can include multiple, at this time, different users use different fonts to annotate, It can distinguish the annotation text of each user well, and at the same time, it can meet the needs of different users and improve the user experience.
- a target font conversion model corresponding to the target font category is determined in a model library, wherein the model library includes font conversion models corresponding to multiple font categories.
- the model library can be obtained by training the initial model, which can specifically include the following steps S310 to S320, which are described in detail below:
- step S310 a bitmap corresponding to the standard font is provided as an input, and the bitmap corresponding to the candidate display font category is an output initial model;
- an initial model may be provided first, the input of the initial model is a bitmap corresponding to a standard font, and the output is a bitmap of a candidate display font category.
- the initial model may use a top-down convolutional neural network model, or a fully connected neural network model, a recurrent neural network model, etc., which are not specifically limited in this exemplary embodiment.
- step S320 the initial model is trained by using the bitmap of the standard font and the bitmap of the candidate display font as training data to obtain a variety of font conversion models corresponding to the candidate display fonts, and according to the various font conversion models converting the model to build the model library;
- training data can be obtained first, and bitmaps of standard fonts of multiple characters and bitmaps of candidate display font categories corresponding to the multiple characters can be obtained as training data; the training of the initial model is completed by using the above training.
- font conversion models corresponding to multiple candidate display fonts can be obtained, and the multiple font conversions can be encapsulated into the above model library.
- the bitmaps of the standard fonts of the above multiple characters are used as input, the errors are compared between the output and the bitmaps of the candidate display font categories corresponding to the multiple characters, and the loss adopted by the convolutional neural network of the above initial model is determined.
- function to calculate the loss function value Specifically, the MSE loss function can be used to calculate the loss function value.
- the Momentum algorithm can be used to optimize the convolutional neural network in the initial model and adjust the parameters of the convolutional neural network. The parameter with the smallest loss function value is used as the final parameter value of the convolutional neural network in the initial model, the training of the initial model is completed, and the font conversion model is obtained.
- the server may match a font conversion model corresponding to the target font category in the model library as the target font conversion model according to the target font category selected in the above step S110.
- step S130 in response to a user's writing operation on the display device page, a standard character corresponding to the writing operation is determined according to the writing trajectory of the writing operation, and an initial bitmap corresponding to the standard character is generated.
- the standard font is the font initially displayed on the page of the display device, which may be commonly used font formats such as Song type, Kai type, etc., or can be customized according to user needs, which is not used in this example implementation. Specific restrictions.
- the bitmap is made up of individual dots of pixels. These points can be arranged and dyed differently to form a pattern.
- the initial bitmap is the bitmap corresponding to standard text.
- the server may respond to the user's writing operation on the display device page, detect the movement trajectory of the above-mentioned writing operation, and determine the standard text corresponding to the writing operation according to the movement trajectory. Specifically, the server may first obtain the Standard text file library, obtain the standard text corresponding to the writing track in the standard text file library according to the above-mentioned writing trajectory, and then use the standard text file library to determine the vector outline shape corresponding to the above standard text; Then, the writing is obtained by rendering the vector outline shape. Operates the standard bitmap of the corresponding standard text.
- the font size, font line thickness, font color, etc. of the target font file category may be determined first.
- the font color can include multiple colors, such as black. Red, green, etc., can also be customized according to requirements, which are not specifically limited in this example implementation.
- the thickness of the font line can also include multiple types, which can be customized according to the needs of the user, which is not specifically limited in this example implementation. Referring to the relevant settings of the font size in the related art, it can also be customized according to requirements, which is not specifically limited in this exemplary implementation.
- step S140 the initial bitmap of the standard text is converted into a target bitmap corresponding to the target font category by using the target font conversion model and displayed on the display device page.
- a target font conversion model can be used to convert the initial bitmap of the standard font into a target bitmap corresponding to the target font category and display it in the above displayed on the Devices page.
- the font of the initial display text displayed on the display device page may be a standard font
- the server may respond to the user's selection of a font.
- At least one operation of initially displaying text respectively obtaining a plurality of bitmaps of the initially displayed text, and responding to the user's first font conversion operation on the first initially displayed text, determining the first font conversion operation corresponding to the first font conversion operation in the above-mentioned candidate display font category.
- a font category and at the same time determine a first font conversion model corresponding to the first font conversion category in the model library; then use the first font conversion model to convert the bitmaps of a plurality of initially displayed fonts into the first bitmap respectively; then Determine the position information of the bitmap of each initial display text, use the position information to arrange the plurality of first bitmaps obtained, and finally, replace the bitmap of the above-mentioned initial display text with the arranged first bitmap to complete the initial display text. conversion.
- the font category configured inside the device is displayed, that is, the above standard font, which can be commonly used font formats such as Song Ti and Kai Ti, or can be customized according to user needs.
- the above standard font which can be commonly used font formats such as Song Ti and Kai Ti, or can be customized according to user needs.
- the embodiment There is no specific limitation in the embodiment.
- step S401 may be executed, the electronic After the whiteboard is started, the initialization process is performed in the background: the font stylization algorithm is initialized, which uses a font conversion model.
- the input data of the model is the bitmap of standard fonts during training, and the output data is the bitmap of the desired candidate display font.
- step S402 can be executed, the electronic whiteboard background initializes the FreeType font engine library (FT_Library); and steps S403 and S404 can be executed, the whiteboard background uses the FreeType font engine library to load the font conversion used by the font stylization algorithm
- the font file used by the input data in the model namely the standard font file library mentioned above, completes the initialization of the electronic whiteboard.
- step S405 may be performed, where the user selects the initial display text to be converted on the whiteboard writing interface; after selection, steps S406 and S407 may be performed, and the whiteboard interface pops up a font selection interface for candidate display fonts near the currently selected text
- the font size selection interface is displayed for the user to select the appropriate font size
- Step S408 and step S409 can be performed, the electronic whiteboard background loads the corresponding first font conversion model according to the first font category selected by the user; and the font size of the rendering is set, specifically, the electronic whiteboard background
- the font size that needs to be displayed sets the size of the first font category in the FreeType font engine library; then steps S410 and S411 can be executed to start the rendering process, and then step S412 can be executed, and the electronic whiteboard background presses the button for the text to be rendered
- the whiteboard background queries the character of the input initial display text through the FreeType font engine library, and the corresponding font index in the set standard font file library; Go to step S413 to determine the font in the above step S401 Whether the format is the specified size, if the font format loaded when the FreeType font engine library is initialized is not a fixed-size font, then perform steps S414 and S415, and obtain the vector outline of the corresponding font of the character through the FreeType font engine library according to the current font index. shape; then step S416 is executed, the electronic whiteboard background renders the vector outline shape through the FreeType font engine library to obtain a bitmap of the initial displayed text.
- a vector outline shape is a vector diagram of a font outline, also known as an object-oriented image or a drawing image, mathematically defined as a series of points connected by lines.
- Graphical elements in a vector file are called objects.
- Each object is a self-contained entity with properties such as color, shape, outline, size, and screen position.
- step S416 is directly executed, and the bitmap of the initially displayed text is obtained through the FreeType font engine library according to the current font index.
- steps S417 and S18 may be performed in the electronic whiteboard background to input the bitmap of the initial font into the first font conversion model for font conversion to obtain the first bitmap and output.
- step S419 is executed to determine whether the last character of the initially displayed text is rendered. If the rendering is completed, steps S420 and S421 are executed.
- the electronic whiteboard background converts all the characters in the initial displayed text. , splicing the obtained first image into a single bitmap according to the arrangement before the initial display text; the whiteboard interface hides and displays the selected initial display text and displays the spliced first image in the display position of the initial display text, If the rendering is completed, return to step S411 until the conversion of all the initially displayed characters is completed.
- the second font conversion operation of the target font can be obtained, and the initial bitmap corresponding to the target title can be obtained.
- the bitmap is obtained from the initial bitmap through the target font conversion model, and the initial bitmap can be stored after conversion, so the initial bitmap corresponding to the target bitmap can be directly obtained.
- a second font category corresponding to the second character conversion operation can be obtained, a second font conversion model corresponding to the second font category can be determined in the above model library, and the initial bitmap can be converted into a second font by using the second font conversion model. and replace the above target bitmap with a second bitmap to complete the text conversion of the target font.
- the information display apparatus 500 includes: a selection module 510 , a determination module 520 , an input module 530 , and a conversion module 540 .
- the selection module 510 can be used to determine the target font category to be written in response to the user's operation on the display device page; the determination module 520 can be used to determine the target font corresponding to the target font category in the model library conversion model, wherein the model library includes font conversion models corresponding to various candidate display font categories; the input module 530 can be used to respond to the user's writing operation on the display device page, and determine according to the writing trajectory of the writing operation Standard text corresponding to the writing operation, and generate an initial bitmap corresponding to the standard text; the conversion module 540 can be used to use the target font conversion model to convert the initial bitmap of the standard text into a target font class corresponding to The target bitmap is displayed on the display device page.
- each functional module of the information display device of the exemplary embodiment of the present disclosure corresponds to the steps of the above-mentioned exemplary embodiment of the information display method, for details not disclosed in the embodiment of the device of the present disclosure, please refer to the above-mentioned information display method of the present disclosure. example.
- modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.
- an electronic device capable of realizing the above information display is also provided.
- aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as an embodiment "circuit", “module” or "system”.
- FIG. 6 An electronic device 600 according to such an embodiment of the present disclosure is described below with reference to FIG. 6 .
- the electronic device 600 shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
- electronic device 600 takes the form of a general-purpose computing device.
- Components of the electronic device 600 may include, but are not limited to: the above-mentioned at least one processing unit 610 , the above-mentioned at least one storage unit 620 , a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610 ), and a display unit 640 .
- the storage unit stores program codes, and the program codes can be executed by the processing unit 610, so that the processing unit 610 executes various exemplary methods according to the present disclosure described in the above-mentioned “Exemplary Methods” section of this specification. Example steps.
- the processing unit 610 may perform step S110 as shown in FIG.
- the electronic device can implement the various steps shown in FIG. 1 to FIG. 4 .
- the storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 621 and/or a cache storage unit 622 , and may further include a read only storage unit (ROM) 623 .
- RAM random access storage unit
- ROM read only storage unit
- the storage unit 620 may also include a program/utility 624 having a set (at least one) of program modules 625 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, An implementation of a network environment may be included in each or some combination of these examples.
- the bus 630 may be representative of one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
- the electronic device 600 may also communicate with one or more external devices 670 (eg, keyboards, pointing devices, Bluetooth devices, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with Any device (eg, router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 650 . Also, the electronic device 600 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 660 . As shown, network adapter 660 communicates with other modules of electronic device 600 via bus 630 . It should be appreciated that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.
- the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on a network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to an embodiment of the present disclosure.
- a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
- a computer-readable storage medium on which a program product capable of implementing the above-described method of the present specification is stored.
- various aspects of the present disclosure may also be implemented in the form of a program product including program code for causing the program product to run on a terminal device when the program product is run on a terminal device.
- the terminal device performs the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "Example Method" section of this specification.
- a program product 700 for implementing the above-described method is described according to an embodiment of the present disclosure, which may adopt a portable compact disc read only memory (CD-ROM) and include program code, and may be stored in a terminal device, such as a personal run on the computer.
- CD-ROM compact disc read only memory
- the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- the program product may employ any combination of one or more readable media.
- the readable medium may be a readable signal medium or a readable storage medium.
- the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- a computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
- Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language.
- the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
- the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
- LAN local area network
- WAN wide area network
- an external computing device eg, using an Internet service provider business via an Internet connection
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Biomedical Technology (AREA)
- Computing Systems (AREA)
- Molecular Biology (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Biophysics (AREA)
- Life Sciences & Earth Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
Claims (15)
- 一种信息展示方法,其中,包括:响应用户对显示设备页面上的操作确定待书写的目标字体类别;在模型库中确定与所述目标字体类别对应的目标字体转换模型,其中,所述模型库包括多种字体类别对应的字体转换模型;响应用户在所述显示设备页面上的书写操作,根据所述书写操作的书写轨迹确定与所述书写操作对应的标准文字,并生成所述标准文字对应的初始位图;利用所述目标字体转换模型将所述标准文字的初始位图转换成目标字体类别对应的目标位图并显示在所述显示设备页面上。
- 根据权利要求1所述的方法,其中,响应用户对显示设备页面上的操作确定待书写的目标字体类别,包括:响应用户对显示设备页面上显示的至少一个候选显示字体类别中的一个类别的选择操作确定待书写的目标字体类别。
- 根据权利要求1所述的方法,其中,响应用户在所述显示设备页面上的书写操作之前,所述方法还包括:确定所述目标字体类别的字体大小、字体线条粗细、字体颜色以及字体倾斜角度。
- 根据权利要求1所述的方法,其中,所述响应用户在所述显示设备页面上的书写操作,根据所述书写操作的书写轨迹确定与所述书写操作对应的标准文字,并生成所述标准文字对应的初始位图,包括:响应用户的文字书写操作,根据所述书写轨迹在所述标准字体文件库匹配所述文字书写操作对应的标准文字;生成所述标准文字的初始位图。
- 根据权利要求4所述的方法,其中,生成所述标准文字的初始位图,包括:在所述标准字体文件库获取所述标准文字的矢量轮廓形状;根据所述矢量轮廓形状进行渲染得到所述初始位图。
- 根据权利要求2所述的方法,其中,所述方法还包括:响应用户的启动批注操作,确定待批注区域,并在所述待批注区域显示所述候选显示字体类别的选择界面。
- 根据权利要求6所述的方法,其中,所述响应用户对显示设备页面上显示的至少一个候选显示字体类别中的一个类别的选择操作确定待书写的目标字体类别,包括:响应用户对所述字体选择界面的第一操作,展示所述候选显示字体类别;响应用户对候选显示字体类别展示界面中的一个类别的触控操作,确定所述目标字体类别。
- 根据权利要求1所述的方法,其中,所述显示设备页面具有一初始显示字体的字体类别,所述初始显示文字的字体类别为标准字体,所述方法还包括:响应用户对初始显示文字的第一字体转换操作,获取所述初始显示文字的位图,并确定所述第一字体转换操作在所述候选显示字体类别中对应的第一字体类别;在所模型库中确定与所述第一字体类别对应的第一字体转换模型;利用所述第一字体转换模型将所述初始显示文字的位图转换为第一字体类别对应的第一位图。
- 根据权利要求8所述的方法,其中,所述响应用户对初始显示文字的第一字体转换操作,获取所述显示文字的位图,包括:选取至少一个待转换初始显示文字;响应用户对至少一个所述待转换初始显示文字的字体转换操作,分别获取所述待转换初始显示文字的位图。
- 根据权利要求9所述的方法,其中,利用所述第一字体转换模型将所述初始显示文字的位图转换为第一字体类别对应的第一位图,包括:确定所述至少一个待转换初始显示文字的位图的位置信息;利用所述第一字体转换模型将所述初始显示文字的位图转换成第一位图;根据所述位置信息对至少一个所述第一位图进行排列,并采用排列后的第一位图替换所述待转换初始显示文字的位图。
- 根据权利要求1所述的方法,其中,利用所述目标字体转换模型将所述标准文字的初始位图转换成目标字体类别对应的目标位图并显示在所述显示设备页面上之后,所述方法还包括:响应用户对目标字体的第二字体转换操作,获取所述目标位图对应的初始位图;确定所述第二字体转换操作在所述候选显示字体类别中对应的第二字体类别,并在模型库中确定与所述第二字体类别对应的第二字体转换模型;利用所述第二字体转换模型将所述初始位图转换为第二字体类别对应的第二位图并替换所述目标位图。
- 根据权利要求1所述的方法,其中,所述字体转换模型的输入为标准字体对应的 位图,输出为候选显示字体类别对应的位图。
- 一种信息展示装置,其中,包括:选择模块,响应用户对显示设备页面上的操作确定待书写的目标字体类别;确定模块,在模型库中确定与所述目标字体类别对应的目标字体转换模型,其中,所述模型库包括多种字体类别对应的字体转换模型;输入模块,响应用户在所述显示设备页面上的书写操作,根据所述书写操作的书写轨迹确定与所述书写操作对应的标准文字,并生成所述标准文字对应的初始位图;转换模块,利用所述目标字体转换模型将所述标准文字的初始位图转换成目标字体类别对应的目标位图并显示在所述显示设备页面上。
- 一种计算机可读存储介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1至12中任一项所述的信息展示方法。
- 一种电子设备,其中,包括:处理器;以及存储器,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至12中任一项所述的信息展示方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/914,409 US11928419B2 (en) | 2020-09-21 | 2021-08-12 | Information display method and apparatus, and storage medium and electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010993918.6 | 2020-09-21 | ||
CN202010993918.6A CN112115678B (zh) | 2020-09-21 | 2020-09-21 | 信息展示方法及装置、存储介质及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022057535A1 true WO2022057535A1 (zh) | 2022-03-24 |
Family
ID=73801415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/112348 WO2022057535A1 (zh) | 2020-09-21 | 2021-08-12 | 信息展示方法及装置、存储介质及电子设备 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11928419B2 (zh) |
CN (1) | CN112115678B (zh) |
WO (1) | WO2022057535A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115796119A (zh) * | 2023-02-02 | 2023-03-14 | 合肥高维数据技术有限公司 | 基于渲染效果的字体校准方法 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112115678B (zh) * | 2020-09-21 | 2024-04-12 | 京东方科技集团股份有限公司 | 信息展示方法及装置、存储介质及电子设备 |
CN113392250B (zh) * | 2021-06-30 | 2024-01-12 | 合肥高维数据技术有限公司 | 一种基于深度学习的矢量图检索方法及系统 |
CN113625985B (zh) * | 2021-08-25 | 2024-01-23 | 京东方科技集团股份有限公司 | 智能黑板的显示方法、装置以及智能黑板 |
CN113515919B (zh) * | 2021-09-14 | 2022-01-07 | 北京江融信科技有限公司 | 一种生成中文TrueType字体的方法及系统 |
CN114330236A (zh) * | 2021-12-29 | 2022-04-12 | 北京字跳网络技术有限公司 | 文字生成方法、装置、电子设备及存储介质 |
CN114582301B (zh) * | 2022-03-08 | 2024-07-23 | 康键信息技术(深圳)有限公司 | 一种信息显示方法、装置、电子设备及存储介质 |
CN114791843A (zh) * | 2022-06-22 | 2022-07-26 | 武汉海微科技有限公司 | 文字显示方法、装置、设备及存储介质 |
US20240143160A1 (en) * | 2022-10-31 | 2024-05-02 | Optoma Corporation | Electronic whiteboard system and operation method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789484A (zh) * | 2012-06-28 | 2012-11-21 | 奇智软件(北京)有限公司 | 一种网页信息处理方法和装置 |
US20150073779A1 (en) * | 2013-09-06 | 2015-03-12 | Samsung Electronics Co., Ltd. | Method of converting user handwriting into text information and electronic device for performing the same |
CN106384094A (zh) * | 2016-09-18 | 2017-02-08 | 北京大学 | 一种基于书写风格建模的中文字库自动生成方法 |
CN107391015A (zh) * | 2017-07-19 | 2017-11-24 | 广州视源电子科技股份有限公司 | 一种智能平板的控制方法、装置、设备及存储介质 |
CN111242840A (zh) * | 2020-01-15 | 2020-06-05 | 上海眼控科技股份有限公司 | 手写体字符生成方法、装置、计算机设备和存储介质 |
CN112115678A (zh) * | 2020-09-21 | 2020-12-22 | 京东方科技集团股份有限公司 | 信息展示方法及装置、存储介质及电子设备 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05232926A (ja) * | 1992-02-19 | 1993-09-10 | Brother Ind Ltd | 文字記号発生装置 |
US20020124029A1 (en) * | 2001-03-02 | 2002-09-05 | Gwinn John Glen | Method and apparatus for creating, embedding and using a searchable font |
CN101008887A (zh) * | 2006-01-28 | 2007-08-01 | 朗迅科技公司 | 打印工具 |
JP4715550B2 (ja) * | 2006-02-28 | 2011-07-06 | 富士ゼロックス株式会社 | プリンタドライバおよびその印刷制御方法、印刷装置 |
KR100787308B1 (ko) * | 2006-11-06 | 2007-12-21 | 주식회사 현대오토넷 | 엘씨디에 표시할 비트맵 폰트 변환 방법 |
US8413051B2 (en) * | 2008-10-20 | 2013-04-02 | Celartem, Inc. | Contextually previewing fonts |
JP5418018B2 (ja) * | 2009-06-29 | 2014-02-19 | セイコーエプソン株式会社 | 出力制御データ生成装置、データ生成方法およびプログラム |
CN101625848B (zh) | 2009-07-28 | 2011-06-22 | 宁波新然电子信息科技发展有限公司 | 面向嵌入式平台的矢量字库实现方法 |
US8624900B2 (en) * | 2010-04-09 | 2014-01-07 | Red Hat, Inc. | Plug-in architecture for dynamic font rendering enablement |
CN104462068B (zh) * | 2013-09-12 | 2017-11-07 | 北大方正集团有限公司 | 字符转换系统和字符转换方法 |
CN104731390A (zh) * | 2013-12-18 | 2015-06-24 | 深圳富泰宏精密工业有限公司 | 保存原笔迹手写字的系统及方法 |
CN104298504A (zh) | 2014-09-22 | 2015-01-21 | 无锡梵天信息技术股份有限公司 | 基于FreeType字体引擎的实现字体绘制的方法 |
US20160314377A1 (en) * | 2015-04-23 | 2016-10-27 | Monotype Imaging Inc. | Using Similarity for Grouping Fonts and Individuals for Recommendations |
US10467329B2 (en) * | 2016-01-04 | 2019-11-05 | Expressy, LLC | System and method for employing kinetic typography in CMC |
JP6812141B2 (ja) * | 2016-05-31 | 2021-01-13 | キヤノン株式会社 | 情報処理装置、情報処理方法およびプログラム |
US10956572B2 (en) * | 2016-08-22 | 2021-03-23 | Hackproof Technologies Inc. | Domain-specific hardwired web browser machine |
CN107644006B (zh) | 2017-09-29 | 2020-04-03 | 北京大学 | 一种基于深度神经网络的手写体中文字库自动生成方法 |
CN110597444B (zh) | 2018-06-12 | 2021-03-09 | 广州视源电子科技股份有限公司 | 一种书写笔迹显示方法、装置、终端设备及存储介质 |
-
2020
- 2020-09-21 CN CN202010993918.6A patent/CN112115678B/zh active Active
-
2021
- 2021-08-12 WO PCT/CN2021/112348 patent/WO2022057535A1/zh active Application Filing
- 2021-08-12 US US17/914,409 patent/US11928419B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789484A (zh) * | 2012-06-28 | 2012-11-21 | 奇智软件(北京)有限公司 | 一种网页信息处理方法和装置 |
US20150073779A1 (en) * | 2013-09-06 | 2015-03-12 | Samsung Electronics Co., Ltd. | Method of converting user handwriting into text information and electronic device for performing the same |
CN106384094A (zh) * | 2016-09-18 | 2017-02-08 | 北京大学 | 一种基于书写风格建模的中文字库自动生成方法 |
CN107391015A (zh) * | 2017-07-19 | 2017-11-24 | 广州视源电子科技股份有限公司 | 一种智能平板的控制方法、装置、设备及存储介质 |
CN111242840A (zh) * | 2020-01-15 | 2020-06-05 | 上海眼控科技股份有限公司 | 手写体字符生成方法、装置、计算机设备和存储介质 |
CN112115678A (zh) * | 2020-09-21 | 2020-12-22 | 京东方科技集团股份有限公司 | 信息展示方法及装置、存储介质及电子设备 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115796119A (zh) * | 2023-02-02 | 2023-03-14 | 合肥高维数据技术有限公司 | 基于渲染效果的字体校准方法 |
CN115796119B (zh) * | 2023-02-02 | 2023-04-18 | 合肥高维数据技术有限公司 | 基于渲染效果的字体校准方法 |
Also Published As
Publication number | Publication date |
---|---|
US20230351093A1 (en) | 2023-11-02 |
CN112115678B (zh) | 2024-04-12 |
US11928419B2 (en) | 2024-03-12 |
CN112115678A (zh) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022057535A1 (zh) | 信息展示方法及装置、存储介质及电子设备 | |
US9547439B2 (en) | Dynamically-positioned character string suggestions for gesture typing | |
US20190095040A1 (en) | Electronic device operating according to pressure state of touch input and method thereof | |
CN105308551B (zh) | 用于连续手势输入的多图形键盘 | |
US5260697A (en) | Computer with separate display plane and user interface processor | |
US20030182630A1 (en) | Method for gestural interpretation in a system for selecting and arranging visible material in document images | |
US20180107651A1 (en) | Unsupported character code detection mechanism | |
WO2013097129A1 (zh) | 联系人搜索方法、装置及其应用的移动终端 | |
US20130283198A1 (en) | Display controlling apparatus | |
KR102075433B1 (ko) | 필기 입력 장치 및 그 제어 방법 | |
US20230266870A1 (en) | Glyph-aware text selection | |
CN107977155B (zh) | 一种手写识别方法、装置、设备和存储介质 | |
US10664072B2 (en) | Multi-stroke smart ink gesture language | |
US11269430B2 (en) | Stylus ink parameter setting | |
WO2017000898A1 (zh) | 软件图标显示方法和装置 | |
US10614595B2 (en) | Assigning textures to graphical keyboards based on thematic textures of applications | |
CN107851096A (zh) | 用于提供翻译服务的用户终端装置及其控制方法 | |
US20190369935A1 (en) | Electronic whiteboard, electronic whiteboard system and control method thereof | |
US20170236318A1 (en) | Animated Digital Ink | |
CN107391015A (zh) | 一种智能平板的控制方法、装置、设备及存储介质 | |
US10514841B2 (en) | Multi-layered ink object | |
US20160042545A1 (en) | Display controller, information processing apparatus, display control method, computer-readable storage medium, and information processing system | |
JP7148172B2 (ja) | 字幕表示処理プログラム、字幕表示処理装置、サーバ。 | |
US10930045B2 (en) | Digital ink based visual components | |
US20240168575A1 (en) | Input support apparatus, method, computer-readable medium, and input system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21868363 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21868363 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 290623) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21868363 Country of ref document: EP Kind code of ref document: A1 |