CN114143429B - Image shooting method, device, electronic equipment and computer readable storage medium - Google Patents

Image shooting method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN114143429B
CN114143429B CN202111443860.9A CN202111443860A CN114143429B CN 114143429 B CN114143429 B CN 114143429B CN 202111443860 A CN202111443860 A CN 202111443860A CN 114143429 B CN114143429 B CN 114143429B
Authority
CN
China
Prior art keywords
shooting
image
parameters
current
scene
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.)
Active
Application number
CN202111443860.9A
Other languages
Chinese (zh)
Other versions
CN114143429A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202111443860.9A priority Critical patent/CN114143429B/en
Publication of CN114143429A publication Critical patent/CN114143429A/en
Application granted granted Critical
Publication of CN114143429B publication Critical patent/CN114143429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/958Computational photography systems, e.g. light-field imaging systems for extended depth of field imaging
    • H04N23/959Computational photography systems, e.g. light-field imaging systems for extended depth of field imaging by adjusting depth of field during image capture, e.g. maximising or setting range based on scene characteristics

Abstract

The embodiment of the invention discloses an image shooting method, an image shooting device, electronic equipment and a computer readable storage medium; after acquiring a current real-time picture and performing scene detection on the current real-time picture, determining shooting parameters of current image shooting based on scene detection results, performing image shooting based on the shooting parameters to obtain an initial shooting image, generating a shooting identifier according to the shooting parameters, and adding the shooting identifier to the initial shooting image to obtain a target shooting image; the scheme can improve the shooting quality of image shooting.

Description

