CN111161377B - Method and device for adding characters in picture, electronic equipment and storage medium - Google Patents

Method and device for adding characters in picture, electronic equipment and storage medium Download PDF

Info

Publication number
CN111161377B
CN111161377B CN201911389787.4A CN201911389787A CN111161377B CN 111161377 B CN111161377 B CN 111161377B CN 201911389787 A CN201911389787 A CN 201911389787A CN 111161377 B CN111161377 B CN 111161377B
Authority
CN
China
Prior art keywords
character
color
area
characters
determining
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.)
Active
Application number
CN201911389787.4A
Other languages
Chinese (zh)
Other versions
CN111161377A (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.)
Beijing Jupiter Technology Co ltd
Original Assignee
Beijing Lemi 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 Lemi Technology Co ltd filed Critical Beijing Lemi Technology Co ltd
Priority to CN201911389787.4A priority Critical patent/CN111161377B/en
Publication of CN111161377A publication Critical patent/CN111161377A/en
Application granted granted Critical
Publication of CN111161377B publication Critical patent/CN111161377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a method, a device, electronic equipment and a storage medium for adding characters in a picture, which can automatically determine an area where a user can fill in characters and determine the color of the characters according to the background color of the area. Therefore, the user only needs to input corresponding characters, and the filling area of the characters and the color of the characters are automatically set to be satisfactory to the user, so that the user does not need to manually adjust again, the operation of the user is greatly simplified, the use experience of the user is improved, and the interestingness of the picture is increased. The method comprises the following steps: acquiring a picture to be processed; determining a fillable region in the picture; acquiring the background color of the fillable area; determining character colors of characters to be filled based on the background colors; characters are added in the fillable area based on the character colors.

Description

