WO2019213820A1 - Photographing control method and electronic device - Google Patents

Photographing control method and electronic device Download PDF

Info

Publication number
WO2019213820A1
WO2019213820A1 PCT/CN2018/085900 CN2018085900W WO2019213820A1 WO 2019213820 A1 WO2019213820 A1 WO 2019213820A1 CN 2018085900 W CN2018085900 W CN 2018085900W WO 2019213820 A1 WO2019213820 A1 WO 2019213820A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
shooting
training
control method
sample
Prior art date
Application number
PCT/CN2018/085900
Other languages
French (fr)
Chinese (zh)
Inventor
王星泽
Original Assignee
合刃科技(武汉)有限公司
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 合刃科技(武汉)有限公司 filed Critical 合刃科技(武汉)有限公司
Priority to PCT/CN2018/085900 priority Critical patent/WO2019213820A1/en
Priority to CN201880070205.3A priority patent/CN111279683A/en
Publication of WO2019213820A1 publication Critical patent/WO2019213820A1/en

Links

Images

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

Definitions

  • the present application relates to the field of electronic devices, and in particular, to a photographing control method for an electronic device and the electronic device.
  • the subject may be in good condition when framing, but the moment when the photo is taken may appear that the eyes are not open, the smile is relatively stiff, and the final photographs are often unsatisfactory.
  • the cute expression of the baby is often fleeting, and it is difficult to take a satisfactory photo in time by the user operating the shutter button or shooting an icon.
  • the present application provides a shooting control method and an electronic device, which can automatically capture shooting control through the model by training the model, and can capture a wonderful moment in time.
  • a photographing control method includes: when a user performs manual control photographing, using a model to take a currently photographed image as a positive sample satisfying a photographing condition, and adjusting the model itself according to the positive sample of the current time.
  • the parameter is obtained by sampling the frame frame that is not manually controlled by the model as a reverse sample, and adjusting the parameters of the model according to the reverse sample; and ending the training to obtain the trained after determining that the training completion condition is reached;
  • the model is used for subsequent automatic shooting control.
  • an electronic device including a memory and a processor.
  • the memory is for storing program instructions.
  • the processor is configured to execute the shooting control method by calling the program instruction, and the shooting control method includes: when the user performs manual control shooting, using the model to take the currently captured image as a positive sample satisfying the shooting condition, and according to the present The positive sample of the second adjusts the parameters of the model itself; the frame frame that is not manually controlled is sampled by the model as a reverse sample, and the parameters of the model itself are adjusted according to the reverse sample; and when it is determined that the training completion condition is reached The training is ended and the trained model is obtained for subsequent automatic shooting control.
  • a computer readable storage medium storing program instructions, the program instructions being executed by a computer to execute a shooting control method, the shooting control method comprising: at a user When performing manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the model's own parameters are adjusted according to the current front sample; the picture frame that is not manually controlled is sampled by the model with a preset rule as The reverse sample, and adjusting the parameters of the model itself according to the reverse sample; and when it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
  • the shooting control method and the electronic device of the present application can perform the automatic shooting control through the trained model, and can capture the exciting moment including the corresponding content of the current shooting preview screen in time.
  • FIG. 1 is a flowchart of a model training process in a photographing control method in a first embodiment of the present application.
  • FIG. 2 is a flowchart of a model training process in a photographing control method in a second embodiment of the present application
  • FIG. 3 is a flowchart of a model training process in a photographing control method in a third embodiment of the present application.
  • FIG. 4 is a flowchart of a model training process in a photographing control method in a fourth embodiment of the present application.
  • FIG. 5 is a flowchart of a model training process in a photographing control method in a fifth embodiment of the present application.
  • FIG. 6 is a flowchart of a model training process in a photographing control method in a sixth embodiment of the present application.
  • FIG. 7 is a flowchart of a model training process in a photographing control method in a seventh embodiment of the present application.
  • FIG. 8 is a flowchart of a model training process in the photographing control method in the eighth embodiment of the present application.
  • FIG. 9 is a flowchart of a model training process in the photographing control method in the ninth embodiment of the present application.
  • FIG. 10 is a flowchart of a model training process in the photographing control method in the tenth embodiment of the present application.
  • Figure 11 is a flow chart showing a model training process in the photographing control method in the eleventh embodiment of the present application.
  • FIG. 12 is a flowchart of a model training process in the photographing control method in the twelfth embodiment of the present application.
  • Fig. 13 is a flow chart showing automatic shooting control using a model in the photographing control method in the thirteenth embodiment of the present application.
  • FIG. 14 is a block diagram showing a schematic partial structure of an electronic device according to an embodiment of the present application.
  • the photographing control method of the present application can be applied to an electronic device, the electronic device at least including a camera, the electronic device can acquire a photographing preview screen through the camera and display the photographing preview screen, and the electronic device can pass
  • the camera performs operations such as photographing, continuous shooting, and video shooting.
  • the camera includes a front camera and a rear camera, and the photographing, continuous shooting, video shooting and the like may be performed by a rear camera or a self-timer by a front camera.
  • FIG. 1 is a flowchart of a model training process in a shooting control method in a first embodiment of the present application.
  • the shooting control method may include the following steps:
  • the model saves the frontal sample and establishes or updates the positive sample and the correspondence that satisfies the shooting conditions to adjust the parameters of the model itself.
  • the photographing condition can be marked as a label of the front sample.
  • the user manually controls the shooting to be done by pressing a shutter button or a photo icon.
  • the user manually controls the shooting to be performed by performing a specific operation on a physical button of the electronic device.
  • the electronic device includes a power button, and manual control shooting is achieved by double-clicking the power button.
  • S13 sampling, by using a preset rule, a frame frame that is not manually controlled to be taken as a reverse sample, and adjusting a parameter of the model according to the reverse sample.
  • the model may save the back samples of the samples, and may also establish a correspondence between the back samples and the photographing conditions to adjust the parameters of the model itself.
  • the back surface sample is a screen that does not satisfy the shooting condition; the labeling condition may be used as a label of the back surface sample for marking.
  • the step S11 further includes the step of: entering the model training mode in response to the user input entering the model training.
  • the determining that the training completion condition is reached includes determining that the training completion condition is reached in response to the user inputting the operation of exiting the model training mode.
  • the operation of entering the model training includes a selection operation of a menu option, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of the electronic device.
  • the operation of entering the model training in response to the user input controls the entering the model training mode, including: responding to the user's selection operation of the menu option, or performing a specific operation on the physical button, or inputting on the touch screen of the electronic device.
  • the specific touch gesture is controlled to enter the model training mode.
  • the determining that the training completion condition is reached includes: determining that the training completion condition is reached when it is determined that the number of times the user manually controls the shooting reaches the preset number of times N1.
  • the preset number of times N1 may be the number of times the system default model training needs to be performed, or may be a user-defined value.
  • the determining reaches a training completion condition, including: when the user performs manual control shooting, inputting parameters of the manually controlled captured image to the model to obtain a predicted value; determining whether the predicted value is The shooting condition is satisfied; if the predicted value satisfies the shooting condition, it is determined that the training completion condition is reached.
  • the above model may be a model such as a neural network model or an image processing algorithm model.
  • the trained model is obtained by training the model in advance, and when the subsequent user turns on the camera for shooting, the shooting can be automatically controlled according to the trained model, and the satisfactory picture desired by the user can be captured in time.
  • FIG. 2 is a flowchart of a model training process of the photographing control method in the second embodiment of the present application.
  • the shooting control method may include the following steps:
  • S21 Control the entering the model training mode in response to the user inputting the operation of entering the model training.
  • the operation of entering the model training includes a selection operation of a menu option, or a click operation on a specific icon, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of the electronic device.
  • the operation of entering the model training includes: a user selects a function option to enter the model training, or a click operation on a model training mode icon displayed on the electronic device, or a double-click operation on the volume key, or in an electronic An upward sliding touch gesture or the like input on the touch screen of the device.
  • the operation of entering the model training in response to the user input controls the entering the model training mode, including: responding to the user's selection operation of the menu option, or performing a specific operation on the physical button, or inputting on the touch screen of the electronic device.
  • the specific touch gesture is controlled to enter the model training mode.
  • S25 The screen frame that is not manually controlled is sampled by the model as a reverse sample by using a preset rule, and the parameters of the model itself are further adjusted according to the reverse sample.
  • S27 Respond to the operation of the exit model training mode input by the user, determine that the training completion condition is reached, and end the training to obtain the trained model for subsequent automatic shooting control.
  • the operation of the exit model training also includes a selection operation of a menu option, a click operation on a specific icon, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of an electronic device.
  • the operation of the exit model training includes: a user unchecking a function option entering the model training, or a click operation on an exit model training mode icon displayed on the electronic device, or a long press operation on the volume key, Or a downward sliding touch gesture or the like input on the touch screen of the electronic device.
  • steps S23 and S25 in FIG. 2 correspond to steps S11 and S13 in FIG. 1, and related descriptions may be referred to each other.
  • FIG. 3 is a flowchart of a model training process of the photographing control method in the third embodiment of the present application.
  • the shooting control method may include the following steps:
  • step S33 Determine whether the number of times the user manually controls the shooting reaches a preset number N. If yes, go to step S37, if no, go to step S35.
  • S35 Sample the frame that has not been manually controlled by sampling according to a preset rule as a reverse sample, and further adjust the parameters of the model according to the reverse sample.
  • step S35 After the execution of step S35, the process returns to step S31.
  • Steps S31 and S35 respectively correspond to steps S11 and S13 in the first embodiment shown in FIG. 1.
  • steps S11 and S13 in FIG. 1 For a more specific introduction, reference may be made to the related descriptions of steps S11 and S13 in FIG.
  • FIG. 4 is a flowchart of a model training process of a shooting control method in a fourth embodiment of the present application.
  • the shooting control method may include the following steps:
  • step S43 Determine whether the predicted value satisfies the shooting condition. If no, step S45 is performed, and if so, step S47 is performed.
  • step S45 If the shooting condition is not satisfied, the screen obtained by the manual control shooting is used as a parameter of the front sample adjustment model itself. After the step S45 is performed, the process returns to step S41.
  • the step S47 further includes: if the predicted value satisfies the shooting condition, adding one counted number of times the predicted value satisfies the shooting condition to obtain an updated counting number; determining the current counting number (ie, the updated number of times) Whether the current number of counts exceeds the preset number of times; if the current number of counts exceeds the preset number of times, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control. Obviously, if the current number of counts does not exceed the preset number of times, it is determined that the training completion condition is not reached, and the process returns to step S41.
  • FIG. 5 is a flowchart of a model training process of a shooting control method in a fifth embodiment of the present application.
  • the model training process may include the following steps:
  • the turning on the automatic shooting function may be completed in response to a user setting operation in a menu option of the camera.
  • the turning on the automatic shooting function may also be performed in response to a specific touch gesture on the touch screen of the electronic device, for example, in response to a double tapping on the touch screen of the electronic device through the knuckles After the operation is completed.
  • the operation of turning on the camera may be a click operation on a photo application icon, a specific operation on a physical button of the electronic device, an operation of a preset touch gesture input in any display interface of the electronic device, or the like.
  • the step S53 specifically includes: determining, according to the training result in the current model, whether the current shooting framing picture satisfies the shooting condition, and controlling to perform the shooting operation when determining that the shooting condition is satisfied.
  • the photographing operation includes a photographing operation, a continuous shooting operation, a video shooting operation, and the like.
  • step S53 For a more specific description of step S53, reference may be made to the embodiment shown in the following FIG.
  • the user may be prompted to perform satisfaction evaluation on the automatic photographing by generating prompt information, for example, generating a prompt box including “satisfactory” and “unsatisfactory” options.
  • prompt information for example, generating a prompt box including “satisfactory” and “unsatisfactory” options.
  • the satisfaction feedback information of the automatic photographing is obtained.
  • the user's satisfaction with the automatic shooting is obtained by detecting the user's operation on the photo or video obtained by the automatic shooting. For example, if it is detected that the user deletes the photo or video obtained by the automatic shooting, it is determined that the user is not satisfied with the automatic shooting, and the satisfaction feedback information that is unsatisfactory is obtained. For example, if it is detected that the user has set a photo or video obtained by the automatic shooting to a favorite or favorite type setting operation or a sharing operation, it is determined that the user is satisfied with the automatic shooting, and obtains I got feedback on satisfaction with satisfaction.
  • S57 Output the satisfaction feedback information of the user to the current automatic shooting to the currently used model, so that the currently used model uses the satisfaction feedback information to perform optimization training.
  • the training of the model can be optimized, and the model is continuously optimized, so that the automatic shooting in subsequent use can be more accurate.
  • the currently used model may be a model that has been confirmed by the training, for example, a model that is confirmed to be completed by the method steps shown in FIG. 1-4, or a model that has not been trained yet.
  • the model can be further optimized.
  • the training can be better achieved.
  • the steps S51-S57 in FIG. 5 can be performed after step S15 in FIG. 1, and can also be performed before step S15 in FIG. 1, and can even be performed before step S11 in FIG.
  • the currently used model may be an untrained initial model.
  • the untrained model when the preset model is an untrained model, automatically acquires a picture every time the user performs shooting, and performs training as a positive sample, or further acquires a shooting time.
  • the shooting parameters are trained together as a positive sample, and the preset model is gradually optimized until the number of training reaches a preset number of times or the satisfaction feedback information of subsequent user feedback is a satisfactory ratio exceeding a preset ratio, and the training is determined to be completed. In this way, since the user himself trains the model without using another person's model, personalization can be better achieved.
  • FIG. 6 is a flowchart of a model training process in a shooting control method in a sixth embodiment of the present application.
  • the model training process may include the following steps:
  • the model saves the frontal sample and establishes or updates the frontal sample and the correspondence that satisfies the shooting conditions and the shooting parameters to adjust the parameters of the model itself.
  • the shooting conditions and the shooting parameters can be simultaneously marked as the labels of the front samples.
  • the user manually controls the shooting to be done by pressing a shutter button or a photo icon.
  • the user manually controls the shooting to be performed by performing a specific operation on a physical button of the electronic device.
  • the electronic device includes a power button, and manual control shooting is achieved by double-clicking the power button.
  • the shooting parameters may include parameters such as aperture size, shutter time, and the like.
  • S63 sample the frame frame that is not manually controlled by the model by using a preset rule as a reverse sample, and adjust the parameters of the model according to the reverse sample.
  • step S63 and the step S65 respectively correspond to the step S13 and the step S15 in FIG. 1 .
  • FIG. 7 is a flowchart of a model training process in a shooting control method in a seventh embodiment of the present application.
  • the shooting control method may include the following steps:
  • S73 Sampling the framed picture frame after a positive sample for a period of time as a reverse sample, and adjusting the parameters of the model itself according to the reverse sample.
  • the time period after the front sample is manually controlled by the user for 2 seconds, 3 seconds, and the like after the front sample taken.
  • Step S71 and S75 are the same as the steps S11 and S15 in FIG. 1 .
  • Step S73 is a more specific manner of step S13 in Fig. 1, and the relevant points can be referred to each other.
  • FIG. 8 is a flowchart of a model training process in a shooting control method in an eighth embodiment of the present application.
  • the shooting control method may include the following steps:
  • S83 Sampling the framed picture frame for a period of time before the front side sample as a reverse side sample, and adjusting the parameters of the model itself according to the reverse side sample.
  • the time before the front sample may be manually controlled by the user for 2 seconds, 3 seconds, and the like before the front sample taken.
  • the framing picture/shooting preview picture is automatically intercepted in advance and a certain number of pending samples are stored, and after the manual control shooting, the non-manual control is performed.
  • the pending sample taken is determined as the reverse sample.
  • Step S81 and S85 are the same as the steps S11 and S15 in FIG. 1 .
  • Step S83 is a more specific manner of step S13 in Fig. 1, and the relevant points can be referred to each other.
  • the photographing control method may include the following steps:
  • S93 Obtain a picture frame that is not manually controlled by random sampling as a reverse sample, and adjust a parameter of the model itself according to the reverse sample.
  • the reverse sample can be obtained by randomly sampling the picture frames that are not manually controlled.
  • Step S91 and S95 are the same as the steps S11 and S15 in FIG. 1 .
  • Step S93 is a more specific manner of step S13 in FIG. 1, and the relevant points can be referred to each other.
  • FIG. 10 is a flowchart of a model training process in a shooting control method in a tenth embodiment of the present application.
  • the shooting control method may include the following steps:
  • the sensor may be a photosensitive or acoustic sensor for collecting ambient light or sound to determine sampling, and the sampled picture frame is used as a reverse sample.
  • the sensor is an acoustic sensor, when a sound such as “please be prepared” is collected, it is considered that the shooting ready state has not yet entered, and the frame frame sampled at this time is the reverse sample.
  • Step S101 and S105 are the same as the steps S11 and S15 in FIG. 1 .
  • Step S103 is a more specific manner of step S13 in FIG. 1, and the relevant points can be referred to each other.
  • FIG. 11 is a flowchart of a model training process in the photographing control method in the eleventh embodiment of the present application.
  • the shooting control method may include the following steps:
  • S113 Collect and save the picture frame that has not been manually controlled, perform composition analysis on the saved picture frame, determine a picture frame as a reverse sample, and adjust the parameters of the model according to the reverse sample.
  • composition analysis may determine that the picture frame is a reverse sample when the expression in the picture frame is closed, unnatural, or the like.
  • Step S111 and S115 are the same as the steps S11 and S15 in FIG. 1 .
  • Step S113 is a more specific manner of step S13 in Fig. 1, and the correlation can be referred to each other.
  • FIG. 12 is a flowchart of a model training process in a photographing control method in a twelfth embodiment of the present application.
  • the photographing control method may include the following steps:
  • S123 Sampling a frame frame obtained by framing between two adjacent manual control shots at a preset time interval as a reverse sample, and adjusting parameters of the model itself according to the reverse sample.
  • the preset time interval may be 1 second or 2 seconds.
  • two adjacent manual control shots may be two adjacent manual control shots during the framing shot performed by the same camera opening.
  • the two adjacent manual control shots may also be two different manual control shots during the framing shooting.
  • the framing screen between the first manual control shooting and the second manual control shooting is The currently used model is saved at a preset time interval as a negative sample.
  • Step S121 and S125 are the same as the steps S11 and S15 in FIG. 1 .
  • Step S123 is a more specific manner of step S13 in FIG. 1, and the relevant points can be mutually cross-referenced.
  • FIG. 13 is a flowchart of an automatic shooting control process in the shooting control method in the thirteenth embodiment of the present application.
  • the operation of acquiring the shooting preview screen is performed by the camera in response to the operation of turning on the camera, that is, the shooting preview screen is acquired by the camera.
  • the operation of turning on the camera is a click operation on the photographing application icon, that is, when the camera is turned on in response to a click operation on the photographing application icon, the shooting preview screen is acquired by the camera.
  • the operation of turning on the camera is a specific operation of a physical button of the electronic device.
  • the electronic device includes a volume up button and a volume down button, and the operation of turning on the camera is to increase the volume and volume. Simultaneous pressing of small keys.
  • the operation of turning on the photographing application is an operation of pressing the volume up key and the volume down key in a preset time (for example, 2 seconds).
  • the operation of turning on the camera may also be an operation of a preset touch gesture input in any display interface of the electronic device.
  • the user may input a circular touch track. Turn on the camera with a touch gesture.
  • the operation of turning on the camera may also be an operation of a preset touch gesture input on the touch screen when the electronic device is in a black screen state.
  • the operation of turning on the camera is an operation that presses the shutter button/power button of the camera to trigger the camera to be in an activated state.
  • acquiring a shooting preview screen is to obtain a shooting preview screen in real time through a camera.
  • S133 analyzing the shooting preview image by using a preset model to obtain an analysis result.
  • the preset model may be a trained model or an untrained model.
  • the preset model is a trained neural network model; and the preset preview model is used to analyze the captured preview image to obtain an analysis result, and further includes: analyzing the captured preview image by using a neural network model, The result of this analysis of satisfaction is obtained.
  • the satisfaction degree is that the neural network model outputs the satisfaction result by processing the pre-trained model by taking all the pixels of the preview image as input.
  • the preset model is a trained image processing algorithm model
  • the preset preview model is used to analyze the captured preview image to obtain an analysis result
  • the shooting preview screen is compared with the reference picture, and the analysis result of the similarity between the preview picture and the reference picture is analyzed.
  • the reference picture may be a standard picture preset by the user with a specific expression such as smile, laughter, sadness, anger, yawning, and the like.
  • the trained image processing algorithm model includes the trained target object feature model, and the trained image processing algorithm model is used to compare the captured preview image with the reference image, and the similarity between the captured preview image and the reference image is analyzed, including
  • the face recognition technology is used to analyze the target object in the shooting preview image to generate a corresponding target object feature vector; and the captured preview image and the reference are calculated according to the trained target object feature model and the target object feature vector corresponding to the captured preview image. The similarity of the picture.
  • the calculating the similarity between the captured preview image and the reference image according to the trained target object feature model and the target object feature vector corresponding to the captured preview image comprises: capturing the target object feature vector corresponding to the preview image As the input information of the trained expression feature model, the similarity between the shooting preview picture and the reference picture is calculated by the target object feature vector.
  • comparing the shooting preview image with the reference image by using the trained image processing algorithm model, and analyzing the analysis result of the similarity between the preview image and the reference image comprising: acquiring pixel information of the shooting preview image; The pixel information of the shooting preview screen is compared with the pixel information of the reference picture, and the similarity between the shooting preview picture and the reference picture is analyzed. That is, in other embodiments, the similarity between the captured preview picture and the reference picture is obtained by comparing the pixel information such as the pixel grayscale value of the two images.
  • the analyzing the captured preview image by using the preset model to obtain the analysis result includes: using the face recognition technology to capture the preview image.
  • the facial expression is analyzed to generate a corresponding expression feature vector; the expression feature vector is used as input information of the image processing algorithm model, and an analysis result including identification information indicating whether the shooting condition is currently satisfied is obtained.
  • the identification information may include an identifier of 1, 0, etc., which identifies whether the analysis result of the shooting condition is currently satisfied. More specifically, when the identification information is the identifier 1, it indicates that the shooting condition is satisfied, and when the identification information is the identifier 0, it indicates that the shooting condition is not satisfied.
  • the trained target object feature model is completed by training in a plurality of photos having different expression faces in the initial training set; and using the image recognition technology to provide a plurality of pieces in the initial training set
  • the target object in the photo performs emoticon analysis to generate a corresponding target object feature vector Xi.
  • X1 represents the size of the eye opening
  • X2 represents the degree of the mouth angle rising
  • X3 represents the mouth opening.
  • the size of the opening; the training sample set is established based on the generated target object feature vector and the similarity label between the corresponding photo and the reference picture; and the sample set is used for training learning to obtain the trained target object feature model.
  • the analysis result is that the analysis result is obtained according to the real-time acquired shooting preview screen.
  • the step of analyzing the shot preview image by using the preset model to obtain an analysis result is that the currently acquired shot preview screen is analyzed every time by a preset time (for example, 0.2 seconds) to obtain a current analysis result. .
  • step S135 Determine whether the shooting condition is currently satisfied according to the analysis result. If yes, step S137 is performed, otherwise, it returns to step S133 or the process ends.
  • determining whether the shooting condition is currently satisfied according to the analysis result includes: determining that the shooting condition is currently satisfied when determining that the satisfaction exceeds the satisfaction preset threshold.
  • the satisfaction preset threshold may be 80%, 90%, and the like.
  • determining whether the shooting condition is currently satisfied according to the analysis result includes: determining that the shooting condition is currently satisfied when determining that the similarity exceeds the similarity preset threshold.
  • determining whether the shooting condition is currently satisfied according to the analysis result may further include: determining that the shooting condition is currently satisfied when the analysis result includes identifying the identification information that currently meets the shooting condition.
  • the target object may be a hand, a face, a specific scene, etc.
  • the target object feature model includes a gesture feature model, an expression feature model, and a scene feature model, etc.
  • the analyzed target object feature vector may include a gesture.
  • the photographing operation is a photographing operation
  • controlling to perform the photographing operation includes: controlling to perform a photographing operation to obtain a photograph corresponding to the current photograph preview screen.
  • the shooting operation is a continuous shooting operation
  • controlling to perform a shooting operation includes: controlling to perform a continuous shooting operation, and obtaining a plurality of photos including a photo corresponding to the current photo preview screen.
  • further steps may be further included: analyzing a plurality of photos obtained by the continuous shooting operation to determine the best photo; and retaining the best photo, and performing the continuous shooting operation Get other photos to delete.
  • the photographing operation is a video photographing operation
  • controlling to perform a photographing operation includes: controlling to perform a video photographing operation to obtain a video file that uses the current photograph preview screen as a starting video frame frame.
  • the method may further include: after the video file is captured, the plurality of video frame frames in the captured video file may be compared to determine an optimal screen. Frame; and intercept the best picture frame to save as a photo.
  • step S15 includes determining a shooting parameter including a shutter time and an aperture size based on the analysis result, in addition to determining whether the shooting condition is currently satisfied according to the analysis result.
  • Controlling the execution of the photographing operation when it is determined that the photographing condition is satisfied further includes: performing a photographing operation according to the determined photographing parameter when it is determined that the photographing condition is satisfied.
  • FIG. 14 is a block diagram showing a schematic partial structure of an electronic device 100 according to an embodiment of the present application.
  • the electronic device 100 includes a processor 10, a memory 20, and a camera 30.
  • the camera 30 includes at least a rear camera 31 and a front camera 32.
  • the rear camera 31 is used for capturing an image behind the electronic device 100, and can be used for a user to take a photographing operation such as a person.
  • the front camera 32 is used to capture an image in front of the electronic device 100, and can be used to implement a self-photographing and the like.
  • the models described in FIGS. 1-13 may be programs such as specific algorithm functions running in processor 10, such as neural network algorithm functions, image processing algorithm functions, and the like.
  • the electronic device 100 may further include a model processor independent of the processor 10, and the models described in FIGS. 1 to 13 are in an operation and model processor, and the processing is performed.
  • the controller 10 can generate a corresponding instruction to trigger the model processor to run the corresponding model, and the output result of the model is output to the processor 10 through the model processor for use by the processor 10, and performs control operations such as shooting operations. .
  • Program instructions are stored in the memory 20.
  • the processor 10 is configured to invoke a program instruction stored in the memory 20 to execute a model training process in the shooting control method in any of the embodiments shown in FIGS. 1 to 6, and execute as shown in FIGS. 7-14.
  • the processor 10 is configured to call a program instruction stored in the memory 20 to execute the following shooting control method:
  • the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the positive sample of the current time;
  • the training Upon determining that the training completion condition is reached, the training is ended and the trained model is obtained for subsequent automatic shooting control.
  • the processor 10 when the user performs manual control shooting by the processor 10, calls the currently taken picture as a positive sample satisfying the shooting condition by the model, and adjusts the model's own parameters according to the current positive sample.
  • the method includes: saving the positive sample by the model, and establishing or updating the correspondence between the front sample and the shooting condition to adjust the parameter of the model itself.
  • the photographing condition can be marked as a label of the front sample.
  • the processor call program instructions are further executed to enter the model training mode in response to user input of the entered model training.
  • the determining that the processor invokes the execution of the program instruction reaches the training completion condition includes: determining that the training completion condition is reached in response to the user inputting the operation of exiting the model training mode.
  • the operation of entering the model training includes a selection operation of a menu option, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of the electronic device.
  • the operation of entering the model training in response to the user input controls the entering the model training mode, including: responding to the user's selection operation of the menu option, or performing a specific operation on the physical button, or inputting on the touch screen of the electronic device.
  • the specific touch gesture is controlled to enter the model training mode.
  • the determining that the processor invokes the execution of the program instruction reaches the training completion condition, and: determining that the training completion condition is reached when determining that the number of times the user manually controls the shooting reaches the preset number of times N1.
  • the preset number of times N1 may be the number of times the system default model training needs to be performed, or may be a user-defined value.
  • the determining that the processor invokes the execution of the program instruction reaches a training completion condition, including: using the positive sample of the current to test the model, determining whether the test result reaches a preset threshold, and testing The result reaches a preset threshold and determines that the training completion condition is reached.
  • the processor 10 can be a microcontroller, a microprocessor, a single chip, a digital signal processor, or the like.
  • the memory 20 can be any storage device that can store information such as a memory card, a solid state memory, a micro hard disk, an optical disk, or the like.
  • the electronic device 100 further includes an input unit 40 and an output unit 50.
  • the input unit 40 may include a touch panel, a mouse, a microphone, a physical button including a power button, a volume button, and the like.
  • the output unit 50 can include a display screen, a speaker, and the like.
  • the touch panel of the input unit 40 and the display screen of the output unit 50 are integrated to form a touch screen while providing the functions of touch input and display output.
  • the present application further provides a computer readable storage medium, where the computer readable storage medium stores a plurality of program instructions, and the program instructions are executed by the main processing unit 20, and executed as shown in FIG. - all or part of any of the shooting control methods shown in FIG.
  • the computer storage medium is the memory 20, and may be any storage device that can store information such as a memory card, a solid state memory, a micro hard disk, an optical disk, or the like.
  • the shooting control method and the electronic device 100 of the present application can perform model training first, and are used for subsequent automatic shooting control after the model training is completed, and capture the wonderful moments in time.
  • the model can automatically determine whether the shooting condition is satisfied according to the shooting preview screen, and when the shooting condition is satisfied, the exciting moment including the corresponding content of the current shooting preview screen can be captured in time.
  • embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

