WO2022111072A1 - Image photographing method and apparatus, and electronic device, server and storage medium - Google Patents

Image photographing method and apparatus, and electronic device, server and storage medium Download PDF

Info

Publication number
WO2022111072A1
WO2022111072A1 PCT/CN2021/122907 CN2021122907W WO2022111072A1 WO 2022111072 A1 WO2022111072 A1 WO 2022111072A1 CN 2021122907 W CN2021122907 W CN 2021122907W WO 2022111072 A1 WO2022111072 A1 WO 2022111072A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
shooting
target
shooting parameters
target image
Prior art date
Application number
PCT/CN2021/122907
Other languages
French (fr)
Chinese (zh)
Inventor
吴佳涛
郭彦东
李亚乾
杨林
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022111072A1 publication Critical patent/WO2022111072A1/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
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Definitions

  • the present application relates to the technical field of image capturing, and more particularly, to an image capturing method, apparatus, electronic device, server, and storage medium.
  • the present application proposes an image capturing method, apparatus, electronic device, server and storage medium.
  • an embodiment of the present application provides an image capturing method, which is applied to an electronic device.
  • the method includes: acquiring a preview image corresponding to a current shooting scene; acquiring a shooting parameter corresponding to a target image matching the preview image , wherein the similarity between the target image and the preview image is greater than a preset threshold; and according to the shooting parameters, the current shooting scene is shot to obtain a shot image.
  • an embodiment of the present application provides an image capturing method, which is applied to a server.
  • the method includes: receiving a preview image corresponding to a current shooting scene sent by an electronic device; acquiring a target image corresponding to a target image that matches the preview image. shooting parameters, wherein the similarity between the target image and the preview image is greater than a preset threshold; send the shooting parameters to the electronic device, and the shooting parameters are used by the electronic device for the Shoot the current shooting scene.
  • an embodiment of the present application provides an image capturing apparatus, which is applied to an electronic device.
  • the apparatus includes: a first obtaining module, a second obtaining module, and a shooting module, wherein the first obtaining module is used to obtain The preview image corresponding to the current shooting scene; the second acquisition module is used to acquire the shooting parameters corresponding to the target image matching the preview image, wherein the similarity between the target image and the preview image is greater than that of the preview image.
  • a threshold is set; the shooting module is configured to shoot the current shooting scene according to the shooting parameters to obtain a shot image.
  • an embodiment of the present application provides an image capturing apparatus, which is applied to a server.
  • the apparatus includes: an image receiving module, a third obtaining module, and a parameter sending module, wherein the image receiving module is used to receive electronic equipment The sent preview image corresponding to the current shooting scene; the third acquisition module is used to acquire the shooting parameters corresponding to the target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold; the parameter sending module is configured to send the shooting parameters to the electronic device, and the shooting parameters are used by the electronic device to shoot the current shooting scene.
  • embodiments of the present application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs are configured to execute the image capturing method provided by the first aspect above.
  • an embodiment of the present application provides a server, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and accessed by Configured to be executed by the one or more processors, the one or more programs are configured to execute the image capturing method provided by the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the image provided in the first aspect above Shooting method.
  • an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the image provided in the second aspect above Shooting method.
  • FIG. 1 shows a flowchart of an image capturing method according to an embodiment of the present application.
  • FIG. 2 shows a flowchart of an image capturing method according to another embodiment of the present application.
  • FIG. 3 shows a schematic diagram of an interface provided by another embodiment of the present application.
  • FIG. 4 shows another schematic diagram of an interface provided by another embodiment of the present application.
  • FIG. 5 shows a flowchart of an image capturing method according to still another embodiment of the present application.
  • FIG. 6 shows a schematic diagram of a scenario provided by another embodiment of the present application.
  • FIG. 7 shows a schematic diagram of another scenario provided by yet another embodiment of the present application.
  • FIG. 8 shows a flowchart of an image capturing method according to still another embodiment of the present application.
  • FIG. 9 shows a schematic diagram of an interface provided by another embodiment of the present application.
  • FIG. 10 shows another interface schematic diagram provided by another embodiment of the present application.
  • FIG. 11 shows a flowchart of an image capturing method according to yet another embodiment of the present application.
  • FIG. 12 shows a schematic diagram of an interface provided by yet another embodiment of the present application.
  • FIG. 13 shows a flowchart of an image capturing method according to still another embodiment of the present application.
  • FIG. 14 shows a block diagram of an image capturing apparatus according to an embodiment of the present application.
  • FIG. 15 shows a block diagram of an image capturing apparatus according to another embodiment of the present application.
  • FIG. 16 is a block diagram of an electronic device for executing an image capturing method according to an embodiment of the present application according to an embodiment of the present application.
  • FIG. 17 is a block diagram of a server for executing an image capturing method according to an embodiment of the present application according to an embodiment of the present application.
  • FIG. 18 is a storage unit for storing or carrying a program code for implementing the image capturing method according to the embodiment of the present application according to the embodiment of the present application.
  • the penetration rate of mobile terminals in daily life is close to universal coverage.
  • the camera module has become the main function point of the smart terminal. Users can take photos and videos through the camera function of the mobile terminal. Users can use the camera function of the mobile terminal to take photos and videos to record the moments of life, study and work.
  • the inventor proposes an image capturing method, device, electronic device, server, and storage medium provided by the embodiments of the present application, which can realize that during capturing, according to the capturing parameters of the target image matching the preview image, the current capturing image can be captured.
  • the shooting of the scene does not require the user to manually set shooting parameters, which improves the convenience of the user's operation, and in addition, can also obtain high-quality shooting images.
  • the specific image capturing method will be described in detail in the following embodiments.
  • FIG. 1 shows a schematic flowchart of an image capturing method provided by an embodiment of the present application.
  • the image capturing method is applied to the image capturing apparatus 400 shown in FIG. 14 and the electronic device 100 ( FIG. 16 ) equipped with the image capturing apparatus 400 .
  • the following will take an electronic device as an example to describe the specific process of this embodiment.
  • the electronic device applied in this embodiment may be a smart phone, a tablet computer, a smart watch, smart glasses, etc., which is not limited here. .
  • the flow shown in FIG. 1 will be described in detail below, and the image capturing method may specifically include the following steps:
  • Step S110 Obtain a preview image corresponding to the current shooting scene.
  • the electronic device may acquire a preview image corresponding to the current shooting scene when it is in the shooting mode.
  • the current shooting scene is the real scene that needs to be shot currently, for example, the seaside at night.
  • the electronic device may display a photographing interface, where the photographing interface is an interface displayed in a photographing mode.
  • a shooting interface can be displayed.
  • the shooting mode may be when the electronic device detects that the system camera is turned on, runs the system camera in the foreground to enter the shooting mode, and displays the shooting interface of the system camera.
  • the electronic device can obtain a preview image of the current shooting scene through the camera, and display the preview image in the preview area in the shooting interface.
  • the shooting interface can also include a shooting mode selection area, an album button, a camera switching button, and a shooting parameter setting button.
  • the shooting mode may also be that when the electronic device detects that the third-party camera application is turned on, the third-party camera application is run in the foreground to enter the shooting mode, and the shooting interface of the third-party system camera is displayed; When it is detected that the application is running, the camera is called to shoot, and the shooting mode is entered, and the shooting interface is displayed.
  • the above-mentioned system camera, third-party camera application and other camera applications can be opened by detecting the touch operation on the control (icon) of the application. Of course, the opening of the camera application can also be triggered by voice control. Do limit.
  • Step S120 Acquire shooting parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
  • the electronic device can obtain the shooting parameters corresponding to the target image matching the preview image, so as to directly adjust the shooting parameters according to the shooting parameters.
  • the target image is an image whose similarity between the captured image and the preview image is greater than a preset threshold, and the specific value of the preset threshold may not be limited.
  • the preset threshold may be set to 50% to 70%. Therefore, a target image similar to the preview image can be easily obtained.
  • the preset threshold can be set to 70% to 90%, so that the target image similar to the preview image can be obtained more accurately.
  • the similarity between the target image and the preview image is greater than the preset threshold, it means that the image content in the preview image is similar to the image content in the target image.
  • the target image is a self-portrait image when taking a selfie at scenic spot A
  • the preview image is the currently collected image of scenic spot A.
  • the target image and the image content in the preview image are similar.
  • the target image is an indoor pair of an image. An image taken by a husky dog, the preview image is an image taken indoors of another husky dog, and the content of the target image and the image in the preview image are also similar.
  • the above preset threshold may be a preset value, for example, when a camera application is installed, or when an operating system is installed (the operating system comes with a system camera application), these camera applications have their own preset thresholds;
  • the preset threshold value may also be set by the user, and the user may set the preset threshold value lower or higher according to his own needs and preferences to meet his own shooting needs.
  • an image library may be stored in the electronic device, the image library contains a large number of images, these images may be images collected in different shooting scenarios, and the electronic device also stores shooting parameters of these images.
  • These images stored by the electronic device may be images historically photographed by the electronic device, images acquired from a server, and the like, and the specific manner in which the electronic device acquires these images may not be limited.
  • the electronic device can extract the preview image and the image features of each image in the image library through a model such as a deep neural network, and then determine the similarity between the preview image and each image according to the similarity between the image features.
  • the image quality scores of these images may be higher than the preset score, so that when the matched shooting parameters of the target image are used to shoot the image of the current shooting scene, an image with higher image quality can be obtained.
  • the score of image quality can be measured by image parameters such as sharpness, resolution, sharpness, etc., and corresponding standard values can be set for each type of image parameters, and the difference between these image parameters of the image and the corresponding standard values , to determine the image quality score; the image quality score can also be obtained through a pre-trained image quality evaluation model to obtain its corresponding image quality score; the image quality score can also be the user's score for the image quality.
  • the electronic device can also query the target image matching the preview image and the shooting parameters of the target image from the corresponding service platform through the network.
  • the above shooting parameters may include, but are not limited to: zoom factor, focal length, sensitivity, exposure duration, exposure value, aperture size, or contrast.
  • the specific shooting parameters may not be limited.
  • Step S130 Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
  • the current shooting scene can be shot according to the obtained shooting parameters, so as to obtain the shooting image required by the user.
  • the whole process There is no need for the user to manually set the shooting parameters, which reduces the user's operations during the shooting process and improves the user experience.
  • images with better image quality can also be captured for different shooting scenarios.
  • FIG. 2 shows a schematic flowchart of an image capturing method provided by another embodiment of the present application.
  • the image capturing method is applied to the above-mentioned electronic device, and the flow shown in FIG. 2 will be described in detail below.
  • the image capturing method may specifically include the following steps:
  • Step S210 Obtain a preview image corresponding to the current shooting scene.
  • step S210 reference may be made to the content of the foregoing embodiments, and details are not described herein again.
  • Step S220 Acquire a target image matching the preview image.
  • the electronic device may also obtain the target image to display the target image, so that the user can view the target image and judge whether it is satisfied with the effect of the target image. and quality, then determine whether to use the acquired shooting parameters to shoot.
  • Step S230 Display the target image in a preset area in the shooting interface.
  • the electronic device may display the target image in a preset area in the shooting interface.
  • the preset area may be a preview area of the shooting interface, and of course, the preset area may also be other areas in the shooting interface, which is not limited herein.
  • the target image can be displayed in a partial area (such as the middle area) in the preview area, which is convenient for users to view the target image; for another example, in the preview area, it can be divided into two parts, and a part of the area is used to display the preview image, and another part of the area is used to display the target image, so that the user can view the target image conveniently, and can compare the preview image with the target image, so as to better confirm whether to use the shooting parameters for shooting.
  • the electronic device may acquire multiple target images that match the preview image.
  • the electronic device may When there are multiple target images, the electronic device may When an image is displayed, it can be displayed in the form of thumbnails, so that multiple target images can be displayed in the interface.
  • the user needs to zoom in to view a certain target image, he can select the target image to be viewed. At this time, the electronic device responds to the viewing operation and displays the selected target image in an enlarged manner.
  • the electronic device may also sort the plurality of target images, so that some target images that are more likely to be selected by the user are in the front position.
  • the electronic device displays multiple target images in a preset area, which may include: when there are multiple target images, acquiring the number of times each target image is selected; based on the selection of each target image The selection times of the multiple target images are sorted in descending order of the selection times; based on the sorting result, the multiple target images are displayed as thumbnails in the preset area.
  • the number of times the target image is selected may be the number of times the shooting parameters of the target image are selected in historical shooting.
  • the selection times may be recorded locally by the electronic device; when the electronic device queries the service platform for the target image matching the preview image, the electronic device may obtain the selection times from the service platform .
  • the multiple target images are displayed as thumbnails in the preset area, which can make it easier for the user to see that the number of selections is high. These images are often also the images that the user may choose to meet the user's needs.
  • the electronic device can also screen out the target images whose selection times are greater than the preset times according to the selected times of the target images; then perform the acquisition of the selected times of each target image. from the step of displaying the plurality of target images as thumbnails in the preset area based on the sorting result.
  • the target image when the target image is displayed in the preview area, the target image may be at a different level from the preview area in the interface, which is convenient for the user to view the target image.
  • the level where the target image is located in the interface may be higher than the level where the preview image is located in the interface.
  • Step S240 Obtain the shooting parameters corresponding to the target image matched with the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
  • Step S250 When receiving the instruction for selecting the target image, adjust the camera shooting parameters to the shooting parameters corresponding to the target image.
  • the electronic device after the electronic device displays the target image and acquires the shooting parameters, before shooting the current shooting scene according to the shooting parameters, the electronic device can determine whether the user selects the target image to determine whether the user It is desired to capture an image with the capture parameters of the target image.
  • the electronic device detects the selection instruction for the target image, it adjusts the camera shooting parameters to the shooting parameters corresponding to the target image, so that the electronic device can use the shooting parameters to shoot the current shooting scene. For example, referring to FIG. 3, the user can select the displayed target image by clicking.
  • the electronic device may also output prompt information to prompt the user whether to shoot with the shooting parameters.
  • the prompt information may be a pop-up window prompt, a voice prompt, etc., and the specific form of the prompt information may not be limited.
  • a pop-up window can display the prompt content: whether to shoot with the shooting parameters of the image, and display the controls for the user to select, only when the user selects the control "Yes", will the shooting be taken. The parameters are adjusted to the shooting parameters corresponding to the target image.
  • the user may also select shooting parameters corresponding to at least two target images.
  • the electronic device detects the selection instruction for the shooting parameters of the at least two target images, it can set the shooting parameters according to the shooting parameters of the selected at least two target images, that is, according to the shooting parameters of the selected at least two target images. parameters, generate new shooting parameters, and adjust the camera shooting parameters to the new shooting parameters.
  • the selection instruction for the shooting parameters of at least two target images is detected, the selection times of these selected target images can be obtained, and then the weight of each target image is generated according to the selection times, and then based on the selection times of each target image The shooting parameters and weights of the target image are used to generate new shooting parameters.
  • the sum of the selection times of the selected target images can be obtained, that is, the selection times of each target image are added, and then the weight of each target image is obtained based on the ratio of the selection times of each target image to the sum.
  • the shooting parameters can be weighted and summed according to each shooting parameter in the shooting parameters, and then according to the weights, to obtain new shooting parameters.
  • the selected target images include image A and image B.
  • the above is only an example, and does not constitute a limitation on the way of actually generating the shooting parameters.
  • Step S260 Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
  • the capturing parameters corresponding to the target image matching the preview image are acquired, and the target image is also acquired for display, and the capturing parameters are only displayed when the user selects the target image Adjust to the shooting parameters of the target image, and then shoot the current shooting scene according to the shooting parameters to obtain a shooting image, so that when shooting, according to the shooting parameters of the target image matching the preview image, the current shooting can be achieved.
  • the shooting of the scene does not require the user to manually set shooting parameters, which improves the convenience of the user's operation, and in addition, can also obtain high-quality shooting images.
  • the user can determine whether to select the corresponding shooting parameters according to the displayed target image, which can meet the needs of the user and improve the user experience.
  • FIG. 5 shows a schematic flowchart of an image capturing method provided by another embodiment of the present application.
  • the image capturing method is applied to the above-mentioned electronic device.
  • FIG. 6 shows a network structure diagram of an application scenario of this embodiment of the present application.
  • the electronic device 100 is connected to the server 200 in communication.
  • the server 200 acquires the shooting parameters corresponding to the target image matched with the preview image.
  • the electronic device 100 may be a mobile phone, a tablet computer, or the like; the server 200 may be a traditional server, a cloud server, or the like.
  • the device types of the electronic device 100 and the server 200 and the type and protocol of the communication network between the electronic device 100 and the server 200 are not limited.
  • the flow shown in FIG. 5 will be described in detail below, and the image capturing method may specifically include the following steps:
  • Step S310 Obtain a preview image corresponding to the current shooting scene.
  • Step S320 Send the image information of the preview image to the server.
  • the electronic device may send image information of the preview image to the server, so as to acquire the shooting parameters corresponding to the target image matching the preview image from the server.
  • the image information may include at least a preview image. Understandably, after acquiring the preview image, the electronic device directly sends the preview image to the server, and the server can query the shooting parameters of the target image matching the preview image according to the preview image. There is no need to extract the image feature information corresponding to the preview image on the side of the electronic device, and then send it to the server for query, which effectively reduces the processing amount of the electronic device and improves the running speed of the electronic device.
  • the image information can also include other information, for example, it can also include the environmental information of the current shooting scene, and the environmental information can include geographic location, weather, lighting, time, etc., so that the server can obtain a more matching target image.
  • Step S330 Receive the shooting parameters corresponding to the target image returned by the server, wherein the similarity between the target image and the preview image is greater than a preset threshold.
  • the server determines the target image that matches the preview image after matching the similarity between the images, and then the server can match the shooting parameters corresponding to the target image.
  • the electronic device can receive the shooting parameters corresponding to the target image returned by the server.
  • the server can also return the target image to the electronic device, and the electronic device can display the target image by referring to the method of displaying the target image in the previous embodiment, so that the user can check the effect and image quality of the target image, and then display the target image. Determine whether to use the shooting parameters of the target image to shoot the current shooting scene.
  • the above servers may include servers corresponding to application stores and/or theme stores.
  • the electronic device can obtain a similarity image (target image) and shooting parameters matching the preview image from the application store and the theme store.
  • the application store and the server corresponding to the theme store can store a large number of interface themes, and the shooting parameters of the images corresponding to these interface themes can be stored.
  • the server can also download the interface theme of the target image through a corresponding operation.
  • the image capturing method may further include: sending a download request to the server, where the download request is used to download the interface theme corresponding to the target image; receiving the interface theme returned by the server according to the download request, and sending the download request to the server.
  • the interface theme is saved. Therefore, a new traffic diversion method can be provided for the application store and the theme store, and users are diverted to the store during the image shooting stage to recommend and purchase wallpapers and themes.
  • Step S340 Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
  • the electronic device After acquiring the preview image of the current shooting scene, the electronic device sends the preview image to the server, so as to obtain the shooting parameters of the target image matching the preview image from the server. Therefore, the shooting parameters can be obtained more quickly and the shooting experience can be improved.
  • the electronic device does not need to store a large amount of images and match the similarity between the images, which effectively saves the storage space and processing volume of the electronic device and improves the running speed of the electronic device.
  • FIG. 8 shows a schematic flowchart of an image capturing method provided by still another embodiment of the present application.
  • the image capturing method is applied to the above-mentioned electronic device, and the flow shown in FIG. 8 will be described in detail below.
  • the image capturing method may specifically include the following steps:
  • Step S410 Obtain a preview image corresponding to the current shooting scene.
  • Step S420 Send the image information of the preview image to the server.
  • Step S430 Receive the shooting parameters corresponding to the target image returned by the server, wherein the similarity between the target image and the preview image is greater than a preset threshold.
  • Step S440 Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
  • Step S450 If an adjustment instruction for the shooting parameter is received within a preset time period, adjust the shooting parameter based on the adjustment instruction.
  • the electronic device uses the acquired shooting parameters to shoot the current shooting scene to obtain a shot image
  • the user when the user is not satisfied with the shooting effect of the shot image obtained by shooting, the user can also manually adjust the shooting parameters and reset the to shoot.
  • the electronic device may display an interface for adjusting the shooting parameters in response to the user's operation.
  • the shooting interface A1 so as to adjust the shooting parameters on the basis of the shooting parameters corresponding to the target image. , so that the subsequent shooting can obtain the image that the user is satisfied with.
  • adjusting the shooting parameters on the basis of the shooting parameters corresponding to the target image also avoids setting the shooting parameters when the user has no direction, which facilitates the user to adjust the shooting parameters.
  • Step S460 Re-shoot the current shooting scene based on the adjusted shooting parameters, and obtain the latest shot image as the current shot image.
  • the electronic device after the electronic device adjusts the shooting parameters according to the adjustment instruction of the user, the electronic device can re-shoot the current shooting scene based on the adjusted shooting parameters, and obtain the latest shooting image as the current shooting image. image. After acquiring the current shot image, the electronic device may store the current shot image.
  • the electronic device may store the current captured image in the case of receiving a storage instruction for storing the currently captured image.
  • the electronic device can also delete the previous captured image in this case, that is, the captured image obtained by the shooting parameters corresponding to the target image. Take an image to delete.
  • Step S470 Obtain the image quality score corresponding to the currently captured image as the first score, and the image quality score corresponding to the target image as the second score.
  • the current shooting image is obtained by re-shooting. Therefore, the shooting parameters corresponding to the current shooting image are different from the shooting parameters corresponding to the target image, and the shooting effects and quality of the two images will also be different.
  • the electronic device may also obtain the image quality score corresponding to the currently captured image as the first score, and obtain the image quality score corresponding to the target image as the second score, so as to compare the first score with the second score, Thereby, it is determined whether the image quality of the currently captured image is better than that of the target image.
  • the first score when the first score is greater than the second score, it means that the image quality of the currently captured image is better than that of the target image; when the first score is less than or equal to the second score, the image quality of the currently captured image is The image quality is no better than the capture quality of the target image.
  • the image quality score can be determined by image parameters such as sharpness, resolution, sharpness, etc.
  • image parameters such as sharpness, resolution, sharpness, etc.
  • each type of image parameter can be set with a corresponding standard value, and these image parameters of the image and the corresponding image parameters can be determined.
  • the difference between the standard values determines the image quality score; the image quality score can also obtain its corresponding image quality score through the pre-trained image quality evaluation model; the image quality score can also be used for the user's score on the image quality .
  • the image when the image quality score is determined by the image quality evaluation model, the image can be input into the image quality evaluation model to obtain the image quality score output by the image quality evaluation model.
  • the image quality evaluation model is a neural network model trained with multiple sample images, and the multiple sample images include images obtained by processing the original image with different degrees of distortion and/or different degrees of sharpening.
  • the image quality evaluation model is obtained by training the following steps: constructing a training sample, the training sample includes multiple sample images and an image quality score corresponding to each sample image, and the sample image may include multiple original images and each original image Corresponding images obtained after processing with different distortion degrees and/or different sharpening degrees; and then use the sample training set to train the neural network model to obtain an image quality evaluation model.
  • Step S480 If the first score is greater than the second score, send the currently captured image and the adjusted shooting parameters to the server.
  • the electronic device can send the current captured image and the adjusted shooting parameters (that is, the shooting parameters corresponding to the current captured image) to the server, so as to realize the sharing of the captured image and the shooting parameters, which is convenient for other users to use the shooting parameters.
  • the electronic device may display a control for triggering sharing in the shooting interface, and when detecting a triggering operation on the control, send the current shot image and the adjusted shooting parameters to the server.
  • the electronic device when detecting the operation of the control, can output prompt information, the prompt information is used to prompt the user whether to share the captured image and its shooting parameters, and display the corresponding control, For the user to perform a confirmation operation, when the operation of the control used for confirmation is detected, the current shot image and the adjusted shooting parameters are sent to the server.
  • the electronic device after acquiring the preview image of the current shooting scene, the electronic device sends the preview image to the server, so as to obtain the shooting parameters of the target image matching the preview image from the server. Therefore, the shooting parameters can be obtained more quickly and the shooting experience can be improved.
  • the electronic device does not need to store a large amount of images and match the similarity between the images, which effectively saves the storage space and processing volume of the electronic device and improves the running speed of the electronic device.
  • the shooting parameters can be adjusted on the basis of the shooting parameters of the target image, and then the image is captured to meet the needs of the user, and the relative target of the quality of the newly captured captured image can also be achieved.
  • the image quality of the image is better, the currently shot image and its corresponding shooting parameters are shared, so that other users can use the shooting parameters during shooting.
  • FIG. 11 shows a schematic flowchart of an image capturing method provided by yet another embodiment of the present application.
  • the image capturing method is applied to the above-mentioned electronic device, and the flow shown in FIG. 11 will be described in detail below.
  • the image capturing method may specifically include the following steps:
  • Step S510 Obtain a preview image corresponding to the current shooting scene.
  • Step S520 Acquire shooting parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
  • Step S530 Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
  • Step S540 Obtain the similarity between the captured image and at least one image in each album as the album similarity.
  • the electronic device may group the stored images when the electronic device is in an idle state to form multiple photo albums.
  • the current image in the stored image can be searched and matched with other images to find similar images of the image, and the current image and its similar images can be classified into a group to obtain the grouping of the image; for the next image If it exists in the existing group, skip the image, if it does not exist in the existing group, make the current image in the stored image similar to other images
  • Each group can correspond to an album, thereby generating different albums.
  • the electronic device may also acquire the similarity between the images in each group, find out the images with higher similarity, prompt the user whether to delete them, and complete the deduplication processing of the images in the album.
  • the electronic device may also acquire the image quality score in each image group, and first mark the images whose image quality scores are higher than the first threshold to prompt the user that the image is of high quality; An image with an image quality score lower than a second threshold is marked with a second mark to prompt the user that the quality of the image is lower, wherein the second threshold is smaller than the first threshold.
  • the manner of obtaining the image quality score may refer to the content of the foregoing embodiments, and details are not described herein again.
  • the electronic device may first mark images 4 and 5 whose image quality scores are higher than the first threshold, and mark images 7 and 5 whose image quality scores are lower than the second threshold in the album interface A2 9. A second mark is made, and the first mark and the second mark are of different colors.
  • the electronic device can obtain the similarity between the captured image and at least one image in each album as the album similarity after obtaining the captured image in the above manner.
  • Step S550 Group the captured images into target albums based on the album similarity.
  • the electronic device may determine the highest similarity, and group the captured images into targets corresponding to the highest similarity album, thereby completing the grouping of newly acquired captured images.
  • Step S560 Obtain the image quality score of each image in the target album.
  • the image quality score of each image in the target album may also be obtained.
  • the manner of obtaining the image quality score may refer to the content of the foregoing embodiments, and details are not described herein again.
  • Step S570 Obtain an image whose image quality score does not meet the preset score condition, as a recommended image to be deleted.
  • images whose image quality scores do not meet the preset score conditions may be screened as recommended images for deletion.
  • the preset score condition may be that the image quality score is lower than the specified score; or the image quality score may be the lowest.
  • Step S580 Output deletion prompt information, where the deletion prompt information is used to prompt the user to delete the recommended deletion image.
  • prompt information may be deleted, and the deletion prompt information is used to prompt the user to delete the image recommended for deletion.
  • the prompt information can be output in the form of a pop-up window prompt; as another way, the electronic device can mark the image to be deleted in the display interface of the target album.
  • the current shooting scene is shot to obtain the shooting image, so that when shooting, According to the shooting parameters of the target image matching the preview image, the current shooting scene is shot, and the user does not need to manually set the shooting parameters, which improves the convenience of the user's operation, and can also obtain a high-quality shot image.
  • the photographed images are grouped, and the quality evaluation of the images in the grouped albums is performed, which reduces the user's management operations on the albums and provides users with a more intelligent server. Further improve the user experience.
  • FIG. 13 shows a schematic flowchart of an image capturing method provided by still another embodiment of the present application.
  • the image capturing method is applied to a server, and the server may be a physical server or a traditional server, etc., which is not limited herein.
  • the flow shown in FIG. 13 will be described in detail below, and the image capturing method may specifically include the following steps:
  • Step S610 Receive a preview image corresponding to the current shooting scene sent by the electronic device.
  • Step S620 Acquire shooting parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
  • Step S630 Send the shooting parameters to the electronic device, where the shooting parameters are used by the electronic device to shoot the current shooting scene.
  • the electronic device may acquire the shooting parameters for image shooting by querying the shooting parameters of the target image matching the preview image from the server.
  • FIG. 14 shows a structural block diagram of an image capturing apparatus 400 provided by an embodiment of the present application.
  • the image capturing apparatus 400 applies the above-mentioned electronic equipment, and the image capturing apparatus 400 includes: a first acquiring module 410 , a second acquiring module 420 and a capturing module 430 .
  • the first acquisition module 410 is used to acquire the preview image corresponding to the current shooting scene;
  • the second acquisition module 420 is used to acquire the shooting parameters corresponding to the target image matching the preview image, wherein the target The similarity between the image and the preview image is greater than a preset threshold;
  • the shooting module 430 is configured to shoot the current shooting scene according to the shooting parameters to obtain a shooting image.
  • the image capturing apparatus 400 may further include: an image acquisition module and an image display module.
  • the image acquisition module is used to acquire a target image matching the preview image before the current shooting scene is shot according to the shooting parameters; the image display module is used to display the target image in the shooting interface. Preset area for display.
  • the image capturing apparatus 400 may further include: a parameter adjustment module.
  • the parameter adjustment module is used for displaying the target image in the preset area in the shooting interface and shooting the current shooting scene according to the shooting parameters, and obtaining the shooting image, after receiving the image.
  • the camera shooting parameters are adjusted to the shooting parameters corresponding to the target image.
  • the image display module can be specifically used to: when there are multiple target images, obtain the number of times each target image is selected; The target images are sorted in descending order of the selection times; based on the sorting result, the plurality of target images are displayed in the preset area as thumbnails.
  • the second obtaining module 420 may be specifically configured to: send the image information of the preview image to the server; and receive the shooting parameters corresponding to the target image returned by the server.
  • the server includes a server corresponding to an application store and/or a theme store.
  • the image capturing apparatus 400 may further include a request sending module and a subject receiving module.
  • the request sending module is used to send a download request to the server, and the download request is used to download the interface theme corresponding to the target image;
  • the theme receiving module is used to receive the interface theme returned by the server according to the download request, and to The interface theme is saved.
  • the image capturing apparatus 400 may further include an adjustment instruction response module.
  • the adjustment instruction response module is configured to, after the current shooting scene is shot according to the shooting parameters and a shot image is obtained, if an adjustment instruction for the shooting parameters is received within a preset time period, based on the adjustment command to adjust the shooting parameters; the shooting module 430 may also be configured to re-shoot the current shooting scene based on the adjusted shooting parameters, and obtain the latest shooting image as the current shooting image.
  • the image capturing apparatus 400 may further include a first score obtaining module and an image sending module.
  • the first score acquisition module is used to obtain the image quality score corresponding to the currently captured image as the first score, and the image quality score corresponding to the target image as the second score; The first score is greater than the second score, and the currently shot image and the adjusted shooting parameter are sent to the server.
  • the image capturing apparatus 400 may further include a similarity obtaining module and an image grouping module.
  • the similarity obtaining module is used to obtain the similarity between the captured image and at least one image in each album after capturing the current shooting scene according to the shooting parameters and obtaining the captured image, as Album similarity;
  • the image grouping module is configured to group the captured images into target albums based on the album similarity.
  • the image capturing apparatus 400 may further include a second score acquisition module, an image screening module, and an information prompt module.
  • the second score obtaining module is used to obtain the image quality score of each image in the target album;
  • the image screening module is used to obtain the image whose image quality score does not meet the preset score conditions, as a recommended image to be deleted;
  • information prompts The module is configured to output deletion prompt information, where the deletion prompt information is used to prompt the user to delete the recommended deletion image.
  • FIG. 15 shows a structural block diagram of an image capturing apparatus 400 provided by another embodiment of the present application.
  • the image capturing apparatus 500 applies the above server, and the image capturing apparatus 500 includes: an image receiving module 510 , a third acquiring module 520 and a parameter sending module 530 .
  • the image receiving module 510 is used for receiving the preview image corresponding to the current shooting scene sent by the electronic device;
  • the third acquiring module 520 is used for acquiring the shooting parameters corresponding to the target image matching the preview image, wherein, The similarity between the target image and the preview image is greater than a preset threshold;
  • the parameter sending module 530 is configured to send the shooting parameters to the electronic device, and the shooting parameters are used by the electronic device to The current shooting scene is shot.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • the shooting parameters corresponding to the target image matching the preview image are obtained, wherein the similarity between the target image and the preview image is is greater than the preset threshold, according to the shooting parameters, the current shooting scene is shot to obtain a shot image, so that when shooting, the current shooting scene can be shot according to the shooting parameters of the target image matching the preview image, without the need for
  • the electronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, a smart watch, and smart glasses.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and configured to be executed by One or more processors 110 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120.
  • the processor 110 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the processor 110, and is implemented by a communication chip alone.
  • the memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data (such as phone book, audio and video data, chat record data) created by the electronic device 100 during use.
  • FIG. 17 shows a structural block diagram of a server provided by an embodiment of the present application.
  • the server 200 may be a physical server, a cloud server, or the like.
  • the server 200 in the present application may include one or more of the following components: a processor 210, a memory 220, and one or more application programs, wherein one or more application programs may be stored in the memory 220 and configured to be executed by a
  • the processor or processors 210 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • Processor 210 may include one or more processing cores.
  • the processor 210 uses various interfaces and lines to connect various parts of the entire server 200, and executes the server by running or executing the instructions, programs, code sets or instruction sets stored in the memory 220, and calling the data stored in the memory 220. 200 various functions and processing data.
  • the processor 210 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • a hardware form is implemented.
  • the processor 210 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, and the like.
  • the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 210, and is implemented by a communication chip alone.
  • the memory 220 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 220 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data created by the server 200 in use (eg phone book, audio and video data, chat record data) and the like.
  • FIG. 18 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 800 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium.
  • Computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps in the above-described methods.
  • the program codes can be read from or written to one or more computer program products.
  • Program code 810 may be compressed, for example, in a suitable form.

