Shooting method and device, computer readable medium and electronic equipment
By identifying the association relationship between the target object and the shooting control subject, generating shooting control signals, and realizing automatic shooting of the smart camera, solving the problem of insufficient entertainment and interaction performance of the smart camera, expanding the usage scenarios and improving the user experience.
Patent Information
- Application Number
- CN202410828745.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-11-01
AI Technical Summary
Existing smart cameras are insufficient in entertainment and interactive performance, and the user's operating methods are no essentially different from those of traditional cameras, and cannot meet the needs of the general consumer group.
By determining the association relationship between the target object and the shooting control subject, obtaining imaging information and generating shooting control signals, the camera's automatic shooting operation is realized, including gestures, faces, marker recognition and other modes, expanding the camera's usage scenario.
The camera's automatic shooting function is realized without the need for manual operation by users, expanding the usage scenarios, improving the user experience, and meeting the diverse needs of the consumer group.
Smart Images

Figure CN118890543A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of camera technology, and specifically relates to a shooting method, device, computer-readable medium and electronic device. Background Art
[0002] Shooting can make a long-term record of instantaneous events, and it has become a necessary operation in people's daily life and work. Generally speaking, compared with the camera module integrated on the terminal device (such as a mobile phone), a camera specially used for shooting can obtain better shooting effects, so the camera is more popular among professionals.
[0003] Take a smart camera like a Polaroid camera as an example. It integrates the functions of taking photos and printing in a single camera device, and can print photos instantly. However, at present, the entertainment and interactive performance of this type of smart camera is still insufficient, and it still has not gotten rid of some operating habits and usage methods of traditional cameras. For example, when taking photos, users need to hold the camera and aim it at the object they want to take a photo of, and then press the photo button on the camera to take a photo. This makes the usage and usage scenarios of the camera no different from traditional cameras in essence, making the general public tend to think that this type of camera is just a downgraded low-end version of professional cameras, which cannot meet the relevant needs of general consumer groups. Summary of the invention
[0004] The purpose of this application is to provide a shooting method, device, computer-readable medium and electronic device to expand the use scenarios of the camera and enhance the user experience.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to one aspect of an embodiment of the present application, a shooting method is provided, including:
[0007] Determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control a shooting operation of a camera;
[0008] Acquire imaging information of the target shooting control subject, and generate a shooting control signal according to the imaging information and the type of the target shooting control subject;
[0009] A corresponding photographing operation is performed on the target object according to the photographing control signal.
[0010] According to one aspect of an embodiment of the present application, there is provided a photographing device, including:
[0011] A type determination module, used to determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control the shooting operation of the camera;
[0012] A signal generating module, used for acquiring imaging information of the target shooting control subject, and generating a shooting control signal according to the imaging information and the type of the target shooting control subject;
[0013] A shooting module is used to control the camera to perform a shooting operation according to the target shooting control object and the target object.
[0014] In one embodiment of the present application, the type determination module is specifically used to:
[0015] Acquire video stream data collected by the camera for the target object;
[0016] Determining the type of target object to be photographed according to the video stream data;
[0017] The type of the target shooting control subject is determined according to the type of the target object and a preset object subject mapping relationship; the preset object subject mapping relationship indicates a mapping relationship between the shooting object type and the shooting control subject type.
[0018] In one embodiment of the present application, the type determination module is specifically used to:
[0019] The type of the target shooting control subject associated with the target object to be photographed is determined according to the shooting mode selected by the user; the shooting modes include at least a single gesture shooting mode, a multi-gesture shooting mode, a dynamic gesture shooting mode, a predefined gesture shooting mode, a marker tracking shooting mode and a face recognition tracking shooting mode.
[0020] In one embodiment of the present application, the type determination module is specifically used to:
[0021] Acquire facial image data within the camera's framing range;
[0022] Extracting facial features from the facial image data to obtain facial feature information to be identified;
[0023] If the facial feature information to be identified is consistent with the pre-stored facial feature information of a human face, the object corresponding to the facial feature information to be identified is taken as the target object, and the type of the target shooting control subject associated with the target object is determined.
[0024] In one embodiment of the present application, the signal generation module is specifically used to:
[0025] Determine a corresponding subject recognition algorithm according to the type of the target shooting control subject; the subject recognition algorithm includes at least one of a gesture recognition algorithm, a face recognition algorithm and a marker recognition algorithm or any combination thereof;
[0026] When the target photographing control subject in the imaging information is identified as a designated photographing control subject by the subject identification algorithm, the photographing control signal is generated.
[0027] In one embodiment of the present application, the signal generation module is specifically used to:
[0028] The designated area in the imaging information is identified by the subject recognition algorithm to determine the target shooting control subject contained in the imaging information; wherein the distance between the boundary of the designated area and the image contour of the target object is less than a first preset distance, or the distance between the boundary of the designated area and the contour of the designated part of the target object is less than a second preset distance.
[0029] In one embodiment of the present application, the type of the target shooting control subject is a gesture; and the type determination module is specifically used to:
[0030] Performing face recognition on the target object to record the area where the face of the target object is located;
[0031] When the target shooting control subject is identified according to the imaging information, detecting the distance between the position of the target control subject and the area where the face is located;
[0032] When the distance is within a preset range, the shooting control signal is generated.
[0033] In one embodiment of the present application, the type of the target shooting control subject is a marker; and the type determination module is specifically used to:
[0034] When the target shooting control subject is detected according to the imaging information, a wireless connection is established with a wireless signal transmission module of the target shooting control subject;
[0035] The shooting control signal sent by the target shooting control subject is obtained through the wireless connection.
[0036] In one embodiment of the present application, the type of the target shooting control subject is a gesture; the signal generating module is specifically used for:
[0037] Detecting a first gesture action performed by the target object according to the imaging information;
[0038] When it is detected that the target object performs a second gesture action within a preset time period after the first gesture action is detected, the shooting control signal is generated.
[0039] In one embodiment of the present application, there are multiple target objects; the signal generating module is specifically used for:
[0040] identifying a plurality of target photographing control subjects according to the imaging information and the type of the target photographing control subject;
[0041] Calculate the ratio between the number of control subjects and the number of target objects;
[0042] When the ratio is greater than a preset threshold, the shooting control signal is generated.
[0043] In one embodiment of the present application, the shooting control signal includes a focus instruction and a shooting instruction; the shooting module is specifically used for:
[0044] After performing a focusing operation on the target object according to the focusing instruction, performing a corresponding shooting operation on the target object according to the shooting instruction.
[0045] In one embodiment of the present application, there are multiple target objects; the shooting module is specifically used for:
[0046] Focusing on each target object in turn and then performing a shooting operation according to the shooting control signal generation time corresponding to each target object; or
[0047] After focusing on each target object respectively, a shooting operation is performed on the plurality of target objects as a whole.
[0048] In one embodiment of the present application, the shooting module is also used for:
[0049] When a stop shooting gesture is detected, the camera is controlled to stop shooting.
[0050] In one embodiment of the present application, the shooting module is also used for:
[0051] When the movement of the target object is detected, a lens movement instruction is generated according to the movement path of the target object;
[0052] The movement of the camera lens is controlled according to the lens movement instruction, so that the target object is within the framing range of the camera during shooting.
[0053] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the shooting method in the above technical solution is implemented.
[0054] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor executes the executable instructions so that the electronic device performs the shooting method in the above technical solution.
[0055] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the shooting method in the above technical solution.
[0056] In the technical solution provided in the embodiment of the present application, the type of the target shooting control subject that has an association relationship with the target object to be photographed is first determined, wherein the target shooting control subject is used to control the shooting operation of the camera; then, imaging information of the target shooting control subject is acquired, and a shooting control signal is generated according to the imaging information and the type of the target shooting control subject; finally, a corresponding shooting operation is performed on the target object according to the shooting control signal, thereby, the camera can realize automatic shooting based on the target object to be photographed and the target shooting control subject, without the need for the user to manually operate the shooting, thereby allowing the user to use the camera to shoot in more scenarios, expanding the usage scenarios of the camera and improving the user experience.
[0057] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 The flowchart of a shooting method provided by an embodiment of the present application is schematically shown.
[0060] Figure 2 The flowchart of a shooting method provided by an embodiment of the present application is schematically shown.
[0061] Figure 3 The structural block diagram of the shooting device provided in an embodiment of the present application is schematically shown.
[0062] Figure 4The structure block diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0063] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0064] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0065] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0066] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0067] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0068] The photographing method provided by the present application is described in detail below in conjunction with specific implementation methods.
[0069] Figure 1 The flowchart of a shooting method provided by an embodiment of the present application is schematically shown. The method can be implemented by a camera, such as a Polaroid camera. Figure 1 As shown, the shooting method provided in this embodiment includes steps 110 to 130, which are specifically as follows:
[0070] Step 110: Determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control the shooting operation of the camera.
[0071] Specifically, the target object is the object of the camera, which can be any object that can be recorded by the camera, such as a person, an animal, or an instrument. The target shooting control subject is an object used to control the shooting operation of the camera, which has many types. For example, the types of target shooting control subjects include human body postures, facial expressions, gestures, worn markers, etc., and can also be markers on other animals or objects, such as animal name tags, license plates, etc.
[0072] In one embodiment of the present application, a user can store multiple facial feature information of faces in the camera in advance. For example, the user uses the camera to shoot a designated person, and the camera performs facial recognition on the shot image to obtain and store the facial feature information of the face; or the user imports the facial image of the designated person into the camera, and the camera performs facial recognition on the image to obtain and store the facial feature information of the face. Facial feature information of faces can be used to distinguish different people. When shooting, the camera collects facial image data within the framing range, recognizes the facial image data, and extracts the facial feature information to be identified; then the facial feature information to be identified is compared with the pre-stored facial feature information of the face. If the two are consistent, the person corresponding to the facial feature information to be identified is taken as the target object; if the two are inconsistent, the corresponding person is not taken as the target object. In this way, the target object to be shot can be accurately confirmed, eliminating interference from other non-shooting related people in the environment.
[0073] In one embodiment of the present application, the type of the target shooting control subject can be determined according to the shooting mode set by the user on the camera, that is, the type of the target shooting control subject associated with the target object to be shot is determined according to the shooting mode selected by the user. Among them, the shooting mode defines the type of subject that triggers the shooting operation, that is, defines the type of the target shooting control subject. For example, the shooting mode can include a single gesture shooting mode, a multi-gesture shooting mode, a dynamic gesture shooting mode, a predefined gesture shooting mode, a marker tracking shooting mode, and a face recognition tracking shooting mode. Based on user needs or design requirements, other types of shooting modes can also be included. The single gesture shooting mode refers to a mode in which the shooting operation is triggered by a single gesture action, such as a single hand making a "V" shape. The multi-gesture shooting mode refers to a mode in which the shooting operation is triggered by multiple gesture actions, such as both hands making a "V" shape. The dynamic gesture shooting mode refers to a mode in which the shooting operation is triggered by a changing gesture action, such as changing from a gesture of the number 1 to a gesture of the number 2. The predefined gesture shooting mode refers to a related gesture action pre-set by the user or pre-stored in the camera, and the shooting operation is triggered after the subsequent user performs the gesture action. The marker tracking shooting mode refers to triggering the shooting operation through a certain specific marker, which can also be called the logo tracking shooting mode, such as an animal nameplate, a license plate, a specific mark worn by a person, etc. As an example, the specific mark can be a corporate logo or related graphics of a corporate culture shirt, or a nameplate or logo plate worn on clothing. The face recognition tracking shooting mode refers to triggering the shooting operation by recognizing a face. The above modes of triggering shooting operations through various gestures can be collectively referred to as gesture shooting modes. Then according to the above shooting modes, it can be determined that the type of the target shooting control subject can be a gesture, a face, a marker, etc.
[0074] As a further specific example, in the logo tracking shooting mode, the nameplate or signboard can also be integrated with a wireless signal transmission module, which has the function of transmitting shooting control signals and can be connected to or paired with the camera. When the camera recognizes the corresponding logo within the framing range, it can start the network connection or pairing, and automatically connect to or pair with the wireless transmission module of the signboard. After that, the camera enters the wireless control shooting mode, and the user can output the shooting control signal by operating on the signboard. The shooting control signal is transmitted to the camera through wireless transmission, and the camera performs the recording or taking picture function.
[0075] In one embodiment of the present application, the type of the target shooting control subject can be actively identified by the camera, and the specific process includes: obtaining the video stream data collected by the camera for the target object; determining the type of the target object to be photographed according to the video stream data; determining the type of the target shooting control subject according to the type of the target object and the preset object subject mapping relationship; the preset object subject mapping relationship indicates the mapping relationship between the shooting object type and the shooting control subject type. After the camera is turned on, the imaging information can be collected by framing through the lens, and the multiple frames of images collected in continuous time are the video stream data collected by the camera. When the target object is to be photographed, the image of the video stream collected by the camera usually includes the target object, so by identifying the image in the video stream, the type of the target object can be determined, for example, it can be determined that the type of the target object is a person, an animal, a vehicle or other objects. According to the different types of target objects, the corresponding types of target shooting control subjects are naturally different. The object subject mapping relationship can be pre-stored in the camera, that is, the mapping relationship between the shooting object type and the shooting control subject type, and then the mapping relationship is queried according to the type of the target object currently detected, so as to determine the type of the target shooting control subject. Exemplarily, when the target object type is detected as a person, the type of the target shooting control subject can be determined to be a gesture, posture or facial expression; when the target object type is detected to be an animal, the type of the target shooting control subject can be determined to be an animal nameplate, an identifier worn by the animal, or a specific action performed by the animal; when the target object type is detected to be a vehicle, the type of the target shooting control subject can be determined to be a license plate, vehicle logo, etc.
[0076] Step 120: Acquire imaging information of the target shooting control subject, and generate a shooting control signal according to the imaging information and the type of the target shooting control subject.
[0077] Specifically, the imaging information of the target shooting control subject is obtained by collecting the image data of the target object through the camera lens, such as the aforementioned video stream data. The imaging information is mainly used to identify what the target shooting control subject is, such as what specific gestures, facial expressions, specific characters of the license plate number, etc. The shooting control signal is generated according to the imaging information and the type of the target shooting control subject, that is, the specific content of the target shooting control subject is identified according to the imaging information, whether it is the main content that triggers the shooting operation corresponding to the type of the target shooting control subject. If so, a shooting control signal is generated, which can control the camera to perform a shooting operation. For example, if the type of the target shooting control subject is a gesture, then the gesture that triggers the shooting operation may be a "V"-shaped gesture. According to the imaging information, it is identified whether the target shooting control subject is a "V"-shaped gesture. If so, a shooting control signal is generated.
[0078] Step 130: Perform a corresponding shooting operation on the target object according to the shooting control signal.
[0079] Specifically, after the shooting control signal is generated, the camera executes the shooting control signal to perform a shooting operation on the target object. In this way, the user does not have to hold the camera and press the shooting button to shoot. The user can place the camera in a certain position and then realize automatic shooting through gestures, postures, facial expressions, etc., or can perform conditional automatic shooting of other animals, vehicles or objects, etc., which greatly expands the application scenarios of the camera and improves the user experience.
[0080] In the technical solution provided in the embodiment of the present application, the type of the target shooting control subject that has an association relationship with the target object to be photographed is first determined, wherein the target shooting control subject is used to control the shooting operation of the camera; then, imaging information of the target shooting control subject is acquired, and a shooting control signal is generated according to the imaging information and the type of the target shooting control subject; finally, a corresponding shooting operation is performed on the target object according to the shooting control signal, thereby, the camera can realize automatic shooting based on the target object to be photographed and the target shooting control subject, without the need for the user to manually operate the shooting, thereby allowing the user to use the camera to shoot in more scenarios, expanding the usage scenarios of the camera and improving the user experience.
[0081] Figure 2 The flowchart of a shooting method provided by an embodiment of the present application is schematically shown, and this embodiment is a further refinement of the above embodiment. Figure 2 As shown, the shooting method provided in this embodiment includes the following steps:
[0082] Step 210: Determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control the shooting operation of the camera.
[0083] Step 220: Acquire imaging information of the target shooting control subject.
[0084] Step 210 to step 220 are the same as the corresponding contents of step 110 to step 120 in the aforementioned embodiment, and are not described again here.
[0085] Step 230: Determine a corresponding subject recognition algorithm according to the type of the target shooting control subject; the subject recognition algorithm at least includes a gesture recognition algorithm, a face recognition algorithm, and a marker recognition algorithm.
[0086] Specifically, the subject recognition algorithm is used to identify the specific content of the target shooting control subject. If the type of the target shooting control subject is different, the corresponding subject recognition algorithm is also different. Therefore, it is necessary to determine the corresponding subject recognition algorithm according to the type of the target shooting control subject. In this embodiment, the subject recognition algorithm includes at least one of a gesture recognition algorithm, a face recognition algorithm and a marker recognition algorithm or any combination thereof. The gesture recognition algorithm is used to identify what specific gesture the target shooting control subject performed by the target object is. For example, the gesture recognition algorithm is used to identify whether the target object performs a "V" gesture or a "√" gesture (a gesture made by the thumb and index finger). Alternatively, the gesture recognition algorithm is used to identify whether the target shooting control subject is the shooting control subject that triggers the shooting operation. For example, if the shooting control subject that triggers the shooting operation is a "V" gesture, then the gesture recognition algorithm is used to identify whether the target object performs a "V" gesture. The face recognition algorithm is used to identify the facial expression of the target object. For example, the face recognition algorithm is used to identify whether the target object makes a smiling expression. The marker recognition algorithm is used to identify the content of the marker, such as the content of the animal nameplate, license plate, car logo, etc. By associating the subject recognition algorithm with the type of the target shooting control subject, a more accurate algorithm can be used to identify the target shooting control subject. For example, if it is determined that the type of the target shooting control subject is a gesture, a gesture recognition algorithm is used instead of a face recognition algorithm or a marker recognition algorithm, thereby obtaining more accurate identification information of the target shooting control subject.
[0087] Step 240: When the target shooting control subject in the imaging information is identified as the designated shooting control subject by the subject recognition algorithm, a shooting control signal is generated.
[0088] Specifically, the designated shooting control subject is the shooting control subject that triggers the shooting operation. When the target shooting control subject in the imaging information is identified as the designated shooting control subject, it means that the shooting operation can be performed, thereby generating a shooting control signal.
[0089] In one embodiment of the present application, the specific process of identifying the target shooting control subject by the subject recognition algorithm is: identifying the designated area in the imaging information by the subject recognition algorithm to determine the target shooting control subject contained in the imaging information; wherein the distance between the boundary of the designated area and the image contour of the target object is less than the first preset distance, or the distance between the boundary of the designated area and the contour of the designated part of the target object is less than the second preset distance. For example, the designated area is within or near the contour range of the target object image, or the designated area is within or near the contour range of a specific part of the target object, such as a gesture within or near the contour area of a human body, a license plate within or at the front and rear of a vehicle image contour area, an "eight" shaped gesture close to a person's face, etc.
[0090] Furthermore, in another embodiment of the present application, face recognition can be performed on the target object to be photographed, and facial feature information of the face can be recorded or temporarily stored, and the facial feature information of the face can be used to distinguish different people. Face recognition is combined with recognition of the target shooting control subject to generate a shooting control signal. Specifically, facial feature information of each face within the camera's framing range is extracted and recorded, and then when a shooting control gesture is recognized, it is determined based on the recognized control gesture whether the control gesture is close to the area where any facial feature information of the face previously recorded is located. If they are close, the control gesture is determined to be valid, otherwise the control gesture is determined to be invalid, and the camera shooting is not controlled until a valid shooting control gesture is recognized. In the case of taking photos of multiple people in public places, since there are other "idle people" in the place besides the target shooting object, the combination of gestures and face recognition can eliminate the interference control of the camera by idle people.
[0091] In one embodiment of the present application, the type of the target shooting control subject is a gesture. At this time, single gesture identification, multiple gesture recognition, static gesture recognition, dynamic gesture recognition and custom gesture recognition can be performed according to the imaging information to generate a shooting control signal. Single gesture identification means that only one gesture action needs to be recognized. Multiple gesture recognition means that two or more gesture actions need to be recognized. Static gesture recognition means that the recognized gesture action does not need to change in a short time, such as the "OK" gesture, the heart gesture, the "eight" gesture, etc. In this case, it can be recognized in combination with the target object's facial position, such as the "eight" gesture close to the face. Dynamic gesture recognition means that multiple gesture actions need to be recognized in a short time. Custom gesture recognition is that the user pre-defines the gesture action and then recognizes it. For example, people with physical disabilities can pre-define unconventional gesture actions, and then generate shooting control signals through custom gesture recognition when shooting.
[0092] Taking the dynamic gesture recognition that needs to identify two gesture actions as an example, the generation process of the shooting control signal includes: detecting the first gesture action performed by the target object according to the imaging information; when the target object is detected to have performed the second gesture action within the preset time after the first gesture action is detected, the shooting control signal is generated. Specifically, firstly, whether the target object has performed the first gesture action is detected according to the imaging information. If the target object has performed the first gesture action, then continue to detect whether the target object has performed the second gesture action within the preset time. If so, a shooting control signal can be generated. If any of the above conditions is not met, the shooting control signal is not generated. Exemplarily, if the user first performs a "V"-shaped gesture and then a "√"-shaped gesture within 2 seconds, a shooting control signal is generated, otherwise a shooting control signal is not generated. For another example, if the user changes from a thumbs-up gesture to a thumbs-down gesture within 1 second, a shooting control signal is generated.
[0093] In one embodiment of the present application, when there are multiple target objects, each target object may have a corresponding target shooting control subject, and the process of generating the shooting control signal includes: identifying multiple target shooting control subjects according to the imaging information and the type of the target shooting control subject; calculating the ratio between the number of control subjects and the number of target objects; and generating a shooting control signal when the ratio is greater than a preset threshold. For example, when the type of the target shooting control subject is a gesture, the gesture-head ratio is calculated, and when the ratio exceeds a preset threshold (e.g., 50%), a shooting control signal is generated.
[0094] Step 250: After performing a focus operation on the target object according to the focus instruction, perform a corresponding shooting operation on the target object according to the shooting instruction.
[0095] Specifically, the shooting control signal includes a focus instruction and a shooting instruction. The focus instruction is used to control the camera to focus on the target object, and the shooting execution is used to control the camera to perform a shooting operation. When the camera is shooting, it first focuses on the target object according to the focus instruction, and then executes the shooting instruction after focusing, that is, executes the shooting operation to achieve a clear shot of the target object. The focus can be on a partial area of the target object, or it can be on the target object as a whole. For example, the face of the target object can be focused, or the whole body of the target object can be focused, or it can be combined with a marker to focus on the whole person with a marker or the face or the marker itself.
[0096] In one embodiment of the present application, there are multiple target objects, and the execution process of the focusing and shooting action can be: according to the shooting control signal generation time corresponding to each target object, each target object is focused on in turn and then the shooting operation is performed. Specifically, the shooting control signal generation time corresponding to the target object actually reflects the execution time of the target shooting control subject corresponding to the target object, such as the gesture execution time of the target object. At this time, each target object can be focused on in turn and then shot in turn according to the backward order of the gesture execution time of each target object, that is, each target object is focused and shot according to the sequence of gestures.
[0097] In one embodiment of the present application, there are multiple target objects, and the execution process of focusing and shooting can be: focusing on each target object respectively, and then shooting the multiple target objects as a whole. That is, focusing is for multiple target objects, and shooting is for multiple target objects as a whole.
[0098] In one embodiment of the present application, during the shooting process, if a stop shooting gesture is detected, the camera is controlled to stop shooting. Optionally, during the shooting process, if it is detected that other objects in the background environment execute the corresponding target shooting control subject, the camera is controlled to stop shooting to eliminate the interference of the surrounding people. For example, when the target object is shooting in a park, other people in the background environment perform related gestures to interfere with the shooting, and the camera is controlled to stop shooting. Alternatively, during the shooting process, if the target object makes a gesture that is different from the shooting gesture and is pre-defined as a stop shooting gesture, the camera is controlled to stop shooting. For example, when shooting a group video, some people participating in the shooting need to join the ongoing shooting due to being late. If any person in the viewfinder makes a stop shooting gesture, the current video recording ends, and the recording of a new video or the shooting of photos is started through gesture control after the later joining people are in place.
[0099] In one embodiment of the present application, the camera can realize automatic tracking shooting, that is: when the movement of the target object is detected, a lens movement instruction is generated according to the moving path of the target object; the movement of the camera lens is controlled according to the lens movement instruction, so that the target object is within the camera's framing range during the shooting process. Specifically, during the movement of the target object, the camera lens can move synchronously with the target object, so that the target object is always within the camera's framing range, so that the target object can be photographed all the time. Exemplarily, when the target object moves from the left to the right, the camera lens can follow the target object from the left to the right to achieve dynamic target locking. This process can realize face tracking shooting, animal / plant / object tracking mark shooting, specific person tracking shooting, vehicle license plate number tracking shooting, etc.
[0100] In this application, unless otherwise specified, the shooting control signal specifically refers to a control signal for controlling the camera to perform shooting actions such as starting to take pictures or starting to record videos.
[0101] The technical solution provided by the embodiments of the present application can realize functions such as object recognition / tracking, autofocus, and automatic shooting, which greatly enriches the usage methods and usage scenarios of the camera, allowing the camera to better meet the user's usage needs, thereby improving the user experience.
[0102] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0103] The following introduces an embodiment of the device of the present application, which can be used to execute the shooting method in the above embodiment of the present application. Figure 3 The structural block diagram of the shooting device provided in the embodiment of the present application is schematically shown. Figure 3 As shown, the shooting device provided in the embodiment of the present application includes:
[0104] A type determination module 310 is used to determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control the shooting operation of the camera;
[0105] A signal generating module 320, configured to obtain imaging information of the target shooting control subject, and generate a shooting control signal according to the imaging information and the type of the target shooting control subject;
[0106] The shooting module 330 is used to control the camera to perform a shooting operation according to the target shooting control object and the target object.
[0107] In one embodiment of the present application, the type determination module 310 is specifically used to:
[0108] Acquire video stream data collected by the camera for the target object;
[0109] Determining the type of target object to be photographed according to the video stream data;
[0110] The type of the target shooting control subject is determined according to the type of the target object and a preset object subject mapping relationship; the preset object subject mapping relationship indicates a mapping relationship between the shooting object type and the shooting control subject type.
[0111] In one embodiment of the present application, the type determination module 310 is specifically used to:
[0112] The type of the target shooting control subject associated with the target object to be photographed is determined according to the shooting mode selected by the user; the shooting modes include at least a single gesture shooting mode, a multi-gesture shooting mode, a dynamic gesture shooting mode, a predefined gesture shooting mode, a marker tracking shooting mode and a face recognition tracking shooting mode.
[0113] In one embodiment of the present application, the type determination module 310 is specifically used to:
[0114] Acquire facial image data within the camera's framing range;
[0115] Extracting facial features from the facial image data to obtain facial feature information to be identified;
[0116] If the facial feature information to be identified is consistent with the pre-stored facial feature information of a human face, the object corresponding to the facial feature information to be identified is taken as the target object, and the type of the target shooting control subject associated with the target object is determined.
[0117] In one embodiment of the present application, the signal generating module 320 is specifically used for:
[0118] Determine a corresponding subject recognition algorithm according to the type of the target shooting control subject; the subject recognition algorithm includes at least one of a gesture recognition algorithm, a face recognition algorithm and a marker recognition algorithm or any combination thereof;
[0119] When the target photographing control subject in the imaging information is identified as a designated photographing control subject by the subject identification algorithm, the photographing control signal is generated.
[0120] In one embodiment of the present application, the signal generating module 320 is specifically used for:
[0121] The designated area in the imaging information is identified by the subject recognition algorithm to determine the target shooting control subject contained in the imaging information; wherein the distance between the boundary of the designated area and the image contour of the target object is less than a first preset distance, or the distance between the boundary of the designated area and the contour of the designated part of the target object is less than a second preset distance.
[0122] In one embodiment of the present application, the type of the target shooting control subject is a gesture; the type determination module 310 is specifically used to:
[0123] Performing face recognition on the target object to record the area where the face of the target object is located;
[0124] When the target shooting control subject is identified according to the imaging information, detecting the distance between the position of the target control subject and the area where the face is located;
[0125] When the distance is within a preset range, the shooting control signal is generated.
[0126] In one embodiment of the present application, the type of the target shooting control subject is a marker; the type determination module 310 is specifically used to:
[0127] When the target shooting control subject is detected according to the imaging information, a wireless connection is established with a wireless signal transmission module of the target shooting control subject;
[0128] The shooting control signal sent by the target shooting control subject is obtained through the wireless connection.
[0129] In one embodiment of the present application, the type of the target shooting control subject is a gesture; the signal generating module 320 is specifically used for:
[0130] Detecting a first gesture action performed by the target object according to the imaging information;
[0131] When it is detected that the target object performs a second gesture action within a preset time period after the first gesture action is detected, the shooting control signal is generated.
[0132] In one embodiment of the present application, there are multiple target objects; the signal generating module 320 is specifically used to:
[0133] identifying a plurality of target photographing control subjects according to the imaging information and the type of the target photographing control subject;
[0134] Calculate the ratio between the number of control subjects and the number of target objects;
[0135] When the ratio is greater than a preset threshold, the shooting control signal is generated.
[0136] In one embodiment of the present application, the shooting control signal includes a focus instruction and a shooting instruction; the shooting module 330 is specifically used to:
[0137] After performing a focusing operation on the target object according to the focusing instruction, performing a corresponding shooting operation on the target object according to the shooting instruction.
[0138] In one embodiment of the present application, there are multiple target objects; the shooting module 330 is specifically used for:
[0139] Focusing on each target object in turn and then performing a shooting operation according to the shooting control signal generation time corresponding to each target object; or
[0140] After focusing on each target object respectively, a shooting operation is performed on the plurality of target objects as a whole.
[0141] In one embodiment of the present application, the shooting module 330 is further used for:
[0142] When a stop shooting gesture is detected, the camera is controlled to stop shooting.
[0143] In one embodiment of the present application, the shooting module 330 is further used for:
[0144] When the movement of the target object is detected, a lens movement instruction is generated according to the movement path of the target object;
[0145] The movement of the camera lens is controlled according to the lens movement instruction, so that the target object is within the framing range of the camera during shooting.
[0146] The specific details of the shooting device provided in each embodiment of the present application have been described in detail in the corresponding method embodiments and will not be repeated here.
[0147] Figure 4 The structure block diagram of a computer system for implementing an electronic device according to an embodiment of the present application is schematically shown.
[0148] It should be noted that Figure 4 The computer system 400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0149] like Figure 4 As shown, the computer system 400 includes a central processing unit 401 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 402 (ROM) or the program loaded from the storage part 408 to the random access memory 403 (RAM). Various programs and data required for system operation are also stored in the random access memory 403. The central processing unit 401, the read-only memory 402 and the random access memory 403 are connected to each other through a bus 404. An input / output interface 405 (Input / Output interface, i.e., I / O interface) is also connected to the bus 404.
[0150] The following components are connected to the input / output interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a local area network card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the input / output interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.
[0151] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processor 401, various functions defined in the system of the present application are executed.
[0152] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0153] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0154] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0155] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0156] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.
[0157] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A shooting method, characterized in that: include: Determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control a shooting operation of a camera; Acquire imaging information of the target shooting control subject, and generate a shooting control signal according to the imaging information and the type of the target shooting control subject; A corresponding photographing operation is performed on the target object according to the photographing control signal.
2. The shooting method according to claim 1, characterized in that: Determine the type of the target shooting control subject associated with the target object to be shot, including: Acquire video stream data collected by the camera for the target object; Determining the type of target object to be photographed according to the video stream data; The type of the target shooting control subject is determined according to the type of the target object and a preset object subject mapping relationship; the preset object subject mapping relationship indicates a mapping relationship between the shooting object type and the shooting control subject type.
3. The shooting method according to claim 1, characterized in that: Determine the type of the target shooting control subject associated with the target object to be shot, including: The type of the target shooting control subject associated with the target object to be photographed is determined according to the shooting mode selected by the user; the shooting modes include at least a single gesture shooting mode, a multi-gesture shooting mode, a dynamic gesture shooting mode, a predefined gesture shooting mode, a marker tracking shooting mode and a face recognition tracking shooting mode.
4. The shooting method according to claim 1, characterized in that: Determine the type of the target shooting control subject associated with the target object to be shot, including: Acquire facial image data within the camera's framing range; Extracting facial features from the facial image data to obtain facial feature information to be identified; If the facial feature information to be identified is consistent with the pre-stored facial feature information of a human face, the object corresponding to the facial feature information to be identified is taken as the target object, and the type of the target shooting control subject associated with the target object is determined.
5. The shooting method according to claim 1, characterized in that: Generating a shooting control signal according to the imaging information and the type of the target shooting control subject includes: Determine a corresponding subject recognition algorithm according to the type of the target shooting control subject; the subject recognition algorithm includes at least one of a gesture recognition algorithm, a face recognition algorithm and a marker recognition algorithm or any combination thereof; When the target photographing control subject in the imaging information is identified as a designated photographing control subject by the subject identification algorithm, the photographing control signal is generated.
6. The shooting method according to claim 5, characterized in that: After determining a corresponding subject recognition algorithm according to the type of the target shooting control subject, the method further includes: The designated area in the imaging information is identified by the subject recognition algorithm to determine the target shooting control subject contained in the imaging information; wherein the distance between the boundary of the designated area and the image contour of the target object is less than a first preset distance, or the distance between the boundary of the designated area and the contour of the designated part of the target object is less than a second preset distance.
7. The shooting method according to claim 1, characterized in that: The type of the target shooting control subject is a gesture; generating a shooting control signal according to the imaging information and the type of the target shooting control subject, including: performing face recognition on the target object to record the area where the face of the target object is located; When the target shooting control subject is identified according to the imaging information, detecting the distance between the position of the target control subject and the area where the face is located; When the distance is within a preset range, the shooting control signal is generated.
8. The shooting method according to claim 1, characterized in that: The type of the target shooting control subject is a marker; Generating a shooting control signal according to the imaging information and the type of the target shooting control subject includes: When the target shooting control subject is detected according to the imaging information, a wireless connection is established with a wireless signal transmission module of the target shooting control subject; The shooting control signal sent by the target shooting control subject is obtained through the wireless connection.
9. The shooting method according to claim 1, characterized in that: The type of the target shooting control subject is a gesture; generating a shooting control signal according to the imaging information and the type of the target shooting control subject includes: Detecting a first gesture action performed by the target object according to the imaging information; When it is detected that the target object performs a second gesture action within a preset time period after the first gesture action is detected, the shooting control signal is generated.
10. The shooting method according to claim 1, characterized in that: There are multiple target objects; generating a shooting control signal according to the imaging information and the type of the target shooting control subject includes: identifying a plurality of target photographing control subjects according to the imaging information and the type of the target photographing control subject; Calculate the ratio between the number of control subjects and the number of target objects; When the ratio is greater than a preset threshold, the shooting control signal is generated.
11. The shooting method according to claim 1, characterized in that: The shooting control signal includes a focus instruction and a shooting instruction; performing a corresponding shooting operation on the target object according to the shooting control signal includes: After performing a focusing operation on the target object according to the focusing instruction, performing a corresponding shooting operation on the target object according to the shooting instruction.
12. The shooting method according to claim 1, characterized in that: There are multiple target objects; performing corresponding shooting operations on the target objects according to the shooting control signal includes: Focusing on each target object in turn and then performing a shooting operation according to the shooting control signal generation time corresponding to each target object; or After focusing on each target object respectively, a shooting operation is performed on the plurality of target objects as a whole.
13. The shooting method according to claim 1, characterized in that: In the process of performing a corresponding photographing operation on the target object according to the photographing control signal, the method further includes: When a stop shooting gesture is detected, the camera is controlled to stop shooting.
14. The shooting method according to claim 1, characterized in that: In the process of performing a corresponding photographing operation on the target object according to the photographing control signal, the method further includes: When the movement of the target object is detected, a lens movement instruction is generated according to the movement path of the target object; The movement of the camera lens is controlled according to the lens movement instruction, so that the target object is within the framing range of the camera during shooting.
15. A photographing device, characterized in that: include: A type determination module, used to determine the type of a target shooting control subject associated with a target object to be shot, wherein the target shooting control subject is used to control the shooting operation of the camera; A signal generating module, used for acquiring imaging information of the target shooting control subject, and generating a shooting control signal according to the imaging information and the type of the target shooting control subject; A shooting module is used to control the camera to perform a shooting operation according to the target shooting control object and the target object.
16. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the shooting method described in any one of claims 1 to 14 is implemented.
17. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the executable instructions to implement the shooting method as described in any one of claims 1-14.
Citation Information
Cited By
Photographing method and apparatus, and computer-readable medium and electronic device
EP4823106A1
Photographing method and apparatus, and computer-readable medium and electronic device
WO2026001819A1