Provided is a photographing control method, comprising: when a user performs a manually controlled photographing operation, a model setting a currently photographed image as a positive sample satisfying a photographing condition, and adjusting a parameter of the model itself according to the positive sample; the model sampling, according to a preset rule, an image frame not obtained by means of a manually controlled photographing operation so as to obtain a negative sample, and adjusting the parameter of the model according to the negative sample; and if it is determined that the training has satisfied a completion condition, ending the training to obtain a trained model for subsequent automatic photographing control. Also provided is an electronic device implementing the photographing control method. In the photographing control method and the electronic device, a model is trained, and the trained model is used to subsequently perform automatic photographing control, such that an image of a scene of interest containing content corresponding to the current preview image can be timely captured.

Description

拍摄控制方法及电子装置Shooting control method and electronic device 技术领域Technical field
本申请涉及电子设备领域,尤其涉及一种用于电子装置的拍摄控制方法及所述电子装置。The present application relates to the field of electronic devices, and in particular, to a photographing control method for an electronic device and the electronic device.
背景技术Background technique
现在,随着人们生活水平的提高,拍照已经成了为生活中并不可少的常用功能。现在,不论是照相机还是具有相机功能的手机、平板电脑等电子装置,像素都越来越高,拍照质量都越来越好。然而,目前的照相机、手机等电子装置,在进行拍照控制时,往往还需要用户通过按快门键或拍照图标等启动拍照,由于用户的操作往往有一定滞后性,导致了往往无法及时捕捉精彩的瞬间,而使得常常无法拍摄到满意的照片,或者由于滞后,反而拍摄到了不满意的照片。例如,被拍摄者可能在取景时状态很好,但是进行拍照的瞬间可能出现正好眼睛没有睁开,笑容比较僵硬等状况,最终拍摄的照片往往难以令人满意。再例如,如给小宝宝拍照时,小宝宝的可爱表情往往转瞬即逝,通过用户操作快门键或拍摄图标等难以及时拍到满意的照片。Now, with the improvement of people's living standards, taking pictures has become a common function that is not indispensable in life. Nowadays, whether it is a camera or an electronic device such as a mobile phone or a tablet computer with a camera function, pixels are getting higher and higher, and the quality of photographs is getting better and better. However, current electronic devices such as cameras and mobile phones often require the user to initiate a photograph by pressing a shutter button or a photographing icon when performing photographing control. Since the user's operation often has a certain lag, it is often impossible to capture the wonderful time in time. In an instant, it is often impossible to take a satisfactory photo, or because of the lag, it has taken an unsatisfactory photo. For example, the subject may be in good condition when framing, but the moment when the photo is taken may appear that the eyes are not open, the smile is relatively stiff, and the final photographs are often unsatisfactory. For example, when taking pictures of a baby, the cute expression of the baby is often fleeting, and it is difficult to take a satisfactory photo in time by the user operating the shutter button or shooting an icon.
发明内容Summary of the invention
本申请提供一种拍摄控制方法及电子装置,能够通过训练模型,而使得后续通过所述模型自动进行拍摄控制,能够及时捕捉到精彩的瞬间。The present application provides a shooting control method and an electronic device, which can automatically capture shooting control through the model by training the model, and can capture a wonderful moment in time.
一方面,提供一种拍摄控制方法,所述拍摄控制方法包括:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数;通过模型以预设规则采样未被手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数;以及在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。In one aspect, a photographing control method is provided, the photographing control method includes: when a user performs manual control photographing, using a model to take a currently photographed image as a positive sample satisfying a photographing condition, and adjusting the model itself according to the positive sample of the current time. The parameter is obtained by sampling the frame frame that is not manually controlled by the model as a reverse sample, and adjusting the parameters of the model according to the reverse sample; and ending the training to obtain the trained after determining that the training completion condition is reached; The model is used for subsequent automatic shooting control.
另一方面,提供一种电子装置,所述电子装置包括存储器以及处理器。所述存储器用于存储程序指令。所述处理器用于调用所述程序指令执行一种拍摄控制方法,所述拍摄控制方法包括:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数;通过模型以预设规则采样未被手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数;以及在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。In another aspect, an electronic device is provided, the electronic device including a memory and a processor. The memory is for storing program instructions. The processor is configured to execute the shooting control method by calling the program instruction, and the shooting control method includes: when the user performs manual control shooting, using the model to take the currently captured image as a positive sample satisfying the shooting condition, and according to the present The positive sample of the second adjusts the parameters of the model itself; the frame frame that is not manually controlled is sampled by the model as a reverse sample, and the parameters of the model itself are adjusted according to the reverse sample; and when it is determined that the training completion condition is reached The training is ended and the trained model is obtained for subsequent automatic shooting control.
再一方面,还提供一种计算机可读存储介质,所述计算机可读存储介质存储有程序指令,所述程序指令供计算机调用后执行一种拍摄控制方法,所述拍摄控制方法包括:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数;通 过模型以预设规则采样未被手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数;以及在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。In still another aspect, a computer readable storage medium is provided, the computer readable storage medium storing program instructions, the program instructions being executed by a computer to execute a shooting control method, the shooting control method comprising: at a user When performing manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the model's own parameters are adjusted according to the current front sample; the picture frame that is not manually controlled is sampled by the model with a preset rule as The reverse sample, and adjusting the parameters of the model itself according to the reverse sample; and when it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
本申请的拍摄控制方法及电子装置,可通过训练模型,并通过所述训练的模型在后续进行自动拍摄控制,能够及时捕捉到包括当前拍摄预览画面对应内容的精彩瞬间。The shooting control method and the electronic device of the present application can perform the automatic shooting control through the trained model, and can capture the exciting moment including the corresponding content of the current shooting preview screen in time.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的明显变形方式。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some embodiments of the present application, Those skilled in the art can also obtain other obvious modifications according to these drawings without any creative work.
图1为本申请第一实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 1 is a flowchart of a model training process in a photographing control method in a first embodiment of the present application.
图2为本申请第二实施例中的拍摄控制方法中的模型训练过程的流程图2 is a flowchart of a model training process in a photographing control method in a second embodiment of the present application
图3为本申请第三实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 3 is a flowchart of a model training process in a photographing control method in a third embodiment of the present application.
图4为本申请第四实施例中的拍摄控制方法中的模型训练过程的流程图。4 is a flowchart of a model training process in a photographing control method in a fourth embodiment of the present application.
图5为本申请第五实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 5 is a flowchart of a model training process in a photographing control method in a fifth embodiment of the present application.
图6为本申请第六实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 6 is a flowchart of a model training process in a photographing control method in a sixth embodiment of the present application.
图7为本申请第七实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 7 is a flowchart of a model training process in a photographing control method in a seventh embodiment of the present application.
图8为本申请第八实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 8 is a flowchart of a model training process in the photographing control method in the eighth embodiment of the present application.
图9为本申请第九实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 9 is a flowchart of a model training process in the photographing control method in the ninth embodiment of the present application.
图10为本申请第十实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 10 is a flowchart of a model training process in the photographing control method in the tenth embodiment of the present application.
图11为本申请第十一实施例中的拍摄控制方法中的模型训练过程的流程图。Figure 11 is a flow chart showing a model training process in the photographing control method in the eleventh embodiment of the present application.
图12为本申请第十二实施例中的拍摄控制方法中的模型训练过程的流程图。FIG. 12 is a flowchart of a model training process in the photographing control method in the twelfth embodiment of the present application.
图13为本申请第十三实施例中的拍摄控制方法中使用模型进行自动拍摄控制的流程图。Fig. 13 is a flow chart showing automatic shooting control using a model in the photographing control method in the thirteenth embodiment of the present application.
图14为本申请一实施例中的电子装置的示意出部分结构的框图。FIG. 14 is a block diagram showing a schematic partial structure of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
本申请的拍摄控制方法可应用于一电子装置中,所述电子装置至少包括摄像头,所述电子装置可通过所述摄像头获取拍摄预览画面并显示所述拍摄预览画面,所述电子装置并可通过所述摄像头进行拍照、连拍、视频拍摄等操作。其中,所述摄像头包括前置摄像头和后置摄像头,所述拍照、连拍、视频拍摄 等操作可为通过后置摄像头进行的拍摄,也可为通过前置摄像头进行的自拍。The photographing control method of the present application can be applied to an electronic device, the electronic device at least including a camera, the electronic device can acquire a photographing preview screen through the camera and display the photographing preview screen, and the electronic device can pass The camera performs operations such as photographing, continuous shooting, and video shooting. The camera includes a front camera and a rear camera, and the photographing, continuous shooting, video shooting and the like may be performed by a rear camera or a self-timer by a front camera.
请参阅图1,为本申请第一实施例中的拍摄控制方法中的模型训练过程的流程图。如图1所示,在第一实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 1 , which is a flowchart of a model training process in a shooting control method in a first embodiment of the present application. As shown in FIG. 1, in the first embodiment, the shooting control method may include the following steps:
S11:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S11: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current positive sample.
在一些实施例中,所述模型保存所述正面样本,并建立或更新所述正面样本和满足拍摄条件的对应关系,来调整模型自身的参数。其中,满足拍摄条件可作为所述正面样本的标签来进行标记。In some embodiments, the model saves the frontal sample and establishes or updates the positive sample and the correspondence that satisfies the shooting conditions to adjust the parameters of the model itself. Among them, the photographing condition can be marked as a label of the front sample.
可选的,在一种实现方式中,用户手动控制拍摄为通过按压快门键或拍照图标来完成的。Optionally, in one implementation, the user manually controls the shooting to be done by pressing a shutter button or a photo icon.
可选的,在另一种实现方式中,用户手动控制拍摄为通过对电子装置的物理按键执行特定的操作来完成的。例如,电子装置包括电源键,通过对电源键进行双击而实现手动控制拍摄。Optionally, in another implementation, the user manually controls the shooting to be performed by performing a specific operation on a physical button of the electronic device. For example, the electronic device includes a power button, and manual control shooting is achieved by double-clicking the power button.
S13:通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数。S13: sampling, by using a preset rule, a frame frame that is not manually controlled to be taken as a reverse sample, and adjusting a parameter of the model according to the reverse sample.
在一些实施例中,所述模型可保存所述采样得到的反面样本,并也可建立反面样本和不满足拍摄条件的对应关系,来调整模型自身的参数。其中,所述反面样本为不满足拍摄条件的画面;不满足拍摄条件可作为所述反面样本的标签来进行标记。In some embodiments, the model may save the back samples of the samples, and may also establish a correspondence between the back samples and the photographing conditions to adjust the parameters of the model itself. The back surface sample is a screen that does not satisfy the shooting condition; the labeling condition may be used as a label of the back surface sample for marking.
S15:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S15: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
可选的,在一种实现方式中,所述步骤S11之前还包括步骤:响应用户输入的进入模型训练的操作控制进入模型训练模式。所述确定达到训练完成条件,包括:响应用户输入的退出所述模型训练模式的操作时,确定达到训练完成条件。Optionally, in an implementation manner, the step S11 further includes the step of: entering the model training mode in response to the user input entering the model training. The determining that the training completion condition is reached includes determining that the training completion condition is reached in response to the user inputting the operation of exiting the model training mode.
可选的,所述进入模型训练的操作包括对菜单选项的选择操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势。可选的,所述响应用户输入的进入模型训练的操作,控制进入模型训练模式,包括:响应用户对菜单选项的选择操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势而控制进入模型训练模式。Optionally, the operation of entering the model training includes a selection operation of a menu option, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of the electronic device. Optionally, the operation of entering the model training in response to the user input controls the entering the model training mode, including: responding to the user's selection operation of the menu option, or performing a specific operation on the physical button, or inputting on the touch screen of the electronic device. The specific touch gesture is controlled to enter the model training mode.
可选的,在另一种实现方式中,所述确定达到训练完成条件,包括:在确定用户手动控制拍摄的次数达到预设次数N1时,确定达到训练完成条件。其中,所述预设次数N1可为系统默认的模型训练完成需要执行的次数,也可为用户自定义的值。Optionally, in another implementation manner, the determining that the training completion condition is reached includes: determining that the training completion condition is reached when it is determined that the number of times the user manually controls the shooting reaches the preset number of times N1. The preset number of times N1 may be the number of times the system default model training needs to be performed, or may be a user-defined value.
可选的,在另一种实现方式中,所述确定达到训练完成条件,包括:在用户进行手动控制拍摄时,将手动控制拍摄得到的画面的参数输入至模型得到预测值;确定预测值是否满足拍摄条件;如果预测值满足拍摄条件,则确定达到训练完成条件。Optionally, in another implementation manner, the determining reaches a training completion condition, including: when the user performs manual control shooting, inputting parameters of the manually controlled captured image to the model to obtain a predicted value; determining whether the predicted value is The shooting condition is satisfied; if the predicted value satisfies the shooting condition, it is determined that the training completion condition is reached.
其中,上述的模型可为神经网络模型、图像处理算法模型等模型。The above model may be a model such as a neural network model or an image processing algorithm model.
本申请中,通过预先训练模型而得到已训练的模型,在后续用户开启摄像 头进行拍摄时,能够根据所述已训练的模型自动控制拍摄,能够及时捕捉用户想要的满意画面。In the present application, the trained model is obtained by training the model in advance, and when the subsequent user turns on the camera for shooting, the shooting can be automatically controlled according to the trained model, and the satisfactory picture desired by the user can be captured in time.
请参阅图2,为本申请第二实施例中的拍摄控制方法的模型训练过程的流程图。如图2所示,在第二实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 2 , which is a flowchart of a model training process of the photographing control method in the second embodiment of the present application. As shown in FIG. 2, in the second embodiment, the shooting control method may include the following steps:
S21:响应用户输入的进入模型训练的操作,控制进入模型训练模式。S21: Control the entering the model training mode in response to the user inputting the operation of entering the model training.
可选的,所述进入模型训练的操作包括对菜单选项的选择操作,或者对特定图标的点击操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势。例如,所述进入模型训练的操作包括:用户对进入模型训练的功能选项的勾选操作、或者对电子装置上显示的模型训练模式图标的点击操作,或者对音量键的双击操作,或者在电子装置的触摸屏上输入的向上滑动触摸手势等。Optionally, the operation of entering the model training includes a selection operation of a menu option, or a click operation on a specific icon, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of the electronic device. For example, the operation of entering the model training includes: a user selects a function option to enter the model training, or a click operation on a model training mode icon displayed on the electronic device, or a double-click operation on the volume key, or in an electronic An upward sliding touch gesture or the like input on the touch screen of the device.
可选的,所述响应用户输入的进入模型训练的操作,控制进入模型训练模式,包括:响应用户对菜单选项的选择操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势而控制进入模型训练模式。Optionally, the operation of entering the model training in response to the user input controls the entering the model training mode, including: responding to the user's selection operation of the menu option, or performing a specific operation on the physical button, or inputting on the touch screen of the electronic device. The specific touch gesture is controlled to enter the model training mode.
S23:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S23: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current front sample.
S25:通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本,并根据所述反面样本进一步调整模型自身的参数。S25: The screen frame that is not manually controlled is sampled by the model as a reverse sample by using a preset rule, and the parameters of the model itself are further adjusted according to the reverse sample.
S27:响应用户输入的退出模型训练模式的操作,确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S27: Respond to the operation of the exit model training mode input by the user, determine that the training completion condition is reached, and end the training to obtain the trained model for subsequent automatic shooting control.
其中,所述退出模型训练的操作也包括对菜单选项的选择操作,或者对特定图标的点击操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势。例如,所述退出模型训练的操作包括:用户对进入模型训练的功能选项的取消勾选操作、或者对电子装置上显示的退出模型训练模式图标的点击操作,或者对音量键的长按操作,或者在电子装置的触摸屏上输入的向下滑动触摸手势等。The operation of the exit model training also includes a selection operation of a menu option, a click operation on a specific icon, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of an electronic device. For example, the operation of the exit model training includes: a user unchecking a function option entering the model training, or a click operation on an exit model training mode icon displayed on the electronic device, or a long press operation on the volume key, Or a downward sliding touch gesture or the like input on the touch screen of the electronic device.
其中,图2中的步骤S23、S25和图1中的步骤S11、S13对应,相关的描述可相互参照。Wherein, steps S23 and S25 in FIG. 2 correspond to steps S11 and S13 in FIG. 1, and related descriptions may be referred to each other.
请参阅图3,为本申请第三实施例中的拍摄控制方法的模型训练过程的流程图。如图3所示,在第三实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 3 , which is a flowchart of a model training process of the photographing control method in the third embodiment of the present application. As shown in FIG. 3, in the third embodiment, the shooting control method may include the following steps:
S31:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S31: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current positive sample.
S33:判断用户手动控制拍摄的次数是否达到预设次数N。如果是,则执行步骤S37,如果否,则执行步骤S35。S33: Determine whether the number of times the user manually controls the shooting reaches a preset number N. If yes, go to step S37, if no, go to step S35.
S35:通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本,并根据所述反面样本进一步调整模型自身的参数。S35: Sample the frame that has not been manually controlled by sampling according to a preset rule as a reverse sample, and further adjust the parameters of the model according to the reverse sample.
其中,在执行完步骤S35后,继续返回执行步骤S31。After the execution of step S35, the process returns to step S31.
S37:确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S37: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S31、S35分别与图1所示的第一实施例中的步骤S11、S13对 应,更具体的介绍可参照图1中步骤S11、S13的相关描述。Steps S31 and S35 respectively correspond to steps S11 and S13 in the first embodiment shown in FIG. 1. For a more specific introduction, reference may be made to the related descriptions of steps S11 and S13 in FIG.
请参阅图4,为本申请第四实施例中的拍摄控制方法的模型训练过程的流程图。如图4所示,在第四实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 4 , which is a flowchart of a model training process of a shooting control method in a fourth embodiment of the present application. As shown in FIG. 4, in the fourth embodiment, the shooting control method may include the following steps:
S41:在用户进行手动控制拍摄时,将手动控制拍摄得到的画面的参数输入至模型得到预测值。S41: When the user performs manual control shooting, the parameters of the screen obtained by manually controlling the shooting are input to the model to obtain a predicted value.
S43:确定预测值是否满足拍摄条件。如果否,则执行步骤S45,如果是,则执行步骤S47。S43: Determine whether the predicted value satisfies the shooting condition. If no, step S45 is performed, and if so, step S47 is performed.
S45:如果不满足拍摄条件,将本次手动控制拍摄得到的画面作为正面样本调整模型自身的参数。其中,在执行完步骤S45后,又继续返回步骤S41。S45: If the shooting condition is not satisfied, the screen obtained by the manual control shooting is used as a parameter of the front sample adjustment model itself. After the step S45 is performed, the process returns to step S41.
S47:如果满足拍摄条件,则确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S47: If the shooting condition is met, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control.
在一些实施例中,所述步骤S47还进一步包括:如果预测值满足拍摄条件,则对预测值满足拍摄条件的计数次数加一而得到更新的计数次数;判断当前的计数次数(即更新后的当前的计数次数)是否超过预设次数;如果当前的计数次数超过预设次数,则确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。显然,如果当前的计数次数未超过预设次数,则确定未达到训练完成条件,可返回步骤S41。In some embodiments, the step S47 further includes: if the predicted value satisfies the shooting condition, adding one counted number of times the predicted value satisfies the shooting condition to obtain an updated counting number; determining the current counting number (ie, the updated number of times) Whether the current number of counts exceeds the preset number of times; if the current number of counts exceeds the preset number of times, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control. Obviously, if the current number of counts does not exceed the preset number of times, it is determined that the training completion condition is not reached, and the process returns to step S41.
从而,通过在确定预测值满足拍摄条件的次数超过了预设次数后才确定达到训练完成条件,可保证确定训练完成的准确性。Thus, by determining that the training completion condition is reached after determining that the predicted value satisfies the shooting condition for more than a preset number of times, it is ensured that the accuracy of the training completion is determined.
请参阅图5,为本申请第五实施例中的拍摄控制方法的模型训练过程的流程图。如图5所示,在第五实施例中,所述模型训练过程可包括如下步骤:Please refer to FIG. 5 , which is a flowchart of a model training process of a shooting control method in a fifth embodiment of the present application. As shown in FIG. 5, in the fifth embodiment, the model training process may include the following steps:
S51:在开启自动拍摄功能之后,响应摄像头的开启操作进行取景预览而获取拍摄预览画面。S51: After the automatic shooting function is turned on, the framing preview is performed in response to the opening operation of the camera to obtain a shooting preview screen.
可选的,在一些实施例中,所述开启自动拍摄功能可为响应用户对相机的菜单选项中的设置操作完成的。Optionally, in some embodiments, the turning on the automatic shooting function may be completed in response to a user setting operation in a menu option of the camera.
可选的,在另一些实施例中,所述开启自动拍摄功能也可为响应用户在电子装置的触摸屏上的特定触摸手势后完成的,例如,响应在电子装置的触摸屏上通过指关节进行双击的操作后完成的。Optionally, in other embodiments, the turning on the automatic shooting function may also be performed in response to a specific touch gesture on the touch screen of the electronic device, for example, in response to a double tapping on the touch screen of the electronic device through the knuckles After the operation is completed.
在一些实施例中,所述开启摄像头的操作可为对拍照应用图标的点击操作、对电子装置的物理按键的特定操作、在电子装置的任一显示界面中输入的预设触摸手势的操作等。In some embodiments, the operation of turning on the camera may be a click operation on a photo application icon, a specific operation on a physical button of the electronic device, an operation of a preset touch gesture input in any display interface of the electronic device, or the like. .
S53:根据当前的模型确定满足拍摄条件时,控制执行拍摄操作。S53: When it is determined according to the current model that the shooting condition is satisfied, the control performs a shooting operation.
在一些实施例中,所述步骤S53具体包括:根据当前模型中的训练结果,确定当前的拍摄取景画面是否满足拍摄条件,并在确定满足拍摄条件时,控制执行拍摄操作。In some embodiments, the step S53 specifically includes: determining, according to the training result in the current model, whether the current shooting framing picture satisfies the shooting condition, and controlling to perform the shooting operation when determining that the shooting condition is satisfied.
其中,所述拍摄操作包括拍照操作、连拍操作、视频拍摄操作等。The photographing operation includes a photographing operation, a continuous shooting operation, a video shooting operation, and the like.
其中,关于步骤S53更具体的介绍可参照后面图7等附图所示的实施例。For a more specific description of step S53, reference may be made to the embodiment shown in the following FIG.
S55:获取用户对本次自动拍摄的满意度反馈信息。S55: Acquire user satisfaction feedback information about this automatic shooting.
可选的,在一实现方式中,可在自动拍照完成后,通过产生提示信息来提示用户对本次自动拍照进行满意度评价,例如产生包括“满意”和“不满意”选项的 提示框来供用户选择,并根据用户选择而获取得到本次自动拍照的满意度反馈信息。Optionally, in an implementation manner, after the automatic photographing is completed, the user may be prompted to perform satisfaction evaluation on the automatic photographing by generating prompt information, for example, generating a prompt box including “satisfactory” and “unsatisfactory” options. For the user to select, and according to the user's choice, the satisfaction feedback information of the automatic photographing is obtained.
可选的,在另一实施方式中,通过侦测用户对本次自动拍摄得到的照片或视频的操作而获取用户对本次自动拍摄的满意度反馈信息。例如,如果侦测到用户删除了本次自动拍摄得到的照片或视频,则确定用户对本次自动拍摄不满意,而获取到了为不满意的满意度反馈信息。又例如,如果侦测到用户对本次自动拍摄得到的照片或视频进行了设置为最爱、喜欢等类型的设置操作或者进行了分享的操作,则确定用户对本次自动拍摄满意,而获取到了为满意的满意度反馈信息。Optionally, in another embodiment, the user's satisfaction with the automatic shooting is obtained by detecting the user's operation on the photo or video obtained by the automatic shooting. For example, if it is detected that the user deletes the photo or video obtained by the automatic shooting, it is determined that the user is not satisfied with the automatic shooting, and the satisfaction feedback information that is unsatisfactory is obtained. For example, if it is detected that the user has set a photo or video obtained by the automatic shooting to a favorite or favorite type setting operation or a sharing operation, it is determined that the user is satisfied with the automatic shooting, and obtains I got feedback on satisfaction with satisfaction.
S57:将用户对本次自动拍摄的满意度反馈信息输出至当前使用的模型,以使得当前使用的模型利用所述满意度反馈信息进行优化训练。S57: Output the satisfaction feedback information of the user to the current automatic shooting to the currently used model, so that the currently used model uses the satisfaction feedback information to perform optimization training.
从而,本申请中,通过搜集用户对自动拍摄的满意度反馈信息,可以对模型的训练进行优化,而不断优化模型,以使得后续使用中进行自动拍摄时能够更加准确。Therefore, in the present application, by collecting user satisfaction feedback information for automatic shooting, the training of the model can be optimized, and the model is continuously optimized, so that the automatic shooting in subsequent use can be more accurate.
其中,所述当前使用的模型可为已经经过确认训练完成的模型,例如为经过图1-4所示的方法步骤确认训练完成的模型,也可以是还未训练完成的模型。当为确认训练完成的模型,可进一步进行优化,当为还未训练完成的模型,可以更优地实现训练。The currently used model may be a model that has been confirmed by the training, for example, a model that is confirmed to be completed by the method steps shown in FIG. 1-4, or a model that has not been trained yet. When it is confirmed that the training is completed, the model can be further optimized. When the model is not yet trained, the training can be better achieved.
相应的,图5中的步骤S51~S57可执行于图1中的步骤S15之后,也可执行于图1中的步骤S15之前,甚至还可以执行于图1中的步骤S11之前。当执行于步骤S11之前时,所述当前使用的模型可为一未经过训练的初始模型。Correspondingly, the steps S51-S57 in FIG. 5 can be performed after step S15 in FIG. 1, and can also be performed before step S15 in FIG. 1, and can even be performed before step S11 in FIG. When executed before step S11, the currently used model may be an untrained initial model.
在一些实施例中,当所述预设模型为未训练完成的模型时,所述未训练完成的模型自动获取用户每次进行拍摄时的画面,并作为正面样本进行训练,或者进一步获取拍摄时的拍摄参数,一起作为正面样本进行训练,而对预设模型进行逐步优化,直到训练次数达到预设次数或者后续用户反馈的满意度反馈信息为满意的比例超过预设比例,则确定训练完成。在此方式下,由于用户自己训练模型,而不需要采用别人的模型,因此能够更好地实现个性化。In some embodiments, when the preset model is an untrained model, the untrained model automatically acquires a picture every time the user performs shooting, and performs training as a positive sample, or further acquires a shooting time. The shooting parameters are trained together as a positive sample, and the preset model is gradually optimized until the number of training reaches a preset number of times or the satisfaction feedback information of subsequent user feedback is a satisfactory ratio exceeding a preset ratio, and the training is determined to be completed. In this way, since the user himself trains the model without using another person's model, personalization can be better achieved.
请参阅图6,为本申请第六实施例中的拍摄控制方法中的模型训练过程的流程图。如图6所示,在第六实施例中,所述模型训练过程可包括如下步骤:Please refer to FIG. 6 , which is a flowchart of a model training process in a shooting control method in a sixth embodiment of the present application. As shown in FIG. 6, in the sixth embodiment, the model training process may include the following steps:
S61:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为与满足拍摄条件以及拍摄参数对应的正面样本,并根据本次的正面样本调整模型自身的参数。S61: When the user performs manual control shooting, the currently captured picture is taken as a positive sample corresponding to the shooting condition and the shooting parameter by the model, and the parameters of the model itself are adjusted according to the current front sample.
在一些实施例中,所述模型保存所述正面样本,并建立或更新所述正面样本和满足拍摄条件以及拍摄参数的对应关系,来调整模型自身的参数。其中,满足拍摄条件以及所述拍摄参数可同时作为所述正面样本的标签来进行标记。In some embodiments, the model saves the frontal sample and establishes or updates the frontal sample and the correspondence that satisfies the shooting conditions and the shooting parameters to adjust the parameters of the model itself. Wherein, the shooting conditions and the shooting parameters can be simultaneously marked as the labels of the front samples.
可选的,在一种实现方式中,用户手动控制拍摄为通过按压快门键或拍照图标来完成的。Optionally, in one implementation, the user manually controls the shooting to be done by pressing a shutter button or a photo icon.
可选的,在另一种实现方式中,用户手动控制拍摄为通过对电子装置的物理按键执行特定的操作来完成的。例如,电子装置包括电源键,通过对电源键进行双击而实现手动控制拍摄。Optionally, in another implementation, the user manually controls the shooting to be performed by performing a specific operation on a physical button of the electronic device. For example, the electronic device includes a power button, and manual control shooting is achieved by double-clicking the power button.
所述拍摄参数可包括光圈大小、快门时间等参数。The shooting parameters may include parameters such as aperture size, shutter time, and the like.
S63:通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数。S63: sample the frame frame that is not manually controlled by the model by using a preset rule as a reverse sample, and adjust the parameters of the model according to the reverse sample.
S65:在确定达到训练完成条件时,结束训练,得到所述已训练的模型。S65: When it is determined that the training completion condition is reached, the training is ended, and the trained model is obtained.
其中,所述步骤S63和步骤S65分别与图1中的步骤S13以及步骤S15对应,具体的介绍可参照图1中的步骤S13以及步骤S15的描述。The step S63 and the step S65 respectively correspond to the step S13 and the step S15 in FIG. 1 . For specific introduction, reference may be made to the description of step S13 and step S15 in FIG. 1 .
从而,在再一实施例中,通过所述模型的训练,不但建立作为正面样本的画面与拍摄条件的对应关系,而建立作为正面样本的画面与拍摄参数的对应关系,在后续启动自动拍摄时,能够自动确定是否满足拍摄条件并且能够自动进行拍摄参数的设置。Therefore, in still another embodiment, by the training of the model, not only the correspondence between the picture as the front sample and the shooting condition is established, but the correspondence between the picture as the front sample and the shooting parameter is established, and when the automatic shooting is subsequently started. It is possible to automatically determine whether the shooting conditions are satisfied and the setting of the shooting parameters can be automatically performed.
请参阅图7,为本申请第七实施例中的拍摄控制方法中的模型训练过程的流程图。如图7所示,在第七实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 7 , which is a flowchart of a model training process in a shooting control method in a seventh embodiment of the present application. As shown in FIG. 7, in the seventh embodiment, the shooting control method may include the following steps:
S71:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S71: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current positive sample.
S73:对正面样本后一段时间内的取景到的画面帧进行采样,以作为反面样本,并根据所述反面样本来调整模型自身的参数。S73: Sampling the framed picture frame after a positive sample for a period of time as a reverse sample, and adjusting the parameters of the model itself according to the reverse sample.
其中,所述正面样本后一段时间可为用户手动控制拍摄得到的正面样本之后的2秒、3秒等时间。The time period after the front sample is manually controlled by the user for 2 seconds, 3 seconds, and the like after the front sample taken.
S75:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S75: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S71、S75与图1中的步骤S11、S15相同,具体的介绍可参照图1中的相关描述。步骤S73为图1中的步骤S13的更具体的方式,相关之处可相互参照。The steps S71 and S75 are the same as the steps S11 and S15 in FIG. 1 . For specific introduction, reference may be made to the related description in FIG. 1 . Step S73 is a more specific manner of step S13 in Fig. 1, and the relevant points can be referred to each other.
请参阅图8,为本申请第八实施例中的拍摄控制方法中的模型训练过程的流程图。如图8所示,在第八实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 8 , which is a flowchart of a model training process in a shooting control method in an eighth embodiment of the present application. As shown in FIG. 8, in the eighth embodiment, the shooting control method may include the following steps:
S81:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S81: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current positive sample.
S83:对正面样本前一段时间内的取景到的画面帧进行采样,以作为反面样本,并根据所述反面样本来调整模型自身的参数。S83: Sampling the framed picture frame for a period of time before the front side sample as a reverse side sample, and adjusting the parameters of the model itself according to the reverse side sample.
其中,所述正面样本前一段时间可为用户手动控制拍摄得到的正面样本之之前的2秒、3秒等时间。The time before the front sample may be manually controlled by the user for 2 seconds, 3 seconds, and the like before the front sample taken.
其中,当对正面样本前一段时间内取景到的画面帧进行采样时,预先还自动截取取景画面/拍摄预览画面而存储了一定数量的待定样本,待手动控制拍摄后,将该些非手动控制拍摄得到的待定样本确定为反面样本。Wherein, when sampling the frame frame that is framing for a period of time before the front side sample, the framing picture/shooting preview picture is automatically intercepted in advance and a certain number of pending samples are stored, and after the manual control shooting, the non-manual control is performed. The pending sample taken is determined as the reverse sample.
S85:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S85: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S81、S85与图1中的步骤S11、S15相同,具体的介绍可参照图1中的相关描述。步骤S83为图1中的步骤S13的更具体的方式,相关之处可相互参照。The steps S81 and S85 are the same as the steps S11 and S15 in FIG. 1 . For specific introduction, reference may be made to the related description in FIG. 1 . Step S83 is a more specific manner of step S13 in Fig. 1, and the relevant points can be referred to each other.
请参阅图9,为本申请第九实施例中的拍摄控制方法中的模型训练过程的流 程图。如图9所示,在第九实施例中,所述拍摄控制方法可包括如下步骤:Referring to Fig. 9, there is shown a flow chart of a model training process in the photographing control method in the ninth embodiment of the present application. As shown in FIG. 9, in the ninth embodiment, the photographing control method may include the following steps:
S91:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S91: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the positive sample of the current time.
S93:通过随机采样得到未手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数。S93: Obtain a picture frame that is not manually controlled by random sampling as a reverse sample, and adjust a parameter of the model itself according to the reverse sample.
从而,可通过对未手动控制拍摄的画面帧进行随机采样而得到反面样本。Thus, the reverse sample can be obtained by randomly sampling the picture frames that are not manually controlled.
S95:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S95: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S91、S95与图1中的步骤S11、S15相同,具体的介绍可参照图1中的相关描述。步骤S93为图1中的步骤S13的更具体的方式,相关之处可相互参照。The steps S91 and S95 are the same as the steps S11 and S15 in FIG. 1 . For a specific description, reference may be made to the related description in FIG. 1 . Step S93 is a more specific manner of step S13 in FIG. 1, and the relevant points can be referred to each other.
请参阅图10,为本申请第十实施例中的拍摄控制方法中的模型训练过程的流程图。如图10所示,在第十实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 10 , which is a flowchart of a model training process in a shooting control method in a tenth embodiment of the present application. As shown in FIG. 10, in the tenth embodiment, the shooting control method may include the following steps:
S101:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S101: When the user performs manual control shooting, the currently captured picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the positive sample of the current time.
S103:通过传感器的侦测结果确定需要采样时,进行画面帧的采样,并将采样得到的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数。S103: When it is determined by the detection result of the sensor that sampling is required, sampling of the picture frame is performed, and the sampled picture frame is used as a reverse sample, and the parameters of the model itself are adjusted according to the reverse sample.
其中,所述传感器可为光敏或声敏传感器,用来采集环境光线或者声音来决定采样,并将采样的画面帧作为反面样本。例如,当所述传感器为声敏传感器时,当采集到“请做好准备”等声音时,认为此时还未进入拍摄准备就绪状态,将此时采样的画面帧为反面样本。The sensor may be a photosensitive or acoustic sensor for collecting ambient light or sound to determine sampling, and the sampled picture frame is used as a reverse sample. For example, when the sensor is an acoustic sensor, when a sound such as “please be prepared” is collected, it is considered that the shooting ready state has not yet entered, and the frame frame sampled at this time is the reverse sample.
S105:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S105: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S101、S105与图1中的步骤S11、S15相同,具体的介绍可参照图1中的相关描述。步骤S103为图1中的步骤S13的更具体的方式,相关之处可相互参照。The steps S101 and S105 are the same as the steps S11 and S15 in FIG. 1 . For a specific description, reference may be made to the related description in FIG. 1 . Step S103 is a more specific manner of step S13 in FIG. 1, and the relevant points can be referred to each other.
请参阅图11,为本申请第十一实施例中的拍摄控制方法中的模型训练过程的流程图。如图11所示,在第十一实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 11 , which is a flowchart of a model training process in the photographing control method in the eleventh embodiment of the present application. As shown in FIG. 11, in the eleventh embodiment, the shooting control method may include the following steps:
S111:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S111: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current positive sample.
S113:采集未手动控制拍摄的画面帧并进行保存,并对保存的画面帧进行构图分析,而确定出作为反面样本的画面帧,并根据所述反面样本来调整模型自身的参数。S113: Collect and save the picture frame that has not been manually controlled, perform composition analysis on the saved picture frame, determine a picture frame as a reverse sample, and adjust the parameters of the model according to the reverse sample.
其中,所述构图分析可为分析画面帧中的表情有闭眼、不自然等表情时,确定所述画面帧为反面样本。The composition analysis may determine that the picture frame is a reverse sample when the expression in the picture frame is closed, unnatural, or the like.
S115:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S115: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S111、S115与图1中的步骤S11、S15相同,具体的介绍可参照图1中的相关描述。步骤S113为图1中的步骤S13的更具体的方式,相关之 处可相互参照。The steps S111 and S115 are the same as the steps S11 and S15 in FIG. 1 . For a specific description, reference may be made to the related description in FIG. 1 . Step S113 is a more specific manner of step S13 in Fig. 1, and the correlation can be referred to each other.
请参阅图12,为本申请第十二实施例中的拍摄控制方法中的模型训练过程的流程图。如图12所示,在第十二实施例中,所述拍摄控制方法可包括如下步骤:Please refer to FIG. 12 , which is a flowchart of a model training process in a photographing control method in a twelfth embodiment of the present application. As shown in FIG. 12, in the twelfth embodiment, the photographing control method may include the following steps:
S121:在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数。S121: When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the current positive sample.
S123:以预设时间间隔采样相邻两次手动控制拍摄之间取景得到的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数。S123: Sampling a frame frame obtained by framing between two adjacent manual control shots at a preset time interval as a reverse sample, and adjusting parameters of the model itself according to the reverse sample.
其中,预设时间间隔可为1秒、2秒等值。The preset time interval may be 1 second or 2 seconds.
可选的,在一种实现方式中,相邻两次手动控制拍摄可为同一次摄像头打开进行的取景拍摄过程中的相邻两次手动控制拍摄。Optionally, in one implementation, two adjacent manual control shots may be two adjacent manual control shots during the framing shot performed by the same camera opening.
可选的,在另一种实现方式中,相邻两次手动控制拍摄也可以是不同次摄像头打开进行取景拍摄过程中的相邻两次手动控制拍摄。例如,用户打开摄像头完成了第一次手动控制拍摄后,关闭摄像头,并在下一次打开摄像头完成第二次手动控制拍摄,第一次手动控制拍摄和第二次手动控制拍摄之间的取景画面被当前使用的模型以预设时间间隔保存而作为反面样本。Optionally, in another implementation manner, the two adjacent manual control shots may also be two different manual control shots during the framing shooting. For example, after the user turns on the camera and completes the first manual control shooting, the camera is turned off, and the next time the camera is turned on to complete the second manual control shooting, the framing screen between the first manual control shooting and the second manual control shooting is The currently used model is saved at a preset time interval as a negative sample.
S125:在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。S125: When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control.
其中,步骤S121、S125与图1中的步骤S11、S15相同,具体的介绍可参照图1中的相关描述。步骤S123为图1中的步骤S13的更具体的方式,相关之处可相互参照The steps S121 and S125 are the same as the steps S11 and S15 in FIG. 1 . For a specific description, reference may be made to the related description in FIG. 1 . Step S123 is a more specific manner of step S13 in FIG. 1, and the relevant points can be mutually cross-referenced.
请参阅图13,为本申请第十三实施例中的拍摄控制方法中的自动拍摄控制过程的流程图。Please refer to FIG. 13 , which is a flowchart of an automatic shooting control process in the shooting control method in the thirteenth embodiment of the present application.
S131:获取拍摄预览画面。S131: Acquire a shooting preview screen.
在一些实施例中,获取拍摄预览画面的操作为响应开启摄像头的操作后通过摄像头来进行的,即,为通过摄像头来获取拍摄预览画面。In some embodiments, the operation of acquiring the shooting preview screen is performed by the camera in response to the operation of turning on the camera, that is, the shooting preview screen is acquired by the camera.
在一些实施例中,开启摄像头的操作为对拍照应用图标的点击操作,即,在响应对拍照应用图标的点击操作而开启摄像头时,则通过摄像头去获取拍摄预览画面。In some embodiments, the operation of turning on the camera is a click operation on the photographing application icon, that is, when the camera is turned on in response to a click operation on the photographing application icon, the shooting preview screen is acquired by the camera.
或者,在另一些实施例中,开启摄像头的操作为对电子装置的物理按键的特定操作,例如,电子装置包括音量增加键和音量减小键,开启摄像头的操作为对音量增加键和音量减小键的同时按压的操作。进一步的,开启拍照应用的操作为在预设时间(例如2秒)内先后按压音量增加键及音量减小键的操作。Alternatively, in other embodiments, the operation of turning on the camera is a specific operation of a physical button of the electronic device. For example, the electronic device includes a volume up button and a volume down button, and the operation of turning on the camera is to increase the volume and volume. Simultaneous pressing of small keys. Further, the operation of turning on the photographing application is an operation of pressing the volume up key and the volume down key in a preset time (for example, 2 seconds).
在另一些实施例中,开启摄像头的操作还可为在电子装置的任一显示界面中输入的预设触摸手势的操作,例如,在电子装置的主界面上,用户可输入一个具有环形触摸轨迹的触摸手势而开启摄像头。In other embodiments, the operation of turning on the camera may also be an operation of a preset touch gesture input in any display interface of the electronic device. For example, on the main interface of the electronic device, the user may input a circular touch track. Turn on the camera with a touch gesture.
在另一些实施例中,开启摄像头的操作还可为在电子装置处于黑屏状态下在触摸屏上输入的预设触摸手势的操作。In other embodiments, the operation of turning on the camera may also be an operation of a preset touch gesture input on the touch screen when the electronic device is in a black screen state.
在一些实施例中,当电子装置为照相机时,开启摄像头的操作为对照相机的快门按键/电源按键进行按压而触发照相机处于启动状态的操作。In some embodiments, when the electronic device is a camera, the operation of turning on the camera is an operation that presses the shutter button/power button of the camera to trigger the camera to be in an activated state.
可选的,本申请中,获取拍摄预览画面为通过摄像头实时获取拍摄预览画面。Optionally, in the present application, acquiring a shooting preview screen is to obtain a shooting preview screen in real time through a camera.
S133:采用预设模型对拍摄预览画面进行分析而得到分析结果。S133: analyzing the shooting preview image by using a preset model to obtain an analysis result.
其中,预设模型可为已训练完成的模型,也可为未训练完成的模型。The preset model may be a trained model or an untrained model.
可选的,在一些实施例中,预设模型为已训练的神经网络模型;采用预设模型对拍摄预览画面进行分析得出分析结果,进一步包括:通过神经网络模型对拍摄预览画面进行分析,得出满意度这一分析结果。其中,满意度为神经网络模型通过将拍摄预览画面的所有像素作为输入,而根据预先训练的模型进行处理而输出满意度这一分析结果。Optionally, in some embodiments, the preset model is a trained neural network model; and the preset preview model is used to analyze the captured preview image to obtain an analysis result, and further includes: analyzing the captured preview image by using a neural network model, The result of this analysis of satisfaction is obtained. Among them, the satisfaction degree is that the neural network model outputs the satisfaction result by processing the pre-trained model by taking all the pixels of the preview image as input.
可选的,在另一些实施例中,预设模型为已训练的图像处理算法模型,采用预设模型对拍摄预览画面进行分析得出分析结果,进一步包括:采用已训练的图像处理算法模型将拍摄预览画面与基准图片进行比较,分析出预览画面与基准图片的相似度这一分析结果。其中,基准图片可为用户预先设定的具有微笑、大笑、难过、生气、打哈欠等特定表情的标准图片。Optionally, in other embodiments, the preset model is a trained image processing algorithm model, and the preset preview model is used to analyze the captured preview image to obtain an analysis result, and further includes: using a trained image processing algorithm model The shooting preview screen is compared with the reference picture, and the analysis result of the similarity between the preview picture and the reference picture is analyzed. The reference picture may be a standard picture preset by the user with a specific expression such as smile, laughter, sadness, anger, yawning, and the like.
进一步的,已训练的图像处理算法模型包括已训练的目标对象特征模型,采用已训练的图像处理算法模型将拍摄预览画面与基准图片进行比较,分析出拍摄预览画面与基准图片的相似度,包括:利用人脸识别技术对拍摄预览画面中的目标对象进行分析,生成对应的目标对象特征向量;根据已训练的目标对象特征模型和拍摄预览画面对应的目标对象特征向量计算得到拍摄预览画面与基准图片的相似度。Further, the trained image processing algorithm model includes the trained target object feature model, and the trained image processing algorithm model is used to compare the captured preview image with the reference image, and the similarity between the captured preview image and the reference image is analyzed, including The face recognition technology is used to analyze the target object in the shooting preview image to generate a corresponding target object feature vector; and the captured preview image and the reference are calculated according to the trained target object feature model and the target object feature vector corresponding to the captured preview image. The similarity of the picture.
在一些实施例中,所述根据已训练的目标对象特征模型和拍摄预览画面对应的目标对象特征向量计算得到拍摄预览画面与基准图片的相似度,包括:将拍摄预览画面对应的目标对象特征向量作为已训练的表情特征模型的输入信息,而通过所述目标对象特征向量计算得出拍摄预览画面与基准图片的相似度。In some embodiments, the calculating the similarity between the captured preview image and the reference image according to the trained target object feature model and the target object feature vector corresponding to the captured preview image comprises: capturing the target object feature vector corresponding to the preview image As the input information of the trained expression feature model, the similarity between the shooting preview picture and the reference picture is calculated by the target object feature vector.
在另一些实施例中,采用已训练的图像处理算法模型将拍摄预览画面与基准图片进行比较,分析出预览画面与基准图片的相似度这一分析结果,包括:获取拍摄预览画面的像素信息;将拍摄预览画面的像素信息与基准图片的像素信息进行比较,分析出拍摄预览画面与基准图片的相似度。即,在另一些实施例中,通过对比两个图像的像素灰阶值等像素信息来得出拍摄预览画面和基准图片的相似度。In another embodiment, comparing the shooting preview image with the reference image by using the trained image processing algorithm model, and analyzing the analysis result of the similarity between the preview image and the reference image, comprising: acquiring pixel information of the shooting preview image; The pixel information of the shooting preview screen is compared with the pixel information of the reference picture, and the similarity between the shooting preview picture and the reference picture is analyzed. That is, in other embodiments, the similarity between the captured preview picture and the reference picture is obtained by comparing the pixel information such as the pixel grayscale value of the two images.
在另一些实施例中,当预设模型为已训练的图像处理算法模型时,所述采用预设模型对拍摄预览画面进行分析而得到分析结果,包括:利用人脸识别技术对拍摄预览画面中的脸部表情进行分析,生成对应的表情特征向量;将表情特征向量作为图像处理算法模型的输入信息,而得出包括标识当前是否满足拍摄条件的标识信息的分析结果。例如,所述标识信息可包括1、0等标识当前是否满足拍摄条件的分析结果的标识符。更具体的,当标识信息为标识符1时,表示满足拍摄条件,当标识信息为标识符0时,表示不满足拍摄条件。In another embodiment, when the preset model is a trained image processing algorithm model, the analyzing the captured preview image by using the preset model to obtain the analysis result includes: using the face recognition technology to capture the preview image. The facial expression is analyzed to generate a corresponding expression feature vector; the expression feature vector is used as input information of the image processing algorithm model, and an analysis result including identification information indicating whether the shooting condition is currently satisfied is obtained. For example, the identification information may include an identifier of 1, 0, etc., which identifies whether the analysis result of the shooting condition is currently satisfied. More specifically, when the identification information is the identifier 1, it indicates that the shooting condition is satisfied, and when the identification information is the identifier 0, it indicates that the shooting condition is not satisfied.
在一些实施例中,已训练的目标对象特征模型为通过如下的方式进行训练完成:在初始训练集中提供多张具有不同表情人脸的照片;利用图像识别技术,对初始训练集中提供的多张照片中的目标对象进行表情分析,生成对应的目标 对象特征向量Xi,例如,当目标对象特征向量为表情特征向量时,X1表示眼睛睁开的大小,X2表示嘴角上扬的程度,X3表示嘴巴张开的大小;基于生成的目标对象特征向量和对应的照片与基准图片间的相似度标签建立训练样本集;再用样本集进行训练学习,得到训练完成的目标对象特征模型。In some embodiments, the trained target object feature model is completed by training in a plurality of photos having different expression faces in the initial training set; and using the image recognition technology to provide a plurality of pieces in the initial training set The target object in the photo performs emoticon analysis to generate a corresponding target object feature vector Xi. For example, when the target object feature vector is an expression feature vector, X1 represents the size of the eye opening, X2 represents the degree of the mouth angle rising, and X3 represents the mouth opening. The size of the opening; the training sample set is established based on the generated target object feature vector and the similarity label between the corresponding photo and the reference picture; and the sample set is used for training learning to obtain the trained target object feature model.
在一些实施例中,本申请中,所述分析结果为根据实时获取的拍摄预览画面进行分析而得到相应的分析结果。在另一些实施例中,所述采用预设模型对拍摄预览画面进行分析而得到分析结果为每间隔预设时间(例如0.2秒)对当前获取到的拍摄预览画面进行分析而得到当前的分析结果。In some embodiments, in the present application, the analysis result is that the analysis result is obtained according to the real-time acquired shooting preview screen. In some other embodiments, the step of analyzing the shot preview image by using the preset model to obtain an analysis result is that the currently acquired shot preview screen is analyzed every time by a preset time (for example, 0.2 seconds) to obtain a current analysis result. .
S135:根据分析结果确定当前是否满足拍摄条件。如果满足,则执行步骤S137,否则,返回步骤S133或者流程结束。S135: Determine whether the shooting condition is currently satisfied according to the analysis result. If yes, step S137 is performed, otherwise, it returns to step S133 or the process ends.
在一些实施例中,当分析结果为根据神经网络模型得出时,根据分析结果确定当前是否满足拍摄条件,包括:在确定满意度超过满意度预设阈值时,确定当前满足拍摄条件。其中,满意度预设阈值可为80%、90%等值。In some embodiments, when the analysis result is obtained according to the neural network model, determining whether the shooting condition is currently satisfied according to the analysis result includes: determining that the shooting condition is currently satisfied when determining that the satisfaction exceeds the satisfaction preset threshold. The satisfaction preset threshold may be 80%, 90%, and the like.
在一些实施例中,当分析结果为根据图像处理算法模型得出时,根据分析结果确定当前是否满足拍摄条件,包括:在确定相似度超过相似度预设阈值时,确定当前满足拍摄条件。或者,根据分析结果确定当前是否满足拍摄条件,还可包括:在分析结果包括标识当前满足拍摄条件的标识信息时,确定当前满足拍摄条件。In some embodiments, when the analysis result is obtained according to the image processing algorithm model, determining whether the shooting condition is currently satisfied according to the analysis result includes: determining that the shooting condition is currently satisfied when determining that the similarity exceeds the similarity preset threshold. Alternatively, determining whether the shooting condition is currently satisfied according to the analysis result may further include: determining that the shooting condition is currently satisfied when the analysis result includes identifying the identification information that currently meets the shooting condition.
其中,本申请中,目标对象可为手部、脸部、特定的景物等;目标对象特征模型相应包括手势特征模型、表情特征模型以及景物特征模型等,分析出的目标对象特征向量可包括手势特征向量、表情特征向量和景物特征向量等。In the present application, the target object may be a hand, a face, a specific scene, etc.; the target object feature model includes a gesture feature model, an expression feature model, and a scene feature model, etc., and the analyzed target object feature vector may include a gesture. Feature vectors, expression feature vectors, and scene feature vectors.
S137:在确定满足拍摄条件时,控制执行拍摄操作。S137: Control performs a photographing operation when it is determined that the photographing condition is satisfied.
在一些实现方式中,拍摄操作为拍照操作,控制执行拍摄操作,包括:控制执行拍照操作,而得到当前拍照预览画面对应的照片。In some implementations, the photographing operation is a photographing operation, and controlling to perform the photographing operation includes: controlling to perform a photographing operation to obtain a photograph corresponding to the current photograph preview screen.
在另一些实现方式中,拍摄操作为连拍操作,控制执行拍摄操作,包括:控制执行连拍操作,而得到包括当前拍照预览画面对应照片在内的多张照片。可选的,在执行连拍操作后,还可包括进一步的步骤:对连拍操作获取到的多张照片进行分析,确定出最佳的照片;以及保留最佳的照片,而对连拍操作获取到的其他照片进行删除。In other implementations, the shooting operation is a continuous shooting operation, and controlling to perform a shooting operation includes: controlling to perform a continuous shooting operation, and obtaining a plurality of photos including a photo corresponding to the current photo preview screen. Optionally, after performing the continuous shooting operation, further steps may be further included: analyzing a plurality of photos obtained by the continuous shooting operation to determine the best photo; and retaining the best photo, and performing the continuous shooting operation Get other photos to delete.
在另一些实现方式中,拍摄操作为视频拍摄操作,控制执行拍摄操作,包括:控制执行视频拍摄操作,而得到以当前拍照预览画面作为起始视频画面帧的视频文件。可选的,在执行视频拍摄操作得到视频文件后,还可包括步骤:在拍摄得到视频文件后,还可对拍摄到的视频文件中的多个视频画面帧进行比较,确定出最佳的画面帧;以及将最佳的画面帧截取出来作为照片保存。In other implementations, the photographing operation is a video photographing operation, and controlling to perform a photographing operation includes: controlling to perform a video photographing operation to obtain a video file that uses the current photograph preview screen as a starting video frame frame. Optionally, after the video recording operation is performed to obtain the video file, the method may further include: after the video file is captured, the plurality of video frame frames in the captured video file may be compared to determine an optimal screen. Frame; and intercept the best picture frame to save as a photo.
从而,本申请中,通过分析拍照预览画面确定当前是否满足拍摄条件,能够根据拍照预览画面中的内容来确定是否为用户期望拍下的画面,从而能够及时捕捉当前精彩的瞬间。Therefore, in the present application, by analyzing the photographing preview screen to determine whether the photographing condition is currently satisfied, whether or not the photograph desired by the user is photographed can be determined according to the content in the photograph preview screen, so that the current exciting moment can be captured in time.
在一些实施例中,步骤S15包括:在根据分析结果确定当前是否满足拍摄条件之外,还根据分析结果确定包括快门时间、光圈大小在内的拍摄参数。In some embodiments, step S15 includes determining a shooting parameter including a shutter time and an aperture size based on the analysis result, in addition to determining whether the shooting condition is currently satisfied according to the analysis result.
在确定满足拍摄条件时,控制执行拍摄操作,还包括:在确定满足拍摄条 件时,根据确定出的拍摄参数执行拍摄操作。Controlling the execution of the photographing operation when it is determined that the photographing condition is satisfied further includes: performing a photographing operation according to the determined photographing parameter when it is determined that the photographing condition is satisfied.
请参阅图14,为本申请一实施例中的电子装置100的示意出部分结构的框图。如图14所示,所述电子装置100包括处理器10、存储器20、摄像头30。其中,所述摄像头30至少包括后置摄像头31及前置摄像头32。所述后置摄像头31用于拍摄电子装置100后方的影像,可用于供用户拍摄他人等拍摄操作,所述前置摄像头32用于拍摄电子装置100前方的影像,可用于实现自拍等拍摄操作。Please refer to FIG. 14 , which is a block diagram showing a schematic partial structure of an electronic device 100 according to an embodiment of the present application. As shown in FIG. 14, the electronic device 100 includes a processor 10, a memory 20, and a camera 30. The camera 30 includes at least a rear camera 31 and a front camera 32. The rear camera 31 is used for capturing an image behind the electronic device 100, and can be used for a user to take a photographing operation such as a person. The front camera 32 is used to capture an image in front of the electronic device 100, and can be used to implement a self-photographing and the like.
在一些实施例中,图1~图13中所述的模型可为运行于处理器10中的特定算法函数等程序,例如为神经网络算法函数、图像处理算法函数等等。在另一些实施例中,所述电子装置100还可包括独立于所述处理器10之外的模型处理器,图1~图13中所述的模型为运行与模型处理器中,所述处理器10可根据需要产生相应指令而触发模型处理器运行对应的模型,且模型的输出结果通过所述模型处理器输出给所述处理器10而供处理器10进行使用,而执行拍摄操作等控制。In some embodiments, the models described in FIGS. 1-13 may be programs such as specific algorithm functions running in processor 10, such as neural network algorithm functions, image processing algorithm functions, and the like. In other embodiments, the electronic device 100 may further include a model processor independent of the processor 10, and the models described in FIGS. 1 to 13 are in an operation and model processor, and the processing is performed. The controller 10 can generate a corresponding instruction to trigger the model processor to run the corresponding model, and the output result of the model is output to the processor 10 through the model processor for use by the processor 10, and performs control operations such as shooting operations. .
所述存储器20中存储有程序指令。Program instructions are stored in the memory 20.
所述处理器10用于调用所述存储器20存储的程序指令而执行如图1~6所示的任一实施例中的拍摄控制方法中的模型训练过程,以及执行如图7~14所示的任一实施例中的拍摄控制方法中的使用模型进行自动拍摄控制的过程。The processor 10 is configured to invoke a program instruction stored in the memory 20 to execute a model training process in the shooting control method in any of the embodiments shown in FIGS. 1 to 6, and execute as shown in FIGS. 7-14. The process of the automatic shooting control using the model in the shooting control method in any of the embodiments.
例如,所述处理器10用于调用存储器20存储的程序指令执行如下的拍摄控制方法:For example, the processor 10 is configured to call a program instruction stored in the memory 20 to execute the following shooting control method:
在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数;When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the positive sample of the current time;
通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数;以及Sampling a frame frame that has not been manually controlled by a model by a preset rule as a reverse sample, and adjusting a parameter of the model itself according to the reverse sample;
在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。Upon determining that the training completion condition is reached, the training is ended and the trained model is obtained for subsequent automatic shooting control.
在一些实施例中,处理器10调用程序指令执行的在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数,包括:通过所述模型保存所述正面样本,并建立或更新所述正面样本和满足拍摄条件的对应关系,来调整模型自身的参数。其中,满足拍摄条件可作为所述正面样本的标签来进行标记。In some embodiments, when the user performs manual control shooting by the processor 10, the processor 10 calls the currently taken picture as a positive sample satisfying the shooting condition by the model, and adjusts the model's own parameters according to the current positive sample. The method includes: saving the positive sample by the model, and establishing or updating the correspondence between the front sample and the shooting condition to adjust the parameter of the model itself. Among them, the photographing condition can be marked as a label of the front sample.
在一种实现方式中,所述处理器调用程序指令还执行:响应用户输入的进入模型训练的操作控制进入模型训练模式。所述处理器调用程序指令执行的确定达到训练完成条件,包括:响应用户输入的退出所述模型训练模式的操作时,确定达到训练完成条件。In one implementation, the processor call program instructions are further executed to enter the model training mode in response to user input of the entered model training. The determining that the processor invokes the execution of the program instruction reaches the training completion condition includes: determining that the training completion condition is reached in response to the user inputting the operation of exiting the model training mode.
可选的,所述进入模型训练的操作包括对菜单选项的选择操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势。可选的,所述响应用户输入的进入模型训练的操作,控制进入模型训练模式,包括:响应用户对菜单选项的选择操作,或者对物理按键的特定操作,或者在电子装置的触摸屏上输入的特定触摸手势而控制进入模型训练模式。Optionally, the operation of entering the model training includes a selection operation of a menu option, or a specific operation on a physical button, or a specific touch gesture input on a touch screen of the electronic device. Optionally, the operation of entering the model training in response to the user input controls the entering the model training mode, including: responding to the user's selection operation of the menu option, or performing a specific operation on the physical button, or inputting on the touch screen of the electronic device. The specific touch gesture is controlled to enter the model training mode.
可选的,在另一种实现方式中,所述处理器调用程序指令执行的确定达到训练完成条件,包括:在确定用户手动控制拍摄的次数达到预设次数N1时,确定达到训练完成条件。其中,所述预设次数N1可为系统默认的模型训练完成需要执行的次数,也可为用户自定义的值。Optionally, in another implementation manner, the determining that the processor invokes the execution of the program instruction reaches the training completion condition, and: determining that the training completion condition is reached when determining that the number of times the user manually controls the shooting reaches the preset number of times N1. The preset number of times N1 may be the number of times the system default model training needs to be performed, or may be a user-defined value.
可选的,在另一种实现方式中,所述处理器调用程序指令执行的确定达到训练完成条件,包括:使用本次的正面样本去测试模型,确定测试结果是否达到预设阈值,在测试结果达到预设阈值,确定达到训练完成条件。Optionally, in another implementation manner, the determining that the processor invokes the execution of the program instruction reaches a training completion condition, including: using the positive sample of the current to test the model, determining whether the test result reaches a preset threshold, and testing The result reaches a preset threshold and determines that the training completion condition is reached.
其中,所述处理器10可为微控制器、微处理器、单片机、数字信号处理器等。The processor 10 can be a microcontroller, a microprocessor, a single chip, a digital signal processor, or the like.
所述存储器20可为存储卡、固态存储器、微硬盘、光盘等任意可存储信息的存储设备。The memory 20 can be any storage device that can store information such as a memory card, a solid state memory, a micro hard disk, an optical disk, or the like.
如图14所示,所述电子装置100还包括输入单元40及输出单元50。所述输入单元40可包括触摸面板、鼠标、麦克风、包括电源键、音量键在内的物理按键等。所述输出单元50可包括显示屏、扬声器等。在一些实施例中,所述输入单元40的触摸面板和输出单元50的显示屏整合在一起形成触摸屏,而同时提供触摸输入和显示输出的功能。As shown in FIG. 14, the electronic device 100 further includes an input unit 40 and an output unit 50. The input unit 40 may include a touch panel, a mouse, a microphone, a physical button including a power button, a volume button, and the like. The output unit 50 can include a display screen, a speaker, and the like. In some embodiments, the touch panel of the input unit 40 and the display screen of the output unit 50 are integrated to form a touch screen while providing the functions of touch input and display output.
在一些实施例中,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有若干程序指令,所述若干程序指令供主处理单元20调用执行后,执行如图1-14所示的任一拍摄控制方法中的全部或部分步骤。在一些实施例中,所述计算机存储介质即为所述存储器20,可为存储卡、固态存储器、微硬盘、光盘等任意可存储信息的存储设备。In some embodiments, the present application further provides a computer readable storage medium, where the computer readable storage medium stores a plurality of program instructions, and the program instructions are executed by the main processing unit 20, and executed as shown in FIG. - all or part of any of the shooting control methods shown in FIG. In some embodiments, the computer storage medium is the memory 20, and may be any storage device that can store information such as a memory card, a solid state memory, a micro hard disk, an optical disk, or the like.
本申请的拍摄控制方法及电子装置100可先进行模型训练,并在模型训练完成后用于后续的自动拍摄控制,以及时捕捉到精彩瞬间。具体的,可通过模型根据拍摄预览画面自动判断是否满足拍摄条件,并在满足拍摄条件时进行拍摄,可及时捕捉到包括当前拍摄预览画面对应内容的精彩瞬间。The shooting control method and the electronic device 100 of the present application can perform model training first, and are used for subsequent automatic shooting control after the model training is completed, and capture the wonderful moments in time. Specifically, the model can automatically determine whether the shooting condition is satisfied according to the shooting preview screen, and when the shooting condition is satisfied, the exciting moment including the corresponding content of the current shooting preview screen can be captured in time.
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present invention has been described herein in connection with the embodiments of the present invention, it will be understood by those skilled in the <RTIgt; Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code. The computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
本发明是参照本发明实施例的方法、装置(设备)和计算机程序产品的流 程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of the methods, apparatus, and computer program products of the embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
以上所揭露的仅为本申请一种实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于申请所涵盖的范围。The above disclosure is only an embodiment of the present application, and of course, the scope of the application should not be limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the claims of the present application. The equivalent change is still within the scope of the application.

