Method and apparatus for correcting tilt of subject ocuured in photographing, mobile terminal, and storage medium
First Claim
Patent Images
1. A method for correcting a tilt of a subject occurred in photographing, comprising:
- in response to detecting, by a mobile terminal, the subject entering a viewfinder interface displayed on the mobile terminal, identifying a boundary of a profile of the subject to obtain the profile of the subject;
analyzing the profile of the subject to determine whether the subject is tilted; and
performing straightening and photographing on the subject to obtain a picture in which the subject is straightened in response to determining that the subject is tilted, wherein the performing comprises;
after performing a first operation on the subject in response to determining to perform straightening and photographing, obtaining a picture in which the subject is tilted according to a received photographing instruction; and
performing a second operation on the picture in which the subject is tilted to obtain the picture in which the subject is straightened;
wherein performing the first operation on the subject in response to determining to perform straightening and photographing comprises;
providing auxiliary lines, wherein the auxiliary lines are perpendicular to a longer side in the parallel sides of the profile of the subject, and the auxiliary lines pass through two corner points of the longer side in the parallel sides respectively; and
providing arrows, wherein the arrows are directed to the auxiliary lines from two corner points of a shorter side in the parallel sides of the profile of the subject respectively, and are indicative of movement directions of the two corner points of the shorter side in the parallel sides.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus for correcting a tilt of a subject occurred in photographing, as well as a mobile terminal and a computer storage medium are provided. In some embodiments, the method includes: after it is detected by a mobile terminal that the subject enters a viewfinder interface, identifying a boundary of a profile of the subject to obtain the profile of the subject; analyzing the profile of the subject to determine whether the subject is tilted; and performing a process for straightening and photographing on the subject to obtain a picture in which the subject is straightened if the subject is determined to be tilted.
13 Citations
13 Claims
-
1. A method for correcting a tilt of a subject occurred in photographing, comprising:
-
in response to detecting, by a mobile terminal, the subject entering a viewfinder interface displayed on the mobile terminal, identifying a boundary of a profile of the subject to obtain the profile of the subject; analyzing the profile of the subject to determine whether the subject is tilted; and performing straightening and photographing on the subject to obtain a picture in which the subject is straightened in response to determining that the subject is tilted, wherein the performing comprises; after performing a first operation on the subject in response to determining to perform straightening and photographing, obtaining a picture in which the subject is tilted according to a received photographing instruction; and performing a second operation on the picture in which the subject is tilted to obtain the picture in which the subject is straightened; wherein performing the first operation on the subject in response to determining to perform straightening and photographing comprises; providing auxiliary lines, wherein the auxiliary lines are perpendicular to a longer side in the parallel sides of the profile of the subject, and the auxiliary lines pass through two corner points of the longer side in the parallel sides respectively; and providing arrows, wherein the arrows are directed to the auxiliary lines from two corner points of a shorter side in the parallel sides of the profile of the subject respectively, and are indicative of movement directions of the two corner points of the shorter side in the parallel sides. - View Dependent Claims (2, 3, 4, 5, 9, 10, 11, 12, 13)
-
-
6. An apparatus for correcting a tilt of a subject occurred in photographing, comprising a processor configured to:
-
identify, in response to detecting, by a mobile terminal, the subject entering a viewfinder interface displayed on the mobile terminal, a boundary of a profile of the subject to obtain the profile of the subject; analyze the profile of the subject to determine whether the subject is tilted; and perform straightening and photographing on the subject to obtain a picture in which the subject is straightened in response to determining that the subject is tilted; obtain, after performing a first operation on the subject in response to determining to perform straightening and photographing, a picture in which the subject is tilted according to a received photographing instruction; and perform a second operation on the picture in which the subject is tilted and obtain the picture in which the subject is straightened; wherein the processor is configured to perform the first operation on the subject in response to determining to perform straightening and photographing by; providing auxiliary lines, wherein the auxiliary lines are perpendicular to a longer side in the parallel sides of the profile of the subject, and the auxiliary lines pass through two corner points of the longer side in the parallel sides respectively; and providing arrows, wherein the arrows are directed to the auxiliary lines from two corner points of a shorter side in the parallel sides of the profile of the subject respectively, and are indicative of movement directions of the two corner points of the shorter side in the parallel sides. - View Dependent Claims (7)
-
-
8. A mobile terminal, comprising a camera and a processor,
wherein the processor is configured to: - identify, in response to detecting, by the processor, a subject entering a viewfinder interface of the camera, a boundary of a profile of the subject to obtain the profile of the subject;
to analyze the profile of the subject to determine whether the subject is tilted;
perform straightening and photographing on the subject to obtain a picture in which the subject is straightened in response to determining that the subject is tilted;
obtain, after performing a first operation on the subject in response to determining to perform straightening and photographing, a picture in which the subject is tilted according to a received photographing instruction; and
perform a second operation on the picture in which the subject is tilted and obtain the picture in which the subject is straightened;wherein the processor is further configured to perform the first operation on the subject in response to determining to perform straightening and photographing by; providing auxiliary lines, wherein the auxiliary lines are perpendicular to a longer side in the parallel sides of the profile of the subject, and the auxiliary lines pass through two corner points of the longer side in the parallel sides respectively; and providing arrows, wherein the arrows are directed to the auxiliary lines from two corner points of a shorter side in the parallel sides of the profile of the subject respectively, and are indicative of movement directions of the two corner points of the shorter side in the parallel sides.
- identify, in response to detecting, by the processor, a subject entering a viewfinder interface of the camera, a boundary of a profile of the subject to obtain the profile of the subject;
Specification