CN113411505A - Photographing control method and device and storage medium - Google Patents

Photographing control method and device and storage medium Download PDF

Info

Publication number
CN113411505A
CN113411505A CN202110956492.1A CN202110956492A CN113411505A CN 113411505 A CN113411505 A CN 113411505A CN 202110956492 A CN202110956492 A CN 202110956492A CN 113411505 A CN113411505 A CN 113411505A
Authority
CN
China
Prior art keywords
image
target
reference images
parameter
quality evaluation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110956492.1A
Other languages
Chinese (zh)
Other versions
CN113411505B (en
Inventor
吴银花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bresta Technology Co ltd
Original Assignee
Shenzhen Keasy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Keasy Technology Co ltd filed Critical Shenzhen Keasy Technology Co ltd
Priority to CN202110956492.1A priority Critical patent/CN113411505B/en
Publication of CN113411505A publication Critical patent/CN113411505A/en
Application granted granted Critical
Publication of CN113411505B publication Critical patent/CN113411505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

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

Abstract

The application relates to the technical field of internet, and the embodiment of the application discloses a photographing control method, a photographing control device and a storage medium, which are applied to a server, wherein the method comprises the following steps: acquiring a first image sent by user equipment, wherein the first image carries a first equipment parameter and a first environment parameter of the user equipment; identifying the first image to obtain target content; acquiring P reference images corresponding to the target content, wherein P is an integer greater than 1; screening the P reference images according to the first equipment parameter and the first environment parameter to obtain Q reference images, wherein Q is a positive integer smaller than P; and determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters. By adopting the embodiment of the application, the user can be helped to improve the photographing effect.

Description

Photographing control method and device and storage medium
Technical Field
The application relates to the technical field of internet, in particular to a photographing control method, a photographing control device and a storage medium.
Background
With the rapid development of electronic technology and internet technology, not only electronic devices (such as mobile phones, tablet computers, and the like) become life partners of people in life, but also taking photos is more and more pursued by users, but often, users take photos unprecedentedly and are difficult to obtain satisfactory images, and therefore, the problem of how to help users to improve the photo taking effect needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a photographing control method, a photographing control device and a storage medium, which can help a user to improve the photographing effect.
In a first aspect, an embodiment of the present application provides a photographing control method, which is applied to a server, and the method includes:
acquiring a first image sent by user equipment, wherein the first image carries a first equipment parameter and a first environment parameter of the user equipment;
identifying the first image to obtain target content;
acquiring P reference images corresponding to the target content, wherein P is an integer greater than 1;
screening the P reference images according to the first equipment parameter and the first environment parameter to obtain Q reference images, wherein Q is a positive integer smaller than P;
and determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
In a second aspect, an embodiment of the present application provides a photographing control apparatus, which is applied to a server, and the apparatus includes: a first acquisition unit, a recognition unit, a second acquisition unit, a screening unit and a determination unit, wherein,
the first obtaining unit is configured to obtain a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment;
the identification unit is used for identifying the first image to obtain target content;
the second obtaining unit is configured to obtain P reference images corresponding to the target content, where P is an integer greater than 1;
the screening unit is configured to screen the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images, where Q is a positive integer smaller than P;
the determining unit is used for determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
In a third aspect, an embodiment of the present application provides a server, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the photographing control method, apparatus, and storage medium described in the embodiments of the present application are applied to a server, obtain a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment, identify the first image, obtain a target content, obtain P reference images corresponding to the target content, where P is an integer greater than 1, filter the P reference images according to the first device parameter and the first environment parameter, obtain Q reference images, where Q is a positive integer less than P, determine a target photographing parameter according to the Q reference images, send the target photographing parameter to the user equipment, and instruct the user equipment to photograph with the target photographing parameter, and can obtain a high-quality image photographed by another person, which is suitable for the device parameter and the environment parameter of the user equipment, with the help of the server, the shooting parameters based on the images help the user to complete shooting, so that the user can be helped to improve the shooting effect, and the shooting pleasure of the user can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a photographing control method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another photographing control method provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 4 is a block diagram illustrating functional units of a photographing control apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flow chart of a photographing control method according to an embodiment of the present application, and as shown in the figure, the photographing control method includes:
101. the method comprises the steps of obtaining a first image sent by user equipment, wherein the first image carries a first equipment parameter and a first environment parameter of the user equipment.
The first image may be a preview image captured by a camera of the user equipment or a randomly captured image. The first image may be a compressed image or an image of a specified resolution, which may be preset or default to the system, and thus may not require a high resolution since the first image may be used only to identify content. The user device may be any device with a shooting function, for example, including at least one of: a mobile phone, a tablet computer, a smart watch, smart glasses, etc., without limitation. The user equipment can shoot under the condition of receiving the shooting instruction to obtain an image, then compress or down-sample the shot image, and send the compressed or down-sampled image to the server, and the server can receive the first image.
The first image may not only carry the first device parameter of the user device, but also carry the first environment parameter. The first device parameter may include at least one of: device model, brand, MAC address, IP address, camera number, etc., without limitation. The first environmental parameter may include at least one of: geographic location, ambient light brightness value, ambient temperature, ambient humidity, weather, season, wind direction, atmospheric pressure, and the like, without limitation.
102. And identifying the first image to obtain target content.
In a specific implementation, the server may perform image segmentation on the first image to obtain a target area image or a background area image, compare the target area image with an image in a preset image library, and use a content identifier of an image in the image library successfully compared with the target area image as target content, or compare the background area image with an image in the image library, and use a content identifier of an image in the image library successfully compared with the background area image as target content. The preset image library may include a plurality of images, each of which may include a background or an object, the background may correspond to a background identifier, and the object may correspond to an object identifier, which is used to mark what is specifically what in the image, such as hong kong and australian bridge, and also, for example, redtree bay.
Optionally, the environmental parameter includes a target geographic location, and the step 102 of identifying the first image to obtain the target content may include the following steps:
21. determining a target content image set corresponding to the target geographic position according to a preset mapping relation between the geographic position and the content images, wherein the target content image set comprises at least one content image, and each content image corresponds to a content identifier;
22. carrying out image segmentation on the first image to obtain a target area image;
23. and comparing the target area image with each content image in the target content image set to obtain a reference content image successfully compared with the target area image, and taking the content identification of the reference content image as the target content.
The server may pre-store a mapping relationship between a preset geographic location and a content image, that is, different geographic locations, where the corresponding content images are different.
Specifically, the environment parameter may include a target geographic position, and the server may determine a target content image set corresponding to the target geographic position according to a preset mapping relationship between the geographic position and the content image, where the target content image set may include at least one content image, each content image corresponds to a content identifier, and the content identifier is used to identify a name of the content.
Furthermore, the server may perform image segmentation on the first image to obtain a target area image, compare the target area image with each content image in the target content image set to obtain a reference content image successfully compared with the target area image, use a content identifier of the reference content image as target content, and further obtain a corresponding reference image from a preset image library based on the content identifier.
103. And acquiring P reference images corresponding to the target content, wherein P is an integer larger than 1.
The user likes to shoot mostly, the shooting level of some people is good, the shot image is good and good, the shooting level of some people is poor, the shot image is general, but the user can upload the image to the server to share, the uploaded image can carry the equipment parameters of the uploaded image, the corresponding shooting parameters and the corresponding environment parameters, and then the image library can be preset by the image composition. The preset image library may include a plurality of images, and each image may correspond to a corresponding content identifier. Further, P reference images corresponding to the target content may be acquired, where P is an integer greater than 1, and the P reference images may include images similar to the background, the target, the photographing angle, and the photographing environment photographed by the user. Each image in the preset image library may include information such as an environmental parameter, a shooting parameter, and an equipment parameter, which is not limited herein.
104. And screening the P reference images according to the first equipment parameter and the first environment parameter to obtain Q reference images, wherein Q is a positive integer smaller than P.
The server can screen out images similar to the device capability and environment of the user device from the P reference images based on the first device parameter and the first environment parameter, so as to obtain Q reference images, where Q is a positive integer smaller than P. It is equivalent to screen out images similar to the user equipment parameters and the environmental parameters from the image library through big data.
Optionally, in the step 104, the screening the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images may include the following steps:
41. performing image quality evaluation on the P reference images to obtain P image quality evaluation values;
42. selecting an image quality evaluation value larger than a preset threshold value from the P image quality evaluation values to obtain K image quality evaluation values, and acquiring reference images corresponding to the K image quality evaluation values to obtain K reference images, wherein each reference image corresponds to an equipment parameter and an environmental parameter, and K is an integer smaller than P and larger than or equal to Q;
43. and selecting a reference image from the K reference images, wherein the equipment parameter and the first equipment parameter are successfully compared, and the deviation between the environmental parameter and the first environmental parameter is within a preset range, so as to obtain Q reference images.
In a specific implementation, the server may perform image quality evaluation on each of the P reference images by using at least one image quality evaluation parameter to obtain P image quality evaluation values, where the image quality evaluation parameter is used to perform image quality evaluation on the images, and for example, the server may include at least one of the following: the definition, the information entropy, the signal-to-noise ratio, and the like are not limited herein, and when the image quality evaluation parameter is multiple, the image quality evaluation values obtained from multiple dimensions may be subjected to weighting operation to obtain a final image quality evaluation value.
Further, the preset threshold may be pre-stored in the server, which may be pre-set or default to the system. The server may select an image quality evaluation value larger than a preset threshold from the P image quality evaluation values to obtain K image quality evaluation values, and obtain reference images corresponding to the K image quality evaluation values to obtain K reference images, where each reference image corresponds to one device parameter and one environment parameter, K is an integer smaller than P and greater than or equal to Q, and further, may select an image with good quality as a reference image.
Furthermore, the preset range can be preset or the system is defaulted, the server can select a reference image from the K reference images, wherein the equipment parameter is successfully compared with the first equipment parameter, and the deviation between the environment parameter and the first environment parameter is in the preset range, so as to obtain Q reference images, wherein the equipment parameter is the same as the first equipment parameter, or the performances of the camera modules corresponding to the equipment parameter and the first equipment parameter are the same or similar, and the comparison is considered to be successful, so that the reference images which are similar or identical to the camera function and the environment of the user equipment can be obtained.
105. And determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
In the specific implementation, the server may use the shooting parameter of any one of the Q reference images as the target shooting parameter, for example, a shooting instruction may be generated, where the shooting instruction carries the target shooting parameter, the shooting instruction is sent to the user equipment, and the user equipment receives the shooting instruction, and shoots through the target shooting parameter to obtain the target image.
Optionally, in step 105, determining the target shooting parameters according to the Q reference images may include the following steps:
51. acquiring an image quality evaluation value and an environment light brightness value of each reference image in the Q reference images to obtain Q image quality evaluation values and Q environment light brightness values;
52. projecting the Q image quality evaluation values and the Q environment light brightness values to a coordinate system to obtain Q coordinate points, wherein each coordinate point corresponds to one image quality evaluation value and one environment light brightness value, and the horizontal axis of the coordinate system is the environment light brightness value and the vertical axis of the coordinate system is the image quality evaluation value;
53. fitting according to the Q coordinate points to obtain a fitting function;
54. acquiring a current ambient light brightness value corresponding to the first image;
55. determining a target image quality evaluation value corresponding to the current environment brightness value according to the fitting function;
56. acquiring 2 target coordinate points adjacent to the target image quality evaluation value, wherein the target coordinate points are coordinate points in the Q coordinate points;
57. acquiring reference images corresponding to the 2 target coordinate points to obtain 2 reference images;
58. and determining the target shooting parameters according to the 2 reference images.
The server can obtain an image quality evaluation value and an environment light brightness value of each reference image in Q reference images to obtain Q image quality evaluation values and Q environment light brightness values, then the Q image quality evaluation values and the Q environment light brightness values are projected to a coordinate system to obtain Q coordinate points, each coordinate point corresponds to one image quality evaluation value and one environment light brightness value, the horizontal axis of the coordinate system is the environment light brightness value, and the vertical axis of the coordinate system is the image quality evaluation value, namely each coordinate point in the Q coordinate points can represent one reference image, furthermore, fitting can be carried out according to the Q coordinate points to obtain a fitting function, and the fitting function can correspond to a fitting straight line or a fitting curve. Since each reference image is equivalent to a discrete point, and the corresponding parameters are discrete, the parameter condition of the image corresponding to the current environmental parameters needs to be analyzed through the rule of the discrete parameters, that is, a continuous relationship (fitting function) is needed to find the position of the point of the first image.
Further, the server may obtain a current ambient light brightness value corresponding to the first image, determine a target image quality evaluation value corresponding to the current ambient light brightness value according to the fitting function, further obtain 2 target coordinate points adjacent to the target image quality evaluation value, the target coordinate points being coordinate points of the Q coordinate points, further obtain reference images corresponding to the 2 target coordinate points, obtain 2 reference images, and further determine target photographing parameters according to the 2 reference images, for example, photographing parameters of one of the 2 reference images may be used as the target photographing parameters, for example, photographing parameters of an adjacent point closer to the target image quality evaluation value may be selected as the target photographing parameters, or photographing parameters of the 2 reference images may be integrated to obtain the target photographing parameters, for example, photographing parameters of the 2 reference images may be weighted, and obtaining target shooting parameters.
Further, optionally, in step 58, determining the target shooting parameters according to the 2 reference images may include the following steps:
581. acquiring a target reference image from the 2 reference images, wherein the target reference image is an image corresponding to the larger image quality evaluation value in the 2 reference images;
582. acquiring reference shooting parameters corresponding to the target reference image;
583. determining a target difference value between an ambient light brightness value of the target reference image and the current ambient light brightness value;
584. determining a target variation according to the target difference;
585. and optimizing the reference shooting parameters according to the target variation to obtain the target shooting parameters.
In specific implementation, the server may obtain the target reference image from 2 reference images, where the target reference image is an image corresponding to a larger image quality evaluation value in the 2 reference images, and then obtain the reference shooting parameters corresponding to the target reference image, that is, the shooting parameters of the image with better quality may be selected as a reference, and then targeted optimization is performed on the basis, so that the depth of the shooting parameters conforms to the current ambient light brightness value.
Specifically, the server may determine a target difference between an ambient light brightness value of the target reference image and a current ambient light brightness value, a mapping relationship between the difference and the variation may be pre-stored in the server, a value range of the variation may be-1 to 1, for example, -0.1 to 0.1, and further, a target variation corresponding to the target difference may be determined according to the mapping relationship, and then, the reference shooting parameter is optimized according to the target variation to obtain the target shooting parameter, which is specifically as follows:
target shooting parameter = (1+ target variation) × reference shooting parameter
Therefore, the shooting parameters of the image with better quality can be selected as a reference quantity, and then the shooting parameters are optimized according to the difference value between the ambient light brightness value and the current ambient light brightness value on the basis, so that the depth of the shooting parameters accords with the current ambient light brightness value, and the shooting parameters in the proper current specific environment can be obtained more favorably on the basis of ensuring better shooting quality.
It can be seen that the photographing control method described in the embodiment of the present application is applied to a server, obtains a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment, identifies the first image to obtain a target content, obtains P reference images corresponding to the target content, where P is an integer greater than 1, filters the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images, where Q is a positive integer less than P, determines a target photographing parameter according to the Q reference images, sends the target photographing parameter to the user equipment, and instructs the user equipment to photograph with the target photographing parameter, and can obtain a high-quality image photographed by another person and suitable for the device parameter and the environment parameter of the user equipment by means of the server, and help the user to complete photographing based on the photographing parameter of the image, furthermore, the shooting effect of the user can be improved, and the shooting fun of the user can also be improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a photographing control method according to an embodiment of the present application, where as shown in the figure, the photographing control method includes:
201. the method comprises the steps that user equipment shoots to obtain an original image, the original image is processed to obtain a first image, and the first image is sent to a server.
Wherein the processing may include at least one of: image compression, image down-sampling, image segmentation, etc., without limitation.
202. The server acquires the first image sent by the user equipment, wherein the first image carries a first equipment parameter and a first environment parameter of the user equipment.
203. And identifying the first image to obtain target content.
204. And acquiring P reference images corresponding to the target content, wherein P is an integer larger than 1.
205. And screening the P reference images according to the first equipment parameter and the first environment parameter to obtain Q reference images, wherein Q is a positive integer smaller than P.
206. And determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
The detailed description of the steps 201 to 206 may refer to the corresponding steps of the photographing control method described in fig. 1, and will not be described herein again.
It can be seen that the photographing control method described in the embodiment of the present application is applied to a server, obtains a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment, identifies the first image to obtain a target content, obtains P reference images corresponding to the target content, where P is an integer greater than 1, filters the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images, where Q is a positive integer less than P, determines a target photographing parameter according to the Q reference images, sends the target photographing parameter to the user equipment, and instructs the user equipment to photograph with the target photographing parameter, and can obtain a high-quality image photographed by another person and suitable for the device parameter and the environment parameter of the user equipment by means of the server, and help the user to complete photographing based on the photographing parameter of the image, furthermore, the shooting effect of the user can be improved, and the shooting fun of the user can also be improved.
Referring to fig. 3, in accordance with the above-mentioned embodiment, fig. 3 is a schematic structural diagram of a server according to an embodiment of the present application, and as shown in the drawing, the server includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
acquiring a first image sent by user equipment, wherein the first image carries a first equipment parameter and a first environment parameter of the user equipment;
identifying the first image to obtain target content;
acquiring P reference images corresponding to the target content, wherein P is an integer greater than 1;
screening the P reference images according to the first equipment parameter and the first environment parameter to obtain Q reference images, wherein Q is a positive integer smaller than P;
and determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
Optionally, in the aspect that the P reference images are filtered according to the first device parameter and the first environment parameter to obtain Q reference images, the program includes instructions for executing the following steps:
performing image quality evaluation on the P reference images to obtain P image quality evaluation values;
selecting an image quality evaluation value larger than a preset threshold value from the P image quality evaluation values to obtain K image quality evaluation values, and acquiring reference images corresponding to the K image quality evaluation values to obtain K reference images, wherein each reference image corresponds to an equipment parameter and an environmental parameter, and K is an integer smaller than P and larger than or equal to Q;
and selecting a reference image from the K reference images, wherein the equipment parameter and the first equipment parameter are successfully compared, and the deviation between the environmental parameter and the first environmental parameter is within a preset range, so as to obtain Q reference images.
Optionally, in the aspect of determining the target shooting parameter according to the Q reference images, the program includes instructions for performing the following steps:
acquiring an image quality evaluation value and an environment light brightness value of each reference image in the Q reference images to obtain Q image quality evaluation values and Q environment light brightness values;
projecting the Q image quality evaluation values and the Q environment light brightness values to a coordinate system to obtain Q coordinate points, wherein each coordinate point corresponds to one image quality evaluation value and one environment light brightness value, and the horizontal axis of the coordinate system is the environment light brightness value and the vertical axis of the coordinate system is the image quality evaluation value;
fitting according to the Q coordinate points to obtain a fitting function;
acquiring a current ambient light brightness value corresponding to the first image;
determining a target image quality evaluation value corresponding to the current environment brightness value according to the fitting function;
acquiring 2 target coordinate points adjacent to the target image quality evaluation value, wherein the target coordinate points are coordinate points in the Q coordinate points;
acquiring reference images corresponding to the 2 target coordinate points to obtain 2 reference images;
and determining the target shooting parameters according to the 2 reference images.
Optionally, in the aspect of determining the target shooting parameter according to the 2 reference images, the program includes instructions for performing the following steps:
acquiring a target reference image from the 2 reference images, wherein the target reference image is an image corresponding to the larger image quality evaluation value in the 2 reference images;
acquiring reference shooting parameters corresponding to the target reference image;
determining a target difference value between an ambient light brightness value of the target reference image and the current ambient light brightness value;
determining a target variation according to the target difference;
and optimizing the reference shooting parameters according to the target variation to obtain the target shooting parameters.
Optionally, the environment parameter includes a target geographic location, and the identifying the first image obtains target content, where the program includes instructions for performing the following steps:
determining a target content image set corresponding to the target geographic position according to a preset mapping relation between the geographic position and the content images, wherein the target content image set comprises at least one content image, and each content image corresponds to a content identifier;
carrying out image segmentation on the first image to obtain a target area image;
and comparing the target area image with each content image in the target content image set to obtain a reference content image successfully compared with the target area image, and taking the content identification of the reference content image as the target content.
It can be seen that, in the server described in this embodiment of the present application, a first image sent by a user equipment is obtained, where the first image carries a first device parameter and a first environment parameter of the user equipment, the first image is identified to obtain a target content, P reference images corresponding to the target content are obtained, where P is an integer greater than 1, the P reference images are screened according to the first device parameter and the first environment parameter to obtain Q reference images, Q is a positive integer less than P, a target shooting parameter is determined according to the Q reference images, the target shooting parameter is sent to the user equipment, and the user equipment is instructed to shoot with the target shooting parameter, a high-quality image shot by another person and suitable for the device parameter and the environment parameter of the user equipment can be obtained by the server, and then the user is helped to complete shooting based on the shooting parameter of the image, furthermore, the shooting effect of the user can be improved, and the shooting fun of the user can also be improved.
Fig. 4 is a block diagram of functional units of the photographing control apparatus 400 according to the embodiment of the present application. The photographing control apparatus 400, the apparatus 400 comprising: a first acquisition unit 401, a recognition unit 402, a second acquisition unit 403, a screening unit 404, and a determination unit 405, wherein,
the first obtaining unit 401 is configured to obtain a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment;
the identifying unit 402 is configured to identify the first image to obtain target content;
the second obtaining unit 403 is configured to obtain P reference images corresponding to the target content, where P is an integer greater than 1;
the screening unit 404 is configured to screen the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images, where Q is a positive integer smaller than P;
the determining unit 405 is configured to determine target shooting parameters according to the Q reference images, send the target shooting parameters to the user equipment, and instruct the user equipment to shoot according to the target shooting parameters.
Optionally, in the aspect that the P reference images are filtered according to the first device parameter and the first environment parameter to obtain Q reference images, the filtering unit 404 is specifically configured to:
performing image quality evaluation on the P reference images to obtain P image quality evaluation values;
selecting an image quality evaluation value larger than a preset threshold value from the P image quality evaluation values to obtain K image quality evaluation values, and acquiring reference images corresponding to the K image quality evaluation values to obtain K reference images, wherein each reference image corresponds to an equipment parameter and an environmental parameter, and K is an integer smaller than P and larger than or equal to Q;
and selecting a reference image from the K reference images, wherein the equipment parameter and the first equipment parameter are successfully compared, and the deviation between the environmental parameter and the first environmental parameter is within a preset range, so as to obtain Q reference images.
Optionally, in the aspect of determining the target shooting parameters according to the Q reference images, the determining unit 405 is specifically configured to:
acquiring an image quality evaluation value and an environment light brightness value of each reference image in the Q reference images to obtain Q image quality evaluation values and Q environment light brightness values;
projecting the Q image quality evaluation values and the Q environment light brightness values to a coordinate system to obtain Q coordinate points, wherein each coordinate point corresponds to one image quality evaluation value and one environment light brightness value, and the horizontal axis of the coordinate system is the environment light brightness value and the vertical axis of the coordinate system is the image quality evaluation value;
fitting according to the Q coordinate points to obtain a fitting function;
acquiring a current ambient light brightness value corresponding to the first image;
determining a target image quality evaluation value corresponding to the current environment brightness value according to the fitting function;
acquiring 2 target coordinate points adjacent to the target image quality evaluation value, wherein the target coordinate points are coordinate points in the Q coordinate points;
acquiring reference images corresponding to the 2 target coordinate points to obtain 2 reference images;
and determining the target shooting parameters according to the 2 reference images.
Optionally, in the aspect of determining the target shooting parameter according to the 2 reference images, the determining unit 405 is specifically configured to:
acquiring a target reference image from the 2 reference images, wherein the target reference image is an image corresponding to the larger image quality evaluation value in the 2 reference images;
acquiring reference shooting parameters corresponding to the target reference image;
determining a target difference value between an ambient light brightness value of the target reference image and the current ambient light brightness value;
determining a target variation according to the target difference;
and optimizing the reference shooting parameters according to the target variation to obtain the target shooting parameters.
Optionally, the environment parameter includes a target geographic location, and in the aspect of identifying the first image to obtain the target content, the identifying unit 402 is specifically configured to:
determining a target content image set corresponding to the target geographic position according to a preset mapping relation between the geographic position and the content images, wherein the target content image set comprises at least one content image, and each content image corresponds to a content identifier;
carrying out image segmentation on the first image to obtain a target area image;
and comparing the target area image with each content image in the target content image set to obtain a reference content image successfully compared with the target area image, and taking the content identification of the reference content image as the target content.
It can be seen that the photographing control apparatus described in the embodiment of the present application is applied to a server, obtains a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment, identifies the first image to obtain a target content, obtains P reference images corresponding to the target content, where P is an integer greater than 1, filters the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images, where Q is a positive integer less than P, determines a target photographing parameter according to the Q reference images, sends the target photographing parameter to the user equipment, and instructs the user equipment to photograph with the target photographing parameter, and can obtain a high-quality image photographed by another person and suitable for the device parameter and the environment parameter of the user equipment by means of the server, and help the user to complete photographing based on the photographing parameter of the image, furthermore, the shooting effect of the user can be improved, and the shooting fun of the user can also be improved.
It can be understood that the functions of each program module of the photographing control apparatus in this embodiment can be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process thereof can refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A photographing control method is applied to a server, and the method comprises the following steps:
acquiring a first image sent by user equipment, wherein the first image carries a first equipment parameter and a first environment parameter of the user equipment;
identifying the first image to obtain target content;
acquiring P reference images corresponding to the target content, wherein P is an integer greater than 1;
screening the P reference images according to the first equipment parameter and the first environment parameter to obtain Q reference images, wherein Q is a positive integer smaller than P;
and determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
2. The method according to claim 1, wherein the filtering the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images comprises:
performing image quality evaluation on the P reference images to obtain P image quality evaluation values;
selecting an image quality evaluation value larger than a preset threshold value from the P image quality evaluation values to obtain K image quality evaluation values, and acquiring reference images corresponding to the K image quality evaluation values to obtain K reference images, wherein each reference image corresponds to an equipment parameter and an environmental parameter, and K is an integer smaller than P and larger than or equal to Q;
and selecting a reference image from the K reference images, wherein the equipment parameter and the first equipment parameter are successfully compared, and the deviation between the environmental parameter and the first environmental parameter is within a preset range, so as to obtain Q reference images.
3. The method according to claim 1 or 2, wherein the determining of the target shooting parameters from the Q reference images comprises:
acquiring an image quality evaluation value and an environment light brightness value of each reference image in the Q reference images to obtain Q image quality evaluation values and Q environment light brightness values;
projecting the Q image quality evaluation values and the Q environment light brightness values to a coordinate system to obtain Q coordinate points, wherein each coordinate point corresponds to one image quality evaluation value and one environment light brightness value, and the horizontal axis of the coordinate system is the environment light brightness value and the vertical axis of the coordinate system is the image quality evaluation value;
fitting according to the Q coordinate points to obtain a fitting function;
acquiring a current ambient light brightness value corresponding to the first image;
determining a target image quality evaluation value corresponding to the current environment brightness value according to the fitting function;
acquiring 2 target coordinate points adjacent to the target image quality evaluation value, wherein the target coordinate points are coordinate points in the Q coordinate points;
acquiring reference images corresponding to the 2 target coordinate points to obtain 2 reference images;
and determining the target shooting parameters according to the 2 reference images.
4. The method of claim 3, wherein said determining the target capture parameters from the 2 reference images comprises:
acquiring a target reference image from the 2 reference images, wherein the target reference image is an image corresponding to the larger image quality evaluation value in the 2 reference images;
acquiring reference shooting parameters corresponding to the target reference image;
determining a target difference value between an ambient light brightness value of the target reference image and the current ambient light brightness value;
determining a target variation according to the target difference;
and optimizing the reference shooting parameters according to the target variation to obtain the target shooting parameters.
5. The method of claim 1 or 2, wherein the environmental parameter comprises a target geographic location, and wherein identifying the first image to obtain target content comprises:
determining a target content image set corresponding to the target geographic position according to a preset mapping relation between the geographic position and the content images, wherein the target content image set comprises at least one content image, and each content image corresponds to a content identifier;
carrying out image segmentation on the first image to obtain a target area image;
and comparing the target area image with each content image in the target content image set to obtain a reference content image successfully compared with the target area image, and taking the content identification of the reference content image as the target content.
6. A photographing control apparatus, applied to a server, the apparatus comprising: a first acquisition unit, a recognition unit, a second acquisition unit, a screening unit and a determination unit, wherein,
the first obtaining unit is configured to obtain a first image sent by a user equipment, where the first image carries a first device parameter and a first environment parameter of the user equipment;
the identification unit is used for identifying the first image to obtain target content;
the second obtaining unit is configured to obtain P reference images corresponding to the target content, where P is an integer greater than 1;
the screening unit is configured to screen the P reference images according to the first device parameter and the first environment parameter to obtain Q reference images, where Q is a positive integer smaller than P;
the determining unit is used for determining target shooting parameters according to the Q reference images, sending the target shooting parameters to the user equipment, and indicating the user equipment to shoot according to the target shooting parameters.
7. The apparatus according to claim 6, wherein in the aspect that the P reference images are filtered according to the first device parameter and the first environment parameter to obtain Q reference images, the filtering unit is specifically configured to:
performing image quality evaluation on the P reference images to obtain P image quality evaluation values;
selecting an image quality evaluation value larger than a preset threshold value from the P image quality evaluation values to obtain K image quality evaluation values, and acquiring reference images corresponding to the K image quality evaluation values to obtain K reference images, wherein each reference image corresponds to an equipment parameter and an environmental parameter, and K is an integer smaller than P and larger than or equal to Q;
and selecting a reference image from the K reference images, wherein the equipment parameter and the first equipment parameter are successfully compared, and the deviation between the environmental parameter and the first environmental parameter is within a preset range, so as to obtain Q reference images.
8. The apparatus according to claim 6 or 7, wherein, in said determining the target shooting parameters from the Q reference images, the determining unit is specifically configured to:
acquiring an image quality evaluation value and an environment light brightness value of each reference image in the Q reference images to obtain Q image quality evaluation values and Q environment light brightness values;
projecting the Q image quality evaluation values and the Q environment light brightness values to a coordinate system to obtain Q coordinate points, wherein each coordinate point corresponds to one image quality evaluation value and one environment light brightness value, and the horizontal axis of the coordinate system is the environment light brightness value and the vertical axis of the coordinate system is the image quality evaluation value;
fitting according to the Q coordinate points to obtain a fitting function;
acquiring a current ambient light brightness value corresponding to the first image;
determining a target image quality evaluation value corresponding to the current environment brightness value according to the fitting function;
acquiring 2 target coordinate points adjacent to the target image quality evaluation value, wherein the target coordinate points are coordinate points in the Q coordinate points;
acquiring reference images corresponding to the 2 target coordinate points to obtain 2 reference images;
and determining the target shooting parameters according to the 2 reference images.
9. A server, comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202110956492.1A 2021-08-19 2021-08-19 Photographing control method and device and storage medium Active CN113411505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110956492.1A CN113411505B (en) 2021-08-19 2021-08-19 Photographing control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110956492.1A CN113411505B (en) 2021-08-19 2021-08-19 Photographing control method and device and storage medium

Publications (2)

Publication Number Publication Date
CN113411505A true CN113411505A (en) 2021-09-17
CN113411505B CN113411505B (en) 2021-11-09

Family

ID=77689041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110956492.1A Active CN113411505B (en) 2021-08-19 2021-08-19 Photographing control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN113411505B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767941A (en) * 2015-04-15 2015-07-08 努比亚技术有限公司 Photography method and device
US20160261792A1 (en) * 2015-03-03 2016-09-08 Xiaomi Inc. Method and apparatus for adjusting photography parameters
CN106454097A (en) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 Photographing method and photographing device
CN106803887A (en) * 2017-03-01 2017-06-06 维沃移动通信有限公司 A kind of photographic method and terminal
CN106888353A (en) * 2017-02-27 2017-06-23 联想(北京)有限公司 A kind of image-pickup method and equipment
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
CN107734142A (en) * 2017-09-15 2018-02-23 维沃移动通信有限公司 A kind of photographic method, mobile terminal and server
CN108683857A (en) * 2018-08-16 2018-10-19 Oppo广东移动通信有限公司 It takes pictures optimization method, device, storage medium and terminal device
CN109639964A (en) * 2018-11-26 2019-04-16 北京达佳互联信息技术有限公司 Image processing method, processing unit and computer readable storage medium
CN109993196A (en) * 2017-12-29 2019-07-09 国民技术股份有限公司 A kind of suggestion reminding method and device, terminal and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160261792A1 (en) * 2015-03-03 2016-09-08 Xiaomi Inc. Method and apparatus for adjusting photography parameters
CN104767941A (en) * 2015-04-15 2015-07-08 努比亚技术有限公司 Photography method and device
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
CN106454097A (en) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 Photographing method and photographing device
CN106888353A (en) * 2017-02-27 2017-06-23 联想(北京)有限公司 A kind of image-pickup method and equipment
CN106803887A (en) * 2017-03-01 2017-06-06 维沃移动通信有限公司 A kind of photographic method and terminal
CN107734142A (en) * 2017-09-15 2018-02-23 维沃移动通信有限公司 A kind of photographic method, mobile terminal and server
CN109993196A (en) * 2017-12-29 2019-07-09 国民技术股份有限公司 A kind of suggestion reminding method and device, terminal and computer readable storage medium
CN108683857A (en) * 2018-08-16 2018-10-19 Oppo广东移动通信有限公司 It takes pictures optimization method, device, storage medium and terminal device
CN109639964A (en) * 2018-11-26 2019-04-16 北京达佳互联信息技术有限公司 Image processing method, processing unit and computer readable storage medium

Also Published As

Publication number Publication date
CN113411505B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN110612721B (en) Video processing method and terminal equipment
CN113992861B (en) Image processing method and image processing device
WO2022111072A1 (en) Image photographing method and apparatus, and electronic device, server and storage medium
CN110288534B (en) Image processing method, device, electronic equipment and storage medium
CN113411498B (en) Image shooting method, mobile terminal and storage medium
CN107623819B (en) A kind of method taken pictures and mobile terminal and related media production
CN104601876B (en) Method and device for detecting passerby
CN111836052A (en) Image compression method, image compression device, electronic equipment and storage medium
CN107832598B (en) Unlocking control method and related product
CN112887610A (en) Shooting method, shooting device, electronic equipment and storage medium
CN110266955B (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN110266926B (en) Image processing method, image processing device, mobile terminal and storage medium
CN110191324B (en) Image processing method, image processing apparatus, server, and storage medium
CN110072057B (en) Image processing method and related product
WO2015196681A1 (en) Picture processing method and electronic device
CN111696058A (en) Image processing method, device and storage medium
CN111353965A (en) Image restoration method, device, terminal and storage medium
CN112712564A (en) Camera shooting method and device, storage medium and electronic device
CN109889720A (en) A kind of video capture method, apparatus, electronic equipment and storage medium
CN113411505B (en) Photographing control method and device and storage medium
CN109461201B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN110809117A (en) Shooting mode triggering method and device and electronic equipment
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN108322755B (en) Picture compression processing method and system
JP2017184021A (en) Content providing device and content providing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240329

Address after: D504, Shenzhen Aerospace Science and Technology Innovation Research Institute Building, No. 6 Science and Technology South 10th Road, High tech Zone Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen bresta Technology Co.,Ltd.

Country or region after: China

Address before: 518000 202, No.2 factory building, phase II, Jiewei industrial city, shangmugu community, Pinghu street, Longgang District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN KEASY TECHNOLOGY CO.,LTD.

Country or region before: China

TR01 Transfer of patent right