Claims (14)

  1. 一种拍摄控制方法,其特征在于,所述拍摄控制方法包括:A shooting control method, characterized in that the shooting control method comprises:
    在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数;When the user performs manual control shooting, the currently taken picture is taken as a positive sample satisfying the shooting condition by the model, and the parameters of the model itself are adjusted according to the positive sample of the current time;
    通过模型以预设规则采样未被手动控制拍摄的画面帧作为反面样本,并根据所述反面样本来调整模型自身的参数;以及The image frame that is not manually controlled is sampled by the model as a reverse sample by using a preset rule, and the parameters of the model itself are adjusted according to the reverse sample;
    在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。Upon determining that the training completion condition is reached, the training is ended and the trained model is obtained for subsequent automatic shooting control.
  2. 如权利要求1所述的拍摄控制方法,其特征在于,所述拍摄控制方法,还包括:响应用户输入的进入模型训练的操作,控制进入模型训练模式;The photographing control method according to claim 1, wherein the photographing control method further comprises: controlling to enter the model training mode in response to an operation of entering the model training input by the user;
    所述在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制,包括:When it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic shooting control, including:
    响应用户输入的退出模型训练模式的操作,确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。In response to the user-entered operation of the exit model training mode, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control.
  3. 如权利要求1所述的拍摄控制方法,其特征在于,所述在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制,包括:在确定用户手动控制拍摄的次数达到预设次数时,确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。The photographing control method according to claim 1, wherein, when it is determined that the training completion condition is reached, the training is ended to obtain a trained model for subsequent automatic photographing control, including: determining user manual control When the number of times of shooting reaches a preset number of times, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control.
  4. 如权利要求1所述的拍摄控制方法,其特征在于,所述在确定达到训练完成条件时,结束训练而得到已训练的模型,以用于后续的自动拍摄控制,包括:The photographing control method according to claim 1, wherein, when it is determined that the training completion condition is reached, the training is ended to obtain the trained model for subsequent automatic photographing control, including:
    在用户进行手动控制拍摄时,将手动控制拍摄得到的画面的参数输入至模型得到预测值;When the user performs manual control shooting, the parameters of the picture obtained by manually controlling the shooting are input to the model to obtain a predicted value;
    确定预测值是否满足拍摄条件;Determining whether the predicted value meets the shooting conditions;
    如果预测值满足拍摄条件,则确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。If the predicted value satisfies the shooting condition, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control.
  5. 如权利要求4所述的拍摄控制方法,其特征在于,所述如果预测值满足拍摄条件,则确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制,包括:The photographing control method according to claim 4, wherein if the predicted value satisfies the photographing condition, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic photographing control, including :
    如果预测值满足拍摄条件,则对预测值满足拍摄条件的计数次数加一而得到更新的计数次数;If the predicted value satisfies the shooting condition, the number of counts in which the predicted value satisfies the shooting condition is incremented by one to obtain an updated count number of times;
    判断当前的计数次数是否超过预设次数;Determine whether the current number of counts exceeds a preset number of times;
    如果当前的计数次数超过预设次数,则确定达到训练完成条件,结束训练而得到已训练的模型,以用于后续的自动拍摄控制。If the current number of counts exceeds the preset number of times, it is determined that the training completion condition is reached, and the training is ended to obtain the trained model for subsequent automatic shooting control.
  6. 如权利要求1所述的拍摄控制方法,其特征在于,所述在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为满足拍摄条件的正面样本,并根据本次的正面样本调整模型自身的参数,包括:The photographing control method according to claim 1, wherein when the user performs manual control photographing, the currently photographed image is taken as a positive sample satisfying the photographing condition by the model, and the model itself is adjusted according to the current positive sample. Parameters, including:
    在用户进行手动控制拍摄时,通过模型将当前拍摄的画面作为与满足拍摄 条件以及拍摄参数对应的正面样本,并根据本次的正面样本调整模型自身的参数。When the user performs manual control shooting, the currently captured picture is taken as a positive sample corresponding to the shooting conditions and the shooting parameters by the model, and the parameters of the model itself are adjusted according to the current front sample.
  7. 如权利要求1-6任一项所述的拍摄控制方法,其特征在于,所述拍摄控制方法还包括步骤:The photographing control method according to any one of claims 1 to 4, wherein the photographing control method further comprises the steps of:
    在开启自动拍摄功能之后,响应摄像头的开启操作进行取景预览而获取拍摄预览画面;After the automatic shooting function is turned on, the framing preview is performed in response to the opening operation of the camera to obtain a shooting preview screen;
    根据当前的模型确定所述预览画面信息满足拍摄条件时,控制执行自动拍摄操作;When it is determined according to the current model that the preview screen information satisfies the shooting condition, controlling to perform an automatic shooting operation;
    获取用户对本次自动拍摄的满意度反馈信息;Obtain feedback feedback from users on this automatic shooting;
    将用户对本次自动拍摄的满意度反馈信息输出至当前使用的模型,以使得当前使用的模型利用所述满意度反馈信息以及所述预览画面信息进行优化训练。The satisfaction feedback information of the user for the automatic shooting is output to the currently used model, so that the currently used model performs optimization training using the satisfaction feedback information and the preview screen information.
  8. 如权利要求1-6任一项所述的拍摄控制方法,其特征在于,所述通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本包括:以预设时间间隔采样相邻两次手动控制拍摄之间取景得到的画面帧作为反面样本。The photographing control method according to any one of claims 1 to 4, wherein the sampling of the frame frame that is not manually controlled by the model by the preset rule as the back surface sample comprises: sampling adjacent two at a preset time interval The frame frame obtained by the framing between the shots is taken as the reverse sample.
  9. 如权利要求1-6任一项所述的拍摄控制方法,其特征在于,所述通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本包括:对正面样本后一段时间内或前一段时间内取景到的画面帧进行采样,以作为反面样本。The photographing control method according to any one of claims 1 to 6, wherein the sampling of the frame frame that is not manually controlled by the model by the preset rule as the reverse sample includes: after the front sample is in a period of time or before The framed picture framed for a period of time is sampled as a reverse sample.
  10. 如权利要求1-6任一项所述的拍摄控制方法,其特征在于,所述通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本包括:通过随机采样得到未手动控制拍摄的画面帧作为反面样本。The photographing control method according to any one of claims 1 to 6, wherein the sampling of the frame frame that is not manually controlled by the model by the preset rule as the reverse sample comprises: obtaining the uncontrolled shooting by random sampling. The picture frame is used as the reverse side sample.
  11. 如权利要求1-6任一项所述的拍摄控制方法,其特征在于,所述通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本包括:通过传感器的侦测结果确定需要采样时,进行画面帧的采样,并将采样得到的画面帧作为反面样本。The photographing control method according to any one of claims 1 to 4, wherein the sampling of the frame frame that is not manually controlled by the model by the preset rule as the back surface sample comprises: determining, by the detection result of the sensor, that sampling is required At the same time, the sampling of the picture frame is performed, and the sampled picture frame is taken as the reverse side sample.
  12. 如权利要求1-6任一项所述的拍摄控制方法,其特征在于,所述通过模型以预设规则采样未手动控制拍摄的画面帧作为反面样本包括:采集未手动控制拍摄的画面帧并进行保存,并对保存的画面帧进行构图分析,而确定出作为反面样本的画面帧。The photographing control method according to any one of claims 1 to 6, wherein the sampling of the frame frame that is not manually controlled by the model by the preset rule as the back surface sample comprises: collecting the frame frame that is not manually controlled and capturing The save is performed, and the saved picture frame is subjected to composition analysis, and the picture frame as the reverse side sample is determined.
  13. 一种电子装置,其特征在于,所述电子装置包括:An electronic device, the electronic device comprising:
    存储器,用于存储程序指令;以及a memory for storing program instructions;
    处理器,用于调用所述程序指令执行如权利要求1-12任一项所述的拍摄控制方法。A processor for invoking the program instruction to perform the photographing control method according to any one of claims 1-12.
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序指令,所述程序指令用于供计算机调用后执行如权利要求1-12任一项所述的拍摄控制方法。A computer readable storage medium, wherein the computer readable storage medium stores program instructions for performing a photographing control according to any one of claims 1 to 12 after being invoked by a computer method.
PCT/CN2018/085900 2018-05-07 2018-05-07 Photographing control method and electronic device WO2019213820A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/085900 WO2019213820A1 (en) 2018-05-07 2018-05-07 Photographing control method and electronic device
CN201880070205.3A CN111279683A (en) 2018-05-07 2018-05-07 Shooting control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/085900 WO2019213820A1 (en) 2018-05-07 2018-05-07 Photographing control method and electronic device