Abstract

Disclosed in the present application are an image photographing method and apparatus, and an electronic device, a server and a storage medium. The image photographing method comprises: acquiring a preview image corresponding to the current photographic scene; acquiring photographic parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold; and photographing the current photographic scene according to the photographic parameters to obtain a photographed image. By means of the method, the efficiency and quality of photography can be improved.

Description

图像拍摄方法、装置、电子设备、服务器及存储介质Image capturing method, device, electronic device, server and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年11月27日提交的申请号为202011359801.9的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority to Chinese Application No. 202011359801.9 filed on November 27, 2020, the entire contents of which are hereby incorporated by reference for all purposes.
技术领域technical field
本申请涉及图像拍摄技术领域,更具体地,涉及一种图像拍摄方法、装置、电子设备、服务器及存储介质。The present application relates to the technical field of image capturing, and more particularly, to an image capturing method, apparatus, electronic device, server, and storage medium.
背景技术Background technique
电子设备,例如手机、平板电脑等,已经成为人们日常生活中最常用的消费型电子产品之一。随着科技水平的发展,电子设备常会设置有摄像头,从而实现拍摄功能。在利用移动终端进行拍摄时,通常会存在针对当前拍摄场景对拍摄参数(例如焦距、变焦倍数、亮度、曝光度等)进行调整的情况,在传统的拍摄技术中,虽然移动终端上设置了各种设置项用于对不同拍摄参数进行设置,但是仍然存在不方便用户对拍摄参数进行调整操作的问题。Electronic devices, such as mobile phones, tablet computers, etc., have become one of the most commonly used consumer electronic products in people's daily life. With the development of science and technology, electronic devices are often provided with cameras to realize the shooting function. When shooting with a mobile terminal, it is usually necessary to adjust shooting parameters (such as focal length, zoom factor, brightness, exposure, etc.) for the current shooting scene. In traditional shooting techniques, although various settings are set on the mobile terminal These setting items are used to set different shooting parameters, but there is still a problem that it is inconvenient for users to adjust the shooting parameters.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本申请提出了一种图像拍摄方法、装置、电子设备、服务器及存储介质。In view of the above problems, the present application proposes an image capturing method, apparatus, electronic device, server and storage medium.
第一方面,本申请实施例提供了一种图像拍摄方法,应用于电子设备,所述方法包括:获取当前拍摄场景对应的预览图像;获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。In a first aspect, an embodiment of the present application provides an image capturing method, which is applied to an electronic device. The method includes: acquiring a preview image corresponding to a current shooting scene; acquiring a shooting parameter corresponding to a target image matching the preview image , wherein the similarity between the target image and the preview image is greater than a preset threshold; and according to the shooting parameters, the current shooting scene is shot to obtain a shot image.
第二方面,本申请实施例提供了一种图像拍摄方法,应用于服务器,所述方法包括:接收电子设备发送的当前拍摄场景对应的预览图像;获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;将所述拍摄参数发送至所述电子设备,所述拍摄参数用于所述电子设备对所述当前拍摄场景进行拍摄。In a second aspect, an embodiment of the present application provides an image capturing method, which is applied to a server. The method includes: receiving a preview image corresponding to a current shooting scene sent by an electronic device; acquiring a target image corresponding to a target image that matches the preview image. shooting parameters, wherein the similarity between the target image and the preview image is greater than a preset threshold; send the shooting parameters to the electronic device, and the shooting parameters are used by the electronic device for the Shoot the current shooting scene.
第三方面,本申请实施例提供了一种图像拍摄装置,应用于电子设备,所述装置包括:第一获取模块、第二获取模块以及拍摄模块,其中,所述第一获取模块用于获取当前拍摄场景对应的预览图像;所述第二获取模块用于获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;所述拍摄模块用于根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。In a third aspect, an embodiment of the present application provides an image capturing apparatus, which is applied to an electronic device. The apparatus includes: a first obtaining module, a second obtaining module, and a shooting module, wherein the first obtaining module is used to obtain The preview image corresponding to the current shooting scene; the second acquisition module is used to acquire the shooting parameters corresponding to the target image matching the preview image, wherein the similarity between the target image and the preview image is greater than that of the preview image. A threshold is set; the shooting module is configured to shoot the current shooting scene according to the shooting parameters to obtain a shot image.
第四方面,本申请实施例提供了一种图像拍摄装置,应用于服务器,所述装置包括:图像接收模块、第三获取模块以及参数发送模块,其中,所述图像接收模块用于接收电子设备发送的当前拍摄场景对应的预览图像;所述第三获取模块用于获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;所述参数发送模块用于将所述拍摄参数发送至所述电子设备,所述拍摄参数用于所述电子设备对所述当前拍摄场景进行拍摄。In a fourth aspect, an embodiment of the present application provides an image capturing apparatus, which is applied to a server. The apparatus includes: an image receiving module, a third obtaining module, and a parameter sending module, wherein the image receiving module is used to receive electronic equipment The sent preview image corresponding to the current shooting scene; the third acquisition module is used to acquire the shooting parameters corresponding to the target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold; the parameter sending module is configured to send the shooting parameters to the electronic device, and the shooting parameters are used by the electronic device to shoot the current shooting scene.
第五方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多 个处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的图像拍摄方法。In a fifth aspect, embodiments of the present application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs are configured to execute the image capturing method provided by the first aspect above.
第六方面,本申请实施例提供了一种服务器,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述第二方面提供的图像拍摄方法。In a sixth aspect, an embodiment of the present application provides a server, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and accessed by Configured to be executed by the one or more processors, the one or more programs are configured to execute the image capturing method provided by the second aspect.
第七方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的图像拍摄方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the image provided in the first aspect above Shooting method.
第八方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第二方面提供的图像拍摄方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the image provided in the second aspect above Shooting method.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了根据本申请一个实施例的图像拍摄方法流程图。FIG. 1 shows a flowchart of an image capturing method according to an embodiment of the present application.
图2示出了根据本申请另一个实施例的图像拍摄方法流程图。FIG. 2 shows a flowchart of an image capturing method according to another embodiment of the present application.
图3示出了本申请另一个实施例提供的一种界面示意图。FIG. 3 shows a schematic diagram of an interface provided by another embodiment of the present application.
图4示出了本申请另一个实施例提供的另一种界面示意图。FIG. 4 shows another schematic diagram of an interface provided by another embodiment of the present application.
图5示出了根据本申请又一个实施例的图像拍摄方法流程图。FIG. 5 shows a flowchart of an image capturing method according to still another embodiment of the present application.
图6示出了本申请又一个实施例提供的一种场景示意图。FIG. 6 shows a schematic diagram of a scenario provided by another embodiment of the present application.
图7示出了本申请又一个实施例提供的另一种场景示意图。FIG. 7 shows a schematic diagram of another scenario provided by yet another embodiment of the present application.
图8示出了根据本申请再一个实施例的图像拍摄方法流程图。FIG. 8 shows a flowchart of an image capturing method according to still another embodiment of the present application.
图9示出了本申请再一个实施例提供的一种界面示意图。FIG. 9 shows a schematic diagram of an interface provided by another embodiment of the present application.
图10示出了本申请再一个实施例提供的另一种界面示意图。FIG. 10 shows another interface schematic diagram provided by another embodiment of the present application.
图11示出了根据本申请又另一个实施例的图像拍摄方法流程图。FIG. 11 shows a flowchart of an image capturing method according to yet another embodiment of the present application.
图12示出了本申请又另一个实施例提供的一种界面示意图。FIG. 12 shows a schematic diagram of an interface provided by yet another embodiment of the present application.
图13示出了根据本申请又再一个实施例的图像拍摄方法流程图。FIG. 13 shows a flowchart of an image capturing method according to still another embodiment of the present application.
图14示出了根据本申请一个实施例的图像拍摄装置的一种框图。FIG. 14 shows a block diagram of an image capturing apparatus according to an embodiment of the present application.
图15示出了根据本申请另一个实施例的图像拍摄装置的一种框图。FIG. 15 shows a block diagram of an image capturing apparatus according to another embodiment of the present application.
图16是本申请实施例的用于执行根据本申请实施例的图像拍摄方法的电子设备的框图。FIG. 16 is a block diagram of an electronic device for executing an image capturing method according to an embodiment of the present application according to an embodiment of the present application.
图17是本申请实施例的用于执行根据本申请实施例的图像拍摄方法的服务器的框图。FIG. 17 is a block diagram of a server for executing an image capturing method according to an embodiment of the present application according to an embodiment of the present application.
图18是本申请实施例的用于保存或者携带实现根据本申请实施例的图像拍摄方法的程序代码的存储单元。FIG. 18 is a storage unit for storing or carrying a program code for implementing the image capturing method according to the embodiment of the present application according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
当前,移动终端在日常生活使用中,普及率已近乎全民覆盖,其中,相机模块,已成为智能终端主要功能点,用户可通过移动终端的相机功能,拍摄照片与视频。用户可通过移动终端的相机功能,拍摄照片视频,记录生活、学习、工作瞬间。At present, the penetration rate of mobile terminals in daily life is close to universal coverage. Among them, the camera module has become the main function point of the smart terminal. Users can take photos and videos through the camera function of the mobile terminal. Users can use the camera function of the mobile terminal to take photos and videos to record the moments of life, study and work.
同时,相机基于拍摄功能的演变,越来越变得专业化,提供了较多的拍摄参数的设置项,供用户设置和使用,例如,用户可以设置焦距、变焦倍数、曝光时长等设置项,点击拍照后,相机应用会将设置项一起请求至相机服务,最终完成图片拍摄。At the same time, based on the evolution of shooting functions, cameras are becoming more and more specialized, providing more setting items for shooting parameters for users to set and use. After clicking to take a photo, the camera application will request the setting items to the camera service, and finally complete the picture capture.
在利用移动终端进行拍摄时,会存在用户在不同的拍摄场景进行拍摄的情况,例如,白天在景点A进行拍摄,或者夜晚在景点A进行拍摄等,不同的拍摄场景下,用户所需的拍摄效果也不同。因此,用户会针对其拍摄场景,对拍摄参数进行调整和设置,以拍出自己喜欢的图像,但是, 用户需要手动调整众多的拍摄参数,造成拍摄过程较为繁琐。When shooting with a mobile terminal, there may be situations where the user shoots in different shooting scenarios, for example, shooting in scenic spot A during the day, or shooting in scenic spot A at night, etc. In different shooting scenarios, the shooting required by the user The effect is also different. Therefore, the user will adjust and set the shooting parameters according to the shooting scene, so as to shoot the image he likes. However, the user needs to manually adjust many shooting parameters, which causes the shooting process to be cumbersome.
针对上述问题,发明人提出了本申请实施例提供的图像拍摄方法、装置、电子设备、服务器以及存储介质,可以实现在进行拍摄时,根据与预览图像匹配的目标图像的拍摄参数,对当前拍摄场景进行拍摄,无需用户手动进行拍摄参数设置,提升了用户操作的便捷性,另外,也能够获得较高质量的拍摄图像。其中,具体的图像拍摄方法在后续的实施例中进行详细的说明。In view of the above problems, the inventor proposes an image capturing method, device, electronic device, server, and storage medium provided by the embodiments of the present application, which can realize that during capturing, according to the capturing parameters of the target image matching the preview image, the current capturing image can be captured. The shooting of the scene does not require the user to manually set shooting parameters, which improves the convenience of the user's operation, and in addition, can also obtain high-quality shooting images. The specific image capturing method will be described in detail in the following embodiments.
请参阅图1,图1示出了本申请一个实施例提供的图像拍摄方法的流程示意图。在具体的实施例中,所述图像拍摄方法应用于如图14所示的图像拍摄装置400以及配置有所述图像拍摄装置400的电子设备100(图16)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以为智能手机、平板电脑、智能手表、智能眼镜等,在此不做限定。下面将针对图1所示的流程进行详细的阐述,所述图像拍摄方法具体可以包括以下步骤:Please refer to FIG. 1. FIG. 1 shows a schematic flowchart of an image capturing method provided by an embodiment of the present application. In a specific embodiment, the image capturing method is applied to the image capturing apparatus 400 shown in FIG. 14 and the electronic device 100 ( FIG. 16 ) equipped with the image capturing apparatus 400 . The following will take an electronic device as an example to describe the specific process of this embodiment. Of course, it can be understood that the electronic device applied in this embodiment may be a smart phone, a tablet computer, a smart watch, smart glasses, etc., which is not limited here. . The flow shown in FIG. 1 will be described in detail below, and the image capturing method may specifically include the following steps:
步骤S110:获取当前拍摄场景对应的预览图像。Step S110: Obtain a preview image corresponding to the current shooting scene.
在本申请实施例中,电子设备可以在处于拍摄模式时,获取当前拍摄场景对应的预览图像。当前拍摄场景即为当前需要拍摄的现实场景,例如,夜晚时的海边等。In this embodiment of the present application, the electronic device may acquire a preview image corresponding to the current shooting scene when it is in the shooting mode. The current shooting scene is the real scene that needs to be shot currently, for example, the seaside at night.
在一些实施方式中,电子设备可以显示拍摄界面,该拍摄界面为拍摄模式下显示的界面。电子设备在进入到拍摄模式时,可以显示拍摄界面。该拍摄模式可以是电子设备在检测到系统相机被开启时,在前台运行系统相机进入拍摄模式,并显示系统相机的拍摄界面。在显示拍摄界面后,电子设备可以通过摄像头获取当前拍摄场景的预览图像,并将预览图像于拍摄界面中的预览区域进行显示。拍摄界面除了包括预览区域,还可以拍摄模式的选择区域、相册按钮、摄像头切换按钮、拍摄参数的设置按钮等。In some embodiments, the electronic device may display a photographing interface, where the photographing interface is an interface displayed in a photographing mode. When the electronic device enters the shooting mode, a shooting interface can be displayed. The shooting mode may be when the electronic device detects that the system camera is turned on, runs the system camera in the foreground to enter the shooting mode, and displays the shooting interface of the system camera. After displaying the shooting interface, the electronic device can obtain a preview image of the current shooting scene through the camera, and display the preview image in the preview area in the shooting interface. In addition to the preview area, the shooting interface can also include a shooting mode selection area, an album button, a camera switching button, and a shooting parameter setting button.
该拍摄模式也可以是电子设备在检测到第三方相机应用被开启时,在前台运行第三方相机应用进入拍摄模式,并显示该第三方系统相机的拍摄界面;该拍摄模式还可以是电子设备在检测到应用运行时调用摄像头进行拍摄,而进入拍摄模式,并显示拍摄界面。上述系统相机、第三方相机应用等相机应用的开启,可以通过检测到对应用的控件(图标)进行触控操作,当然,也可以通过语音控制等方式,触发对相机应用的开启,在此不做限定。The shooting mode may also be that when the electronic device detects that the third-party camera application is turned on, the third-party camera application is run in the foreground to enter the shooting mode, and the shooting interface of the third-party system camera is displayed; When it is detected that the application is running, the camera is called to shoot, and the shooting mode is entered, and the shooting interface is displayed. The above-mentioned system camera, third-party camera application and other camera applications can be opened by detecting the touch operation on the control (icon) of the application. Of course, the opening of the camera application can also be triggered by voice control. Do limit.
步骤S120:获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值。Step S120: Acquire shooting parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
在本申请实施例中,电子设备在获取到预览图像之后,为方便用户对当前拍摄场景进行拍摄,电子设备可以获取与预览图像匹配的目标图像所对应的拍摄参数,以便直接根据该拍摄参数对当前拍摄场景进行拍摄。其中,目标图像为已拍摄的图像中与预览图像之间的相似度大于预设阈值的图像,预设阈值的具体数值可以不做限定,例如,预设阈值可以设置为50%~70%,从而可以容易获取到与预览图像相似的目标图像,又例如,预设阈值可以设置为70%~90%,从而可以更精准地获取与预览图像相似的目标图像。In the embodiment of the present application, after the electronic device obtains the preview image, in order to facilitate the user to shoot the current shooting scene, the electronic device can obtain the shooting parameters corresponding to the target image matching the preview image, so as to directly adjust the shooting parameters according to the shooting parameters. Shoot the current shooting scene. The target image is an image whose similarity between the captured image and the preview image is greater than a preset threshold, and the specific value of the preset threshold may not be limited. For example, the preset threshold may be set to 50% to 70%. Therefore, a target image similar to the preview image can be easily obtained. For another example, the preset threshold can be set to 70% to 90%, so that the target image similar to the preview image can be obtained more accurately.
可以理解地,目标图像与预览图像之间的相似度大于预设阈值,表示预览图像中的图像内容与目标图像中的图像内容相似,因此,可以获取目标图像的拍摄参数,以用于对当前拍摄场景进行拍摄。例如,目标图像为在景点A进行自拍时自拍图像,预览图像为当前采集到的景点A的图像,此时目标图像与预览图像中的图像内容是相似的,又例如,目标图像为室内对一条哈士奇种类的狗进行拍摄的图像,预览图像为室内对另一条哈士奇的狗进行拍摄的图像,此时目标图像与预览图像中的图像内容也是相似的。Understandably, if the similarity between the target image and the preview image is greater than the preset threshold, it means that the image content in the preview image is similar to the image content in the target image. Shoot the scene to shoot. For example, the target image is a self-portrait image when taking a selfie at scenic spot A, and the preview image is the currently collected image of scenic spot A. At this time, the target image and the image content in the preview image are similar. For another example, the target image is an indoor pair of an image. An image taken by a husky dog, the preview image is an image taken indoors of another husky dog, and the content of the target image and the image in the preview image are also similar.
作为一种实施方式,以上预设阈值可以为预先设置的数值,例如,在安装相机应用,或者安装操作系统时(操作系统自带由系统相机应用),这些相机应用自带有预设阈值;作为另一种实施方式,预设阈值也可以由用户设置,用户可以根据自己的需求和喜好,将预设阈值设置的较低或者较高,以满足自己的拍摄需求。As an implementation manner, the above preset threshold may be a preset value, for example, when a camera application is installed, or when an operating system is installed (the operating system comes with a system camera application), these camera applications have their own preset thresholds; As another implementation manner, the preset threshold value may also be set by the user, and the user may set the preset threshold value lower or higher according to his own needs and preferences to meet his own shooting needs.
在一些实施方式中,电子设备中可以存储有图像库,图像库中包含大量的图像,这些图像可以为不同的拍摄场景下所采集的图像,并且电子设备还存储有这些图像的拍摄参数。电子设备存储的这些图像可以是电子设备历史拍摄的图像、从服务器获取的图像等,电子设备获取这些图像的具体方式可以不做限定。电子设备在获取预览图像之后,可以通过深度神经网络等模型提取预览图像以及图像库中各个图像的图像特征,然后根据图像特征之间的相似度,确定预览图像与各个图像之间的相似度。In some embodiments, an image library may be stored in the electronic device, the image library contains a large number of images, these images may be images collected in different shooting scenarios, and the electronic device also stores shooting parameters of these images. These images stored by the electronic device may be images historically photographed by the electronic device, images acquired from a server, and the like, and the specific manner in which the electronic device acquires these images may not be limited. After acquiring the preview image, the electronic device can extract the preview image and the image features of each image in the image library through a model such as a deep neural network, and then determine the similarity between the preview image and each image according to the similarity between the image features.
另外,这些图像的图像质量的得分可以高于预设得分,以使匹配到的目标图像的拍摄参数,在被用于拍摄当前拍摄场景的图像时,可以获得图像质量较高的图像。其中,图像质量的得分可以通过清晰度、分辨率、锐度等图像参数进行衡量,每个类型的图像参数可以设置相应的标准值,通过图像的这些图像参数与对应的标准值之间的差异,确定图像质量的得分;图像质量的得分也 可以通过预先训练的图像质量评价模型,获取其对应的图像质量的得分;图像质量的得分也可以为用户对图像质量的打分。In addition, the image quality scores of these images may be higher than the preset score, so that when the matched shooting parameters of the target image are used to shoot the image of the current shooting scene, an image with higher image quality can be obtained. Among them, the score of image quality can be measured by image parameters such as sharpness, resolution, sharpness, etc., and corresponding standard values can be set for each type of image parameters, and the difference between these image parameters of the image and the corresponding standard values , to determine the image quality score; the image quality score can also be obtained through a pre-trained image quality evaluation model to obtain its corresponding image quality score; the image quality score can also be the user's score for the image quality.
在另一些实施方式中,电子设备也可以通过网络,从相应的服务平台查询与该预览图像匹配的目标图像以及该目标图像的拍摄参数。In other embodiments, the electronic device can also query the target image matching the preview image and the shooting parameters of the target image from the corresponding service platform through the network.
在一些实施方式中,以上拍摄参数可以包括但不限于:变焦倍数、焦距、感光度、曝光时长、曝光值、光圈大小、或者对比度。当然,具体的拍摄参数可以不作限定。In some embodiments, the above shooting parameters may include, but are not limited to: zoom factor, focal length, sensitivity, exposure duration, exposure value, aperture size, or contrast. Of course, the specific shooting parameters may not be limited.
步骤S130:根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。Step S130: Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
在本申请实施例中,在获取到与预览图像匹配的目标图像对应的拍摄参数之后,则可以根据获取到的拍摄参数,对当前拍摄场景进行拍摄,从而获得用户需求的拍摄图像,整个过程,无需用户手动设置拍摄参数,减少了用户在拍摄过程中的操作,提升了用户体验。另外,对于非专业的用户而言,也可以针对不同的拍摄场景,拍摄到图像质量较佳的图像。In the embodiment of the present application, after obtaining the shooting parameters corresponding to the target image matching the preview image, the current shooting scene can be shot according to the obtained shooting parameters, so as to obtain the shooting image required by the user. The whole process, There is no need for the user to manually set the shooting parameters, which reduces the user's operations during the shooting process and improves the user experience. In addition, for non-professional users, images with better image quality can also be captured for different shooting scenarios.
请参阅图2,图2示出了本申请另一个实施例提供的图像拍摄方法的流程示意图。该图像拍摄方法应用于上述电子设备,下面将针对图2所示的流程进行详细的阐述,所述图像拍摄方法具体可以包括以下步骤:Please refer to FIG. 2, which shows a schematic flowchart of an image capturing method provided by another embodiment of the present application. The image capturing method is applied to the above-mentioned electronic device, and the flow shown in FIG. 2 will be described in detail below. The image capturing method may specifically include the following steps:
步骤S210:获取当前拍摄场景对应的预览图像。Step S210: Obtain a preview image corresponding to the current shooting scene.
在本申请实施例中,步骤S210可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for step S210, reference may be made to the content of the foregoing embodiments, and details are not described herein again.
步骤S220:获取与所述预览图像匹配的目标图像。Step S220: Acquire a target image matching the preview image.
在本申请实施例中,电子设备在根据拍摄参数,对当前拍摄场景进行拍摄之前,也还可以获取目标图像,以对目标图像进行展示,以便用户查看目标图像,判断其是否满意目标图像的效果和质量后,再确定是否利用获取的拍摄参数进行拍摄。In the embodiment of the present application, before the electronic device captures the current shooting scene according to the shooting parameters, the electronic device may also obtain the target image to display the target image, so that the user can view the target image and judge whether it is satisfied with the effect of the target image. and quality, then determine whether to use the acquired shooting parameters to shoot.
步骤S230:将所述目标图像于拍摄界面中的预设区域进行展示。Step S230: Display the target image in a preset area in the shooting interface.
在本申请实施例中,电子设备在获取到与预览图像匹配的目标图像之后,可以将目标图像在拍摄界面中的预设区域进行展示。In this embodiment of the present application, after acquiring the target image matching the preview image, the electronic device may display the target image in a preset area in the shooting interface.
作为一种方式,预设区域可以为拍摄界面的预览区域,当然,预设区域也可以为拍摄界面中的其他区域,在此不做限定。例如,目标图像可以在预览区域中的部分区域(例如中间区域)进行显示,方便用户查看目标图像;又例如,在预览区域中,可以将其分为两部分区域,其中一部分区域用于显示预览图像,另一部分区域用于显示目标图像,从而方便用户查看目标图像的同时,可以比较预览图像与目标图像,以便更好地做出是否采用拍摄参数进行拍摄的确认。As a method, the preset area may be a preview area of the shooting interface, and of course, the preset area may also be other areas in the shooting interface, which is not limited herein. For example, the target image can be displayed in a partial area (such as the middle area) in the preview area, which is convenient for users to view the target image; for another example, in the preview area, it can be divided into two parts, and a part of the area is used to display the preview image, and another part of the area is used to display the target image, so that the user can view the target image conveniently, and can compare the preview image with the target image, so as to better confirm whether to use the shooting parameters for shooting.
在一些实施方式中,可能会存在有多张目标图像与预览图像匹配的情况,此时电子设备可能获取到多张与预览图像匹配的目标图像,在存在多张目标图像时,电子设备对目标图像进行展示时,可以将其以缩略图的形式进行显示,以便在界面中展示出多张目标图像。用户需要放大查看某张目标图像时,可以选择需要查看的目标图像,此时,电子设备响应查看操作,将选择查看的目标图像进行放大显示。In some implementations, there may be multiple target images that match the preview image. In this case, the electronic device may acquire multiple target images that match the preview image. When there are multiple target images, the electronic device may When an image is displayed, it can be displayed in the form of thumbnails, so that multiple target images can be displayed in the interface. When the user needs to zoom in to view a certain target image, he can select the target image to be viewed. At this time, the electronic device responds to the viewing operation and displays the selected target image in an enlarged manner.
可选地,电子设备还可以对多张目标图像进行排序,使得一些用户更可能选择的目标图像处于靠前的位置。Optionally, the electronic device may also sort the plurality of target images, so that some target images that are more likely to be selected by the user are in the front position.
作为一种实施方式,电子设备对多张目标图像于预设区域展示,可以包括:当存在多张目标图像时,获取每张目标图像被选取的选取次数;基于所述每张目标图像被选取的选取次数,对所述多张目标图像按照选取次数从高到低的顺序进行排序;基于排序结果,将所述多张目标图像以缩略图于所述预设区域进行展示。As an embodiment, the electronic device displays multiple target images in a preset area, which may include: when there are multiple target images, acquiring the number of times each target image is selected; based on the selection of each target image The selection times of the multiple target images are sorted in descending order of the selection times; based on the sorting result, the multiple target images are displayed as thumbnails in the preset area.
其中,目标图像被选取的选取次数,可以是在历史拍摄中目标图像的拍摄参数被选取的次数。在目标图像对应的图像库存储于电子设备本地时,该选取次数可以为电子设备本地记录;在电子设备从服务平台查询与预览图像匹配的目标图像时,电子设备可以从服务平台获取该选取次数。在该实施方式中,由于以选取次数,对多张目标图像进行排序后,再基于排序结果,将多张目标图像以缩略图显示于预设区域,可以使得用户更容易看到选取次数较多的目标图像,这些图像往往也是用户可能选择的图像,从而满足用户的需求。The number of times the target image is selected may be the number of times the shooting parameters of the target image are selected in historical shooting. When the image library corresponding to the target image is stored locally on the electronic device, the selection times may be recorded locally by the electronic device; when the electronic device queries the service platform for the target image matching the preview image, the electronic device may obtain the selection times from the service platform . In this embodiment, after sorting the multiple target images according to the number of selections, and then based on the sorting result, the multiple target images are displayed as thumbnails in the preset area, which can make it easier for the user to see that the number of selections is high. These images are often also the images that the user may choose to meet the user's needs.
可选地,在存在多张目标图像时,电子设备也可以根据目标图像被选取的选取次数,从中筛选出选取次数大于预设次数的目标图像;然后执行获取每张目标图像被选取的选取次数的步骤,至基于排序结果,将所述多张目标图像以缩略图于所述预设区域进行展示的步骤。Optionally, when there are multiple target images, the electronic device can also screen out the target images whose selection times are greater than the preset times according to the selected times of the target images; then perform the acquisition of the selected times of each target image. from the step of displaying the plurality of target images as thumbnails in the preset area based on the sorting result.
在一些实施方式中,目标图像显示于预览区域时,目标图像在界面中可以与预览区域在不同的层级,方便用户查看目标图像。可选的,目标图像在界面中的所在层级可以高于预览图像在界面中的所在层级。In some embodiments, when the target image is displayed in the preview area, the target image may be at a different level from the preview area in the interface, which is convenient for the user to view the target image. Optionally, the level where the target image is located in the interface may be higher than the level where the preview image is located in the interface.
步骤S240:获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与 所述预览图像之间的相似度大于预设阈值。Step S240: Obtain the shooting parameters corresponding to the target image matched with the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
步骤S250:在接收到对所述目标图像的选取指令时,将相机拍摄参数调整为所述目标图像所对应的拍摄参数。Step S250: When receiving the instruction for selecting the target image, adjust the camera shooting parameters to the shooting parameters corresponding to the target image.
在本申请实施例中,电子设备在将目标图像进行展示,以及获取拍摄参数之后,在根据该拍摄参数对当前拍摄场景进行拍摄之前,电子设备可以确定用户是否选择该目标图像,以确定用户是否想要以该目标图像的拍摄参数进行图像的拍摄。电子设备在检测到对目标图像的选取指令时,将相机拍摄参数调整为目标图像所对应的拍摄参数,以便电子设备以该拍摄参数对当前拍摄场景进行拍摄。例如,请参阅图3,用户可以通过点击的方式选取显示的目标图像。In the embodiment of the present application, after the electronic device displays the target image and acquires the shooting parameters, before shooting the current shooting scene according to the shooting parameters, the electronic device can determine whether the user selects the target image to determine whether the user It is desired to capture an image with the capture parameters of the target image. When the electronic device detects the selection instruction for the target image, it adjusts the camera shooting parameters to the shooting parameters corresponding to the target image, so that the electronic device can use the shooting parameters to shoot the current shooting scene. For example, referring to FIG. 3, the user can select the displayed target image by clicking.
在一些实施方式中,电子设备在接收到对目标图像的选取指令后,还可以输出提示信息,以提示用户是否需要以该拍摄参数进行拍摄。其中,提示信息可以为弹窗提示、语音提示等,提示信息的具体形式可以不做限定。示例性的,请参阅图4,可以弹窗显示提示内容:是否将以该图像的拍摄参数进行拍摄,并显示供用户选择的控件,在用户选择了控件“是”的情况下,才将拍摄参数调整为目标图像对应的拍摄参数。In some embodiments, after receiving the instruction for selecting the target image, the electronic device may also output prompt information to prompt the user whether to shoot with the shooting parameters. The prompt information may be a pop-up window prompt, a voice prompt, etc., and the specific form of the prompt information may not be limited. Exemplarily, please refer to FIG. 4, a pop-up window can display the prompt content: whether to shoot with the shooting parameters of the image, and display the controls for the user to select, only when the user selects the control "Yes", will the shooting be taken. The parameters are adjusted to the shooting parameters corresponding to the target image.
在一些实施方式中,在目标图像存在多张时,用户也可以选择至少两张目标图像对应的拍摄参数。电子设备在检测到对至少两张目标图像的拍摄参数的选取指令时,可以根据被选择的至少两张目标图像的拍摄参数,来设置拍摄参数,即根据被选择的至少两张目标图像的拍摄参数,生成新的拍摄参数,将相机拍摄参数调整为该新的拍摄参数。作为一种方式,在检测到对至少两张目标图像的拍摄参数的选取指令时,可以获取这些被选取的目标图像的选取次数,然后根据选取次数生成每张目标图像的权重,再基于每张目标图像的拍摄参数以及权重,生成新的拍摄参数。其中,可以获取被选取的目标图像的选取次数的总和,即将每张目标图像的选取次数相加,然后再基于每张目标图像的选取次数与该总和的比值,获得每张目标图像的权重。在生成拍摄参数时,可以根据拍摄参数中每项拍摄参数,然后根据权重,对拍摄参数进行加权求和,获得新的拍摄参数。示例性的,被选取的目标图像包括图像A和图像B,对于拍摄参数中的焦距来说,图像A对应的拍摄参数中焦距为10毫米(mm),目标图像B对应的拍摄参数中焦距为20mm,图像A对应的权重为0.6,图像B对应的拍摄参数的权重为0.4,则可以生成新的焦距为:10*0.6+20*0.4=14mm。当然,以上仅为示例,并不构成实际生成拍摄参数的方式的限定。In some embodiments, when there are multiple target images, the user may also select shooting parameters corresponding to at least two target images. When the electronic device detects the selection instruction for the shooting parameters of the at least two target images, it can set the shooting parameters according to the shooting parameters of the selected at least two target images, that is, according to the shooting parameters of the selected at least two target images. parameters, generate new shooting parameters, and adjust the camera shooting parameters to the new shooting parameters. As a method, when the selection instruction for the shooting parameters of at least two target images is detected, the selection times of these selected target images can be obtained, and then the weight of each target image is generated according to the selection times, and then based on the selection times of each target image The shooting parameters and weights of the target image are used to generate new shooting parameters. Wherein, the sum of the selection times of the selected target images can be obtained, that is, the selection times of each target image are added, and then the weight of each target image is obtained based on the ratio of the selection times of each target image to the sum. When generating the shooting parameters, the shooting parameters can be weighted and summed according to each shooting parameter in the shooting parameters, and then according to the weights, to obtain new shooting parameters. Exemplarily, the selected target images include image A and image B. For the focal length in the shooting parameters, the focal length in the shooting parameters corresponding to image A is 10 millimeters (mm), and the focal length in the shooting parameters corresponding to target image B is 20mm, the weight corresponding to image A is 0.6, and the weight of the shooting parameters corresponding to image B is 0.4, then a new focal length can be generated: 10*0.6+20*0.4=14mm. Of course, the above is only an example, and does not constitute a limitation on the way of actually generating the shooting parameters.
步骤S260:根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。Step S260: Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
本申请实施例提供的图像拍摄方法,通过获取与预览图像匹配的目标图像所对应的拍摄参数的同时,还获取该目标图像进行展示,在用户选择了该目标图像的情况下,才将拍摄参数调整为该目标图像的拍摄参数,然后根据该拍摄参数,对该当前拍摄场景进行拍摄,获得拍摄图像,从而可以实现在进行拍摄时,根据与预览图像匹配的目标图像的拍摄参数,对当前拍摄场景进行拍摄,无需用户手动进行拍摄参数设置,提升了用户操作的便捷性,另外,也能够获得较高质量的拍摄图像。并且,用户可以根据展示的目标图像确定是否选择其对应的拍摄参数,能够贴合用户的需求,提升用户体验。In the image capturing method provided by the embodiment of the present application, the capturing parameters corresponding to the target image matching the preview image are acquired, and the target image is also acquired for display, and the capturing parameters are only displayed when the user selects the target image Adjust to the shooting parameters of the target image, and then shoot the current shooting scene according to the shooting parameters to obtain a shooting image, so that when shooting, according to the shooting parameters of the target image matching the preview image, the current shooting can be achieved. The shooting of the scene does not require the user to manually set shooting parameters, which improves the convenience of the user's operation, and in addition, can also obtain high-quality shooting images. In addition, the user can determine whether to select the corresponding shooting parameters according to the displayed target image, which can meet the needs of the user and improve the user experience.
请参阅图5,图5示出了本申请又一个实施例提供的图像拍摄方法的流程示意图。该图像拍摄方法应用于上述电子设备。Please refer to FIG. 5. FIG. 5 shows a schematic flowchart of an image capturing method provided by another embodiment of the present application. The image capturing method is applied to the above-mentioned electronic device.
下面对本申请实施例提供的视频处理方法的应用环境进行介绍。The following describes an application environment of the video processing method provided by the embodiments of the present application.
请参阅图6,图6示出了为本申请实施例应用场景的一种网络结构图,电子设备100与服务器200通信连接,电子设备100可以将预览图像的图像信息发送至服务器200,以从服务器200获取与预览图像匹配的目标图像所对应的拍摄参数。其中,电子设备100可以是手机、平板电脑等设备;服务器200可以是传统服务器、云服务器等。在本申请实施例中,电子设备100以及服务器200的设备种类,以及电子设备100与服务器200之间的通信网络的类型、协议等均不做限定。Please refer to FIG. 6. FIG. 6 shows a network structure diagram of an application scenario of this embodiment of the present application. The electronic device 100 is connected to the server 200 in communication. The server 200 acquires the shooting parameters corresponding to the target image matched with the preview image. The electronic device 100 may be a mobile phone, a tablet computer, or the like; the server 200 may be a traditional server, a cloud server, or the like. In the embodiments of the present application, the device types of the electronic device 100 and the server 200 and the type and protocol of the communication network between the electronic device 100 and the server 200 are not limited.
下面将针对图5所示的流程进行详细的阐述,所述图像拍摄方法具体可以包括以下步骤:The flow shown in FIG. 5 will be described in detail below, and the image capturing method may specifically include the following steps:
步骤S310:获取当前拍摄场景对应的预览图像。Step S310: Obtain a preview image corresponding to the current shooting scene.
步骤S320:将所述预览图像的图像信息发送至服务器。Step S320: Send the image information of the preview image to the server.
在本申请实施例中,电子设备可以在获取预览图像之后,可以将预览图像的图像信息发送至服务器,以从服务器获取与预览图像匹配的目标图像所对应的拍摄参数。In this embodiment of the present application, after acquiring the preview image, the electronic device may send image information of the preview image to the server, so as to acquire the shooting parameters corresponding to the target image matching the preview image from the server.
在一些实施方式中,图像信息可以至少包括预览图像。可以理解地,电子设备在获取预览图像后,直接将预览图像发送至服务器,服务器可以根据预览图像,查询与预览图像匹配的目标图像的拍摄参数。而无需在电子设备侧提取预览图像相应的图像特征的信息之后,再发送至服务器进行查询,有效降低电子设备的处理量,提升电子设备的运行速度。In some embodiments, the image information may include at least a preview image. Understandably, after acquiring the preview image, the electronic device directly sends the preview image to the server, and the server can query the shooting parameters of the target image matching the preview image according to the preview image. There is no need to extract the image feature information corresponding to the preview image on the side of the electronic device, and then send it to the server for query, which effectively reduces the processing amount of the electronic device and improves the running speed of the electronic device.
当然,图像信息也还可以包括其他信息,例如还可以包括当前拍场景的环境信息,环境信息 可以包括地理位置、天气、光照、时间等,以便服务器获取到更为匹配的目标图像。Of course, the image information can also include other information, for example, it can also include the environmental information of the current shooting scene, and the environmental information can include geographic location, weather, lighting, time, etc., so that the server can obtain a more matching target image.
步骤S330:接收所述服务器返回的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值。Step S330: Receive the shooting parameters corresponding to the target image returned by the server, wherein the similarity between the target image and the preview image is greater than a preset threshold.
在本申请实施例中,电子设备在将拍摄图像的图像信息发送至服务器之后,服务器经过图像之间的相似度匹配,确定出与预览图像匹配的目标图像之后,可以将目标图像对应的拍摄参数返回至电子设备。相应的,电子设备可以接收服务器返回的目标图像对应的拍摄参数。In the embodiment of the present application, after the electronic device sends the image information of the captured image to the server, the server determines the target image that matches the preview image after matching the similarity between the images, and then the server can match the shooting parameters corresponding to the target image. Return to Electronics. Correspondingly, the electronic device can receive the shooting parameters corresponding to the target image returned by the server.
在一些实施方式中,服务器也可以返回目标图像至电子设备,电子设备可以参照前一个实施例中展示目标图像的方式,对目标图像进行展示,以供用户查看目标图像的效果和图像质量,进而确定是否选用该目标图像的拍摄参数,对当前拍摄场景进行拍摄。In some embodiments, the server can also return the target image to the electronic device, and the electronic device can display the target image by referring to the method of displaying the target image in the previous embodiment, so that the user can check the effect and image quality of the target image, and then display the target image. Determine whether to use the shooting parameters of the target image to shoot the current shooting scene.
在一些实施方式中,以上服务器可以包括应用商店和/或主题商店对应的服务器。请参阅图7,电子设备根据预览图像,可以从应用商店以及主题商店获取与预览图像匹配的相似图(目标图像)和拍摄参数。可以理解地,应用商店以及主题商店对应的服务器,可以存储有大量的界面主题,并且这些界面主题对应的图像的拍摄参数可以被存储。用户对目标图像比较喜欢时,还可以通过相应的操作,从而服务器下载目标图像的界面主题。因此,该图像拍摄方法还可以包括:向所述服务器发送下载请求,所述下载请求用于下载所述目标图像对应的界面主题;接收所述服务器根据所述下载请求返回的界面主题,并对所述界面主题进行保存。从而,可以实现为应用商店和主题商店提供了一种新的导流方式,将用户在图像拍摄阶段导流到商店中,进行壁纸和主题的推荐和购买。In some implementations, the above servers may include servers corresponding to application stores and/or theme stores. Referring to FIG. 7 , according to the preview image, the electronic device can obtain a similarity image (target image) and shooting parameters matching the preview image from the application store and the theme store. It is understandable that the application store and the server corresponding to the theme store can store a large number of interface themes, and the shooting parameters of the images corresponding to these interface themes can be stored. When the user likes the target image, the server can also download the interface theme of the target image through a corresponding operation. Therefore, the image capturing method may further include: sending a download request to the server, where the download request is used to download the interface theme corresponding to the target image; receiving the interface theme returned by the server according to the download request, and sending the download request to the server. The interface theme is saved. Therefore, a new traffic diversion method can be provided for the application store and the theme store, and users are diverted to the store during the image shooting stage to recommend and purchase wallpapers and themes.
步骤S340:根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。Step S340: Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
本申请实施例提供的图像拍摄方法,电子设备在获取当前拍摄场景的预览图像之后,将预览图像发送至服务器,以从服务器获取与预览图像匹配的目标图像的拍摄参数,由于服务器通常处理性能较高,因此可以更快速的获取拍摄参数,提升拍摄体验。另外,电子设备无需进行大量的图像的存储,以及图像之间的相似度的匹配,有效节省电子设备的储存空间和处理量,提升电子设备的运行速度。In the image capturing method provided by the embodiment of the present application, after acquiring the preview image of the current shooting scene, the electronic device sends the preview image to the server, so as to obtain the shooting parameters of the target image matching the preview image from the server. Therefore, the shooting parameters can be obtained more quickly and the shooting experience can be improved. In addition, the electronic device does not need to store a large amount of images and match the similarity between the images, which effectively saves the storage space and processing volume of the electronic device and improves the running speed of the electronic device.
请参阅图8,图8示出了本申请再一个实施例提供的图像拍摄方法的流程示意图。该图像拍摄方法应用于上述电子设备,下面将针对图8所示的流程进行详细的阐述,所述图像拍摄方法具体可以包括以下步骤:Referring to FIG. 8 , FIG. 8 shows a schematic flowchart of an image capturing method provided by still another embodiment of the present application. The image capturing method is applied to the above-mentioned electronic device, and the flow shown in FIG. 8 will be described in detail below. The image capturing method may specifically include the following steps:
步骤S410:获取当前拍摄场景对应的预览图像。Step S410: Obtain a preview image corresponding to the current shooting scene.
步骤S420:将所述预览图像的图像信息发送至服务器。Step S420: Send the image information of the preview image to the server.
步骤S430:接收所述服务器返回的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值。Step S430: Receive the shooting parameters corresponding to the target image returned by the server, wherein the similarity between the target image and the preview image is greater than a preset threshold.
步骤S440:根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。Step S440: Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
在本申请实施例中,步骤S410至步骤S440可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for steps S410 to S440, reference may be made to the contents of the foregoing embodiments, and details are not described herein again.
步骤S450:若在预设时长内接收到对所述拍摄参数的调整指令,基于所述调整指令,对所述拍摄参数进行调整。Step S450: If an adjustment instruction for the shooting parameter is received within a preset time period, adjust the shooting parameter based on the adjustment instruction.
在本申请实施例中,电子设备在利用获取的拍摄参数,对当前拍摄场景进行拍摄而得到拍摄图像之后,用户在不满意拍摄得到的拍摄图像的拍摄效果时,也可以手动调整拍摄参数,重新进行拍摄。In the embodiment of the present application, after the electronic device uses the acquired shooting parameters to shoot the current shooting scene to obtain a shot image, when the user is not satisfied with the shooting effect of the shot image obtained by shooting, the user can also manually adjust the shooting parameters and reset the to shoot.
在一些实施方式中,电子设备可以响应用户的操作,展示拍摄参数的调整界面,例如,请参阅图9,展示拍摄界面A1,以在目标图像对应的拍摄参数的基础上,对拍摄参数进行调整,使后续可以拍摄得到用户满意的图像。并且,在目标图像对应的拍摄参数的基础上,对拍摄参数进行调整,也避免了用户没有方向的情况下设置拍摄参数,方便了用户对拍摄参数的调整。In some embodiments, the electronic device may display an interface for adjusting the shooting parameters in response to the user's operation. For example, please refer to FIG. 9 , showing the shooting interface A1, so as to adjust the shooting parameters on the basis of the shooting parameters corresponding to the target image. , so that the subsequent shooting can obtain the image that the user is satisfied with. Moreover, adjusting the shooting parameters on the basis of the shooting parameters corresponding to the target image also avoids setting the shooting parameters when the user has no direction, which facilitates the user to adjust the shooting parameters.
步骤S460:基于调整后的拍摄参数重新对所述当前拍摄场景进行拍摄,获得最新拍摄的拍摄图像,作为当前拍摄图像。Step S460: Re-shoot the current shooting scene based on the adjusted shooting parameters, and obtain the latest shot image as the current shot image.
在本申请实施例中,电子设备在根据用户的调整指令,调整拍摄参数之后,则电子设备可以基于调整后的拍摄参数,重新对当拍摄场景进行拍摄,获得最新拍摄的拍摄图像,作为当前拍摄图像。电子设备在获取到当前拍摄图像之后,可以将当前拍摄图像进行存储。In the embodiment of the present application, after the electronic device adjusts the shooting parameters according to the adjustment instruction of the user, the electronic device can re-shoot the current shooting scene based on the adjusted shooting parameters, and obtain the latest shooting image as the current shooting image. image. After acquiring the current shot image, the electronic device may store the current shot image.
在一些实施方式中,电子设备可以在接收到对当前拍摄图像进行存储的存储指令的情况下,将当前拍摄图像进行存储。另外,由于用户通常在对当前拍摄图像满意的情况下,才会输入存储指令,因此电子设备在该情况下,还可以对此前的拍摄图像进行删除,即以目标图像对应的拍摄参数拍摄得到的拍摄图像进行删除。In some embodiments, the electronic device may store the current captured image in the case of receiving a storage instruction for storing the currently captured image. In addition, since the user usually only enters the storage instruction when he is satisfied with the current captured image, the electronic device can also delete the previous captured image in this case, that is, the captured image obtained by the shooting parameters corresponding to the target image. Take an image to delete.
步骤S470:获取所述当前拍摄图像对应的图像质量分值作为第一分值,以及所述目标图像对 应的图像质量分值作为第二分值。Step S470: Obtain the image quality score corresponding to the currently captured image as the first score, and the image quality score corresponding to the target image as the second score.
在本申请实施例中,由于是在目标图像的拍摄参数的基础上,对拍摄参数进行调整后,重新拍摄得到当前拍摄图像。因此,当前拍摄图像对应的拍摄参数,与目标图像对应的拍摄参数不同,两张图像的拍摄效果和质量也会不同。电子设备还可以获取当前拍摄图像对应的图像质量分值作为第一分值,以及获取目标图像对应的图像质量分值作为第二分值,以对第一分值与第二分值进行比较,从而确定当前拍摄图像的图像质量是否优于目标图像的拍摄质量。可以理解地,当第一分值大于第二分值时,则表示当前拍摄图像的图像质量优于目标图像的拍摄质量;当第一分值小于或等于第二分值时,当前拍摄图像的图像质量不优于目标图像的拍摄质量。In the embodiment of the present application, after adjusting the shooting parameters on the basis of the shooting parameters of the target image, the current shooting image is obtained by re-shooting. Therefore, the shooting parameters corresponding to the current shooting image are different from the shooting parameters corresponding to the target image, and the shooting effects and quality of the two images will also be different. The electronic device may also obtain the image quality score corresponding to the currently captured image as the first score, and obtain the image quality score corresponding to the target image as the second score, so as to compare the first score with the second score, Thereby, it is determined whether the image quality of the currently captured image is better than that of the target image. Understandably, when the first score is greater than the second score, it means that the image quality of the currently captured image is better than that of the target image; when the first score is less than or equal to the second score, the image quality of the currently captured image is The image quality is no better than the capture quality of the target image.
在一些实施方式中,图像质量分值可以通过清晰度、分辨率、锐度等图像参数进行确定,例如,每个类型的图像参数可以设置相应的标准值,通过图像的这些图像参数与对应的标准值之间的差距,确定图像质量分值;图像质量分值也可以通过预先训练的图像质量评价模型,获取其对应的图像质量分值;图像质量分值也可以为用户对图像质量的打分。In some implementations, the image quality score can be determined by image parameters such as sharpness, resolution, sharpness, etc. For example, each type of image parameter can be set with a corresponding standard value, and these image parameters of the image and the corresponding image parameters can be determined. The difference between the standard values determines the image quality score; the image quality score can also obtain its corresponding image quality score through the pre-trained image quality evaluation model; the image quality score can also be used for the user's score on the image quality .
在以上方式中,在通过图像质量评价模型确定图像质量分值时,可以将图像输入图像质量评价模型,获取图像质量评价模型输出的图像质量分值。其中,图像质量评价模型为经过多张样本图像训练后的神经网络模型,多张样本图像包括对原始图像进行不同失真程度和/或不同锐化程度处理后得到的图像。In the above manner, when the image quality score is determined by the image quality evaluation model, the image can be input into the image quality evaluation model to obtain the image quality score output by the image quality evaluation model. The image quality evaluation model is a neural network model trained with multiple sample images, and the multiple sample images include images obtained by processing the original image with different degrees of distortion and/or different degrees of sharpening.
作为一种方式,图像质量评价模型通过如下步骤训练获得:构建训练样本,训练样本包括多张样本图像以及每张样本图像对应的图像质量得分,样本图像可以包括多张原始图像以及每张原始图像对应的不同失真程度和/或不同锐化程度处理后得到的图像;然后利用样本训练集,对神经网络模型进行训练,得到图像质量评价模型。In one way, the image quality evaluation model is obtained by training the following steps: constructing a training sample, the training sample includes multiple sample images and an image quality score corresponding to each sample image, and the sample image may include multiple original images and each original image Corresponding images obtained after processing with different distortion degrees and/or different sharpening degrees; and then use the sample training set to train the neural network model to obtain an image quality evaluation model.
步骤S480:若所述第一分值大于所述第二分值,将所述当前拍摄图像以及所述调整后的拍摄参数发送至所述服务器。Step S480: If the first score is greater than the second score, send the currently captured image and the adjusted shooting parameters to the server.
在本申请实施例中,在获取到当前拍摄图像的第一分值以及目标图像的第二分值,对第一分值与第二分值进行比较之后,若第一分值大于第二分值,表示当前拍摄图像的图像质量优于目标图像的拍摄质量。在该情况下,电子设备可以将当前拍摄图像以及调整后的拍摄参数(即当前拍摄图像对应的拍摄参数)发送至服务器,从而实现拍摄图像和拍摄参数的分享,方便其他用户在拍摄时使用该拍摄参数。In this embodiment of the present application, after obtaining the first score of the currently captured image and the second score of the target image, and comparing the first score with the second score, if the first score is greater than the second score value, indicating that the image quality of the currently captured image is better than that of the target image. In this case, the electronic device can send the current captured image and the adjusted shooting parameters (that is, the shooting parameters corresponding to the current captured image) to the server, so as to realize the sharing of the captured image and the shooting parameters, which is convenient for other users to use the shooting parameters.
在一些实施方式中,电子设备可以在拍摄界面中显示用于触发分享的控件,在检测到对该控件的触发操作时,将当前拍摄图像以及调整后的拍摄参数发送至服务器。可选的,请参阅图10,检测到对该控件的操作时,电子设备可以输出提示信息,该提示信息用于提示用户是否对拍摄的图像及其拍摄参数进行分享,并且显示相应的控件,供用户进行确认操作,在检测到用于确认的控件的操作时,将当前拍摄图像以及调整后的拍摄参数发送至服务器。In some embodiments, the electronic device may display a control for triggering sharing in the shooting interface, and when detecting a triggering operation on the control, send the current shot image and the adjusted shooting parameters to the server. Optionally, referring to FIG. 10 , when detecting the operation of the control, the electronic device can output prompt information, the prompt information is used to prompt the user whether to share the captured image and its shooting parameters, and display the corresponding control, For the user to perform a confirmation operation, when the operation of the control used for confirmation is detected, the current shot image and the adjusted shooting parameters are sent to the server.
本申请实施例提供的图像拍摄方法,电子设备在获取当前拍摄场景的预览图像之后,将预览图像发送至服务器,以从服务器获取与预览图像匹配的目标图像的拍摄参数,由于服务器通常处理性能较高,因此可以更快速的获取拍摄参数,提升拍摄体验。另外,电子设备无需进行大量的图像的存储,以及图像之间的相似度的匹配,有效节省电子设备的储存空间和处理量,提升电子设备的运行速度。并且,还可以实现用户不满意拍摄图像时,在目标图像的拍摄参数的基础上,对拍摄参数进行调整,再进行图像拍摄,满足用户的需求,还可以实现新拍摄的拍摄图像的质量相对目标图像的图像质量更佳时,对当前拍摄图像及其对应的拍摄参数进行分享,方便其他用户在拍摄时使用该拍摄参数。In the image capturing method provided by the embodiment of the present application, after acquiring the preview image of the current shooting scene, the electronic device sends the preview image to the server, so as to obtain the shooting parameters of the target image matching the preview image from the server. Therefore, the shooting parameters can be obtained more quickly and the shooting experience can be improved. In addition, the electronic device does not need to store a large amount of images and match the similarity between the images, which effectively saves the storage space and processing volume of the electronic device and improves the running speed of the electronic device. In addition, when the user is not satisfied with the captured image, the shooting parameters can be adjusted on the basis of the shooting parameters of the target image, and then the image is captured to meet the needs of the user, and the relative target of the quality of the newly captured captured image can also be achieved. When the image quality of the image is better, the currently shot image and its corresponding shooting parameters are shared, so that other users can use the shooting parameters during shooting.
请参阅图11,图11示出了本申请又另一个实施例提供的图像拍摄方法的流程示意图。该图像拍摄方法应用于上述电子设备,下面将针对图11所示的流程进行详细的阐述,所述图像拍摄方法具体可以包括以下步骤:Referring to FIG. 11 , FIG. 11 shows a schematic flowchart of an image capturing method provided by yet another embodiment of the present application. The image capturing method is applied to the above-mentioned electronic device, and the flow shown in FIG. 11 will be described in detail below. The image capturing method may specifically include the following steps:
步骤S510:获取当前拍摄场景对应的预览图像。Step S510: Obtain a preview image corresponding to the current shooting scene.
步骤S520:获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值。Step S520: Acquire shooting parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
步骤S530:根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。Step S530: Shoot the current shooting scene according to the shooting parameters to obtain a shot image.
在本申请实施例中,步骤S510至步骤S530可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, for steps S510 to S530, reference may be made to the contents of the foregoing embodiments, and details are not described herein again.
步骤S540:获取所述拍摄图像与每个相册中至少一张图像之间的相似度,作为相册相似度。Step S540: Obtain the similarity between the captured image and at least one image in each album as the album similarity.
在本申请实施例中,电子设备可以在其处于空闲状态,对存储的图像进行分组,形成多个相册。具体地,可以将存储的图像中的当前图像与其他图像进行相似图搜索匹配,查找该张图像的相似图像,将当前图像与其相似图像分类为一组,得到该张图像的分组;针对下一张图像,判断 其是否在已存在的分组中,若存在于已存在的分组,则跳过该图像,若不存在于已存在的分组,则将存储的图像中的当前图像与其他图像进行相似图搜索匹配,查找该张图像的相似图像,然后得到该张图像的分组;重复以上步骤,遍历完所有图像之后,即完成了所有图像的分组。每个分组即可对应一个相册,从而生成不同的相册。In this embodiment of the present application, the electronic device may group the stored images when the electronic device is in an idle state to form multiple photo albums. Specifically, the current image in the stored image can be searched and matched with other images to find similar images of the image, and the current image and its similar images can be classified into a group to obtain the grouping of the image; for the next image If it exists in the existing group, skip the image, if it does not exist in the existing group, make the current image in the stored image similar to other images Graph search matches, finds similar images of the image, and then obtains the grouping of the image; repeating the above steps, after traversing all images, the grouping of all images is completed. Each group can correspond to an album, thereby generating different albums.
在一些实施方式中,电子设备还可以获取每个分组中的图像之间的相似度,并查找出相似度较高的图像,提示用户是否进行删除,完成相册的图像的去重处理。In some embodiments, the electronic device may also acquire the similarity between the images in each group, find out the images with higher similarity, prompt the user whether to delete them, and complete the deduplication processing of the images in the album.
在一些实施方式中,电子设备还可以获取每个图像分组中的图像质量得分,并将图像质量得分高于第一阈值的图像进行第一标记,以提示用户该图像的质量较高;将将图像质量得分低于第二阈值的图像进行第二标记,以提示用户该图像的质量较低,其中,第二阈值小于第一阈值。其中,获取图像质量分值的方式可以参阅前述实施例的内容,在此不再赘述。例如,请参阅图12,电子设备可以在相册界面A2中,对图像质量得分高于第一阈值的图像4和图像5进行第一标记,对图像质量得分低于第二阈值的图像7和图像9进行第二标记,且第一标记与第二标记的颜色不同。In some implementation manners, the electronic device may also acquire the image quality score in each image group, and first mark the images whose image quality scores are higher than the first threshold to prompt the user that the image is of high quality; An image with an image quality score lower than a second threshold is marked with a second mark to prompt the user that the quality of the image is lower, wherein the second threshold is smaller than the first threshold. The manner of obtaining the image quality score may refer to the content of the foregoing embodiments, and details are not described herein again. For example, referring to FIG. 12 , the electronic device may first mark images 4 and 5 whose image quality scores are higher than the first threshold, and mark images 7 and 5 whose image quality scores are lower than the second threshold in the album interface A2 9. A second mark is made, and the first mark and the second mark are of different colors.
在本申请实施例中,电子设备通过以上方式,每次获得拍摄图像之后,则可以获取拍摄图像与每个相册中的至少一张图像之间的相似度,作为相册相似度。In the embodiment of the present application, the electronic device can obtain the similarity between the captured image and at least one image in each album as the album similarity after obtaining the captured image in the above manner.
步骤S550:基于所述相册相似度将所述拍摄图像分组至目标相册。Step S550: Group the captured images into target albums based on the album similarity.
在本申请实施例中,电子设备获取拍摄图像与每个相册中的至少一张图像之间的相似度之后,则可以确定最高相似度,并将拍摄图像分组至该最高相似度所对应的目标相册,从而完成新获得的拍摄图像的分组。In this embodiment of the present application, after acquiring the similarity between the captured image and at least one image in each album, the electronic device may determine the highest similarity, and group the captured images into targets corresponding to the highest similarity album, thereby completing the grouping of newly acquired captured images.
步骤S560:获取所述目标相册中每张图像的图像质量分值。Step S560: Obtain the image quality score of each image in the target album.
在本申请实施例中,在每次新获得拍摄图像,对拍摄图像进行分组之后,还可以获取目标相册中每张图像的图像质量分值。其中,获取图像质量分值的方式可以参阅前述实施例的内容,在此不再赘述。In this embodiment of the present application, after each new captured image is obtained and the captured images are grouped, the image quality score of each image in the target album may also be obtained. The manner of obtaining the image quality score may refer to the content of the foregoing embodiments, and details are not described herein again.
步骤S570:获取图像质量分值不满足预设分值条件的图像,作为推荐删除图像。Step S570: Obtain an image whose image quality score does not meet the preset score condition, as a recommended image to be deleted.
在本申请实施例中,在获取目标相册中每张图像的图像质量分值之后,则可以筛选图像质量分值不满足预设分值条件的图像,作为推荐删除图像。其中,预设分值条件可以为图像质量分值低于指定分值;也可以为图像质量分值最低。In this embodiment of the present application, after obtaining the image quality score of each image in the target album, images whose image quality scores do not meet the preset score conditions may be screened as recommended images for deletion. The preset score condition may be that the image quality score is lower than the specified score; or the image quality score may be the lowest.
步骤S580:输出删除提示信息,所述删除提示信息用于提示用户对所述推荐删除图像进行删除。Step S580: Output deletion prompt information, where the deletion prompt information is used to prompt the user to delete the recommended deletion image.
在本申请实施例中,在确定出待删除图像之后,则可以删除提示信息,该删除提示信息用于提示用户对所述推荐删除图像进行删除。作为一种方式,可以以弹窗提示的方式输出提示信息;作为另一种方式,电子设备可以在目标相册的展示界面中,对待删除图像进行标记。In this embodiment of the present application, after the image to be deleted is determined, prompt information may be deleted, and the deletion prompt information is used to prompt the user to delete the image recommended for deletion. As one way, the prompt information can be output in the form of a pop-up window prompt; as another way, the electronic device can mark the image to be deleted in the display interface of the target album.
本申请实施例提供的图像拍摄方法,通过获取与预览图像匹配的目标图像所对应的拍摄参数,根据该拍摄参数,对该当前拍摄场景进行拍摄,获得拍摄图像,从而可以实现在进行拍摄时,根据与预览图像匹配的目标图像的拍摄参数,对当前拍摄场景进行拍摄,无需用户手动进行拍摄参数设置,提升了用户操作的便捷性,另外,也能够获得较高质量的拍摄图像。另外,在每次获得到拍摄图像时,对拍摄图像进行分组,以及对分组到的相册中的图像进行质量评估,减少了用户对相册的管理操作,为用户提供了更为智能化的服务器,进一步提升用户体验。In the image capturing method provided by the embodiment of the present application, by acquiring the shooting parameters corresponding to the target image matching the preview image, and according to the shooting parameters, the current shooting scene is shot to obtain the shooting image, so that when shooting, According to the shooting parameters of the target image matching the preview image, the current shooting scene is shot, and the user does not need to manually set the shooting parameters, which improves the convenience of the user's operation, and can also obtain a high-quality shot image. In addition, each time a photographed image is obtained, the photographed images are grouped, and the quality evaluation of the images in the grouped albums is performed, which reduces the user's management operations on the albums and provides users with a more intelligent server. Further improve the user experience.
请参阅图13,图13示出了本申请又再一个实施例提供的图像拍摄方法的流程示意图。该图像拍摄方法应用于服务器,服务器可以为物理服务器,也可以为传统服务器等,在此不做限定。下面将针对图13所示的流程进行详细的阐述,所述图像拍摄方法具体可以包括以下步骤:Referring to FIG. 13 , FIG. 13 shows a schematic flowchart of an image capturing method provided by still another embodiment of the present application. The image capturing method is applied to a server, and the server may be a physical server or a traditional server, etc., which is not limited herein. The flow shown in FIG. 13 will be described in detail below, and the image capturing method may specifically include the following steps:
步骤S610:接收电子设备发送的当前拍摄场景对应的预览图像。Step S610: Receive a preview image corresponding to the current shooting scene sent by the electronic device.
步骤S620:获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值。Step S620: Acquire shooting parameters corresponding to a target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold.
步骤S630:将所述拍摄参数发送至所述电子设备,所述拍摄参数用于所述电子设备对所述当前拍摄场景进行拍摄。Step S630: Send the shooting parameters to the electronic device, where the shooting parameters are used by the electronic device to shoot the current shooting scene.
在本申请实施例中,电子设备可以通过从服务器查询与预览图像匹配的目标图像的拍摄参数的方式,获取用于图像拍摄的拍摄参数。In the embodiment of the present application, the electronic device may acquire the shooting parameters for image shooting by querying the shooting parameters of the target image matching the preview image from the server.
请参阅图14,其示出了本申请一个实施例提供的一种图像拍摄装置400的结构框图。该图像拍摄装置400应用上述的电子设备,该图像拍摄装置400包括:第一获取模块410、第二获取模块420以及拍摄模块430。其中,所述第一获取模块410用于获取当前拍摄场景对应的预览图像;所述第二获取模块420用于获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目 标图像与所述预览图像之间的相似度大于预设阈值;所述拍摄模块430用于根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。Please refer to FIG. 14 , which shows a structural block diagram of an image capturing apparatus 400 provided by an embodiment of the present application. The image capturing apparatus 400 applies the above-mentioned electronic equipment, and the image capturing apparatus 400 includes: a first acquiring module 410 , a second acquiring module 420 and a capturing module 430 . The first acquisition module 410 is used to acquire the preview image corresponding to the current shooting scene; the second acquisition module 420 is used to acquire the shooting parameters corresponding to the target image matching the preview image, wherein the target The similarity between the image and the preview image is greater than a preset threshold; the shooting module 430 is configured to shoot the current shooting scene according to the shooting parameters to obtain a shooting image.
在一些实施方式中,该图像拍摄装置400还可以包括:图像获取模块以及图像展示模块。图像获取模块用于在所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄之前,获取与所述预览图像匹配的目标图像;图像展示模块用于将所述目标图像于拍摄界面中的预设区域进行展示。In some embodiments, the image capturing apparatus 400 may further include: an image acquisition module and an image display module. The image acquisition module is used to acquire a target image matching the preview image before the current shooting scene is shot according to the shooting parameters; the image display module is used to display the target image in the shooting interface. Preset area for display.
在该实施方式下,该图像拍摄装置400还可以包括:参数调整模块。参数调整模块用于在所述将所述目标图像于拍摄界面中的预设区域进行显示与所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像之间,在接收到对所述目标图像的选取指令时,将相机拍摄参数调整为所述目标图像所对应的拍摄参数。In this embodiment, the image capturing apparatus 400 may further include: a parameter adjustment module. The parameter adjustment module is used for displaying the target image in the preset area in the shooting interface and shooting the current shooting scene according to the shooting parameters, and obtaining the shooting image, after receiving the image. When selecting the target image, the camera shooting parameters are adjusted to the shooting parameters corresponding to the target image.
在该实施方式下,图像展示模块可以具体用于:当存在多张目标图像时,获取每张目标图像被选取的选取次数;基于所述每张目标图像被选取的选取次数,对所述多张目标图像按照选取次数从高到低的顺序进行排序;基于排序结果,将所述多张目标图像以缩略图于所述预设区域进行展示。In this embodiment, the image display module can be specifically used to: when there are multiple target images, obtain the number of times each target image is selected; The target images are sorted in descending order of the selection times; based on the sorting result, the plurality of target images are displayed in the preset area as thumbnails.
在一些实施方式中,第二获取模块420可以具体用于:将所述预览图像的图像信息发送至服务器;接收所述服务器返回的目标图像所对应的拍摄参数。In some embodiments, the second obtaining module 420 may be specifically configured to: send the image information of the preview image to the server; and receive the shooting parameters corresponding to the target image returned by the server.
在该实施方式下,所述服务器包括应用商店和/或主题商店对应的服务器。该图像拍摄装置400还可以包括请求发送模块以及主题接收模块。请求发送模块用于向所述服务器发送下载请求,所述下载请求用于下载所述目标图像对应的界面主题;主题接收模块用于接收所述服务器根据所述下载请求返回的界面主题,并对所述界面主题进行保存。In this implementation manner, the server includes a server corresponding to an application store and/or a theme store. The image capturing apparatus 400 may further include a request sending module and a subject receiving module. The request sending module is used to send a download request to the server, and the download request is used to download the interface theme corresponding to the target image; the theme receiving module is used to receive the interface theme returned by the server according to the download request, and to The interface theme is saved.
在该实施方式下,该图像拍摄装置400还可以包括调整指令响应模块。调整指令响应模块用于在所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像之后,若在预设时长内接收到对所述拍摄参数的调整指令,基于所述调整指令,对所述拍摄参数进行调整;拍摄模块430还可以用于基于调整后的拍摄参数重新对所述当前拍摄场景进行拍摄,获得最新拍摄的拍摄图像,作为当前拍摄图像。In this embodiment, the image capturing apparatus 400 may further include an adjustment instruction response module. The adjustment instruction response module is configured to, after the current shooting scene is shot according to the shooting parameters and a shot image is obtained, if an adjustment instruction for the shooting parameters is received within a preset time period, based on the adjustment command to adjust the shooting parameters; the shooting module 430 may also be configured to re-shoot the current shooting scene based on the adjusted shooting parameters, and obtain the latest shooting image as the current shooting image.
进一步的,该图像拍摄装置400还可以包括第一分值获取模块以及图像发送模块。第一分值获取模块用于获取所述当前拍摄图像对应的图像质量分值作为第一分值,以及所述目标图像对应的图像质量分值作为第二分值;图像发送模块用于若所述第一分值大于所述第二分值,将所述当前拍摄图像以及所述调整后的拍摄参数发送至所述服务器。Further, the image capturing apparatus 400 may further include a first score obtaining module and an image sending module. The first score acquisition module is used to obtain the image quality score corresponding to the currently captured image as the first score, and the image quality score corresponding to the target image as the second score; The first score is greater than the second score, and the currently shot image and the adjusted shooting parameter are sent to the server.
在一些实施方式中,该图像拍摄装置400还可以包括相似度获取模块以及图像分组模块。相似度获取模块用于在所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像之后,获取所述拍摄图像与每个相册中至少一张图像之间的相似度,作为相册相似度;图像分组模块用于基于所述相册相似度将所述拍摄图像分组至目标相册。In some embodiments, the image capturing apparatus 400 may further include a similarity obtaining module and an image grouping module. The similarity obtaining module is used to obtain the similarity between the captured image and at least one image in each album after capturing the current shooting scene according to the shooting parameters and obtaining the captured image, as Album similarity; the image grouping module is configured to group the captured images into target albums based on the album similarity.
在该实施方式下,该图像拍摄装置400还可以包括第二分值获取模块、图像筛选模块以及信息提示模块。第二分值获取模块用于获取所述目标相册中每张图像的图像质量分值;图像筛选模块用于获取图像质量分值不满足预设分值条件的图像,作为推荐删除图像;信息提示模块用于输出删除提示信息,所述删除提示信息用于提示用户对所述推荐删除图像进行删除。In this embodiment, the image capturing apparatus 400 may further include a second score acquisition module, an image screening module, and an information prompt module. The second score obtaining module is used to obtain the image quality score of each image in the target album; the image screening module is used to obtain the image whose image quality score does not meet the preset score conditions, as a recommended image to be deleted; information prompts The module is configured to output deletion prompt information, where the deletion prompt information is used to prompt the user to delete the recommended deletion image.
请参阅图15,其示出了本申请另一个实施例提供的一种图像拍摄装置400的结构框图。该图像拍摄装置500应用上述的服务器,该图像拍摄装置500包括:图像接收模块510、第三获取模块520以及参数发送模块530。其中,所述图像接收模块510用于接收电子设备发送的当前拍摄场景对应的预览图像;所述第三获取模块520用于获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;所述参数发送模块530用于将所述拍摄参数发送至所述电子设备,所述拍摄参数用于所述电子设备对所述当前拍摄场景进行拍摄。Please refer to FIG. 15 , which shows a structural block diagram of an image capturing apparatus 400 provided by another embodiment of the present application. The image capturing apparatus 500 applies the above server, and the image capturing apparatus 500 includes: an image receiving module 510 , a third acquiring module 520 and a parameter sending module 530 . Wherein, the image receiving module 510 is used for receiving the preview image corresponding to the current shooting scene sent by the electronic device; the third acquiring module 520 is used for acquiring the shooting parameters corresponding to the target image matching the preview image, wherein, The similarity between the target image and the preview image is greater than a preset threshold; the parameter sending module 530 is configured to send the shooting parameters to the electronic device, and the shooting parameters are used by the electronic device to The current shooting scene is shot.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
综上所述,本申请提供的方案,通过获取当前拍摄场景对应的预览图像,获取与该预览图像匹配的目标图像所对应的拍摄参数,其中,该目标图像与该预览图像之间的相似度大于预设阈值,根据该拍摄参数,对该当前拍摄场景进行拍摄,获得拍摄图像,从而可以实现在进行拍摄时,根 据与预览图像匹配的目标图像的拍摄参数,对当前拍摄场景进行拍摄,无需用户手动进行拍摄参数设置,提升了用户操作的便捷性,另外,也能够获得较高质量的拍摄图像。To sum up, in the solution provided by the present application, by obtaining the preview image corresponding to the current shooting scene, the shooting parameters corresponding to the target image matching the preview image are obtained, wherein the similarity between the target image and the preview image is is greater than the preset threshold, according to the shooting parameters, the current shooting scene is shot to obtain a shot image, so that when shooting, the current shooting scene can be shot according to the shooting parameters of the target image matching the preview image, without the need for The user manually sets the shooting parameters, which improves the convenience of the user's operation, and in addition, can also obtain high-quality shooting images.
请参考图16,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以是智能手机、平板电脑、智能手表、智能眼镜等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 16 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, a smart watch, and smart glasses. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and configured to be executed by One or more processors 110 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120. Various functions of the electronic device 100 and processing data. Optionally, the processor 110 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the processor 110, and is implemented by a communication chip alone.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area may also store data (such as phone book, audio and video data, chat record data) created by the electronic device 100 during use.
请参考图17,其示出了本申请实施例提供的一种服务器的结构框图。该服务器200可以是物理服务器、云服务器等。本申请中的服务器200可以包括一个或多个如下部件:处理器210、存储器220、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器220中并被配置为由一个或多个处理器210执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 17 , which shows a structural block diagram of a server provided by an embodiment of the present application. The server 200 may be a physical server, a cloud server, or the like. The server 200 in the present application may include one or more of the following components: a processor 210, a memory 220, and one or more application programs, wherein one or more application programs may be stored in the memory 220 and configured to be executed by a The processor or processors 210 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
处理器210可以包括一个或者多个处理核。处理器210利用各种接口和线路连接整个服务器200内的各个部分,通过运行或执行存储在存储器220内的指令、程序、代码集或指令集,以及调用存储在存储器220内的数据,执行服务器200的各种功能和处理数据。可选地,处理器210可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器210可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器210中,单独通过一块通信芯片进行实现。 Processor 210 may include one or more processing cores. The processor 210 uses various interfaces and lines to connect various parts of the entire server 200, and executes the server by running or executing the instructions, programs, code sets or instruction sets stored in the memory 220, and calling the data stored in the memory 220. 200 various functions and processing data. Optionally, the processor 210 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 210 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 210, and is implemented by a communication chip alone.
存储器220可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器220可用于存储指令、程序、代码、代码集或指令集。存储器220可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储服务器200在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 220 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 220 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area may also store data created by the server 200 in use (eg phone book, audio and video data, chat record data) and the like.
请参考图18,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 18 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable medium 800 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。The computer readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. Computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps in the above-described methods. The program codes can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述 实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种图像拍摄方法,其特征在于,应用于电子设备,所述方法包括:An image capturing method, characterized in that, applied to an electronic device, the method comprising:
    获取当前拍摄场景对应的预览图像;Obtain the preview image corresponding to the current shooting scene;
    获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;acquiring the shooting parameters corresponding to the target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold;
    根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。According to the shooting parameters, the current shooting scene is shot to obtain a shot image.
  2. 根据权利要求1所述的方法,其特征在于,在所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄之前,所述方法还包括:The method according to claim 1, characterized in that, before the shooting of the current shooting scene according to the shooting parameters, the method further comprises:
    获取与所述预览图像匹配的目标图像;obtaining a target image matching the preview image;
    将所述目标图像于拍摄界面中的预设区域进行展示。The target image is displayed in a preset area in the shooting interface.
  3. 根据权利要求2所述的方法,其特征在于,在所述将所述目标图像于拍摄界面中的预设区域进行展示与所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像之间,所述方法还包括:The method according to claim 2, characterized in that, between displaying the target image in a preset area in the shooting interface and shooting the current shooting scene according to the shooting parameters, obtaining Between capturing the images, the method further includes:
    在接收到对所述目标图像的选取指令时,将相机拍摄参数调整为所述目标图像所对应的拍摄参数。When receiving the selection instruction for the target image, the camera shooting parameters are adjusted to the shooting parameters corresponding to the target image.
  4. 根据权利要求3所述的方法,其特征在于,所述在接收到对所述目标图像的选取指令时,将相机拍摄参数调整为所述目标图像所对应的拍摄参数,包括:The method according to claim 3, wherein the adjusting the camera shooting parameters to the shooting parameters corresponding to the target image when receiving the selection instruction for the target image, comprising:
    若检测到对至少两张目标图像的选取指令,根据被选择的至少两张目标图像的拍摄参数,生成新的拍摄参数;If a selection instruction for at least two target images is detected, new shooting parameters are generated according to the shooting parameters of the selected at least two target images;
    将相机拍摄参数调整为所述新的拍摄参数。Adjust the camera shooting parameters to the new shooting parameters.
  5. 根据权利要求4所述的方法,其特征在于,所述根据被选择的至少两张目标图像的拍摄参数,生成新的拍摄参数,包括:The method according to claim 4, wherein the generating new shooting parameters according to the shooting parameters of the selected at least two target images, comprising:
    获取被选择的至少两张目标图像中每张目标图像的选取次数;Obtain the selection times of each target image in the selected at least two target images;
    基于所述每张目标图像的选取次数,生成每张目标图像的权重;Based on the selection times of each target image, the weight of each target image is generated;
    基于所述每张目标图像的拍摄参数以及权重,生成新的拍摄参数。Based on the shooting parameters and weights of each target image, new shooting parameters are generated.
  6. 根据权利要求2-5任一项所述的方法,其特征在于,所述将所述目标图像于拍摄界面中的预设区域进行展示,包括:The method according to any one of claims 2-5, wherein the displaying the target image in a preset area in the shooting interface comprises:
    当存在多张目标图像时,获取每张目标图像被选取的选取次数;When there are multiple target images, obtain the number of times each target image is selected;
    基于所述每张目标图像被选取的选取次数,对所述多张目标图像按照选取次数从高到低的顺序进行排序;Based on the number of times that each target image is selected, sort the plurality of target images in descending order of the number of times of selection;
    基于排序结果,将所述多张目标图像以缩略图于所述预设区域进行展示。Based on the sorting result, the plurality of target images are displayed in the preset area as thumbnails.
  7. 根据权利要求6所述的方法,其特征在于,在所述基于所述每张目标图像被选取的选取次数,对所述多张目标图像按照选取次数从高到低的顺序进行排序之前,所述方法还包括:The method according to claim 6, wherein before sorting the plurality of target images in descending order of the selection times based on the selection times of each target image, the The method also includes:
    根据所述目标图像被选取的选取次数,从所述多张目标图像中筛选出选取次数大于预设次数的目标图像。According to the number of times the target image is selected, the target images whose number of times of selection is greater than a preset number of times are selected from the plurality of target images.
  8. 根据权利要求1所述的方法,其特征在于,所述获取与所述预览图像匹配的目标图像所对应的拍摄参数,包括:The method according to claim 1, wherein the acquiring the shooting parameters corresponding to the target image matching the preview image comprises:
    将所述预览图像的图像信息发送至服务器;sending the image information of the preview image to the server;
    接收所述服务器返回的目标图像所对应的拍摄参数。The shooting parameters corresponding to the target image returned by the server are received.
  9. 根据权利要求8所述的方法,其特征在于,所述服务器包括应用商店和/或主题商店对应的 服务器,所述方法还包括:The method according to claim 8, wherein the server comprises a server corresponding to an application store and/or a theme store, and the method further comprises:
    向所述服务器发送下载请求,所述下载请求用于下载所述目标图像对应的界面主题;sending a download request to the server, where the download request is used to download the interface theme corresponding to the target image;
    接收所述服务器根据所述下载请求返回的界面主题,并对所述界面主题进行保存。Receive the interface theme returned by the server according to the download request, and save the interface theme.
  10. 根据权利要求8或9所述的方法,其特征在于,在所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像之后,所述方法还包括:The method according to claim 8 or 9, characterized in that, after the current shooting scene is shot according to the shooting parameters and a shot image is obtained, the method further comprises:
    若在预设时长内接收到对所述拍摄参数的调整指令,基于所述调整指令,对所述拍摄参数进行调整;If an adjustment instruction for the shooting parameter is received within a preset time period, adjusting the shooting parameter based on the adjustment instruction;
    基于调整后的拍摄参数重新对所述当前拍摄场景进行拍摄,获得最新拍摄的拍摄图像,作为当前拍摄图像。The current shooting scene is re-shot based on the adjusted shooting parameters, and the latest shot image is obtained as the current shot image.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method of claim 10, wherein the method further comprises:
    获取所述当前拍摄图像对应的图像质量分值作为第一分值,以及所述目标图像对应的图像质量分值作为第二分值;acquiring the image quality score corresponding to the currently captured image as the first score, and the image quality score corresponding to the target image as the second score;
    若所述第一分值大于所述第二分值,将所述当前拍摄图像以及所述调整后的拍摄参数发送至所述服务器。If the first score is greater than the second score, send the currently shot image and the adjusted shooting parameter to the server.
  12. 根据权利要求11所述的方法,其特征在于,所述若所述第一分值大于所述第二分值,将所述当前拍摄图像以及所述调整后的拍摄参数发送至所述服务器,包括:The method according to claim 11, wherein, if the first score is greater than the second score, sending the currently captured image and the adjusted shooting parameters to the server, include:
    若所述第一分值大于所述第二分值,在拍摄界面中显示用于触发分享的控件;If the first score is greater than the second score, displaying a control for triggering sharing in the shooting interface;
    在检测到对所述控件进行操作时,将所述当前拍摄图像以及所述调整后的拍摄参数发送至服务器。When it is detected that the control is operated, the current shot image and the adjusted shot parameters are sent to the server.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,在所述根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像之后,所述方法还包括:The method according to any one of claims 1-12, wherein after the current shooting scene is shot according to the shooting parameters and a shot image is obtained, the method further comprises:
    获取所述拍摄图像与每个相册中至少一张图像之间的相似度,作为相册相似度;Obtain the similarity between the captured image and at least one image in each album as the album similarity;
    基于所述相册相似度将所述拍摄图像分组至目标相册。The captured images are grouped into target albums based on the album similarity.
  14. 根据权利要求13所述的方法,其特征在于,在所述基于所述相册相似度将所述拍摄图像分组至所述目标相册之后,所述方法还包括:The method according to claim 13, wherein after the grouping of the captured images to the target album based on the album similarity, the method further comprises:
    获取所述目标相册中每张图像的图像质量分值;Obtain the image quality score of each image in the target album;
    获取图像质量分值不满足预设分值条件的图像,作为推荐删除图像;Obtain images whose image quality scores do not meet the preset score conditions, as recommended images for deletion;
    输出删除提示信息,所述删除提示信息用于提示用户对所述推荐删除图像进行删除。Deletion prompt information is output, where the deletion prompt information is used to prompt the user to delete the recommended deletion image.
  15. 一种图像拍摄方法,其特征在于,应用于服务器,所述方法包括:An image capturing method, characterized in that being applied to a server, the method comprising:
    接收电子设备发送的当前拍摄场景对应的预览图像;receiving a preview image corresponding to the current shooting scene sent by the electronic device;
    获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;acquiring the shooting parameters corresponding to the target image matching the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold;
    将所述拍摄参数发送至所述电子设备,所述拍摄参数用于所述电子设备对所述当前拍摄场景进行拍摄。The shooting parameters are sent to the electronic device, where the shooting parameters are used by the electronic device to shoot the current shooting scene.
  16. 一种图像拍摄装置,其特征在于,应用于电子设备,所述装置包括:第一获取模块、第二获取模块以及拍摄模块,其中,An image capturing device is characterized in that, applied to electronic equipment, the device comprises: a first acquiring module, a second acquiring module and a capturing module, wherein,
    所述第一获取模块用于获取当前拍摄场景对应的预览图像;The first obtaining module is used to obtain a preview image corresponding to the current shooting scene;
    所述第二获取模块用于获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;The second acquisition module is configured to acquire the shooting parameters corresponding to the target image matched with the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold;
    所述拍摄模块用于根据所述拍摄参数,对所述当前拍摄场景进行拍摄,获得拍摄图像。The photographing module is configured to photograph the current photographing scene according to the photographing parameters to obtain a photographed image.
  17. 一种图像拍摄装置,其特征在于,应用于服务器,所述装置包括:图像接收模块、第三获取模块以及参数发送模块,其中,An image capturing device is characterized in that, when applied to a server, the device comprises: an image receiving module, a third obtaining module and a parameter sending module, wherein,
    所述图像接收模块用于接收电子设备发送的当前拍摄场景对应的预览图像;The image receiving module is configured to receive a preview image corresponding to the current shooting scene sent by the electronic device;
    所述第三获取模块用于获取与所述预览图像匹配的目标图像所对应的拍摄参数,其中,所述目标图像与所述预览图像之间的相似度大于预设阈值;The third acquisition module is configured to acquire the shooting parameters corresponding to the target image matched with the preview image, wherein the similarity between the target image and the preview image is greater than a preset threshold;
    所述参数发送模块用于将所述拍摄参数发送至所述电子设备,所述拍摄参数用于所述电子设备对所述当前拍摄场景进行拍摄。The parameter sending module is configured to send the shooting parameters to the electronic device, where the shooting parameters are used by the electronic device to shoot the current shooting scene.
  18. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    一个或多个处理器;one or more processors;
    存储器;memory;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-14任一项所述的方法。one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform such as The method of any of claims 1-14.
  19. 一种服务器,其特征在于,包括:A server, characterized in that it includes:
    一个或多个处理器;one or more processors;
    存储器;memory;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求15所述的方法。one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform such as The method of claim 15.
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-15任一项所述的方法。A computer-readable storage medium, wherein a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the method according to any one of claims 1-15 .
PCT/CN2021/122907 2020-11-27 2021-10-09 Image photographing method and apparatus, and electronic device, server and storage medium WO2022111072A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011359801.9 2020-11-27
CN202011359801.9A CN112565599A (en) 2020-11-27 2020-11-27 Image shooting method and device, electronic equipment, server and storage medium