Method and device for adding characters in picture, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for adding characters to a picture, an electronic device, and a storage medium.
Background
With the development of the internet, a great number of apps (Application software) for performing image processing on images appear in the market, and users can edit the images shot by themselves through the apps and share the edited images into social media, so that the use experience of the users is greatly improved. Some of these apps may allow the user to add a piece of text to the photograph, increasing the interest of the picture.
However, in the prior art, the functions of adding characters have certain defects, and the functions appear in a long time when a user uses the characters, so that the user experience is affected. For example, in the prior art, text written by a user is typically set to a sticker or Svg (Scalable Vector Graphics ) format and pasted on a picture. In the prior art, the initial position of the text is set near the center position of the photo, and the initial position needs to be manually adjusted by a user. For example, after some characters are input, the user can automatically display the characters in the middle position of the current photo, and if the user wants to adjust the character position, the user needs to manually adjust the characters, so that the operation is inconvenient. In addition, the colors of the characters are single, in order to meet the use demands of most users, the characters are generally set as basic colors (such as black, white and the like), so that most use scenes can be met, but due to different contents of the photos, some characters are similar to the background colors in certain photos, and the display of the characters is unclear. For example, on the sky cloud layer, white characters are difficult to see, so that a user needs to spend a lot of time moving the characters to the side of the blue sky, but even so, the white characters can influence the clouds in the sky, the effect of pictures is unsatisfactory, and the use experience of the user is influenced.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for adding characters to a picture, so as to solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for adding characters to a picture, including:
acquiring a picture to be processed;
determining a fillable region in the picture;
acquiring the background color of the fillable area;
determining character colors of characters to be filled based on the background colors;
characters are added in the fillable area based on the character colors.
Optionally, the determining the fillable area in the picture includes:
identifying each element information included in the picture based on an image identification algorithm;
determining an element blank area in the picture based on the element information;
and taking the element blank area as the fillable area.
Optionally, the determining the character color of the character to be filled based on the background color includes:
acquiring a color comparison list; the color comparison list comprises a first color and a first complementary color corresponding to the first color;
determining the character color based on the background color and the color comparison list; wherein the character color is a complementary color of the background color.
Optionally, after adding a character in the fillable area based on the character color, the method further comprises:
determining whether character input is completed;
after the character input is completed, determining whether the size of the area where the character is located is larger than that of the fillable area;
and if the size of the area where the character is located is larger than the fillable area, adjusting the sizes of all the characters in the area where the character is located so as to reduce the size of the area where the character is located.
Optionally, after identifying the respective element information included in the picture based on the image identification technology, the method further includes:
determining style attribute information of the picture according to the obtained element information;
determining a character style of the character to be filled based on the style attribute information;
the adding characters in the fillable area based on the character colors includes:
characters are added in the fillable area based on the character colors and the character styles.
In a second aspect, an embodiment of the present invention provides a device for adding characters to a picture, where the device includes:
the image acquisition module is used for acquiring an image to be processed;
the region determining module is used for determining a fillable region in the picture;
the color acquisition module is used for acquiring the background color of the fillable area;
a color determining module for determining character colors of characters to be filled based on the background color;
and the character adding module is used for adding characters in the fillable area based on the character colors.
Optionally, the area determining module is configured to identify each element information included in the picture based on an image identification algorithm; determining an element blank area in the picture based on the element information; and taking the element blank area as the fillable area.
Optionally, the color determining module is configured to obtain a color comparison list; the color comparison list comprises a first color and a first complementary color corresponding to the first color; determining the character color based on the background color and the color comparison list; wherein the character color is a complementary color of the background color.
Optionally, the apparatus further includes:
an input determining module for determining whether character input is completed;
the region judging module is used for determining whether the size of the region where the character is located is larger than the fillable region after the character is input;
and the character adjusting module is used for adjusting the sizes of all the characters in the area where the characters are located if the size of the area where the characters are located is larger than the fillable area so as to reduce the size of the area where the characters are located.
Optionally, the apparatus further includes:
the style determining module is used for determining style attribute information of the picture according to the obtained element information after identifying the element information included in the picture based on the image identification technology; determining a character style of the character to be filled based on the style attribute information;
the character adding module is further configured to add a character in the fillable area based on the character color and the character style.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space surrounded by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing any of the methods described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs executable by one or more processors to implement any of the methods described above.
The embodiment of the invention provides a method and a device for adding characters in a picture, electronic equipment and a storage medium. The method comprises the following steps: acquiring a picture to be processed; determining a fillable region in the picture; acquiring the background color of the fillable area; determining character colors of characters to be filled based on the background colors; characters are added in the fillable area based on the character colors. That is, the device may automatically determine the area where the user can fill in the text and determine the color of the text based on the background color of the area. Therefore, the user only needs to input corresponding characters, the characters of the characters and the colors of the characters are automatically set to be satisfactory to the user, the user does not need to manually adjust again, the operation of the user is greatly simplified, the use experience of the user is improved, and the interestingness of the picture is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of adding characters in a device picture according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of adding characters in a device picture according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the embodiment of the present invention, the device is typically connected to a server, and the device may be a device of a user terminal, for example: a user's Mobile Phone, personal computer (Personal Computer, PC), tablet PC (Tablet Personal Computer, tablet PC), or electronic translation device, etc., to which embodiments of the present invention are not limited.
In a first aspect, referring to fig. 1 of the specification, an embodiment of the present invention provides a method for adding characters to a picture, where the method includes:
s101: acquiring a picture to be processed;
in the embodiment of the present invention, the picture to be processed may be a picture already stored in the device by the user, or may be a picture downloaded by the user in the internet, or may be a screenshot taken by the user in the video through the photographing device, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the color of the picture may be color or black and white, which is not limited in the embodiment of the present invention.
S102: determining a fillable region in the picture;
in the embodiment of the invention, the fillable area is an area allowing a user to display text information.
Optionally, in an embodiment of the present invention, the determining a fillable area in the picture includes: identifying each element information included in the picture based on an image identification technology; determining an element blank area in the picture based on the element information; and taking the element blank area as the fillable area.
In the embodiment of the invention, the element information in the picture can be different objects in the picture, or can be different characters in the picture, or can be different animals in the picture, or can be different sceneries in the picture, and the like. For example, there are articles such as a table, a chair, a cup on the table, etc. in the picture, and each of the articles can be used as different element information in the picture. For another example, a picture includes a man and a woman, and then each person can be used as different element information in the picture. For another example, where a dog and a cat are included in a picture, each animal may be treated as different elemental information in the picture. Of course, if the picture includes objects, figures, animals, etc., the information may be different elements in the picture. Those skilled in the art may set different elements according to actual requirements, and the embodiment of the present invention is not limited thereto.
In the embodiment of the present invention, the image recognition algorithm may be, for example, an image recognition algorithm for AI (Artificial Intelligenc, artificial intelligence) object recognition, or other image recognition algorithms capable of distinguishing different elements, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, after each piece of element information is determined, the device can mark the position including the element information in the picture, the corresponding unlabeled part in the whole picture is the element blank area, and the element blank area is used as the fillable area.
In the embodiment of the invention, the element information can be set in a self-defined manner, for example, if the image is a photograph of a wild person, the user can set the person, the object and the animal as elements, so that the scenery of the background is a blank area of the elements correspondingly and can be used as a fillable area of the photograph. For another example, if it is simply a photograph of a point of interest, the user may set a landscape as an element, and the crowd may be the fillable area accordingly. The specific element definition can be defined according to the user, or can be set by the developer in advance and set as a corresponding model for the user to select, and the embodiment of the invention is not limited to this.
S103: acquiring the background color of the fillable area;
in the embodiment of the invention, the identification of the background color can be realized through a corresponding image identification algorithm, and the implementation modes are more, but the embodiment of the invention is not limited to the above.
S104: determining character colors of characters to be filled based on the background colors;
optionally, in an embodiment of the present invention, the determining a character color of the character to be filled based on the background color includes: acquiring a color comparison list; the color comparison list comprises a first color and a first complementary color corresponding to the first color; determining the character color based on the background color and the color comparison list; wherein the character color is a complementary color of the background color.
In the embodiment of the invention, the color comparison list can be set by user definition, can be preset by an App developer, or can be a set of the two. For example, in one possible implementation, an App developer may preset a color control list, and then the user may adjust itself as needed. I.e., the manner in which the color control list is set, embodiments of the present invention are not limited in this regard.
In the embodiment of the invention, a plurality of different colors can be stored in the color comparison list, and complementary colors corresponding to each color are stored in a combined mode. Due to the continuous progress of color theory, different color comparison lists can be set according to different theories, or alternatively, the embodiment of the invention is not limited to this.
For example, using an RGB additive color model or a CMY subtractive color model, a list of possible color controls, such as table one:
background color Complementary colors
Red color Cyan color
Green colour Magenta color
...... ......
Blue color Yellow colour
List one
For another example, according to the conventional RYB color model, a list of possible color controls is shown in Table II:
background color Complementary colors
Red color Green colour
Yellow colour Purple color
...... ......
Blue color Orange (tangerine) color
Watch II
S105: characters are added in the fillable area based on the character colors.
In the embodiment of the invention, the added characters can be English, chinese or characters of other countries, and the embodiment of the invention is not limited to the English, chinese or characters.
Optionally, in an embodiment of the present invention, after adding a character in the fillable area based on the character color, the method further includes: determining whether character input is completed; after the character input is completed, determining whether the size of the area where the character is located is larger than that of the fillable area; and if the size of the area where the character is located is larger than the fillable area, adjusting the sizes of all the characters in the area where the character is located so as to reduce the size of the area where the character is located.
In the embodiment of the invention, after the character is input, the size of the area where the character is located can be determined, if the size of the area where the character is located is larger than the fillable area, that is, the input characters are extremely likely to exceed the fillable area, so that the display effect of other areas of the picture can be influenced, at the moment, fonts of all the characters in the area where the character is located can be reduced, the area where the whole character is located is further reduced, and therefore, all the characters can be completely displayed in the fillable area, and meanwhile, the display effect of the picture cannot be influenced.
Optionally, in an embodiment of the present invention, after the identifying, based on an image identification technology, each element information included in the picture, the method further includes: determining style attribute information of the picture according to the obtained element information; determining a character style of the character to be filled based on the style attribute information; the adding characters in the fillable area based on the character colors includes: characters are added in the fillable area based on the character colors and the character styles.
In the embodiment of the invention, the style attribute information may be information representing the style of the element culture, for example, if the element is a sculpture of the sun, the style attribute may be determined to be greek style or ancient roman style. According to the style attribute information, searching a character style similar to the Greek style in a character style library, so that when a user inputs a character, the character style is adjusted to be similar to the Greek style, the consistency of elements in a picture and the style of the character input by the user is ensured, and the user experience is improved.
In the embodiment of the invention, the device can automatically determine the area where the user can fill in the text, and determine the color of the text according to the background color of the area. Therefore, the user only needs to input corresponding characters, and the filling area of the characters and the color of the characters are automatically set to be satisfactory to the user, so that the user does not need to manually adjust again, the operation of the user is greatly simplified, the use experience of the user is improved, and the interestingness of the picture is increased.
In a second aspect, referring to fig. 2 of the specification, an embodiment of the present invention provides a device 20 for adding characters to a picture, where the device 20 includes:
a picture acquisition module 201, configured to acquire a picture to be processed;
a region determining module 202, configured to determine a fillable region in the picture;
a color acquisition module 203, configured to acquire a background color of the fillable area;
a color determination module 204 for determining a character color of a character to be filled based on the background color;
a character adding module 205, configured to add characters in the fillable area based on the character colors.
Optionally, the area determining module 202 is further configured to identify, based on an image identification technology, each element information included in the picture; determining an element blank area in the picture based on the element information; and taking the element blank area as the fillable area.
Optionally, the color determining module 204 is further configured to obtain a color comparison list; the color comparison list comprises a first color and a first complementary color corresponding to the first color; determining the character color based on the background color and the color comparison list; wherein the color to be filled is a complementary color of the background color.
Optionally, the apparatus 20 further includes: an input determining module for determining whether character input is completed; the region judging module is used for determining whether the size of the region where the character is located is larger than the fillable region after the character is input; and the character adjusting module is used for adjusting the sizes of all the characters in the area where the characters are located if the size of the area where the characters are located is larger than the fillable area so as to reduce the size of the area where the characters are located.
Optionally, the apparatus 20 further includes: the style determining module is used for determining style attribute information of the picture according to the obtained element information after identifying the element information included in the picture based on the image identification technology; determining a character style of the character to be filled based on the style attribute information; the character adding module is further configured to add a character in the fillable area based on the character color and the character style.
In the embodiment of the present invention, the usage of the device 20 is similar to the method described above, and the embodiment of the present invention will not be repeated here.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space surrounded by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing any of the methods described above.
An embodiment of the present invention further provides an electronic device, please refer to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of the electronic device of the present invention, and a flow of the embodiment shown in fig. 1 or 2 of the present invention may be implemented, as shown in fig. 3, where the electronic device may include: the processor 32 and the memory 33 are arranged on the circuit board 34, wherein the circuit board 34 is arranged in a space surrounded by the shell 31; a power supply circuit 35 for supplying power to the respective circuits or devices of the above-described electronic apparatus; the memory 33 is for storing executable program code; the processor 32 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 33 for performing the method described in any of the method embodiments described above.
The specific implementation of the above steps by the processor 32 and the further implementation of the steps by the processor 32 through the execution of executable program codes may be referred to in the description of the embodiment of fig. 1 or 2 of the present invention, and will not be described herein.
The electronic device exists in a variety of forms including, but not limited to:
(1) A mobile communication device: such devices are characterized by mobile communication capabilities and are primarily aimed at providing voice, data communications. Such terminals include: smart phones (e.g., iPhone), multimedia phones, functional phones, and low-end phones, etc.
(2) Ultra mobile personal computer device: such devices are in the category of personal computers, having computing and processing functions, and generally also having mobile internet access characteristics. Such terminals include: PDA, MID, and UMPC devices, etc., such as iPad.
(3) Portable entertainment device: such devices may display and play multimedia content. The device comprises: audio, video players (e.g., iPod), palm game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And (3) a server: the configuration of the server includes a processor, a hard disk, a memory, a system bus, and the like, and the server is similar to a general computer architecture, but is required to provide highly reliable services, and thus has high requirements in terms of processing capacity, stability, reliability, security, scalability, manageability, and the like.
(5) Other electronic devices with data interaction functions.
Embodiments of the present invention also provide a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the method steps of any of the method embodiments described above.
Embodiments of the present invention also provide an application program that is executed to implement the method provided by any of the method embodiments of the present invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part. For convenience of description, the above apparatus is described as being functionally divided into various units/modules, respectively. Of course, the functions of the various elements/modules may be implemented in the same piece or pieces of software and/or hardware when implementing the present invention.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. A method for adding characters to a picture, comprising:
acquiring a picture to be processed;
determining a fillable region in the picture;
acquiring the background color of the fillable area;
determining character colors of characters to be filled based on the background colors;
adding characters in the fillable area based on the character color;
the determining a fillable region in the picture includes: identifying each element information included in the picture based on an image identification technology; determining an element blank area in the picture based on the element information; and taking the element blank area as the fillable area.
2. The method of claim 1, wherein the determining the character color of the character to be filled based on the background color comprises:
acquiring a color comparison list; the color comparison list comprises a first color and a first complementary color corresponding to the first color;
determining the character color based on the background color and the color comparison list; wherein the character color is a complementary color of the background color.
3. The method of claim 1, wherein after adding a character in the fillable area based on the character color, the method further comprises:
determining whether character input is completed;
after the character input is completed, determining whether the size of the area where the character is located is larger than that of the fillable area;
and if the size of the area where the character is located is larger than the fillable area, adjusting the sizes of all the characters in the area where the character is located so as to reduce the size of the area where the character is located.
4. The method of claim 1, wherein,
after identifying the element information included in the picture based on the image identification technology, the method further includes:
determining style attribute information of the picture according to the obtained element information;
determining a character style of the character to be filled based on the style attribute information;
the adding characters in the fillable area based on the character colors includes:
characters are added in the fillable area based on the character colors and the character styles.
5. A device for adding characters to a picture, comprising:
the image acquisition module is used for acquiring an image to be processed;
the region determining module is used for determining a fillable region in the picture;
the color acquisition module is used for acquiring the background color of the fillable area;
a color determining module for determining character colors of characters to be filled based on the background color;
a character adding module for adding characters in the fillable area based on the character colors;
the region determining module is used for identifying each element information included in the picture based on an image identification technology; determining an element blank area in the picture based on the element information; and taking the element blank area as the fillable area.
6. The apparatus of claim 5, wherein,
the color determining module is used for acquiring a color comparison list; the color comparison list comprises a first color and a first complementary color corresponding to the first color; determining the character color based on the background color and the color comparison list; wherein the character color is a complementary color of the background color.
7. The apparatus of claim 5, wherein the apparatus further comprises:
an input determining module for determining whether character input is completed;
the region judging module is used for determining whether the size of the region where the character is located is larger than the fillable region after the character is input;
and the character adjusting module is used for adjusting the sizes of all the characters in the area where the characters are located if the size of the area where the characters are located is larger than the fillable area so as to reduce the size of the area where the characters are located.
8. The apparatus of claim 5, wherein the apparatus further comprises:
the style determining module is used for determining style attribute information of the picture according to the obtained element information after identifying the element information included in the picture based on the image identification technology; determining a character style of the character to be filled based on the style attribute information;
the character adding module is further configured to add a character in the fillable area based on the character color and the character style.
9. An electronic device, the electronic device comprising: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space surrounded by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; a processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of any of the preceding claims 1-4.
10. A computer readable storage medium storing one or more programs executable by one or more processors to implement the method of any of claims 1-4.
CN201911389787.4A 2019-12-26 2019-12-26 Method and device for adding characters in picture, electronic equipment and storage medium Active CN111161377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911389787.4A CN111161377B (en) 2019-12-26 2019-12-26 Method and device for adding characters in picture, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911389787.4A CN111161377B (en) 2019-12-26 2019-12-26 Method and device for adding characters in picture, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111161377A CN111161377A (en) 2020-05-15
CN111161377B true CN111161377B (en) 2023-06-27