Publications (1)

Publication Number Publication Date
WO2019213820A1 true WO2019213820A1 (en) 2019-11-14

Family

ID=68467670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/085900 WO2019213820A1 (en) 2018-05-07 2018-05-07 Photographing control method and electronic device

Country Status (2)

Country Link
CN (1) CN111279683A (en)
WO (1) WO2019213820A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369585A (en) * 2020-02-28 2020-07-03 上海顺久电子科技有限公司 Image processing method and device
CN116467607A (en) * 2023-03-28 2023-07-21 阿里巴巴(中国)有限公司 Information matching method and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025437A (en) * 2017-03-16 2017-08-08 南京邮电大学 Intelligent photographing method and device based on intelligent composition and micro- Expression analysis
CN107635095A (en) * 2017-09-20 2018-01-26 广东欧珀移动通信有限公司 Shoot method, apparatus, storage medium and the capture apparatus of photo
CN107679455A (en) * 2017-08-29 2018-02-09 平安科技(深圳)有限公司 Target tracker, method and computer-readable recording medium
CN107909629A (en) * 2017-11-06 2018-04-13 广东欧珀移动通信有限公司 Recommendation method, apparatus, storage medium and the terminal device of paster

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9892514B2 (en) * 2014-10-10 2018-02-13 Facebook, Inc. Post-manufacture camera calibration
CN107124555B (en) * 2017-05-31 2020-01-10 Oppo广东移动通信有限公司 Method and device for controlling focusing, computer equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025437A (en) * 2017-03-16 2017-08-08 南京邮电大学 Intelligent photographing method and device based on intelligent composition and micro- Expression analysis
CN107679455A (en) * 2017-08-29 2018-02-09 平安科技(深圳)有限公司 Target tracker, method and computer-readable recording medium
CN107635095A (en) * 2017-09-20 2018-01-26 广东欧珀移动通信有限公司 Shoot method, apparatus, storage medium and the capture apparatus of photo
CN107909629A (en) * 2017-11-06 2018-04-13 广东欧珀移动通信有限公司 Recommendation method, apparatus, storage medium and the terminal device of paster

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369585A (en) * 2020-02-28 2020-07-03 上海顺久电子科技有限公司 Image processing method and device
CN111369585B (en) * 2020-02-28 2023-09-29 上海顺久电子科技有限公司 Image processing method and device
CN116467607A (en) * 2023-03-28 2023-07-21 阿里巴巴(中国)有限公司 Information matching method and storage medium
CN116467607B (en) * 2023-03-28 2024-03-01 阿里巴巴(中国)有限公司 Information matching method and storage medium

