CN117676310A - Shooting method, shooting device, electronic equipment and medium - Google Patents

Shooting method, shooting device, electronic equipment and medium Download PDF

Info

Publication number
CN117676310A
CN117676310A CN202311617558.XA CN202311617558A CN117676310A CN 117676310 A CN117676310 A CN 117676310A CN 202311617558 A CN202311617558 A CN 202311617558A CN 117676310 A CN117676310 A CN 117676310A
Authority
CN
China
Prior art keywords
shooting
electronic device
gesture
display
posture
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.)
Pending
Application number
CN202311617558.XA
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311617558.XA priority Critical patent/CN117676310A/en
Publication of CN117676310A publication Critical patent/CN117676310A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a medium, and belongs to the technical field of shooting. The shooting method is applied to the first electronic equipment. The shooting method comprises the following steps: displaying a shooting preview interface; under the condition that the first electronic equipment and the second electronic equipment are connected, posture guiding information is sent to the second electronic equipment to be displayed, and the posture guiding information is used for guiding the shooting posture of a shooting object; when the photographing posture of the photographing object satisfies the first condition, a first image is photographed.

Description

Shooting method, shooting device, electronic equipment and medium
Technical Field
The application belongs to the technical field of image pickup, and particularly relates to a shooting method, a shooting device, electronic equipment and a medium.
Background
In the case of photographing by an electronic device, in order to make the photographed image satisfy the user's needs as much as possible, the subject may be guided, for example, a posture guide diagram may be displayed when a photographing preview interface is displayed, and the subject may complete photographing by making a corresponding posture according to the posture guide diagram.
However, since the size of the display screen of the electronic device is limited, the size of the gesture guidance map is limited, and when the photographed object is far from the electronic device, it is difficult to see the gesture guidance map in the display screen, so that a correct gesture cannot be posed, and the quality of the image is further affected.
Disclosure of Invention
An object of the embodiment of the present application is to provide a photographing method, apparatus, electronic device, and medium, which can solve the problem of poor quality of a photographed image caused by difficulty in seeing a posture guide map in a display screen when a photographing object is far from the electronic device in the related art.
In a first aspect, an embodiment of the present application provides a photographing method, where the method is applied to a first electronic device, and the method includes:
displaying a shooting preview interface;
under the condition that the first electronic equipment and the second electronic equipment are connected, posture guiding information is sent to the second electronic equipment to be displayed, and the posture guiding information is used for guiding the shooting posture of a shooting object;
when the photographing posture of the photographing object satisfies the first condition, a first image is photographed.
In a second aspect, an embodiment of the present application provides a photographing apparatus, where the apparatus is applied to a first electronic device, and the apparatus includes:
the display module is used for displaying a shooting preview interface;
the sending module is used for sending gesture guiding information to the second electronic equipment for display under the condition that the first electronic equipment and the second electronic equipment are connected, and the gesture guiding information is used for guiding the shooting gesture of a shooting object;
And the shooting module is used for shooting to obtain a first image when the shooting posture of the shooting object meets the first condition.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method as described in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method as described in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the method as described in the first aspect.
According to the embodiment of the application, a shooting preview interface is displayed, and under the condition that the first electronic device and the second electronic device are connected, gesture guiding information is sent to the second electronic device for display, wherein the gesture guiding information is used for guiding the shooting gesture of a shooting object; when the photographing posture of the photographing object satisfies the first condition, a first image is photographed. That is, the embodiment of the application transmits the gesture guiding information to the second electronic device for displaying under the assistance of the second electronic device, so that the gesture guiding information is amplified, and the problem that in the related art, when the shooting object is far away from the first electronic device, the quality of the shot image is poor because the gesture guiding image in the display screen is difficult to see is effectively solved.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a shooting method provided in an embodiment of the present application;
fig. 2 is a flowchart of a shooting method provided in an embodiment of the present application;
fig. 3 is a flowchart of another photographing method according to an embodiment of the present application;
fig. 4 is a top view of each photographic object and each second electronic device according to an embodiment of the present application;
fig. 5 is a schematic display diagram of a shooting preview interface and gesture guidance information provided in an embodiment of the present application in a second electronic device;
fig. 6 is a schematic structural diagram of a photographing device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
With the development of technology, electronic devices such as mobile phones have been provided with a function of guiding a user to take a photograph. For example, when a user shoots, the electronic device may display gesture guidance information on a shooting preview interface to guide the user, so that the shot image meets the requirements of the user as much as possible.
However, because the size of the display screen of the electronic device is limited, that is, the size of the shooting preview interface is limited, when the user is far away from the electronic device, it is difficult to see the gesture guiding information in the shooting preview interface clearly, so that a correct gesture cannot be put out, and the quality of the image is further affected.
Therefore, the embodiment of the application provides a shooting method, a shooting device, electronic equipment and a medium, which can solve the problem that in the related art, when a shooting object is far away from the electronic equipment, the shooting image quality is poor because a gesture guide image in a display screen is difficult to see clearly.
The photographing method provided by the embodiment of the application may be applied to the scene shown in fig. 1, where the scene may include the first electronic device 101, the second electronic device 102, and the photographing object 103. The first electronic device 101 is connected to the second electronic device 102, and the first electronic device 101, also referred to as a master device, is configured to capture a shot object 103, and the second electronic device 102, also referred to as a slave device, is configured to display posture guide information to guide a shooting posture of the shot object 103. The second electronic device 102 is used for amplifying the gesture guiding information, so that the shooting object 103 can clearly see the gesture guiding information, and further shooting quality of images is improved.
The second electronic device 102 may be an intelligent device with a display function, and the size of the display screen of the second electronic device 102 may be larger than that of the display screen of the first electronic device 101, so that when the gesture guidance information is displayed by using the second electronic device 102, an amplifying effect may be achieved, and the shooting object 103 may be conveniently watched, so that an image with higher quality may be shot.
By way of example, the second electronic device 102 may be a large screen device such as a large screen television, a large screen projector, a large screen mirror, or the like. The photographic subject 103 may be a user.
The shooting method provided by the embodiment of the application can be applied to the situations that the shooting object independently uses the first electronic equipment to carry out post self-timer shooting, the shooting object independently uses the first electronic equipment to carry out front self-timer shooting and wants to shoot whole-body images and a plurality of shooting object group photo, half body shooting or whole-body group photo shooting is needed, and the like.
The scenes can not be seen by the shooting object at all, or the shooting requirements of the shooting object can be met by the shooting method provided by the embodiment of the application because the shooting object is relatively far away from the first electronic equipment.
The shooting method, the shooting device, the electronic equipment and the medium provided by the embodiment of the application are described in detail below with reference to the above scenes and specific embodiments.
Fig. 2 is a flowchart of a photographing method according to an embodiment of the present application, where the photographing method may be applied to the first electronic device shown in fig. 1. As shown in fig. 2, the photographing method may include the steps of:
s210, displaying a shooting preview interface.
And S220, sending the gesture guiding information to the second electronic device for display under the condition that the first electronic device and the second electronic device are connected.
The posture guide information is used to guide a photographing posture of the photographing object.
S230, when the shooting posture of the shooting object satisfies the first condition, a first image is obtained by shooting.
According to the method and the device for displaying the gesture guidance information, the gesture guidance information is sent to the second electronic device to be displayed under the assistance of the second electronic device, the gesture guidance information is amplified, and the problem that in the related art, when a shooting object is far away from the first electronic device, the quality of a shot image is poor due to the fact that the gesture guidance image in a display screen is difficult to see clearly is effectively solved.
The following describes the above steps in detail, as follows:
in S210, the shooting preview interface is used to display a shooting preview screen of a shooting subject.
For example, the electronic device may display a shooting preview interface upon receiving the first input. The first input is used to trigger the camera application, and may be, for example, a touch input to the camera application, or other instructions that may trigger the camera application, such as a voice instruction or a gesture instruction, etc.
In S210, the connection manner of the first electronic device and the second electronic device is not limited in the embodiment of the present application, for example, the first electronic device and the second electronic device may be connected by a wired or wireless manner.
When the first electronic device and the second electronic device are connected in a wireless manner, the first electronic device and the second electronic device may be connected manually or may be connected automatically, for example, the first electronic device automatically establishes a connection with the second electronic device when detecting that the photographing object satisfies the photographing condition.
Taking the shooting object as an example of the user, the gesture guidance information may be information that is displayed by the first electronic device and can guide the shooting gesture of the shooting object. The form of the posture guide information is not limited in the embodiment of the present application, and any information that can guide the shooting posture of the shooting subject may be applied to the embodiment of the present application.
For example, the gesture guidance information may be in the form of an image, such as a gesture guidance map, or may be in the form of text, such as text prompts.
For example, in the case of a first electronic device establishing a connection with a second electronic device, a second input may be received, and responsive to the second input, gesture guidance information may be sent to the second electronic device for display.
For example, the second input may be an input determining gesture guidance information. Illustratively, the second input may be a single click, double click, long press, etc. operation of the candidate gesture guidance information.
The candidate gesture guidance information may be information displayed by the first electronic device that is available for selection by the photographic subject. The candidate gesture guidance information may include one or more, and when the candidate gesture guidance information includes a plurality, the individualization requirement of the user may be satisfied.
In some embodiments, when the first electronic device displays the shooting preview screen, candidate gesture guidance information may be displayed at the same time, and the shooting object may determine required gesture guidance information based on the candidate gesture guidance information displayed by the first electronic device.
In some embodiments, when the first electronic device displays the shooting preview interface, the gesture guidance information control may be displayed, and when the first electronic device receives a touch operation of the shooting object on the gesture guidance information control, candidate gesture guidance information may be displayed, where the shooting object may determine required gesture guidance information from the candidate gesture guidance information displayed by the first electronic device.
In some embodiments, the first electronic device may also identify the background and the shooting object in the shooting preview interface, search, based on the background and the shooting object, for a picture matching the background and the shooting object from a database or on the internet, and display the picture as candidate gesture guidance information on the shooting preview interface for selection of the shooting object.
For example, the gesture guidance information may be customized by the subject, and accordingly, the first input may be an operation in which the subject inputs the gesture guidance information by itself.
Under the condition that the first input is received, the first electronic equipment can send the gesture guiding information to the second electronic equipment for displaying, and therefore the gesture guiding information is amplified.
The display images of the first electronic device and the second electronic device may be the same or different, and may be specifically set as required.
For example, in some embodiments, the first electronic device may display only the shooting preview interface and the second electronic device may display only the gesture guidance information; in some embodiments, the first electronic device may display only the photographing preview interface and the second electronic device may display the photographing preview interface and the gesture guidance information at the same time.
By sending the gesture guiding information to the second electronic equipment for display, the shooting object can independently put out a corresponding shooting gesture according to the gesture guiding information displayed in the second electronic equipment, and as the gesture guiding information is amplified by the second electronic equipment, a user can realize shooting tasks at a relatively long distance, so that the requirement of independent shooting of the user can be met, and the shooting quality of images can be improved.
In S230, the first condition is a condition that the first electronic device can photograph, that is, a photographing condition. For example, the first condition may be that a matching degree of a shooting pose of the shooting subject and a pose corresponding to the pose guide information is greater than a matching degree threshold.
For example, the first electronic device may acquire the shooting object in the shooting preview interface, match the shooting posture of the shooting object with the posture corresponding to the posture guiding information, and shoot the shooting object to obtain the first image under the condition that the matching degree is greater than the matching degree threshold value, so as to realize automatic shooting of the shooting object and liberate both hands of the shooting object.
The specific matching manner is not limited, for example, the first electronic device may divide the shooting object from the shooting preview interface to obtain a divided image, and then match each pixel value of the divided image with each pixel value of the gesture image corresponding to the gesture guiding information to obtain the matching degree of the two.
For another example, the segmented image and the posture image may be input into a pre-trained matching model, and the matching degree of the segmented image and the posture image may be determined by the matching model. The matching model may be, for example, a neural network model.
For example, when the matching degree of the shooting posture of the shooting object with the posture guide information is smaller than or equal to a preset threshold, the shooting object may be further guided, for example, how the shooting object adjusts the shooting posture may be prompted by voice. The magnitude of the matching degree threshold value can be set according to the requirement.
For example, the first condition may be that a photographed voice or gesture is received, that is, when the first electronic device receives the voice or gesture, it considers that the photographing posture of the photographing object at this time meets the first condition, that is, photographing may be performed, and a first image is obtained. Thus, the shot image can meet the requirements of users as much as possible.
In practical application, the second electronic device may include one or more, and the shooting object may also include one or more. Taking the case that the second electronic device includes a plurality of, and the photographing object includes a plurality of, as shown in fig. 3, the photographing method may include the steps of:
s310, displaying a shooting preview interface.
S320, when the first electronic device and the second electronic devices are connected, determining a third electronic device corresponding to the position and the direction of each shooting object from the second electronic devices according to the first relative offset parameter of each shooting object and the first electronic device.
And S330, sending the posture guide information to each third electronic device for display.
S340, when the shooting posture of the shooting object meets the first condition, shooting the shooting object to obtain a target image.
The processes of S310 and S340 may be referred to the above embodiments, and are not repeated here for brevity.
The following describes the other steps in detail, and is specifically as follows:
in S320, the first relative offset parameter may include, but is not limited to, a position and an orientation of the photographic subject with respect to the first electronic device.
The third electronic device is an electronic device corresponding to the position and the direction of the shooting object in the second electronic device, where the correspondence may be the same or similar, that is, the third electronic device is an electronic device corresponding to the position and the direction of the shooting object in the second electronic device.
The third electronic device may be part or all of the second electronic devices, in particular in relation to the number of photographic subjects and the first relative offset parameter of the respective photographic subject to the first electronic device. A third electronic device may correspond to one or more photographic subjects.
In the embodiment of the present application, the relative offset parameters of each second electronic device and the first electronic device are known, for example, may be stored in the first electronic device in advance by the shooting object.
In this way, the first electronic device can determine the third electronic device corresponding to the position and direction of each photographing object from the second electronic devices according to the first relative offset parameter of each photographing object and the first electronic device.
Illustratively, before S320, the photographing method may further include the steps of:
in response to the second input, a first offset parameter of each photographic subject in the photographic preview interface from the first electronic device is determined.
For example, the face orientation of each photographic subject in the photographic preview interface and the distance between each photographic subject and the first electronic device may be identified, and the first relative offset parameter of each photographic subject and the first electronic device may be obtained based on the face orientation of each photographic subject and the distance between each photographic subject and the first electronic device.
For example, a subject that is facing or as facing as much as possible to the first electronic device can be identified by means of image recognition as a reference subject. And then, based on the relation between the face orientations of the other shooting objects and the reference shooting object, the directions of the other shooting objects relative to the first electronic device are obtained.
The distance between each shooting object and the first electronic device may be measured by using a radar of the first electronic device, or may be input by a user, or may be determined by other manners, which is not limited in the embodiment of the present application.
Of course, the first relative offset parameter of each shooting object and the first electronic device may also be determined by other manners, which is not limited in the embodiment of the present application.
As shown in fig. 4, the photographic subjects include three, A, B, C respectively, each of which faces a different direction, whereby a third electronic device corresponding to the position and direction of each of the photographic subjects can be determined: D. e, F. The third electronic device D corresponds to the shooting object a, the third electronic device E corresponds to the shooting object B, and the third electronic device F corresponds to the shooting object C.
Fig. 4 is only an example, and in practical application, one third electronic device may correspond to a plurality of shooting objects, specifically related to the position of each shooting object and the number of second electronic devices.
In S330, after the third electronic devices determine, the gesture guidance information may be sent to each third electronic device for display, so that different shooting objects may view the gesture guidance information based on different third electronic devices, thereby improving convenience.
According to the method and the device for displaying the image, under the condition that the shooting objects and the second electronic devices comprise a plurality of shooting objects, the third electronic device which corresponds to the position and the direction of each shooting object as much as possible can be determined from each second electronic device based on the first relative offset parameter of each shooting object and the first electronic device, so that the shooting objects in different positions and directions can be conveniently watched with the gesture guiding information, the correct shooting gesture can be further put out, and the shooting quality of the image is improved.
In practical application, the gesture guiding information can include one or more, and when the gesture guiding information includes a plurality of gesture guiding information, the gesture guiding information displayed on different third electronic devices can be the same or different, so that shooting diversity is realized, and more scenes can be suitable.
Taking an example in which the gesture guidance information includes a plurality of gesture guidance diagrams, and the gestures in the gesture guidance diagrams are at least partially different, the above S330 may include the following steps:
for each subject, determining a first posture guide map corresponding to the shooting posture of the subject from the candidate posture guide maps;
and sending the first gesture guidance graph to a third electronic device corresponding to the shooting object for display.
For example, one or more shooting gestures may be included in each candidate gesture guidance map, where each candidate gesture guidance map includes a shooting gesture that is at least partially different.
When the shooting objects include a plurality of shooting objects, different shooting objects can correspond to different shooting postures, at this time, the first electronic device can determine a first posture guide diagram corresponding to each shooting posture from candidate posture guide diagrams based on the shooting postures of each shooting object in the shooting preview interface, and send the first posture guide diagrams to third electronic devices corresponding to the shooting objects to display respectively, so that the shooting objects can be watched conveniently, and meanwhile, interference of other shooting postures on the shooting objects can be avoided.
In the case where the plurality of subjects are included, the first electronic device may perform shooting for each subject when detecting that the shooting posture of at least one subject satisfies the first condition.
According to the method and the device for displaying the first posture guiding image, when the shooting objects comprise a plurality of shooting objects, the first posture guiding image with different partial postures can be sent to the third electronic equipment corresponding to each shooting object to be displayed, flexibility and diversity of posture guiding are achieved, and shooting requirements of different shooting objects are met.
Taking an example of automatically establishing a connection between the first electronic device and the second electronic device, in some embodiments, the photographing method may further include the steps of:
in the case that the photographing preview interface includes a photographing object and a second relative offset of the photographing object and the second electronic device satisfies a second condition, a connection of the first electronic device and the second electronic device is established.
The second relative offset parameter of the shooting object and the second electronic device meeting the second condition may be that at least one shooting object faces the second electronic device, or that at least one shooting object has an included angle with the second electronic device smaller than a preset angle. And when the second relative offset parameter of the shooting object and the second electronic equipment meets a second condition, indicating that the shooting object has shooting requirements.
For example, when the first electronic device detects that the shooting preview interface includes a shooting object and the shooting object has a shooting requirement, the first electronic device may automatically establish connection with the second electronic device.
Therefore, the operation of shooting the object can be reduced, and the shooting intellectualization is realized.
In some embodiments, before "send gesture guidance information to the second electronic device for display", the photographing method may further include the steps of:
s200, acquiring shooting parameters of first electronic equipment;
s201, determining a display mode of a shooting preview interface in second electronic equipment according to shooting parameters;
and S203, when the display mode is the first mode, sending the shooting preview interface to the second electronic equipment for display.
The photographing parameters of the first electronic device may include, but are not limited to, a photographing distance, a photographing mode, the number of photographing objects, etc., wherein the photographing distance may be a distance between the first electronic device and the photographing objects.
The shooting mode may include, but is not limited to, a front-end self-timer mode, a rear-end self-timer mode. The photographing mode may be set by a photographing object according to photographing requirements.
And the shooting preview interface is used for representing whether to screen the shooting preview interface to the second electronic device for display in a display mode of the second electronic device. For example, the display modes may include a first mode and a second mode, wherein the first mode indicates that the shooting preview interface is sent to the second electronic device to be displayed, and the second mode indicates that the shooting preview interface is not projected to the second electronic device to be displayed, that is, the second electronic device only displays gesture guidance information.
In an exemplary embodiment, when the display mode is the first mode, the first electronic device may send the shooting preview interface to the second electronic device for displaying, so as to correspond to the current shooting mode and the shooting distance, and meet the requirement of the current shooting scene.
For example, when the shooting object uses the first electronic device to perform post-self-shooting, the shooting preview interface and the gesture guiding information can be both sent to the second electronic device to be displayed.
For example, when a plurality of photographing objects use a first electronic device to perform front-end self-photographing, in order to photograph each photographing object, each photographing object needs to be relatively far away from the first electronic device, at this time, in order to ensure that each photographing object can clearly see the photographing preview interface and the posture guiding information, both the photographing preview interface and the posture guiding information can be projected to a second electronic device for display.
For example, the display manner of the shooting preview interface and the gesture guidance information on the second electronic device may refer to fig. 5, and fig. 5 is an example in which the shooting preview interface and the gesture guidance information are arranged left and right, and in actual application, the shooting preview interface and the gesture guidance information may be arranged up and down, or the gesture guidance information is displayed in a floating manner on the shooting preview interface.
According to the method and the device for displaying the shooting preview interface, the display mode of the shooting preview interface in the second electronic device can be determined based on the shooting parameters of the first electronic device, flexible display of the shooting preview interface is achieved, and more shooting scenes can be suitable.
Taking an example in which the photographing parameter includes at least one of a photographing mode and a photographing distance, the above S201 may include the steps of:
and determining the display mode of the shooting preview interface on the second electronic device according to at least one of the shooting mode and the shooting distance.
For example, when the photographing mode is the post-self-photographing mode, it may be determined that the display mode of the photographing preview interface at the second electronic device is the first mode.
For example, when the shooting mode is a front self-timer mode and the shooting distance between the shooting object and the first electronic device is greater than the distance threshold, it may be determined that the display mode of the shooting preview interface in the second electronic device is the first mode.
For example, when the photographing mode is a front self-timer mode and the photographing distance between the photographing object and the first electronic device is less than or equal to the distance threshold, it may be determined that the display mode of the photographing preview interface at the second electronic device is the second mode.
According to the embodiment of the application, the display mode of the shooting preview interface on the second electronic device can be flexibly determined based on at least one of the shooting mode and the shooting distance, so that more shooting scenes can be suitable.
The scheme in the embodiment can be used for shooting images and videos, for example, the content of the inscription device can be used as gesture guiding information to be projected to the second electronic equipment, and the shooting object can finish tasks such as video recording or live broadcasting based on text prompt on the second electronic equipment.
According to the embodiment of the application, the gesture guiding information is projected to the second electronic equipment, so that shooting tasks of a single person or multiple persons shooting scenes can be completed, and shooting experience and shooting efficiency of shooting objects are improved.
It should be noted that, in the photographing method provided in the embodiment of the present application, the execution subject may be a photographing device, or a processing module in the photographing device for executing the photographing method. In the embodiment of the present application, taking an example of a photographing method performed by a photographing device, the photographing device provided in the embodiment of the present application is described.
Fig. 6 is a schematic structural diagram of a photographing device according to an embodiment of the present application.
As shown in fig. 6, the photographing apparatus 600 may include:
A display module 601, configured to display a shooting preview interface;
a sending module 602, configured to send, when the first electronic device and the second electronic device establish a connection, gesture guidance information to the second electronic device for displaying, where the gesture guidance information is used to guide a shooting gesture of a shooting object;
the shooting module 603 is configured to obtain a first image when a shooting posture of a shooting object satisfies a first condition.
According to the method and the device for displaying the gesture guidance information, the gesture guidance information is sent to the second electronic device to be displayed under the assistance of the second electronic device, the gesture guidance information is amplified, and the problem that in the related art, when a shooting object is far away from the first electronic device, the quality of a shot image is poor due to the fact that the gesture guidance image in a display screen is difficult to see clearly is effectively solved.
In some possible implementations of the embodiments of the present application, the second electronic device includes a plurality of second electronic devices, and the shooting object includes a plurality of second electronic devices;
the photographing apparatus 600 may further include:
the determining module is used for determining a third electronic device corresponding to the position and the direction of each shooting object from the second electronic devices according to the first relative offset parameters of each shooting object and the first electronic device;
The sending module 602 is specifically configured to:
and sending the gesture guiding information to each target second electronic device for display.
In some possible implementations of embodiments of the present application, the gesture guidance information includes a plurality of candidate gesture guidance graphs, the gestures in each candidate gesture guidance graph being at least partially different;
the determining module is also used for determining a first gesture guide diagram corresponding to the shooting gesture of the shooting object from the candidate gesture guide diagrams for each shooting object;
the sending module 602 is specifically configured to:
and sending the first gesture guidance graph to a third electronic device corresponding to the shooting object for display.
In some possible implementations of the embodiments of the present application, the photographing apparatus 600 may further include:
the establishing module is used for establishing connection between the first electronic device and the second electronic device under the condition that the shooting preview interface comprises a shooting object and a second relative offset parameter of the shooting object and the second electronic device meets a second condition.
In some possible implementations of the embodiments of the present application, the photographing apparatus 600 may further include:
the acquisition module is used for acquiring shooting parameters of the first electronic equipment;
the determining module is further used for determining a display mode of the shooting preview interface in the second electronic device according to the shooting parameters;
The sending module 602 is further configured to send the shooting preview interface to the second electronic device for display when the display mode is the first mode.
In some possible implementations of the embodiments of the present application, the shooting parameter includes at least one of a shooting mode and a shooting distance, where the shooting distance is a distance between the first electronic device and the shooting object;
the determining module is specifically configured to:
and determining the display mode of the shooting preview interface on the second electronic device according to at least one of the shooting mode and the shooting distance.
According to the embodiment of the application, the gesture guiding information is projected to the second electronic equipment, so that shooting tasks of a single person or multiple persons shooting scenes can be completed, and shooting experience and shooting efficiency of shooting objects are improved.
The photographing device in the embodiment of the application may be a device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The electronic device in the embodiment of the application may be an electronic device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The photographing device provided in the embodiment of the present application can implement each process in the photographing method embodiments of fig. 2 to 3, and in order to avoid repetition, a detailed description is omitted here.
As shown in fig. 7, the embodiment of the present application further provides an electronic device 700, including a processor 701 and a memory 702, where the memory 702 stores a program or instructions that can be executed on the processor 701, and the program or instructions implement the steps of the above-mentioned shooting method embodiment when executed by the processor 701, and achieve the same technical effects, so that repetition is avoided, and no redundant description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
The electronic device 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the display unit 806 is configured to display a shooting preview interface;
a processor 810, configured to send, when the first electronic device establishes a connection with the second electronic device, gesture guidance information to the second electronic device for display, where the gesture guidance information is used to guide a shooting gesture of the shooting object;
when the photographing posture of the photographing object satisfies the first condition, a first image is photographed.
According to the method and the device for displaying the gesture guidance information, the gesture guidance information is sent to the second electronic device to be displayed under the assistance of the second electronic device, the gesture guidance information is amplified, and the problem that in the related art, when a shooting object is far away from the first electronic device, the quality of a shot image is poor due to the fact that the gesture guidance image in a display screen is difficult to see clearly is effectively solved.
In some possible implementations of the embodiments of the present application, the second electronic device includes a plurality of second electronic devices, and the shooting object includes a plurality of second electronic devices;
the processor 810 is specifically configured to:
determining a third electronic device corresponding to the position and the direction of each shooting object from the second electronic devices according to the first relative offset parameters of each shooting object and the first electronic device;
and sending the gesture guiding information to each third electronic device for display.
In some possible implementations of embodiments of the present application, the gesture guidance information includes a plurality of candidate gesture guidance graphs, the gestures in each candidate gesture guidance graph being at least partially different;
the processor 810 is specifically configured to:
for each subject, determining a first posture guide map corresponding to the shooting posture of the subject from the candidate posture guide maps;
and sending the first gesture guidance graph to a third electronic device corresponding to the shooting object for display.
In some possible implementations of the embodiments of the present application, the processor 810 is further configured to establish a connection between the first electronic device and the second electronic device if the photographing preview interface includes a photographing object and the second relative offset parameter of the photographing object and the second electronic device satisfies a second condition.
In some possible implementations of the embodiments of the present application, the processor 810 is further configured to obtain a shooting parameter of the first electronic device;
according to the shooting parameters, determining a display mode of a shooting preview interface in the first electronic device in the second electronic device;
and under the condition that the display mode is the first mode, sending the shooting preview interface to the second electronic equipment for display.
In some possible implementations of the embodiments of the present application, the shooting parameter includes at least one of a shooting mode and a shooting distance, where the shooting distance is a distance between the first electronic device and the shooting object;
the processor 810 is specifically configured to:
and determining the display mode of the shooting preview interface on the second electronic device according to at least one of the shooting mode and the shooting distance.
According to the embodiment of the application, the gesture guiding information is projected to the second electronic equipment, so that shooting tasks of a single person or multiple persons shooting scenes can be completed, and shooting experience and shooting efficiency of shooting objects are improved.
It should be appreciated that in embodiments of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, with the graphics processor 8041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. Touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 809 can be used to store software programs as well as various data. The memory 809 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 809 may include volatile memory or nonvolatile memory, or the memory 809 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 809 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction realizes each process of the above-mentioned shooting method embodiment when executed by a processor, and the same technical effect can be achieved, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a computer readable memory ROM, a random access memory RAM, a magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, each process of the shooting method embodiment is implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the foregoing shooting method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, 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 the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A photographing method, the method being applied to a first electronic device, the method comprising:
displaying a shooting preview interface;
transmitting posture guiding information to the second electronic device for display under the condition that the first electronic device and the second electronic device are connected, wherein the posture guiding information is used for guiding a shooting posture of a shooting object;
and when the shooting posture of the shooting object meets a first condition, shooting to obtain a first image.
2. The method of claim 1, wherein the second electronic device comprises a plurality and the photographic subject comprises a plurality;
the sending the gesture guidance information to the second electronic device for display includes:
determining a third electronic device corresponding to the position and the direction of each shooting object from the second electronic devices according to a first relative offset parameter of each shooting object and the first electronic device;
and sending the gesture guiding information to each third electronic device for display.
3. The method of claim 2, wherein the gesture guidance information comprises a plurality of candidate gesture guidance graphs, the gestures in each of the candidate gesture guidance graphs being at least partially different;
The sending the gesture guidance information to each third electronic device for display includes:
for each of the photographic subjects, determining a first posture guide map corresponding to a photographic posture of the photographic subject from the candidate posture guide maps;
and sending the first gesture guidance diagram to a third electronic device corresponding to the shooting object for display.
4. The method according to claim 1, wherein the method further comprises:
and establishing connection between the first electronic device and the second electronic device under the condition that the shooting preview interface comprises a shooting object and a second relative offset parameter of the shooting object and the second electronic device meets a second condition.
5. The method according to claim 1, wherein the method further comprises:
acquiring shooting parameters of the first electronic equipment;
determining a display mode of the shooting preview interface on the second electronic equipment according to the shooting parameters;
and under the condition that the display mode is a first mode, sending the shooting preview interface to the second electronic equipment for display.
6. The method of claim 5, wherein the shooting parameters include at least one of a shooting mode and a shooting distance, the shooting distance being a distance between the first electronic device and the subject;
And determining a display mode of the shooting preview interface on the second electronic device according to the shooting parameters, including:
and determining a display mode of the shooting preview interface on the second electronic device according to at least one of the shooting mode and the shooting distance.
7. A photographing apparatus, the apparatus being applied to a first electronic device, the apparatus comprising:
the display module is used for displaying a shooting preview interface;
the sending module is used for sending gesture guiding information to the second electronic equipment for display under the condition that the first electronic equipment and the second electronic equipment are connected, and the gesture guiding information is used for guiding the shooting gesture of a shooting object;
and the shooting module is used for shooting to obtain a first image when the shooting posture of the shooting object meets a first condition.
8. The apparatus of claim 7, wherein the second electronic device comprises a plurality and the photographic subject comprises a plurality;
the apparatus further comprises:
a determining module, configured to determine, from each of the second electronic devices, a third electronic device corresponding to a position and a direction of each of the photographing objects according to a first relative offset parameter of each of the photographing objects and the first electronic device;
The sending module is specifically configured to:
and sending the gesture guiding information to each third electronic device for display.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of any one of claims 1 to 6.
10. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the method according to any of claims 1 to 6.
CN202311617558.XA 2023-11-29 2023-11-29 Shooting method, shooting device, electronic equipment and medium Pending CN117676310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311617558.XA CN117676310A (en) 2023-11-29 2023-11-29 Shooting method, shooting device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311617558.XA CN117676310A (en) 2023-11-29 2023-11-29 Shooting method, shooting device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117676310A true CN117676310A (en) 2024-03-08