Image shooting method, device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an image capturing method, an image capturing device, an electronic device, and a computer readable storage medium.
Background
In recent years, with rapid development of internet technology, image capturing functions of an intelligent terminal or a capturing device are becoming more and more abundant, and the intelligent terminal or the capturing device not only includes a simple automatic capturing mode, but also includes a professional capturing mode in which a plurality of capturing parameters can be adjusted. The user can input specific shooting parameters according to scenes and personal likes in the professional shooting mode, and then a professional image is shot. However, in professional mode shooting, there are too many shooting parameters to be input, and it is impossible for an ordinary user to accurately input these shooting parameters, resulting in lower shooting quality of image shooting.
Disclosure of Invention
The embodiment of the invention provides an image shooting method, an image shooting device, electronic equipment and a computer readable storage medium, which can improve the display effect of a virtual keyboard.
An image capturing method, comprising:
acquiring a current real-time picture, and performing scene detection on the current real-time picture;
based on a scene detection result, determining shooting parameters of current image shooting, and carrying out image shooting based on the shooting parameters to obtain an initial shooting image;
and generating a shooting identifier according to the shooting parameters, and adding the shooting identifier to the initial shooting image to obtain a target shooting image.
Accordingly, an embodiment of the present invention provides an image capturing apparatus, including:
the acquisition unit is used for acquiring a current real-time picture and detecting a scene of the current real-time picture;
the shooting unit is used for determining shooting parameters of current image shooting based on a scene detection result, and shooting images based on the shooting parameters to obtain an initial shooting image;
and the generating unit is used for generating a shooting identifier according to the shooting parameters, and adding the shooting identifier to the initial shooting image to obtain a target shooting image.
Optionally, in some embodiments, the determining unit may be specifically configured to determine, when a current scene of the current real-time picture is detected, a shooting parameter of a current image according to the current scene; and when the current scene of the current real-time picture is not detected, receiving shooting parameters input by a target object, or identifying historical shooting parameters in a historical shooting image as the shooting parameters.
Optionally, in some embodiments, the determining unit may specifically be configured to screen at least one candidate effect image corresponding to the current scene from a preset effect image set, and display an image list of the candidate effect images; responding to the selection operation for the image list, and determining a candidate effect image corresponding to the selection operation from the candidate effect images to obtain a target effect image; and acquiring basic shooting parameters of the target effect image, and taking the basic shooting parameters as shooting parameters of current image shooting.
Optionally, in some embodiments, the determining unit may be specifically configured to display an image capturing page, where the image capturing page includes a capturing parameter input control; receiving target shooting parameters input through the shooting parameter input control, and shooting images based on the target shooting parameters to obtain basic shooting images; identifying a shooting scene in the basic shooting image, and generating a target shooting identifier according to the target shooting parameters and the shooting scene; and adding the target shooting identification to the basic shooting image to obtain a basic effect image, and adding the basic effect image to a preset effect image set based on the shooting scene and the target shooting parameters.
Optionally, in some embodiments, the determining unit may be specifically configured to identify a history shooting identifier in the history shooting image; analyzing the historical shooting identification to obtain historical shooting information of the historical shooting image; and extracting historical shooting parameters from the historical shooting information, and taking the historical shooting parameters as shooting parameters.
Optionally, in some embodiments, the generating unit may be specifically configured to, when detecting a current scene of the current real-time picture, obtain sharing information of the initial captured image, and generate a capturing identifier based on the current scene, capturing parameters, and sharing information; and when the current scene of the current real-time picture is not detected, identifying a target scene in the initial shooting image, acquiring sharing information of the initial shooting image, and generating a shooting identification based on the target scene, shooting parameters and the sharing information.
Optionally, in some embodiments, the acquiring unit may be specifically configured to display a base image capturing page, where the base image capturing page includes a capturing mode selection list; determining a shooting mode of the current image shooting in response to a selection operation for the shooting mode selection list; the obtaining the current real-time picture includes: and when the shooting mode is a preset shooting mode, acquiring a current real-time picture.
In addition, the embodiment of the invention also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores an application program, and the processor is used for running the application program in the memory to realize the image shooting method provided by the embodiment of the invention.
In addition, the embodiment of the invention also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any image shooting method provided by the embodiment of the invention.
After acquiring a current real-time picture and performing scene detection on the current real-time picture, determining shooting parameters of current image shooting based on scene detection results, performing image shooting based on the shooting parameters to obtain an initial shooting image, generating a shooting identifier according to the shooting parameters, and adding the shooting identifier to the initial shooting image to obtain a target shooting image; according to the scheme, scene detection can be carried out on the current real-time picture, and the shooting parameters of the current image shooting are automatically determined based on the scene detection result, so that a user does not need to manually input the shooting parameters, and therefore the shooting quality of the image shooting can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scene of an image capturing method according to an embodiment of the present invention;
fig. 2 is a flowchart of an image capturing method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of adding a basic effect image to a preset effect image set according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of professional images taken in different scenes provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of an image sharing architecture according to an embodiment of the present invention;
fig. 6 is a schematic overall flow chart of image capturing according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an image capturing device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The embodiment of the invention provides an image shooting method, an image shooting device, electronic equipment and a computer readable storage medium. The image capturing device may be integrated in an electronic device, which may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
For example, referring to fig. 1, taking an example that an image capturing device is integrated in an electronic device, after the electronic device obtains a current real-time picture and performs scene detection on the current real-time picture, based on a scene detection result, determining capturing parameters of current image capturing, performing image capturing based on the capturing parameters to obtain an initial captured image, then generating a capturing identifier according to the capturing parameters, adding the capturing identifier to the initial captured image to obtain a target captured image, and further improving capturing quality of image capturing.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described from the viewpoint of an image capturing apparatus, which may be integrated in an electronic device, which may be a server or a terminal, or the like; the terminal may include a tablet computer, a notebook computer, a personal computer (PC, personal Computer), a wearable device, a virtual reality device, or other devices capable of performing image capturing.
An image capturing method, comprising:
acquiring a current real-time picture, performing scene detection on the current real-time picture, determining shooting parameters of current image shooting based on a scene detection result, performing image shooting based on the shooting parameters to obtain an initial shooting image, generating a shooting identification according to the shooting parameters, and adding the shooting identification to the initial shooting image to obtain a target shooting image.
As shown in fig. 2, the specific flow of the image capturing method is as follows:
101. and acquiring the current real-time picture, and performing scene detection on the current real-time picture.
The current real-time picture can be a picture acquired in real time by the image acquisition equipment of the terminal at the current time.
The scene detection may be understood as detecting a specific scene where the current real-time picture is located, and the scene may include multiple types, for example, may include a rainy day, an evening, a landscape, a person, a sky, a building, and the like.
The method for obtaining the current real-time picture may be various, and specifically may be as follows:
for example, the shooting service may be started, and according to the shooting service, a current picture acquired by the image acquisition device of the terminal may be acquired, and the current picture may be used as a current real-time picture, or a data interface of the image acquisition device of the terminal may be directly called, and a data stream may be acquired through the data interface, and the data stream may be converted into the current real-time picture.
After the current real-time picture is obtained, scene detection can be performed on the current real-time picture, for example, the scene detection mode can be various, for example, the current real-time picture can be subjected to feature extraction to obtain picture features, the picture features are converted into candidate scene features, the candidate scene features are matched with preset scene features, when the candidate scene features are successfully matched with the preset scene features, a scene corresponding to the preset scene features is used as the current scene of the current real-time picture, and when the candidate scene features are not matched with the scene features, the fact that the current scene is not detected in the current real-time picture can be determined.
The types of the picture features can be various, for example, image features, video features, image features and video features, and the like.
Optionally, before the current real-time picture is acquired, the user may also respond to the selection of the shooting mode, so that the acquisition of the current real-time picture is triggered in the professional mode, for example, a basic image shooting page may be displayed, where the basic image shooting page includes a shooting mode selection list, the shooting mode of the current image shooting is determined in response to the selection operation for the shooting mode selection list, and when the shooting mode is the preset shooting mode, the current real-time picture is acquired.
The preset photographing mode may be a professional photographing mode, which is understood to be image photographing using various photographing parameters.
102. Based on the scene detection result, shooting parameters of the current image shooting are determined, and the image shooting is performed based on the shooting parameters.
The shooting parameters may be parameters adjusted when shooting is performed on the image capturing device of the terminal, and may include shooting shutter speed, ISO, exposure value, focal length, white balance, and light metering mode, for example.
The manner of determining the shooting parameters of the current image shooting based on the scene detection result may be various, and may specifically be as follows:
for example, when a current scene of a current real-time picture is detected, a photographing parameter of a current image is determined according to the current scene, and when the current scene of the current real-time picture is not detected, a photographing parameter input by a target object is received, or a history photographing parameter is identified in a history photographing image as the photographing parameter.
The method for determining the shooting parameters of the current image may be various according to the current scene, for example, at least one candidate effect image corresponding to the current scene is screened out from a preset effect image set, a candidate effect image list is displayed, a candidate effect image corresponding to the selection operation is determined in the candidate effect image in response to the selection operation for the image list, a target effect image is obtained, basic shooting parameters of the target effect image are obtained, and the basic shooting parameters are used as shooting parameters of shooting of the current image.
Optionally, before at least one candidate effect image corresponding to the current scene is screened out from the preset effect image set, an image with a specific shooting parameter may be further shot as an effect image and stored into the preset effect image set, for example, an image shooting page is displayed, the highlight shooting page includes a shooting parameter input control, a target shooting parameter input through the shooting parameter input control is received, image shooting is performed based on the target shooting parameter, a basic shooting image is obtained, a shooting scene is identified in the basic shooting image, a target shooting identifier is generated according to the target shooting parameter and the shooting scene, the target shooting identifier is added to the basic shooting image, the basic effect image is obtained, and the basic effect image is added to the preset effect image set based on the shooting scene and the target shooting parameter, and specifically may be shown in fig. 3.
The basic effect image may be added to the preset effect image set in various ways based on the shooting scene and the target shooting parameter, for example, the shooting scene, the target shooting parameter and the basic effect image may be associated, and then the associated basic effect image is added to the preset effect image set.
When the current scene of the current real-time picture is not detected, the historical shooting parameters can be obtained from the historical shooting images, the historical shooting parameters are taken as the shooting parameters of the current image shooting, and various modes for identifying the historical shooting parameters can be adopted, for example, the historical shooting identifiers are identified in the historical shooting images, the historical shooting identifiers are analyzed to obtain the historical shooting information of the historical shooting images, the historical shooting parameters are extracted from the historical shooting information, and the historical shooting parameters are taken as the shooting parameters of the current image.
The historical shooting identification can be a two-dimensional code or other identifications, and various manners of analyzing the historical shooting identification can be adopted, for example, the historical shooting identification is taken as the two-dimensional code, the two-dimensional code can be analyzed, so that two-dimensional code information in the two-dimensional code is read, the two-dimensional code information is taken as historical shooting information of a historical shooting image, and the historical shooting information can comprise historical shooting parameters, a historical scene, a publisher identification, shooting/release date and the like.
After the shooting parameters of the current image shooting are determined, the image shooting can be performed based on the shooting parameters, for example, the image acquisition equipment of the terminal can be set based on the shooting parameters, the image acquisition equipment of the terminal is used for shooting a real-time picture after the setting, then a shooting page of the shooting real-time picture is displayed, the shooting page comprises a shooting control, and a picture at a moment corresponding to the triggering operation is acquired in the real-time picture as an initial shooting image in response to the triggering operation for the shooting control. The initial captured image may be an image captured by professional capturing parameters in different scenes, for example, as shown in fig. 4.
103. And generating a shooting identifier according to the shooting parameters, adding the shooting identifier to the initial shooting image, and determining the shooting parameters of the current image.
The photographing identification may be an identification indicating photographing parameters of an initial photographed image, a current scene, a photographing/distribution object, and photographing/distribution time, etc. The type of the shooting identifier can be various, for example, the type can be a one-dimensional code, a two-dimensional code or an identifier formed by other specific images.
The method for generating the photographing identifier according to the photographing parameters may be various, for example, when the current scene of the current real-time picture is detected, the sharing information of the initial photographing image is obtained, the photographing identifier is generated based on the current scene, the photographing parameters and the sharing information, when the current scene of the current real-time picture is not detected, the target scene is identified in the initial photographing image, the sharing information of the initial photographing image is obtained, and the photographing identifier is generated based on the target scene, the photographing parameters and the sharing information.
The sharing information may be information generated when the initial captured image is shared, for example, may include information such as a sharing object and a sharing time. The method for obtaining the sharing information of the initial captured image may be various, for example, the sharing information of the initial captured image may be directly obtained from the image sharing platform, or a sharing request triggered by a user may be received, a user identifier for sharing the initial captured image is extracted from the sharing request, and the user identifier and the current time are used as the sharing information.
After the photographing identifier is generated, the photographing identifier may be added to the initial photographing image to obtain the target image, and there may be various ways of adding the photographing identifier to the initial photographing image, for example, the photographing identifier may be directly added to a preset position of the initial photographing image, or a size of the photographing identifier may be obtained, based on the size, a blank area having a size area exceeding the size may be identified in the initial photographing image, and the photographing identifier may be added to the blank area to obtain the target photographing image. And sending the target shooting image to an image sharing server so that the image sharing server can share the target shooting image on a corresponding image sharing platform.
Before sharing the target captured image, editing information input by the user for the target captured image may be received, and based on the editing information, the target captured image may be edited in various manners, for example, special effect images may be added, subtitles may be added, or a filter may be added. And sharing the edited target shooting image. Therefore, the whole image shooting process may further include sharing the target shooting image, as shown in fig. 5, the image capturing device may be a shooting device for a user to adjust shooting parameters, such as adjusting ISO, shutter speed, white balance, aperture, exposure, and so on, professional mode parameter management, may record shooting parameters adjusted by the user, may acquire parameters from an image two-dimensional code, may also recommend parameters existing inside to a parameter management system of the user through scene detection, share images with shooting parameters, including professional parameters ISO, shutter speed, white balance, aperture, exposure, and so on, and further includes a scene of the parameters and a publisher and a sender date of the parameters. More professionals can be promoted to release works with parameters to be net red, and meanwhile, the common users can have more scene parameter choices.
The blank area may be understood as an area in the image where there is no target object, which may be a subject in the image. When the blank area with the size exceeding the size of the shooting mark does not exist, a candidate blank area in the initial shooting image can be obtained, the blank area with the largest size is screened out from the candidate blank area, a target blank area is obtained, the size of the shooting mark is adjusted based on the target blank area, and the adjusted shooting mark is added to the target blank area of the initial shooting image, so that the target shooting image is obtained.
Taking a shooting identifier as an example, when a user obtains shooting parameters corresponding to a group of scenes, the shooting parameters are stored, the scenes corresponding to the parameters are associated, and the parameters are stored together, and a publisher and a release date of the group of parameters are also stored. Then, after photographing by using the group of parameters, a two-dimensional code is generated at the right lower part of the picture, and the two-dimensional code records the group of parameters, scenes corresponding to the parameters, a publisher and a release date; after the pictures are shared, other users can add the group of parameters through the two-dimension code and store the parameters in the mobile phone. Through the circulation, more common photographers can take good pictures; and professionals can also refer to each other to develop more good works. The Camera application can correspond to the parameters through the scene detection function, when the corresponding scene is detected, the effect picture can be presented to the user through a plurality of small windows, the user can select the parameters through the small windows, the parameters can be filtered through the publisher, and only the parameter work of a certain publisher can be seen, and the method is particularly shown in fig. 6.
As can be seen from the foregoing, in the embodiment of the present application, after a current real-time picture is obtained and a scene is detected on the current real-time picture, shooting parameters of current image shooting are determined based on a scene detection result, image shooting is performed based on the shooting parameters to obtain an initial shooting image, then a shooting identifier is generated according to the shooting parameters, and the shooting identifier is added to the initial shooting image to obtain a target shooting image; according to the scheme, scene detection can be carried out on the current real-time picture, and the shooting parameters of the current image shooting are automatically determined based on the scene detection result, so that a user does not need to manually input the shooting parameters, and therefore the shooting quality of the image shooting can be improved.
In order to better implement the above method, the embodiment of the present invention further provides an image capturing apparatus, where the image capturing apparatus may be integrated into an electronic device, such as a server or a terminal, and the terminal may include a tablet computer, a notebook computer, and/or a personal computer.
For example, as shown in fig. 7, the image capturing apparatus may include an acquisition unit 201, a capturing unit 202, and a generation unit 203, as follows:
(1) An acquisition unit 201;
an obtaining unit 301, configured to obtain a current real-time picture, and perform scene detection on the current real-time picture.
For example, the acquiring unit 301 may specifically be configured to start a shooting service, and acquire, according to the shooting service, a current picture acquired by an image capturing device of the terminal, and use the current picture as a current real-time picture, or may also directly call a data interface of the image capturing device of the terminal, acquire a data stream through the data interface, and convert the data stream into the current real-time picture.
(2) A photographing unit 202;
the shooting unit 202 is configured to determine shooting parameters of current image shooting based on a scene detection result, and perform image shooting based on the shooting parameters to obtain an initial shooting image.
For example, the photographing unit 202 may be specifically configured to determine, when the current scene of the current real-time frame is detected, the photographing parameter of the current image according to the current scene, and when the current scene of the current real-time frame is not detected, receive the photographing parameter input by the target object, or identify the historical photographing parameter as the photographing parameter in the historical photographing image. And performing image shooting based on shooting parameters to obtain an initial shooting image.
(3) A generating unit 203;
a generating unit 203, configured to generate a shooting identifier according to the shooting parameter, and add the shooting identifier to the initial shooting image to obtain a target shooting image.
For example, the generating unit 203 may be specifically configured to obtain, when a current scene of a current real-time picture is detected, sharing information of an initial captured image, generate a capturing identifier based on the current scene, a capturing parameter, and the sharing information, and identify, when the current scene of the current real-time picture is not detected, a target scene in the initial captured image, obtain the sharing information of the initial captured image, and generate the capturing identifier based on the target scene, the capturing parameter, and the sharing information. And adding the shooting identification to the initial shooting image to obtain a target shooting image.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the above, in this embodiment, after the obtaining unit 201 obtains the current real-time picture and performs scene detection on the current real-time picture, the determining unit 202 determines the shooting parameters of the current image shooting based on the scene detection result, and performs image shooting based on the shooting parameters to obtain an initial shooting image, and then the generating unit 203 generates a shooting identifier according to the shooting parameters and adds the shooting identifier to the initial shooting image to obtain a target shooting image; according to the scheme, scene detection can be carried out on the current real-time picture, and the shooting parameters of the current image shooting are automatically determined based on the scene detection result, so that a user does not need to manually input the shooting parameters, and therefore the shooting quality of the image shooting can be improved.
The embodiment of the invention also provides an electronic device, as shown in fig. 8, which shows a schematic structural diagram of the electronic device according to the embodiment of the invention, specifically:
the electronic device may include one or more processing cores 'processors 301, one or more computer-readable storage media's memory 302, power supply 303, and input unit 304, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 8 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 301 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 302, and calling data stored in the memory 302, thereby performing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and data processing by executing the software programs and modules stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The electronic device further comprises a power supply 303 for powering the various components, preferably the power supply 303 is logically connected to the processor 301 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 303 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 304, which input unit 304 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 301 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 executes the application programs stored in the memory 302, so as to implement various functions as follows:
acquiring a current real-time picture, performing scene detection on the current real-time picture, determining shooting parameters of current image shooting based on a scene detection result, performing image shooting based on the shooting parameters to obtain an initial shooting image, generating a shooting identification according to the shooting parameters, and adding the shooting identification to the initial shooting image to obtain a target shooting image.
For example, the electronic device may start a photographing service, acquire a current picture acquired by an image acquisition device of the terminal according to the photographing service, and use the current picture as a current real-time picture, or may directly call a data interface of the image acquisition device of the terminal, acquire a data stream through the data interface, and convert the data stream into the current real-time picture. When the current scene of the current real-time picture is detected, determining shooting parameters of the current image according to the current scene, and when the current scene of the current real-time picture is not detected, receiving shooting parameters input by a target object, or identifying historical shooting parameters in a historical shooting image as the shooting parameters. And performing image shooting based on shooting parameters to obtain an initial shooting image. When the current scene of the current real-time picture is detected, the sharing information of the initial shooting image is obtained, a shooting identifier is generated based on the current scene, shooting parameters and the sharing information, when the current scene of the current real-time picture is not detected, a target scene is identified in the initial shooting image, the sharing information of the initial shooting image is obtained, and the shooting identifier is generated based on the target scene, the shooting parameters and the sharing information. And adding the shooting identification to the initial shooting image to obtain a target shooting image.
The specific implementation of each operation may be referred to the previous embodiments, and will not be described herein.
As can be seen from the above, in the embodiment of the present invention, after a current real-time picture is obtained and a scene is detected on the current real-time picture, shooting parameters of current image shooting are determined based on a scene detection result, image shooting is performed based on the shooting parameters to obtain an initial shooting image, then a shooting identifier is generated according to the shooting parameters, and the shooting identifier is added to the initial shooting image to obtain a target shooting image; according to the scheme, scene detection can be carried out on the current real-time picture, and the shooting parameters of the current image shooting are automatically determined based on the scene detection result, so that a user does not need to manually input the shooting parameters, and therefore the shooting quality of the image shooting can be improved.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a computer-readable storage medium having stored therein a plurality of instructions that can be loaded by a processor to perform the steps of any one of the image capturing methods provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
acquiring a current real-time picture, performing scene detection on the current real-time picture, determining shooting parameters of current image shooting based on a scene detection result, performing image shooting based on the shooting parameters to obtain an initial shooting image, generating a shooting identification according to the shooting parameters, and adding the shooting identification to the initial shooting image to obtain a target shooting image.
For example, the shooting service is started, the current picture acquired by the image acquisition device of the terminal is acquired according to the shooting service, the current picture is taken as the current real-time picture, or a data interface of the image acquisition device of the terminal can be directly called, a data stream is acquired through the data interface, and the data stream is converted into the current real-time picture. When the current scene of the current real-time picture is detected, determining shooting parameters of the current image according to the current scene, and when the current scene of the current real-time picture is not detected, receiving shooting parameters input by a target object, or identifying historical shooting parameters in a historical shooting image as the shooting parameters. And performing image shooting based on shooting parameters to obtain an initial shooting image. When the current scene of the current real-time picture is detected, the sharing information of the initial shooting image is obtained, a shooting identifier is generated based on the current scene, shooting parameters and the sharing information, when the current scene of the current real-time picture is not detected, a target scene is identified in the initial shooting image, the sharing information of the initial shooting image is obtained, and the shooting identifier is generated based on the target scene, the shooting parameters and the sharing information. And adding the shooting identification to the initial shooting image to obtain a target shooting image.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any image capturing method provided by the embodiment of the present invention may be executed due to the instructions stored in the computer readable storage medium, so that the beneficial effects that any image capturing method provided by the embodiment of the present invention may be achieved, which are detailed in the previous embodiments and are not described herein.
Among other things, according to one aspect of the present application, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The computer instructions are read from a computer-readable storage medium by a processor of an electronic device, and executed by the processor, cause the electronic device to perform the methods provided in various alternative implementations of the image capturing aspect or the image sharing aspect described above.
The foregoing has described in detail the methods, apparatuses, electronic devices and computer readable storage medium for image capturing according to the embodiments of the present invention, and specific examples have been applied to illustrate the principles and embodiments of the present invention, where the foregoing examples are provided to assist in understanding the methods and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (7)