Publications (1)

Publication Number Publication Date
WO2022111072A1 true WO2022111072A1 (en) 2022-06-02

Family

ID=75046082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/122907 WO2022111072A1 (en) 2020-11-27 2021-10-09 Image photographing method and apparatus, and electronic device, server and storage medium

Country Status (2)

Country Link
CN (1) CN112565599A (en)
WO (1) WO2022111072A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117013703A (en) * 2023-10-07 2023-11-07 华大天元(北京)科技股份有限公司 Electric control cabinet switch monitoring method and device based on machine vision

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022039702A (en) * 2020-08-28 2022-03-10 キヤノン株式会社 Imaging apparatus, control method of imaging apparatus, and program
CN112565599A (en) * 2020-11-27 2021-03-26 Oppo广东移动通信有限公司 Image shooting method and device, electronic equipment, server and storage medium
CN113093968B (en) * 2021-03-31 2022-05-06 维沃移动通信(杭州)有限公司 Shooting interface display method and device, electronic equipment and medium
CN114666505A (en) * 2022-03-24 2022-06-24 臻迪科技股份有限公司 Method and system for controlling unmanned aerial vehicle to shoot and unmanned aerial vehicle system
CN114845052B (en) * 2022-04-22 2024-03-12 杭州海康威视数字技术股份有限公司 Shooting parameter adjustment method and device, camera and target equipment
CN115209056A (en) * 2022-08-10 2022-10-18 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and storage medium
TWI828302B (en) * 2022-09-02 2024-01-01 英屬維爾京群島商威爾德嘉德有限公司 Shooting methods and shooting equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160112630A1 (en) * 2014-10-15 2016-04-21 Microsoft Corporation Camera capture recommendation for applications
CN107229625A (en) * 2016-03-23 2017-10-03 北京搜狗科技发展有限公司 It is a kind of to shoot treating method and apparatus, a kind of device for being used to shoot processing
CN109639964A (en) * 2018-11-26 2019-04-16 北京达佳互联信息技术有限公司 Image processing method, processing unit and computer readable storage medium
CN111416940A (en) * 2020-03-31 2020-07-14 维沃移动通信(杭州)有限公司 Shooting parameter processing method and electronic equipment
CN111654635A (en) * 2020-06-30 2020-09-11 维沃移动通信有限公司 Shooting parameter adjusting method and device and electronic equipment
CN112565599A (en) * 2020-11-27 2021-03-26 Oppo广东移动通信有限公司 Image shooting method and device, electronic equipment, server and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028237A (en) * 2008-07-15 2010-02-04 Toshiba Corp Image pickup device and method for determining photographic parameter
CN104301613B (en) * 2014-10-16 2016-03-02 深圳市中兴移动通信有限公司 Mobile terminal and image pickup method thereof
CN104853092A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Photographing method and device
CN106412438A (en) * 2016-10-21 2017-02-15 上海与德信息技术有限公司 Photographing parameter adjustment method and device
CN107809598B (en) * 2017-11-16 2019-11-29 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and server
CN110012210B (en) * 2018-01-05 2020-09-22 Oppo广东移动通信有限公司 Photographing method and device, storage medium and electronic equipment
CN111279684A (en) * 2018-05-07 2020-06-12 合刃科技(武汉)有限公司 Shooting control method and electronic device
CN111355889B (en) * 2020-03-12 2022-02-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160112630A1 (en) * 2014-10-15 2016-04-21 Microsoft Corporation Camera capture recommendation for applications
CN107229625A (en) * 2016-03-23 2017-10-03 北京搜狗科技发展有限公司 It is a kind of to shoot treating method and apparatus, a kind of device for being used to shoot processing
CN109639964A (en) * 2018-11-26 2019-04-16 北京达佳互联信息技术有限公司 Image processing method, processing unit and computer readable storage medium
CN111416940A (en) * 2020-03-31 2020-07-14 维沃移动通信(杭州)有限公司 Shooting parameter processing method and electronic equipment
CN111654635A (en) * 2020-06-30 2020-09-11 维沃移动通信有限公司 Shooting parameter adjusting method and device and electronic equipment
CN112565599A (en) * 2020-11-27 2021-03-26 Oppo广东移动通信有限公司 Image shooting method and device, electronic equipment, server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117013703A (en) * 2023-10-07 2023-11-07 华大天元(北京)科技股份有限公司 Electric control cabinet switch monitoring method and device based on machine vision
CN117013703B (en) * 2023-10-07 2023-12-26 华大天元(北京)科技股份有限公司 Electric control cabinet switch monitoring method and device based on machine vision

