CN111724329B - Image processing method and device and electronic equipment - Google Patents

Image processing method and device and electronic equipment Download PDF

Info

Publication number
CN111724329B
CN111724329B CN202010635212.2A CN202010635212A CN111724329B CN 111724329 B CN111724329 B CN 111724329B CN 202010635212 A CN202010635212 A CN 202010635212A CN 111724329 B CN111724329 B CN 111724329B
Authority
CN
China
Prior art keywords
image
adjusted
line
determining
initial
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
CN202010635212.2A
Other languages
Chinese (zh)
Other versions
CN111724329A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010635212.2A priority Critical patent/CN111724329B/en
Publication of CN111724329A publication Critical patent/CN111724329A/en
Application granted granted Critical
Publication of CN111724329B publication Critical patent/CN111724329B/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
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Abstract

The disclosure provides an image processing method and device and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: acquiring an image to be adjusted; when the adjustment operation of a user on a repairing line for adjusting the image is detected, determining the position information of the adjusted repairing line on the image based on the adjustment operation; determining a region to be adjusted of the image based on the position information; determining a reference line corresponding to the adjusted repair line; and adjusting the first image in the area to be adjusted of the image based on the reference line. The method and the device can adjust the first image of the area to be adjusted so as to repair the image.

Description

Image processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an image processing method and apparatus, and an electronic device.
Background
The image restoration refers to reconstructing lost or damaged parts in an image, image adjustment is a mode of image restoration, the damaged image can be subjected to resilience processing by image adjustment, various image adjustment tools exist in the market, and the tools can adjust the image by background processing user instructions so as to achieve the effect of restoring the image.
Currently, when adjusting an image, a user may continuously adjust the image by inputting an adjustment instruction for multiple times, so that the finally adjusted image meets the user's expectations, but this method is inefficient in adjusting the image.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
A first aspect of the present disclosure provides a method for processing an image, including:
acquiring an image to be adjusted;
when the adjustment operation of a user on a repairing line for adjusting the image is detected, determining the position information of the adjusted repairing line on the image based on the adjustment operation;
determining a region to be adjusted of the image based on the position information;
determining a reference line corresponding to the adjusted repair line;
and adjusting the first image in the area to be adjusted of the image based on the reference line.
A second aspect of the present disclosure provides an apparatus for processing an image, comprising:
the acquisition module is used for acquiring an image to be adjusted;
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the position information of the adjusted repairing line on the image based on the adjusting operation when the adjusting operation of a user for the repairing line for adjusting the image is detected;
the second determining module is used for determining the area to be adjusted of the image based on the position information;
the third determining module is used for determining a reference line corresponding to the adjusted repairing line;
and the adjusting module is used for adjusting the first image in the area to be adjusted of the image based on the reference line.
In a third aspect of the present disclosure, an electronic device is provided, which includes:
the electronic device comprises a memory and a processor;
the memory has a computer program stored therein;
a processor for performing the method of the first aspect when executing the computer program.
In a fourth aspect of the disclosure, a computer-readable medium is provided, on which a computer program is stored, which program, when executed by a processor, is the method of the first aspect.
The technical scheme provided by the disclosure has the following beneficial effects:
after the image to be adjusted is determined, if the adjustment operation of the user on the repair line for adjusting the image is detected, the position information of the adjusted repair line on the image can be determined based on the adjustment operation, so that the area to be adjusted of the image is determined based on the position information.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is one embodiment of a method of processing an image according to the present disclosure;
FIG. 2 is a schematic diagram of a scenario for repair line trimming according to the present disclosure;
FIG. 3 is another schematic view of a repair line trimming according to the present disclosure;
FIG. 4 is another schematic view of a repair line trimming according to the present disclosure;
FIG. 5 is another schematic view of a repair line trimming according to the present disclosure;
FIG. 6 is a diagram illustrating a scenario for feathering value adjustment according to the present disclosure;
FIG. 7 is a schematic structural diagram of an image processing apparatus according to the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the devices, modules or units to be determined as different devices, modules or units, and are not used for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As described above, the image adjustment may perform restoration processing on a damaged image, and causes of image damage include: the image processing method is used for solving the problem that the efficiency of adjusting the image by the user is low in the prior art, and the image processing method can be used for quickly adjusting the image.
The image processing method disclosed in the present disclosure may be executed by a terminal device, where the terminal device may be a mobile terminal or a desktop terminal, please refer to fig. 1, and the method specifically includes the following steps:
s101, acquiring an image to be adjusted;
the terminal device obtains the initial image, and may use the initial image as an image to be adjusted, or after obtaining the initial image, the terminal device may further process the initial image to obtain the image to be adjusted, and a specific processing manner will be described in an embodiment later.
In this embodiment, the terminal device may obtain the initial image from the local database, and may also receive the initial image sent by the server.
Step S102, when the adjustment operation of a user on a repair line for adjusting an image is detected, determining the position information of the adjusted repair line on the image based on the adjustment operation;
when the terminal device detects an adjustment operation of a user on a repair line for adjusting an image, the position information of the adjusted repair line on the image can be determined based on the adjustment operation, and the repair line is preset.
In this embodiment, one possible case that the terminal device detects the adjustment operation of the repair line by the user is: when the terminal equipment can detect the selection operation of a user on the repairing wire display control, the terminal equipment calls the repairing wire and displays the repairing wire on a terminal display interface (or sets the repairing wire to be in a usable state, but hides the repairing wire and prompts the using mode of the repairing wire to the user), so that the user can conveniently adjust the repairing wire;
another possible scenario is: the repairing wire is displayed on the terminal display interface (or the repairing wire is set to be in a usable state by the terminal equipment, but the repairing wire is hidden, and the using mode of the repairing wire is prompted to a user), so that the user can adjust the repairing wire.
In this embodiment, the multi-line may be understood as a picture repairing tool in the terminal device, and the adjustment operation of the user on the repairing line includes adjusting the position of the repairing line, or includes adjusting the position and the angle of the repairing line.
The position information of the repair line on the image in the present embodiment may be coordinate information of the repair line on the picture determined by taking the picture as a coordinate system.
Step S103: determining a region to be adjusted of the image based on the position information;
the terminal device may determine the area to be adjusted of the image based on the position information of the repair line, where a specific determination manner will be described in an embodiment later, and it should be noted that the area to be adjusted may be a rectangular area.
Step S104: determining a reference line corresponding to the adjusted repair line;
the reference line is used as a reference line when the first image is adjusted, the terminal device determines a reference line corresponding to the adjusted repairing line from at least two preset reference lines, and the reference line is determined based on the angle of the adjusted repairing line and is generally parallel to the adjusted repairing line.
It should be noted that, if the user adjusts the repair wire only to adjust the position of the repair wire, the adjusted repair wire herein refers to the repair wire after the position adjustment, and in this case, the adjusted repair wire may be replaced by the repair wire before the adjustment; if the user adjusts the repair wire, namely, the position and the angle of the repair wire are adjusted, the adjusted repair wire can refer to the repair wire after the position and the angle are adjusted, or only refer to the repair wire before the angle is adjusted;
step S105, adjusting the first image in the area to be adjusted of the image based on the reference line.
The terminal device can adjust the first image in the area to be adjusted of the image based on the reference line to realize the restoration of the first image.
In this embodiment, after the image to be adjusted is determined, if it is detected that a user performs an adjustment operation on a repair line for adjusting the image, the position information of the adjusted repair line on the image may be determined based on the adjustment operation, so as to determine the area of the image to be adjusted based on the position information.
Optionally, in this embodiment, for two possible cases that the terminal device detects an adjustment operation of a user on the repair line, a manner of adjusting the repair line by the user includes the following possible cases:
if the user needs to operate the repair wire to adjust the repair wire, for example, the user may adjust the repair wire by pulling the repair wire, the method for the user to adjust the repair wire includes:
case 1: if the number of the repair lines is one, a user can firstly adjust the repair lines to the repair lines in the preset direction (if the repair lines are the repair lines in the preset direction, the direction of the repair lines does not need to be adjusted again), and then the position of the repair lines is adjusted based on the repair lines after direction adjustment;
case 2: if the number of the repair lines is one, a user can firstly adjust the position of the repair line and then adjust the repair line after the position adjustment to the repair line in the preset direction (if the repair line after the position adjustment is the repair line in the preset direction, the direction of the repair line does not need to be adjusted again);
in the above cases 1 and 2, the repair line after direction adjustment may be a repair line parallel to the length direction of the image, or a repair line perpendicular to the length direction of the image;
referring to fig. 2, one possible scenario is: the user clicks a 'repairing line' button, an initial repairing line is displayed in a terminal display page, the terminal equipment can adjust the angle of the repairing line to be longitudinally parallel to the image based on user operation, and when the terminal equipment detects that the user pulls the repairing line to a certain position in the image rightwards, the repairing line can be adjusted to the position, and the position is the adjusted repairing line.
Case 3: if the number of the repair lines is at least two, for example, the number of the repair lines is two, and the repair lines are the repair line in the first preset direction and the repair line in the second preset direction, respectively, the user may select the repair line in the first preset direction or the repair line in the second preset direction to operate based on the requirement, the repair line in the first preset direction may be the repair line parallel to the length direction of the image, and the repair line in the second preset direction may be the repair line perpendicular to the length direction of the image, in this case, the user does not need to adjust the angle of the repair line.
In case 3, the prompt information that the terminal device prompts the user of the repairing line using mode may be: the user may be prompted in the form of text information, such as "pull lines from here", or in the form of dynamic images or pictures, such as prompting the user in the form of dynamic images to pull lines from the terminal display page in the length direction, or prompting the user in the form of dynamic images to pull lines from the terminal display page in the width direction.
Referring to fig. 3, one possible scenario is: the user clicks a 'repairing line' button, an initial repairing line is displayed in a terminal display page and comprises the repairing line in the transverse direction of the image and the repairing line in the longitudinal mode of the image, when the terminal equipment detects that the user pulls the repairing line in the transverse direction to a certain position in the image rightwards, the repairing line can be adjusted to the position, and the position is the position of the adjusted repairing line.
Referring to fig. 4, one possible scenario is: the user clicks a 'repairing line' button, the terminal display page prompts the user to adjust the repairing line in a picture mode, the user can select to pull the repairing line from the transverse direction of the image or pull the repairing line from the longitudinal direction of the image, and when the terminal equipment detects that the user pulls the repairing line in the transverse direction of the image to a certain position in the image rightwards, the repairing line can be adjusted to the position, wherein the position is the position of the adjusted repairing line.
If the user does not need to operate the repairing wire, the repairing wire can be adjusted, for example, the user adjusts the repairing wire in a mode of drawing a transverse line or a longitudinal line in a preset area of a picture, and the mode of adjusting the repairing wire by the user includes:
case 4: when the terminal device detects that a user draws a transverse line or a longitudinal line in a preset area of a picture (when the user draws the line, the terminal device can synchronously correct the line drawn by the user), the terminal device detects that the user adjusts the repairing line used for adjusting the image, so that the terminal sets the line drawn by the user, adjusts the initial repairing line in the terminal device, and the line drawn by the user is used as the adjusted repairing line.
In this embodiment, the manner of synchronously correcting the lines by the terminal device is to correct the horizontal lines drawn by the user into lines parallel to the length direction of the picture, and to correct the longitudinal lines drawn by the user into lines perpendicular to the length direction of the picture.
In this embodiment, the prompt information that the terminal device prompts the user of the repairing line using mode may be: the user may be prompted with a character message, for example, "the repair line is drawn here", or with a moving image, for example, the user may be prompted with a moving image to draw the repair line.
Referring to fig. 5, another possible scenario is: the user clicks the 'repairing line' button, the terminal display page displays the repairing line drawing area and the character information 'drawing the repairing line at the position', the user can draw lines along the longitudinal direction of the image, and the position of the repairing line drawn by the user is the adjusted position of the repairing line.
Optionally, in the foregoing embodiment, the step S102 of determining the area to be adjusted of the image based on the position information may include:
determining an initial area to be adjusted corresponding to the position information;
obtaining an eclosion value of an initial region to be adjusted;
and performing corresponding feathering treatment on the initial region to be adjusted based on the feathering value, and taking the feathering region obtained by the feathering treatment as the region to be adjusted of the image.
The corresponding relationship between the position information and the initial region to be adjusted is preset in the terminal device, and may be that one or more position information correspond to one initial region to be adjusted, and the server may determine the initial region to be adjusted corresponding to the position information of the adjusted repair line on the image based on the corresponding relationship.
In this embodiment, feathering is to make the edge of the area in the selected range achieve a hazy effect, the terminal device may use the initial area to be adjusted as the area in the selected range, the initial area to be adjusted has a default initial feathering value, the initial feathering value is adjustable, the terminal device determines a feathering value obtained by adjusting the initial feathering value, takes the feathering value as the feathering value of the initial area to be adjusted, performs feathering processing with the initial area to be adjusted as a center based on the feathering value to obtain a feathering area, and takes the feathering area as the area to be adjusted of the image.
In the present embodiment, the range of the feathering value may be 1 to 100, and the initial feathering value may be 50.
Further, in this embodiment, the obtaining of the feathering value of the initial region to be adjusted includes at least one of the following:
when the adjustment operation of the user for the initial feathering value of the initial region to be adjusted is detected, determining the adjusted feathering value based on the adjustment operation, and taking the adjusted feathering value as the feathering value of the initial region to be adjusted;
and determining a second image positioned in the initial region to be adjusted in the image, and determining a feathering value of the initial region to be adjusted based on the second image.
In the present embodiment, the feathering value of the initial region to be adjusted has the following two possible cases:
one possible scenario is: as mentioned above, the initial feathering value is preset in the terminal device, the user may adjust the initial feathering value, and when the terminal device detects an adjustment operation of the user for the initial feathering value, the adjusted feathering value may be determined based on the adjustment operation, so that the adjusted feathering value is used as the feathering value of the initial region to be adjusted. In this embodiment, the way for the user to adjust the initial feather value may be: the terminal display page is provided with an adjustment control with an eclosion value, the control can be an input box, a user can input a new eclosion value in the input box to adjust the initial eclosion value, the setting control can also be a sliding bar control, and the user can adjust the initial eclosion value through sliding.
Another possible scenario is: the terminal device may also automatically adjust or set a feathering value, and the terminal device may determine a second image located in the initial region to be adjusted in the image, and determine the feathering value of the initial region to be adjusted based on the content information of the second image, where determining the feathering value of the initial region to be adjusted based on the content information of the second image may be: if the initial feathering value is preset in the terminal device, the feathering value corresponding to the initial region to be adjusted can be obtained by adjusting the initial feathering value based on the content information of the second image.
The two possible scenarios described above may be applied in the following scenarios:
if the image (for example, the second image) corresponding to the initial region to be adjusted includes the content information of the thick line, the feathering value of the initial region to be adjusted may be adjusted (or set) to be larger, and if the image (for example, the second image) corresponding to the initial region to be adjusted includes the content information of the thin line, the feathering value of the initial region to be adjusted may be adjusted (or set) to be smaller.
For example, if the area of the feathering value is 1 to 100, and the second image corresponding to the initial region to be adjusted is a pillar, the feathering value of the initial region to be adjusted may be adjusted (or set) to 50 or more, and the second image corresponding to the initial region to be adjusted is a gate slit, the feathering value of the initial region to be adjusted may be adjusted (or set) to 50 or less.
Referring to fig. 6, a possible scenario of this embodiment is that a user clicks a "repair line" button, an initial repair line is displayed in a terminal display page, where the initial repair line includes a repair line in a lateral direction of an image and a repair line in a longitudinal manner of the image, and when a terminal device detects that the user pulls the repair line in the lateral direction to a certain position in the image rightwards, the repair line may be adjusted to the position, and meanwhile, an adjustment range of an eclosion value is 0 to 100, and the initial eclosion value is 50, an initial region to be adjusted may be determined based on the position of the repair line, and at this time, the eclosion value of the initial region to be adjusted is 50, and when the terminal device detects that the user adjusts the initial eclosion value, for example, the eclosion value is adjusted to 70, the terminal device adjusts the initial region to be adjusted based on the adjusted eclosion value, and obtains the region to be adjusted.
Optionally, the determining the reference line corresponding to the adjusted repair line in step S104 may include:
if the adjusted repairing line accords with the first preset direction, taking the reference line in the corresponding first preset direction as the reference line corresponding to the repairing line;
and if the adjusted repairing line accords with the second preset direction, taking the corresponding reference line in the second preset direction as the reference line corresponding to the repairing line.
If the adjusted repairing line is a line in a first preset direction of the picture, taking the line in the first preset direction of the terminal display page as a reference line corresponding to the repairing line, for example, if the first preset direction is a direction parallel to the length direction of the picture, taking a line parallel to the length direction of the terminal display page (which may be a transverse center line of the terminal display page) as the reference line;
if the adjusted repairing line is a line in a second preset direction of the picture, taking the line in the second preset direction of the terminal display page as a reference line corresponding to the repairing line, for example, if the second preset direction is a direction perpendicular to the length direction of the picture, taking a line (which may be a longitudinal center line of the terminal display page) perpendicular to the length direction of the terminal display page as the reference line;
optionally, before adjusting the first image located in the region to be adjusted of the image based on the reference line in step S105, the method may further include:
separating the background image of the image from other images except the background image of the image;
and determining a first image in the background image of the picture obtained by separation and positioned in the area to be adjusted.
The reason for the image damage may be image damage caused by the user using the cropping software, and one possible scenario is that, when the user uses the cropping software to adjust the image of the person in a certain image, the background image of the image is also adjusted accordingly, which results in image damage, so that after the general user adjusts the image of the person, the background image in the image needs to be adjusted, in this scenario, an image separation technique may be employed to separate the background image from other images (e.g., the image of the person) in the image, therefore, the terminal device can independently adjust the background image without affecting other images, and the terminal device can use the image corresponding to the area to be adjusted in the separated background image as the first image, so as to adjust the first image.
It can be seen that the present disclosure can adjust only the background image in the image without affecting other images (e.g., a person image, a product image) other than the background image.
Optionally, in the above embodiment, the adjusting the first image substantially adjusts an angle of the first image, or adjusts an angle of each line in the first image, in an implementation of the present disclosure, it is likely that the image is captured not horizontally but at a certain angle, so that there is a perspective angle in the captured image, and the perspective angle of the image can be understood as an angle of the image relative to a ground horizontal plane, and the perspective angle also needs to be considered when the image is adjusted.
One possibility is that, when adjusting the first image of the region to be adjusted, the first image is adjusted on the basis of the perspective angle, in particular:
optionally, the step S105 adjusts the first image located in the to-be-adjusted region of the image based on the reference line, and may include:
determining a perspective angle of the image;
the angle of the first image is adjusted based on the reference line and the perspective angle of the image.
After the terminal device determines the perspective angle of the image, the angle of the first image may be adjusted based on the angle of the first image relative to the reference line and the perspective angle of the first image, so that the adjusted first image also has the perspective angle relative to the ground horizon.
In this embodiment, the adjustment angle of the first image may be determined based on the reference line and the perspective angle, so as to adjust the angle of the first image, for example, if the reference line is parallel to the ground horizontal line, the inclination angle of the first image with respect to the ground horizontal line is X1 degrees, the perspective angle of the first image is X2 degrees, and the adjustment angle of the first image is X1+ X2 degrees; the first image may be adjusted to be parallel to the reference line based on the reference line, and then the perspective angle of the first image parallel to the reference line may be adjusted, for example, the image is photographed at an oblique X3 degree, the first image is adjusted to be parallel to the reference line, and then the first image is adjusted to be oblique X3 degree with respect to the ground horizontal line, and the value ranges of X1, X2, and X3 are all 0 to 180 degrees.
In the embodiment, the perspective angle of the image is considered when the first image is adjusted, so that the adjusted first image and the image to be adjusted are more coordinated, the visual effect of image display is increased, and the user experience is improved.
Another possible situation is that the image to be adjusted is already an image with the perspective angle adjusted in advance, specifically:
optionally, the acquiring of the image to be adjusted in step S101 may include:
acquiring an initial image and determining a perspective angle of the initial image;
and adjusting the perspective angle of the initial image to obtain an image to be adjusted.
The terminal equipment can acquire the initial image, determine the perspective angle of the initial image, adjust the angle of the initial image based on the perspective angle, and reduce the perspective angle to be close to or equal to 0 degree, so that the image to be adjusted obtained by adjusting the initial image is parallel to the horizontal line of the ground, and then, when adjusting the angle of the first image in the image to be adjusted, the first image is adjusted to be parallel to the reference line only by considering the angle of the first image relative to the reference line.
In this embodiment, when the terminal device adjusts the angle of the initial image, the initial image may or may not be clipped according to different types of the terminal device (or different sizes of screens of the terminal device), and the specific details are not limited herein.
In this embodiment, the perspective angle of the image may be adjusted in advance, so that the image is parallel to the ground horizontal plane, and when the image is restored, only the first image in the image needs to be adjusted based on the reference line, thereby simplifying the restoration process of the image, and the adjusted first image and the image to be adjusted are more coordinated.
The main application scenarios of the present disclosure are: when a user adjusts a character image by using image correcting software, the background image is often corrected and deformed, the method can be applied to the restoration of the background image in the image, when the user uses a liquefying function, lines of the background image need to be corrected after the details of characters in the image are adjusted, the user only needs to pull a restoring line to determine an area to be adjusted, at the moment, the character image and the background image can be separated by the terminal equipment, the character image is intelligently protected from being influenced, the method only plays a role in the background image, the deformed area is intelligently corrected, and the best effect is achieved by one key.
Referring to fig. 7, the present disclosure further provides an image processing apparatus, including:
an obtaining module 701, configured to obtain an image to be adjusted;
a first determining module 702, configured to, when an adjustment operation of a user on a repair line used for adjusting an image is detected, determine, based on the adjustment operation, position information of the adjusted repair line on the image;
a second determining module 703, configured to determine, based on the position information, a region to be adjusted of the image;
a third determining module 704, configured to determine a reference line corresponding to the adjusted repair line;
the adjusting module 705 is configured to adjust a first image located in an area to be adjusted of the image based on the reference line.
Optionally, the second determining module 703 is specifically configured to:
determining an initial area to be adjusted corresponding to the position information;
obtaining an eclosion value of an initial region to be adjusted;
and performing corresponding feathering treatment on the initial region to be adjusted based on the feathering value, and taking the feathering region obtained by the feathering treatment as the region to be adjusted of the image.
Optionally, when obtaining the feathering value of the initial region to be adjusted, the second determining module 703 is specifically configured to perform at least one of the following operations:
when the adjustment operation of the user for the initial feathering value of the initial region to be adjusted is detected, determining the adjusted feathering value based on the adjustment operation, and taking the adjusted feathering value as the feathering value of the initial region to be adjusted;
and determining a second image positioned in the initial region to be adjusted in the image, and determining a feathering value of the initial region to be adjusted based on the second image.
Optionally, when determining the reference line corresponding to the adjusted repair line, the third determining module 704 is specifically configured to:
if the adjusted repairing line accords with the first preset direction, taking the reference line in the corresponding first preset direction as the reference line corresponding to the repairing line;
and if the adjusted repairing line accords with the second preset direction, taking the corresponding reference line in the second preset direction as the reference line corresponding to the repairing line.
Optionally, the apparatus further includes a separation module and a fourth determination module, before the adjustment module 705 adjusts the first image located in the to-be-adjusted region of the image based on the reference line;
the separation module is used for separating the background image of the image from other images except the background image of the image;
and the fourth determining module is used for determining the first image in the area to be adjusted in the background image of the picture obtained by separation.
Optionally, the adjusting module 705 is specifically configured to:
determining a perspective angle of the image;
the angle of the first image is adjusted based on the reference line and the perspective angle of the image.
Optionally, the obtaining module 701 is specifically configured to:
acquiring an initial image and determining a perspective angle of the initial image;
and adjusting the perspective angle of the initial image to obtain an image to be adjusted.
Referring now to fig. 8, a schematic diagram of an electronic device (e.g., the terminal device of fig. 1) 600 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 601 hereinafter, and the memory may include at least one of a Read Only Memory (ROM)602, a Random Access Memory (RAM)603 and a storage device 608 hereinafter, which are specifically shown as follows:
as shown in fig. 8, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 8 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring an image to be adjusted; when the adjustment operation of a user on a repairing line for adjusting the image is detected, determining the position information of the adjusted repairing line on the image based on the adjustment operation; determining a region to be adjusted of the image based on the position information; determining a reference line corresponding to the adjusted repair line; and adjusting the first image in the area to be adjusted of the image based on the reference line.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a module or a unit does not in some cases constitute a limitation of the unit itself, and for example, the acquisition module may also be described as a "module that acquires an image to be adjusted".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided an image processing method including:
acquiring an image to be adjusted;
when the adjustment operation of a user on a repairing line for adjusting the image is detected, determining the position information of the adjusted repairing line on the image based on the adjustment operation;
determining a region to be adjusted of the image based on the position information;
determining a reference line corresponding to the adjusted repair line;
and adjusting the first image in the area to be adjusted of the image based on the reference line.
Optionally, determining a region to be adjusted of the image based on the position information includes:
determining an initial area to be adjusted corresponding to the position information;
obtaining an eclosion value of an initial region to be adjusted;
and performing corresponding feathering treatment on the initial region to be adjusted based on the feathering value, and taking the feathering region obtained by the feathering treatment as the region to be adjusted of the image.
Optionally, obtaining a feathering value of the initial region to be adjusted includes at least one of:
when the adjustment operation of the user for the initial feathering value of the initial region to be adjusted is detected, determining the adjusted feathering value based on the adjustment operation, and taking the adjusted feathering value as the feathering value of the initial region to be adjusted;
and determining a second image positioned in the initial region to be adjusted in the image, and determining a feathering value of the initial region to be adjusted based on the second image.
Optionally, determining a reference line corresponding to the adjusted repair line includes:
if the adjusted repairing line accords with the first preset direction, taking the reference line in the corresponding first preset direction as the reference line corresponding to the repairing line;
and if the adjusted repairing line accords with the second preset direction, taking the corresponding reference line in the second preset direction as the reference line corresponding to the repairing line.
Optionally, before adjusting the first image located in the region to be adjusted of the image based on the reference line, the method further includes:
separating the background image of the image from other images except the background image of the image;
and determining a first image in the background image of the picture obtained by separation and positioned in the area to be adjusted.
Optionally, adjusting the first image located in the region to be adjusted of the image based on the reference line includes:
determining a perspective angle of the image;
the angle of the first image is adjusted based on the reference line and the perspective angle of the image.
Optionally, acquiring an image to be adjusted includes:
acquiring an initial image and determining a perspective angle of the initial image;
and adjusting the perspective angle of the initial image to obtain an image to be adjusted.
According to one or more embodiments of the present disclosure, there is also provided an image processing apparatus including:
the acquisition module is used for acquiring an image to be adjusted;
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the position information of the adjusted repairing line on the image based on the adjusting operation when the adjusting operation of a user for the repairing line for adjusting the image is detected;
the second determining module is used for determining the area to be adjusted of the image based on the position information;
the third determining module is used for determining a reference line corresponding to the adjusted repairing line;
and the adjusting module is used for adjusting the first image in the area to be adjusted of the image based on the reference line.
Optionally, the second determining module is specifically configured to:
determining an initial area to be adjusted corresponding to the position information;
obtaining an eclosion value of an initial region to be adjusted;
and performing corresponding feathering treatment on the initial region to be adjusted based on the feathering value, and taking the feathering region obtained by the feathering treatment as the region to be adjusted of the image.
Optionally, when obtaining the feathering value of the initial region to be adjusted, the second determining module is specifically configured to perform at least one of the following operations:
when the adjustment operation of the user for the initial feathering value of the initial region to be adjusted is detected, determining the adjusted feathering value based on the adjustment operation, and taking the adjusted feathering value as the feathering value of the initial region to be adjusted;
and determining a second image positioned in the initial region to be adjusted in the image, and determining a feathering value of the initial region to be adjusted based on the second image.
Optionally, when determining the reference line corresponding to the adjusted repair line, the third determining module is specifically configured to:
if the adjusted repairing line accords with the first preset direction, taking the reference line in the corresponding first preset direction as the reference line corresponding to the repairing line;
and if the adjusted repairing line accords with the second preset direction, taking the corresponding reference line in the second preset direction as the reference line corresponding to the repairing line.
Optionally, the apparatus further includes a separation module and a fourth determination module, before the adjustment module adjusts the first image located in the to-be-adjusted region of the image based on the reference line;
the separation module is used for separating the background image of the image from other images except the background image of the image;
and the fourth determining module is used for determining the first image in the area to be adjusted in the background image of the picture obtained by separation.
Optionally, the adjusting module is specifically configured to:
determining a perspective angle of the image;
the angle of the first image is adjusted based on the reference line and the perspective angle of the image.
Optionally, the obtaining module is specifically configured to:
acquiring an initial image and determining a perspective angle of the initial image;
and adjusting the perspective angle of the initial image to obtain an image to be adjusted.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (8)