1. An image capturing method, comprising:
acquiring a current real-time picture, and performing scene detection on the current real-time picture;
when the current scene of the current real-time picture is detected, at least one candidate effect image corresponding to the current scene is screened out from a preset effect image set, an image list of the candidate effect images is displayed, a candidate effect image corresponding to a selection operation is determined in the candidate effect images in response to the selection operation on the image list, a target effect image is obtained, basic shooting parameters of the target effect image are obtained, and the basic shooting parameters are used as shooting parameters of current image shooting;
when the current scene of the current real-time picture is not detected, receiving shooting parameters input by a target object, or identifying historical shooting parameters in a historical shooting image as the shooting parameters;
performing image shooting based on the shooting parameters to obtain an initial shooting image;
when the current scene of the current real-time picture is detected, acquiring sharing information of the initial shooting image, and generating a shooting identification based on the current scene, shooting parameters and the sharing information;
when the current scene of the current real-time picture is not detected, identifying a target scene in the initial shooting image, acquiring sharing information of the initial shooting image, and generating a shooting identification based on the target scene, shooting parameters and the sharing information;
and adding the shooting identification to the initial shooting image to obtain a target shooting image, wherein the shooting parameters of the initial shooting image are acquired through the shooting identification in the target shooting image.
2. The image capturing method according to claim 1, wherein before the at least one candidate effect image corresponding to the current scene is selected from the preset effect image set, the method further comprises:
displaying an image shooting page, wherein the image shooting page comprises shooting parameter input controls;
receiving target shooting parameters input through the shooting parameter input control, and shooting images based on the target shooting parameters to obtain basic shooting images;
identifying a shooting scene in the basic shooting image, and generating a target shooting identifier according to the target shooting parameters and the shooting scene;
and adding the target shooting identification to the basic shooting image to obtain a basic effect image, and adding the basic effect image to a preset effect image set based on the shooting scene and the target shooting parameters.
3. The image capturing method according to claim 1, wherein the identifying a history capturing parameter in the history capturing image as the capturing parameter includes:
identifying a history shooting identifier in the history shooting image;
analyzing the historical shooting identification to obtain historical shooting information of the historical shooting image;
and extracting historical shooting parameters from the historical shooting information, and taking the historical shooting parameters as shooting parameters.
4. A method of image capture according to any one of claims 1 to 3, wherein prior to said obtaining a current real-time picture, the method further comprises:
displaying a basic image shooting page, wherein the basic image shooting page comprises a shooting mode selection list;
determining a shooting mode of the current image shooting in response to a selection operation for the shooting mode selection list;
the obtaining the current real-time picture includes: and when the shooting mode is a preset shooting mode, acquiring a current real-time picture.
5. An image capturing apparatus, comprising:
the acquisition unit is used for acquiring a current real-time picture and detecting a scene of the current real-time picture;
the shooting unit is used for screening at least one candidate effect image corresponding to the current scene from a preset effect image set when the current scene of the current real-time picture is detected, displaying an image list of the candidate effect images, determining the candidate effect image corresponding to the selection operation in the candidate effect images in response to the selection operation for the image list, obtaining a target effect image, acquiring basic shooting parameters of the target effect image, and taking the basic shooting parameters as shooting parameters of current image shooting;
when the current scene of the current real-time picture is not detected, receiving shooting parameters input by a target object, or identifying historical shooting parameters in a historical shooting image as the shooting parameters;
performing image shooting based on the shooting parameters to obtain an initial shooting image;
the generating unit is used for acquiring the sharing information of the initial shooting image when the current scene of the current real-time picture is detected, and generating a shooting identification based on the current scene, shooting parameters and the sharing information;
when the current scene of the current real-time picture is not detected, identifying a target scene in the initial shooting image, acquiring sharing information of the initial shooting image, and generating a shooting identification based on the target scene, shooting parameters and the sharing information;
and adding the shooting identification to the initial shooting image to obtain a target shooting image, wherein the shooting parameters of the initial shooting image are acquired through the shooting identification in the target shooting image.
6. An electronic device comprising a processor and a memory, the memory storing an application, the processor being configured to run the application in the memory to perform the steps in the image capturing method of any of claims 1 to 4.
7. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the image capturing method of any of claims 1 to 4.
CN202111443860.9A 2021-11-30 2021-11-30 Image shooting method, device, electronic equipment and computer readable storage medium Active CN114143429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111443860.9A CN114143429B (en) 2021-11-30 2021-11-30 Image shooting method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111443860.9A CN114143429B (en) 2021-11-30 2021-11-30 Image shooting method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114143429A CN114143429A (en) 2022-03-04
CN114143429B true CN114143429B (en) 2024-03-19