Also Published As

Publication number Publication date
CN111279683A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
WO2019213819A1 (en) Photographing control method and electronic device
WO2019213818A1 (en) Photographing control method, and electronic device
WO2022028184A1 (en) Photography control method and apparatus, electronic device, and storage medium
WO2016011747A1 (en) Skin color adjustment method and device
US20090174805A1 (en) Digital camera focusing using stored object recognition
WO2020114087A1 (en) Method and device for image conversion, electronic equipment, and storage medium
CN112118380B (en) Camera control method, device, equipment and storage medium
WO2018120662A1 (en) Photographing method, photographing apparatus and terminal
CN106408603A (en) Camera method and device
CN103155533A (en) Camera system and method for taking photographs that correspond to user preferences
WO2019214574A1 (en) Image capturing method and apparatus, and electronic terminal
KR20100027700A (en) Photographing method and apparatus
WO2021169686A1 (en) Photo capture control method and apparatus and computer readable storage medium
EP3975046B1 (en) Method and apparatus for detecting occluded image and medium
CN103780843A (en) Image processing method and electronic device
CN108416337A (en) User is reminded to clean the method and device of camera lens
KR101394289B1 (en) Device and method for image photographing
WO2019213820A1 (en) Photographing control method and electronic device
TW201611605A (en) Electronic apparatus and image capture method
WO2017143778A1 (en) Automatic picture acquisition method and apparatus, and electronic device
CN105959563A (en) Image storing method and image storing apparatus
CN106412417A (en) Method and device for shooting images
US11961216B2 (en) Photography session assistant
CN105530439B (en) Method, apparatus and terminal for capture pictures
CN113079311B (en) Image acquisition method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18918112

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18918112

Country of ref document: EP

Kind code of ref document: A1