Family

ID=90081926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311617558.XA Pending CN117676310A (en) 2023-11-29 2023-11-29 Shooting method, shooting device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117676310A (en)

Similar Documents

Publication Publication Date Title
CN110012209B (en) Panoramic image generation method and device, storage medium and electronic equipment
CN108495032B (en) Image processing method, image processing device, storage medium and electronic equipment
CN110572716B (en) Multimedia data playing method, device and storage medium
CN106503682B (en) Method and device for positioning key points in video data
US20210168279A1 (en) Document image correction method and apparatus
CN112492201B (en) Photographing method and device and electronic equipment
US11252341B2 (en) Method and device for shooting image, and storage medium
CN110086998B (en) Shooting method and terminal
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112788244B (en) Shooting method, shooting device and electronic equipment
CN108986803B (en) Scene control method and device, electronic equipment and readable storage medium
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN112511743B (en) Video shooting method and device
CN112437231B (en) Image shooting method and device, electronic equipment and storage medium
CN111832455A (en) Method, device, storage medium and electronic equipment for acquiring content image
CN112653841B (en) Shooting method and device and electronic equipment
CN114615426A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN117412169A (en) Focus tracking method, apparatus, electronic device and storage medium
CN113315903B (en) Image acquisition method and device, electronic equipment and storage medium
CN117676310A (en) Shooting method, shooting device, electronic equipment and medium
CN112165584A (en) Video recording method, video recording device, electronic equipment and readable storage medium
CN112561809A (en) Image processing method, device and equipment
CN114285988B (en) Display method, display device, electronic equipment and storage medium
EP4322163A1 (en) Image processing method and device, and storage medium
CN117097982B (en) Target detection method and system

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