Family

ID=80390036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111443860.9A Active CN114143429B (en) 2021-11-30 2021-11-30 Image shooting method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114143429B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115376092B (en) * 2022-10-21 2023-02-28 广州万协通信息技术有限公司 Image recognition method and device in auxiliary driving

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017134751A1 (en) * 2016-02-02 2017-08-10 オリンパス株式会社 Image-capturing device, image processing device, image processing method, and image processing program
CN108462833A (en) * 2018-03-26 2018-08-28 北京小米移动软件有限公司 Image pickup method, device and computer readable storage medium
CN108600636A (en) * 2018-05-24 2018-09-28 中国联合网络通信集团有限公司 Intelligent image pickup method, intelligent filming apparatus
CN108718389A (en) * 2018-08-31 2018-10-30 维沃移动通信有限公司 A kind of screening-mode selection method and mobile terminal
CN111416940A (en) * 2020-03-31 2020-07-14 维沃移动通信(杭州)有限公司 Shooting parameter processing method and electronic equipment
CN111461950A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Image processing method and device
CN111586282A (en) * 2019-02-18 2020-08-25 北京小米移动软件有限公司 Shooting method, shooting device, terminal and readable storage medium
CN111654635A (en) * 2020-06-30 2020-09-11 维沃移动通信有限公司 Shooting parameter adjusting method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017134751A1 (en) * 2016-02-02 2017-08-10 オリンパス株式会社 Image-capturing device, image processing device, image processing method, and image processing program
CN108462833A (en) * 2018-03-26 2018-08-28 北京小米移动软件有限公司 Image pickup method, device and computer readable storage medium
CN108600636A (en) * 2018-05-24 2018-09-28 中国联合网络通信集团有限公司 Intelligent image pickup method, intelligent filming apparatus
CN108718389A (en) * 2018-08-31 2018-10-30 维沃移动通信有限公司 A kind of screening-mode selection method and mobile terminal
CN111461950A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Image processing method and device
CN111586282A (en) * 2019-02-18 2020-08-25 北京小米移动软件有限公司 Shooting method, shooting device, terminal and 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