Also Published As

Publication number Publication date
CN112565599A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
WO2022111072A1 (en) Image photographing method and apparatus, and electronic device, server and storage medium
US11706285B2 (en) Systems and methods for selecting media items
CN112585940B (en) System and method for providing feedback for artificial intelligence based image capture devices
RU2651240C1 (en) Method and device for processing photos
EP1793581A1 (en) Automatic selection of images for transfer depending on connection characteristics
CN108174097B (en) Picture shooting method and device, and picture shooting parameter providing method and device
US20220417417A1 (en) Content Operation Method and Device, Terminal, and Storage Medium
CN112887610A (en) Shooting method, shooting device, electronic equipment and storage medium
CN108093177B (en) Image acquisition method and device, storage medium and electronic equipment
CN113824883A (en) Information processing method and electronic equipment
CN107094231A (en) Intelligent image pickup method and device
CN110677580B (en) Shooting method, shooting device, storage medium and terminal
US10212363B2 (en) Picture processing method and electronic device
CN110581950B (en) Camera, system and method for selecting camera settings
JP2004280254A (en) Contents categorizing method and device
CN110149475B (en) Image shooting method and device, electronic device, storage medium and computer equipment
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN110633377A (en) Picture cleaning method and device
WO2019100925A1 (en) Image data output
CN114915851A (en) Video recording and playing method and device
CN112100427A (en) Video processing method and device, electronic equipment and storage medium
CN111064892A (en) Automatic image sharing method and system, electronic device and storage medium
CN111324759A (en) Picture sorting processing method and device
WO2018232669A1 (en) Method for controlling camera to photograph and mobile terminal
US11523061B2 (en) Imaging apparatus, image shooting processing method, and storage medium for performing control to display a pattern image corresponding to a guideline

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: 21896574

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: 21896574

Country of ref document: EP

Kind code of ref document: A1