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

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

Info

Publication number
CN114143429A
CN114143429A CN202111443860.9A CN202111443860A CN114143429A CN 114143429 A CN114143429 A CN 114143429A CN 202111443860 A CN202111443860 A CN 202111443860A CN 114143429 A CN114143429 A CN 114143429A
Authority
CN
China
Prior art keywords
shooting
image
current
parameters
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.)
Granted
Application number
CN202111443860.9A
Other languages
Chinese (zh)
Other versions
CN114143429B (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

Images

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 a current real-time picture is obtained and scene detection is carried out on the current real-time picture, shooting parameters of current image shooting are determined based on scene detection results, image shooting is carried out 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; the scheme can improve the shooting quality of image shooting.

Description

Image shooting method, image shooting device, electronic equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of communication, in particular to an image shooting method, an image shooting device, electronic equipment and a computer readable storage medium.
Background
In recent years, with the rapid development of internet technology, image shooting functions of intelligent terminals or shooting devices are more and more abundant, including not only simple automatic shooting modes but also professional shooting modes in which a plurality of shooting parameters can be adjusted. The user can input specific shooting parameters according to scenes and personal preferences in the professional shooting mode, and then a professional image is shot. However, in the professional mode shooting, too many shooting parameters need to be input, and for a general user, the shooting parameters cannot be accurately input, so that the shooting quality of image shooting is low.
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 carrying out scene detection on the current real-time picture;
determining shooting parameters of current image shooting based on a scene detection result, 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.
Correspondingly, an embodiment of the present invention provides an image capturing apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a current real-time picture and carrying out scene detection on 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 initial shooting images;
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; 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 be specifically 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 image; responding to the selection operation aiming at the image list, determining a candidate effect image corresponding to the selection operation in 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; recognizing 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 a current scene of the current real-time picture is detected, obtain sharing information of the initial captured image, and generate a capture identifier based on the current scene, the capture parameter, 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 shot image, the sharing information of the initial shot image is obtained, and a shooting identifier is generated based on the target scene, the shooting parameters and the sharing information.
Optionally, in some embodiments, the obtaining unit may be specifically configured to display a basic image shooting page, where the basic image shooting page includes a shooting mode selection list; determining a photographing mode of current image photographing in response to a selection operation with respect to the photographing mode selection list; the acquiring of 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 present invention further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute the steps in any one of the image capturing methods provided by the embodiment of the present invention.
After a current real-time picture is obtained and scene detection is carried out on the current real-time picture, shooting parameters of current image shooting are determined based on scene detection results, image shooting is carried out 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 performed on the current real-time picture, and the shooting parameters of current image shooting are automatically determined based on the scene detection result, so that the shooting parameters do not need to be manually input by a user, and the shooting quality of image shooting can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of an image capturing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an image capturing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of adding a base effect image to a preset effect image set according to an embodiment of the present invention;
FIG. 4 is a diagram of a professional image taken in different scenes according to an embodiment of the present invention;
FIG. 5 is a block diagram of an image sharing architecture according to an embodiment of the present invention;
FIG. 6 is a schematic overall flowchart of image capture provided by an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an image capturing apparatus 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 technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 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 apparatus may be integrated in an electronic device, and the electronic device 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 basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Network acceleration service (CDN), big data and an artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application 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 acquiring a current real-time picture and performing scene detection on the current real-time picture, the electronic device determines a capturing parameter of current image capturing based on a scene detection result, performs image capturing based on the capturing parameter to obtain an initial captured image, generates a capturing identifier according to the capturing parameter, and adds the capturing identifier to the initial captured image to obtain a target captured image, thereby improving the capturing quality of image capturing.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described from the perspective of an image capturing apparatus, which may be specifically integrated in an electronic device, where the electronic device may be a server or a terminal; the terminal may include a tablet Computer, a notebook Computer, a Personal Computer (PC), a wearable device, a virtual reality device, or other intelligent devices capable of capturing images.
An image capturing method comprising:
the method comprises the steps of obtaining a current real-time picture, carrying out scene detection on the current real-time picture, determining shooting parameters of current image shooting based on a scene detection result, carrying out 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.
As shown in fig. 2, the specific flow of the image capturing method is as follows:
101. and acquiring a current real-time picture, and carrying out scene detection on the current real-time picture.
The current real-time picture can be a picture acquired by image acquisition equipment of the terminal in real time 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 rainy days, evening, scenery, people, sky, buildings, and so on.
The method for acquiring 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 is acquired, and the current picture is 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 is acquired through the data interface and 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, and the scene detection mode can be various, for example, feature extraction can be performed on the current real-time picture 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 a current scene of the current real-time picture, and when the candidate scene features are not matched with the scene features, it can be determined that the current scene is not detected in the current real-time picture.
The types of the picture features may be various, for example, the picture features may be image features, video features, image features and video features, and the like.
Optionally, before the current real-time picture is acquired, the current real-time picture may be triggered to be acquired in the professional mode in response to the selection of the shooting mode by the user, for example, a basic image shooting page may be displayed, the basic image shooting page includes a shooting mode selection list, the shooting mode of the current image shooting is determined in response to a selection operation for the shooting mode selection list, and the current real-time picture is acquired when the shooting mode is the preset shooting mode.
The preset shooting mode can be a professional shooting mode, and the professional shooting mode can be understood as image shooting by adopting various shooting parameters.
102. And determining shooting parameters of the current image shooting based on the scene detection result, and shooting the image based on the shooting parameters.
The shooting parameters may be parameters adjusted when the image capturing device of the terminal is shot, and may include, for example, shooting shutter speed, ISO, exposure value, focal length, white balance, and metering mode, etc.
Based on the scene detection result, there may be multiple ways of determining the shooting parameters of the current image shooting, which may specifically be as follows:
for example, when the current scene of the current real-time picture is detected, the photographing parameters of the current image are determined according to the current scene, and when the current scene of the current real-time picture is not detected, the photographing parameters input by the target object are received, or the history photographing parameters are identified in the history photographed image as the photographing parameters.
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 aiming at 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 the current image shooting.
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 shot and stored as an effect image in the preset effect image set, for example, an image shooting page is displayed, the highlight shooting page comprises a shooting parameter input control, receives target shooting parameters input by the shooting parameter input control, shoots images based on the target shooting parameters to obtain basic shooting images, recognizing a shooting scene in the basic shooting image, generating a target shooting identifier according to the target shooting parameters and the shooting scene, and adding the target shooting identifier to the basic shot 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, which may be specifically shown in fig. 3.
The mode of adding the basic effect image to the preset effect image set can be various based on the shooting scene and the target shooting parameter, for example, the shooting scene, the target shooting parameter and the basic effect image can 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 identified from the historical shooting image and used as the shooting parameters of the current image shooting, and the historical shooting parameters can be identified in various ways, for example, the historical shooting identifier is identified from the historical shooting image, the historical shooting identifier is analyzed to obtain the historical shooting information of the historical shooting image, the historical shooting parameters are extracted from the historical shooting information, and the historical shooting parameters are used as the shooting parameters of the current image.
For example, the history shooting identifier is taken as the two-dimensional code, the two-dimensional code can be analyzed, so that the two-dimensional code information in the two-dimensional code is read and taken as history shooting information of the history shooting image, and the history shooting information can include history shooting parameters, history scenes, publisher identifiers, shooting/publishing dates and the like.
After the shooting parameters of the current image shooting are determined, image shooting can be performed based on the shooting parameters, and various image shooting modes can be provided, for example, image acquisition equipment of the terminal can be set based on the shooting parameters, a real-time picture is shot by the set image acquisition equipment of the terminal, then a shooting page of the shot real-time picture is displayed, the shooting page comprises a shooting control, and a picture at a moment corresponding to the triggering operation is collected in the real-time picture as an initial shooting image in response to the triggering operation aiming at the shooting control. The initial captured image may be an image captured under 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 shot image, and determining the shooting parameters of the current image.
Among them, the photographing flag may be a flag indicating a photographing parameter of the initially photographed image, a current scene, a photographing/distribution object, and a photographing/distribution time, and the like. The shooting identifier can be in various types, for example, the shooting identifier can be a one-dimensional code, a two-dimensional code or other identifiers formed by specific images.
For example, when the current scene of the current real-time picture is not detected, a target scene is identified in the initial shot image, the sharing information of the initial shot image is obtained, and the shooting identifier is generated based on the target scene, the shooting parameters and the sharing information.
The sharing information may be information generated when the initial captured image is shared, and may include information such as a sharing object and sharing time. The method for obtaining the sharing information of the initial shot image may be various, for example, the sharing information of the initial shot 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 shot image is extracted from the sharing request, and the user identifier and the current time are used as the sharing information.
After the shooting identifier is generated, the shooting identifier may be added to the initial shooting image to obtain the target image, and there are various ways to add the shooting identifier to the initial shooting image, for example, the shooting identifier may be directly added to a preset position of the initial shooting image, or the size of the shooting identifier may also be obtained, based on the size, a blank area having a size area exceeding the size is identified in the initial shooting image, and the shooting identifier is added to the blank area to obtain the target shooting image. The target shooting image can be sent to the image sharing server, so that the image sharing server can share the target shooting image on the corresponding image sharing platform.
Before sharing the target shooting image, editing information for the target shooting image, which is input by a user, can be received, the target shooting image is edited based on the editing information, and various editing modes can be adopted, for example, a special effect image can be added, a subtitle can be added, or a filter can be added. And sharing the edited target shooting image. Therefore, the whole process of image shooting may further include sharing the target shot image, as shown in fig. 5, the image acquisition device may be a shooting device for a user to adjust shooting parameters, such as adjusting ISO, shutter speed, white balance, aperture, exposure, and the like, professional mode parameter management may record the shooting parameters adjusted by the user, may acquire the parameters from the image two-dimensional code, and may also recommend the existing parameters inside to a parameter management system of the user through scene detection, share images with the shooting parameters, including professional parameters ISO, shutter speed, white balance, aperture, exposure, and the like, and further include a scene of the parameters and a publisher date of the parameters. The method can promote more professionals to send works with cloth parameters to become net red, and meanwhile, common users can have more scene parameter selections.
Herein, the blank area may be understood as an area in the image without a target object, and the target object may be a subject in the image. When the blank area with the size exceeding the shooting identification size does not exist, the 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, the target blank area is obtained, the size of the shooting identification is adjusted based on the target blank area, the adjusted shooting identification is added to the target blank area of the initial shooting image, and the target shooting image is obtained.
In the scheme, taking the shooting identifier as a two-dimensional code as an example, when a user acquires a group of shooting parameters corresponding to a scene, the group of parameters is stored, the scenes corresponding to the parameters are associated and stored together, and the publisher and the publication date of the group of parameters are also provided. Then after the group of parameters is used for photographing, a two-dimensional code is generated at the lower right side of the picture, and the two-dimensional code records the group of parameters, the scene corresponding to the parameters, the publisher and the release date; after the picture is shared, other users can add the group of parameters through the two-dimensional code and store the parameters in the mobile phone. Through the circulation, more common photographers can take good-looking pictures; and professionals can mutually refer to develop more good works. The Camera application can be corresponded by the scene detection function and the parameters, when a corresponding scene is detected, the effect picture can be presented to the user by using a plurality of small windows, the user can select the parameters through the small windows, and can also filter the parameters through the publisher to only see the parameter works of a certain publisher, which can be specifically shown in fig. 6.
As can be seen from the above, in the embodiment of the application, after the current real-time picture is obtained and the scene detection is performed on the current real-time picture, the shooting parameters of the current image shooting are determined based on the scene detection result, the image shooting is performed based on the shooting parameters to obtain the initial shooting image, then, the shooting identifier is generated according to the shooting parameters, and the shooting identifier is added to the initial shooting image to obtain the target shooting image; according to the scheme, scene detection can be performed on the current real-time picture, and the shooting parameters of current image shooting are automatically determined based on the scene detection result, so that the shooting parameters do not need to be manually input by a user, and the shooting quality of image shooting can be improved.
In order to better implement the above method, an embodiment of the present invention further provides an image capturing apparatus, which may be integrated in 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 obtaining unit 301 may be specifically configured to start a shooting service, obtain a current picture collected by an image collection device of the terminal according to the shooting service, and use the current picture as a current real-time picture, or may also directly call a data interface of the image collection device of the terminal, obtain a data stream through the data interface, and convert the data stream into the current real-time picture.
(2) A shooting unit 202;
and the shooting unit 202 is used for determining shooting parameters of current image shooting based on the scene detection result, and shooting the image based on the shooting parameters to obtain an initial shooting image.
For example, the capturing unit 202 may be specifically configured to determine the capturing parameters of the current image according to the current scene when the current scene of the current real-time picture is detected, receive the capturing parameters input by the target object when the current scene of the current real-time picture is not detected, or identify the history capturing parameters in the history capturing image as the capturing parameters. And carrying out image shooting based on the shooting parameters to obtain an initial shooting image.
(3) A generation unit 203;
and the generating unit 203 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.
For example, the generating unit 203 may be specifically configured to, when a current scene of a current real-time picture is detected, acquire shared information of an initial captured image, and generate a capture identifier based on the current scene, the capture parameter, and the shared information, and when the current scene of the current real-time picture is not detected, identify a target scene in the initial captured image, acquire shared information of the initial captured image, and generate the capture identifier based on the target scene, the capture parameter, and the shared information. And adding the shooting identification to the initial shooting image to obtain a target shooting image.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are 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 the 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 performed on the current real-time picture, and the shooting parameters of current image shooting are automatically determined based on the scene detection result, so that the shooting parameters do not need to be manually input by a user, and the shooting quality of image shooting can be improved.
An embodiment of the present invention further 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 present invention, specifically:
the electronic device may include components such as a processor 301 of one or more processing cores, memory 302 of one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 301 is a control center of the electronic device, connects various parts of the whole electronic device by 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly 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 operating the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the 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 supplying power to the various components, and preferably, the power supply 303 may be logically connected to the processor 301 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 303 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 304, and the input unit 304 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 301 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302, thereby implementing various functions as follows:
the method comprises the steps of obtaining a current real-time picture, carrying out scene detection on the current real-time picture, determining shooting parameters of current image shooting based on a scene detection result, carrying out 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.
For example, the electronic device may start a shooting service, acquire a current picture acquired by an image acquisition device of the terminal according to the shooting 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, the shooting parameters of the current image are determined according to the current scene, and when the current scene of the current real-time picture is not detected, the shooting parameters input by the target object are received, or the historical shooting parameters are identified in the historical shooting image to serve as the shooting parameters. And carrying out 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, the sharing information of the initial shot image is obtained, a shooting identifier is generated based on the current scene, the 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 shot image, the sharing information of the initial shot 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 above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, in the embodiment of the present invention, after the current real-time picture is obtained and the scene detection is performed on the current real-time picture, the shooting parameters of the current image shooting are determined based on the scene detection result, and the image shooting is performed based on the shooting parameters to obtain the initial shooting image, then the shooting identifier is generated according to the shooting parameters, and the shooting identifier is added to the initial shooting image to obtain the target shooting image; according to the scheme, scene detection can be performed on the current real-time picture, and the shooting parameters of current image shooting are automatically determined based on the scene detection result, so that the shooting parameters do not need to be manually input by a user, and the shooting quality of image shooting can be improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the image capturing methods provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
the method comprises the steps of obtaining a current real-time picture, carrying out scene detection on the current real-time picture, determining shooting parameters of current image shooting based on a scene detection result, carrying out 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.
For example, the shooting service is started, and according to the shooting service, the current picture acquired by the image acquisition device of the terminal is acquired, and the current picture is used as the current real-time picture, or the data interface of the image acquisition device of the terminal can be directly called, and the data stream is acquired through the data interface and converted into the current real-time picture. When the current scene of the current real-time picture is detected, the shooting parameters of the current image are determined according to the current scene, and when the current scene of the current real-time picture is not detected, the shooting parameters input by the target object are received, or the historical shooting parameters are identified in the historical shooting image to serve as the shooting parameters. And carrying out 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, the sharing information of the initial shot image is obtained, a shooting identifier is generated based on the current scene, the 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 shot image, the sharing information of the initial shot 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 above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any image capturing method provided by the embodiment of the present invention, the beneficial effects that can be achieved by any image capturing method provided by the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
According to an aspect of the application, there is provided, among other things, a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the electronic device to perform the methods provided in the various alternative implementations of the image capturing aspect or the image sharing aspect described above.
The image capturing method, the image capturing apparatus, the electronic device and the computer-readable storage medium according to the embodiments of the present invention are described in detail, and a specific example is applied to illustrate the principles and embodiments of the present invention, and the description of the embodiments is only used to help understanding the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, 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 invention.

Claims (10)

1. An image capturing method, characterized by comprising:
acquiring a current real-time picture, and carrying out scene detection on the current real-time picture;
determining shooting parameters of current image shooting based on a scene detection result, 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.
2. The image capturing method according to claim 1, wherein the determining of the capturing parameters of the current image capturing based on the scene detection result includes:
when the current scene of the current real-time picture is detected, determining shooting parameters of a current image according to the current scene;
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.
3. The image capturing method according to claim 2, wherein the determining of the capturing parameters for the current image capturing according to the current scene comprises:
screening at least one candidate effect image corresponding to the current scene from a preset effect image set, and displaying an image list of the candidate effect images;
responding to the selection operation aiming at the image list, determining a candidate effect image corresponding to the selection operation in 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.
4. The image capturing method according to claim 3, wherein before the step of screening out at least one candidate effect image corresponding to the current scene from a preset effect image set, the method further comprises:
displaying an image shooting page, wherein the image shooting page comprises a shooting 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;
recognizing 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.
5. The image capturing method according to claim 2, wherein the identifying, as the capturing parameter, a history capturing parameter in the history capturing image includes:
identifying a history shooting identification 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.
6. The image capturing method according to claim 2, wherein the generating of the capturing flag according to the capturing parameter includes:
when the current scene of the current real-time picture is detected, acquiring sharing information of the initial shot image, and generating a shooting identifier 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 shot image, the sharing information of the initial shot image is obtained, and a shooting identifier is generated based on the target scene, the shooting parameters and the sharing information.
7. The image capturing method according to any one of claims 1 to 6, wherein before the acquiring the current live view, the method further includes:
displaying a basic image shooting page, wherein the basic image shooting page comprises a shooting mode selection list;
determining a photographing mode of current image photographing in response to a selection operation with respect to the photographing mode selection list;
the acquiring of the current real-time picture includes: and when the shooting mode is a preset shooting mode, acquiring a current real-time picture.
8. An image capturing apparatus, characterized by comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a current real-time picture and carrying out scene detection on 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 initial shooting images;
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.
9. An electronic device comprising a processor and a memory, the memory storing an application program, the processor being configured to run the application program in the memory to perform the steps of the image capturing method according to any one of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the image capturing method according to any one of claims 1 to 7.
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 true CN114143429A (en) 2022-03-04
CN114143429B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115376092A (en) * 2022-10-21 2022-11-22 广州万协通信息技术有限公司 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN114143429B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
US11875467B2 (en) Processing method for combining a real-world environment with virtual information according to a video frame difference value to provide an augmented reality scene, terminal device, system, and computer storage medium
US10685460B2 (en) Method and apparatus for generating photo-story based on visual context analysis of digital content
WO2022111072A1 (en) Image photographing method and apparatus, and electronic device, server and storage medium
CN106815803B (en) Picture processing method and device
CN111464819A (en) Live image detection method, device, equipment and storage medium
CN111586432B (en) Method and device for determining air-broadcast live broadcast room, server and storage medium
CN107977437B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN110581950B (en) Camera, system and method for selecting camera settings
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN112712564A (en) Camera shooting method and device, storage medium and electronic device
CN111259198A (en) Management method and device for shot materials and electronic equipment
WO2023109389A1 (en) Image fusion method and apparatus, and computer device and computer-readable storage medium
CN112532904B (en) Video processing method and device and electronic equipment
CN114205632A (en) Video preview method and device, electronic equipment and computer readable storage medium
CN114429484A (en) Image processing method and device, intelligent equipment and storage medium
CN113989387A (en) Camera shooting parameter adjusting method and device and electronic equipment
CN107277501B (en) Shooting method and equipment for detecting video and storage medium
CN114245174B (en) Video preview method and related equipment
CN114679543A (en) Focusing method, focusing device, computer equipment and storage medium
CN113762156B (en) Video data processing method, device and storage medium
CN112860372B (en) Method and device for shooting image, electronic equipment and storage medium
CN114170289A (en) Image processing method, image processing device, computer equipment and computer readable storage medium
CN114374798A (en) Scene recognition method and device, electronic equipment and computer-readable storage medium
KR102372721B1 (en) Method, user device and recording medium for computer program
CN117915189A (en) Content shooting method, device, electronic equipment and computer readable 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