1. A method of processing an image, comprising:
acquiring an image to be adjusted;
when the adjustment operation of a user on a repairing line for adjusting an image is detected, determining the position information of the adjusted repairing line on the image based on the adjustment operation;
determining an initial area to be adjusted corresponding to the position information; obtaining the eclosion value of the initial area to be adjusted; performing corresponding feathering treatment on the initial region to be adjusted based on the feathering value, and taking the feathering region obtained by the feathering treatment as the region to be adjusted of the image;
determining a reference line corresponding to the adjusted repair line;
adjusting a first image located in the region to be adjusted of the image based on the reference line, including: determining a perspective angle of the image; adjusting an angle of the first image based on the reference line and a perspective angle of the image.
2. The method of claim 1, wherein the obtaining the feathering value of the initial region to be adjusted comprises at least one of:
when the adjustment operation of the user on the initial feathering value of the initial region to be adjusted is detected, determining an adjusted feathering value based on the adjustment operation, and taking the adjusted feathering value as the feathering value of the initial region to be adjusted;
determining a second image located in the initial region to be adjusted of the image, and determining a feathering value of the initial region to be adjusted based on the second image.
3. The method of any one of claims 1 to 2, wherein said determining a reference line corresponding to the adjusted repair line comprises:
if the adjusted repairing line accords with a first preset direction, taking a reference line in the corresponding first preset direction as a reference line corresponding to the repairing line;
and if the adjusted repairing line accords with a second preset direction, taking the corresponding reference line in the second preset direction as the reference line corresponding to the repairing line.
4. The method according to any one of claims 1 to 2, wherein before the adjusting the first image located in the region to be adjusted of the image based on the reference line, the method further comprises:
separating a background image of the image from other images except the background image of the image;
and determining a first image positioned in the area to be adjusted in the background image of the image obtained by separation.
5. The method according to any one of claims 1 to 2, wherein the acquiring the image to be adjusted comprises:
acquiring an initial image and determining a perspective angle of the initial image;
and adjusting the perspective angle of the initial image to obtain the image to be adjusted.
6. An apparatus for processing an image, comprising:
the acquisition module is used for acquiring an image to be adjusted;
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the position information of a repair line on an image after adjustment based on an adjusting operation when the adjusting operation of a user for the repair line for adjusting the image is detected;
a second determining module, configured to determine an initial area to be adjusted corresponding to the position information; obtaining the eclosion value of the initial area to be adjusted; performing corresponding feathering treatment on the initial region to be adjusted based on the feathering value, and taking the feathering region obtained by the feathering treatment as the region to be adjusted of the image;
a third determining module, configured to determine a reference line corresponding to the adjusted repair line;
an adjusting module, configured to adjust a first image of the region to be adjusted on the basis of the reference line, the adjusting module includes: determining a perspective angle of the image; adjusting an angle of the first image based on the reference line and a perspective angle of the image.
7. An electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has stored therein a computer program;
the processor, when executing the computer program, is configured to perform the method of any of claims 1-5.
8. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 5.
CN202010635212.2A 2020-07-03 2020-07-03 Image processing method and device and electronic equipment Active CN111724329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010635212.2A CN111724329B (en) 2020-07-03 2020-07-03 Image processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010635212.2A CN111724329B (en) 2020-07-03 2020-07-03 Image processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111724329A CN111724329A (en) 2020-09-29
CN111724329B true CN111724329B (en) 2022-03-01