Family

ID=70559193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911389787.4A Active CN111161377B (en) 2019-12-26 2019-12-26 Method and device for adding characters in picture, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111161377B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113989396A (en) * 2021-11-05 2022-01-28 北京字节跳动网络技术有限公司 Picture rendering method, device, equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03160571A (en) * 1989-11-17 1991-07-10 Sanyo Electric Co Ltd Picture processing method
CN106934847A (en) * 2015-12-31 2017-07-07 腾讯科技(深圳)有限公司 Method for generating pattern and device
CN108597001A (en) * 2018-05-15 2018-09-28 Oppo广东移动通信有限公司 atmosphere data processing method, device, storage medium and terminal
CN109408177A (en) * 2018-09-29 2019-03-01 北京金山安全软件有限公司 Method and device for configuring color of characters in picture and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003123087A (en) * 2001-10-11 2003-04-25 Sony Corp Image processor and method, and information processing program
CN107977946A (en) * 2017-12-20 2018-05-01 百度在线网络技术(北京)有限公司 Method and apparatus for handling image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03160571A (en) * 1989-11-17 1991-07-10 Sanyo Electric Co Ltd Picture processing method
CN106934847A (en) * 2015-12-31 2017-07-07 腾讯科技(深圳)有限公司 Method for generating pattern and device
CN108597001A (en) * 2018-05-15 2018-09-28 Oppo广东移动通信有限公司 atmosphere data processing method, device, storage medium and terminal
CN109408177A (en) * 2018-09-29 2019-03-01 北京金山安全软件有限公司 Method and device for configuring color of characters in picture and electronic equipment

