Image shooting method and device, terminal, and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsQian Wang, Yu Zhao, Guiqi Cui
Life of this patent
Estimating the term…
Abstract
An image shooting method, a terminal and a non-transitory computer-readable storage medium are provided. The image shooting method includes: an image shooting target corresponding to a preview photo in a preview interface is recognized; when the image shooting target includes an object associated with a shooting requirement, object shooting requirement information for the shooting requirement of the object of the image shooting target is acquired; and a photo of the object of the image shooting target is shot based on the object shooting requirement information.
Claims9
An image shooting method, performed by a terminal, comprising:
- recognizing an image shooting target corresponding to a preview photo in a preview interface;
- acquiring first credential shooting requirement information for a shooting requirement of a credential of the image shooting target and outputting prompt information on the preview interface, in response to the image shooting target comprising the credential that is associated with the shooting requirement wherein the first credential shooting requirement information instructs the terminal to be switched to a credential photoprinting mode corresponding to credential shooting, the first credential shooting requirement information comprises a shooting requirement during photoprinting of the credential and the prompt information is used for prompting a user whether to adjust a shooting mode to the credential photoprinting mode or not;
- entering a framing page in the credential photoprinting mode from the preview interface, in response to receiving a confirmation operation for the prompt information;
- displaying, based on the first credential shooting requirement information, a reference graphic object for composition assistance while shooting the credential on the framing page, wherein the reference graphic object comprises an outer contour auxiliary line of the credential and an auxiliary line for predetermined information in the credential, the outer contour auxiliary line is matched with an outer contour edge of the credential and the auxiliary line for the predetermined information comprises an outer contour auxiliary line of the predetermined information and an inner contour auxiliary line of an inner structure of the predetermined information;
- and
- shooting a photo of the credential.
A terminal, comprising:
- a processor;
- and
- a memory configured to store instructions that are executable by the processor,
- wherein the processor is configured to:
- recognize an image shooting target corresponding to a preview photo in a preview interface;
- acquire first credential shooting requirement information for a shooting requirement of a credential of the image shooting target and output prompt information on the preview interface, in response to the image shooting target comprising the credential that is associated with the shooting requirement, wherein the first credential shooting requirement information instructs the terminal to be switched to a credential photoprinting mode corresponding to credential shooting, the first credential shooting requirement information comprises a shooting requirement during photoprinting of the credential and the prompt information is used for prompting a user whether to adjust a shooting mode to the credential photoprinting mode or not;
- enter a framing page in the credential photoprinting mode from the preview interface, in response to receiving a confirmation operation for the prompt information;
- display, based on the first credential shooting requirement information, a reference graphic object for composition assistance while shooting the credential on the framing page, wherein the reference graphic object comprises an outer contour auxiliary line of the credential and an auxiliary line for predetermined information in the credential, the outer contour auxiliary line is matched with an outer contour edge of the credential and the auxiliary line for the predetermined information comprises an outer contour auxiliary line of the predetermined information and an inner contour auxiliary line of an inner structure of the predetermined information;
- and
- shoot a photo of the credential.
A non-transitory computer-readable storage medium having stored therein a computer program that, when executed by a processor of a terminal, causes the processor to perform:
- recognizing an image shooting target corresponding to a preview photo in a preview interface;
- acquiring first credential shooting requirement information for a shooting requirement of a credential of the image shooting target and outputting prompt information on the preview interface, in response to the image shooting target comprising the credential that is associated with the shooting requirement, wherein the first credential shooting requirement information instructs the terminal to be switched to a credential photoprinting mode corresponding to credential shooting, the first credential shooting requirement information comprises a shooting requirement during photoprinting of the credential and the prompt information is used for prompting a user whether to adjust a shooting mode to the credential photoprinting mode or not;
- entering a framing page in the credential photoprinting mode from the preview interface, in response to receiving a confirmation operation for the prompt information;
- displaying, based on the first credential shooting requirement information, a reference graphic object for composition assistance while shooting the credential on the framing page, wherein the reference graphic object comprises an outer contour auxiliary line of the credential and an auxiliary line for predetermined information in the credential, the outer contour auxiliary line is matched with an outer contour edge of the credential and the auxiliary line for the predetermined information comprises an outer contour auxiliary line of the predetermined information and an inner contour auxiliary line of an inner structure of the predetermined information;
- and
- shooting a photo of the credential.
Dependencies are inferred from the claim text.