Also Published As

Publication number Publication date
CN114143429A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN109218628B (en) Image processing method, image processing device, electronic equipment and storage medium
CN106375674B (en) Method and apparatus for finding and using video portions related to adjacent still images
WO2022111072A1 (en) Image photographing method and apparatus, and electronic device, server and storage medium
US20120321131A1 (en) Image-related handling support system, information processing apparatus, and image-related handling support method
CN111464819B (en) Live image detection method, device, equipment and storage medium
CN111263072A (en) Shooting control method and device and computer readable storage medium
CN106815803B (en) Picture processing method and device
CN107977437B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN111586308B (en) Image processing method and device and electronic equipment
CN111771372A (en) Method and device for determining camera shooting parameters
CN111586432B (en) Method and device for determining air-broadcast live broadcast room, server and storage medium
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN110581950B (en) Camera, system and method for selecting camera settings
CN108259767B (en) Image processing method, image processing device, storage medium and electronic equipment
CN112712564A (en) Camera shooting method and device, storage medium and electronic device
CN110264402B (en) Image fusion method, image fusion device, storage medium and electronic device
WO2023071933A1 (en) Camera photographing parameter adjustment method and apparatus and electronic device
CN108495038B (en) Image processing method, image processing device, storage medium and electronic equipment
CN114187172A (en) Image fusion method and device, computer equipment and computer readable storage medium
CN109582811B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112565586A (en) Automatic focusing method and device
CN113938597B (en) Face recognition method, device, computer equipment and storage medium
CN117412156A (en) Image shooting method, device, electronic equipment and computer readable storage medium
US11653087B2 (en) Information processing device, information processing system, and information processing method
CN114679543A (en) Focusing method, focusing device, computer equipment and storage medium

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