Also Published As

Publication number Publication date
CN111161377A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN107247548B (en) Method for displaying image, image processing method and device
US10074200B1 (en) Generation of imagery from descriptive text
WO2017088340A1 (en) Method and apparatus for processing image information, and computer storage medium
US11763481B2 (en) Mirror-based augmented reality experience
CN112215934A (en) Rendering method and device of game model, storage medium and electronic device
CN106796731A (en) The legibility of the shown text of optimization
CN106200918A (en) A kind of method for information display based on AR, device and mobile terminal
US11663467B2 (en) Methods and systems for geometry-aware image contrast adjustments via image-based ambient occlusion estimation
CN109408177B (en) Method and device for configuring color of characters in picture and electronic equipment
CN111127624A (en) Illumination rendering method and device based on AR scene
CN111009041A (en) Drawing creation method and device, terminal equipment and readable storage medium
CN107995482A (en) The treating method and apparatus of video file
US20240070976A1 (en) Object relighting using neural networks
CN111161377B (en) Method and device for adding characters in picture, electronic equipment and storage medium
CN111161283A (en) Method and device for processing picture resources and electronic equipment
CN112604279A (en) Special effect display method and device
CN111383289A (en) Image processing method, image processing device, terminal equipment and computer readable storage medium
CN116962748A (en) Live video image rendering method and device and live video system
US20010055035A1 (en) Image processing method and system using computer graphics
CN113989404A (en) Picture processing method, device, equipment, storage medium and program product
CN112118494B (en) Video data processing method and device and storage medium
CN110705242A (en) Method and device for manufacturing slide template and electronic equipment
CN117036546B (en) Picture generation method and device, storage medium and computing equipment
CN113344772B (en) Training method and computer equipment for map artistic migration model
Santano et al. Unmasking the Mah Meri mask: A digitization journey for AR and VR

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
TA01 Transfer of patent application right

Effective date of registration: 20201204

Address after: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing 100123

Applicant after: Beijing LEMI Technology Co.,Ltd.

Address before: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0070

Applicant before: Beijing Cheetah Network Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240117

Address after: 3870A, 3rd Floor, Building 4, Courtyard 49, Badachu Road, Shijingshan District, Beijing, 100144

Patentee after: Beijing Jupiter Technology Co.,Ltd.

Address before: 100123 room 115, area C, 1st floor, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing

Patentee before: Beijing LEMI Technology Co.,Ltd.

TR01 Transfer of patent right