Family

ID=72571683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010635212.2A Active CN111724329B (en) 2020-07-03 2020-07-03 Image processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111724329B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767238A (en) * 2020-12-31 2021-05-07 北京字跳网络技术有限公司 Image processing method, image processing device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822060A (en) * 2015-05-05 2015-08-05 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN111127345A (en) * 2019-12-06 2020-05-08 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN111311521A (en) * 2020-03-12 2020-06-19 京东方科技集团股份有限公司 Image restoration method and device and electronic equipment
CN111325704A (en) * 2020-02-07 2020-06-23 北京字节跳动网络技术有限公司 Image restoration method and device, electronic equipment and computer-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296578B (en) * 2015-05-29 2020-04-28 阿里巴巴集团控股有限公司 Image processing method and device
CN107527069A (en) * 2017-08-22 2017-12-29 京东方科技集团股份有限公司 Image processing method, device, electronic equipment and computer-readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822060A (en) * 2015-05-05 2015-08-05 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN111127345A (en) * 2019-12-06 2020-05-08 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN111325704A (en) * 2020-02-07 2020-06-23 北京字节跳动网络技术有限公司 Image restoration method and device, electronic equipment and computer-readable storage medium
CN111311521A (en) * 2020-03-12 2020-06-19 京东方科技集团股份有限公司 Image restoration method and device and electronic equipment

Also Published As

Publication number Publication date
CN111724329A (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN111399956B (en) Content display method and device applied to display equipment and electronic equipment
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN111461968B (en) Picture processing method, device, electronic equipment and computer readable medium
CN110795196A (en) Window display method, device, terminal and storage medium
CN112418249A (en) Mask image generation method and device, electronic equipment and computer readable medium
CN114064593B (en) Document sharing method, device, equipment and medium
CN111724329B (en) Image processing method and device and electronic equipment
CN113535105B (en) Media file processing method, device, equipment, readable storage medium and product
CN111461965B (en) Picture processing method and device, electronic equipment and computer readable medium
CN110223220B (en) Method and device for processing image
CN114339447A (en) Method, device and equipment for converting picture into video and storage medium
CN111507123B (en) Method and device for placing reading materials, reading equipment, electronic equipment and medium
CN115546487A (en) Image model training method, device, medium and electronic equipment
CN111461964B (en) Picture processing method, device, electronic equipment and computer readable medium
CN114419298A (en) Virtual object generation method, device, equipment and storage medium
CN110825993B (en) Picture display method and device and electronic equipment
CN114187169A (en) Method, device and equipment for generating video special effect package and storage medium
CN113905177A (en) Video generation method, device, equipment and storage medium
CN110807164A (en) Automatic image area adjusting method and device, electronic equipment and computer readable storage medium
CN112215774B (en) Model training and image defogging methods, apparatus, devices and computer readable media
CN111738958B (en) Picture restoration method and device, electronic equipment and computer readable medium
CN110825480A (en) Picture display method and device, electronic equipment and computer readable storage medium
CN113592734B (en) Image processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.