CN111586281B - Scene processing method and device - Google Patents

Scene processing method and device Download PDF

Info

Publication number
CN111586281B
CN111586281B CN201910121600.6A CN201910121600A CN111586281B CN 111586281 B CN111586281 B CN 111586281B CN 201910121600 A CN201910121600 A CN 201910121600A CN 111586281 B CN111586281 B CN 111586281B
Authority
CN
China
Prior art keywords
scene
target
subject
alternative
shooting
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
CN201910121600.6A
Other languages
Chinese (zh)
Other versions
CN111586281A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910121600.6A priority Critical patent/CN111586281B/en
Publication of CN111586281A publication Critical patent/CN111586281A/en
Application granted granted Critical
Publication of CN111586281B publication Critical patent/CN111586281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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/62Control of parameters via user interfaces
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal
    • H04N5/9202Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal the additional signal being a sound signal

Landscapes

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

Abstract

The disclosure provides a scene processing method and a scene processing device, wherein the scene processing method comprises the following steps: when a shot subject is shot, determining a target scene corresponding to the shot subject currently; determining at least one alternative scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene; first candidate shooting contents for shooting the subject under different candidate scenes are generated respectively. This openly has introduced the view on camera, and the user can be shot by camera automatic respectively under the alternative view of difference to being shot the main part through camera shooting device when shooting at the target view under to obtain the first alternative shooting content of difference, promoted camera shooting device's intelligent degree, promoted user experience.

Description

Scene processing method and device
Technical Field
The present disclosure relates to the field of camera shooting, and in particular, to a scene processing method and apparatus.
Background
The scene difference is a difference in the size of a range that the subject appears in the imaging device due to a difference in the distance value between the imaging device and the subject.
In the related art, a photographer needs to have professional photographic knowledge to photograph a scene with a relatively standard shot, and a user without the professional photographic knowledge cannot look beautiful enough for the scene and composition of a picture photographed by a photographing device.
Disclosure of Invention
In view of the above, the present disclosure provides a scene processing method and apparatus to solve the deficiencies in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a scene processing method for a photographing apparatus, the method including:
when a shot subject is shot, determining a target scene corresponding to the shot subject currently;
determining at least one alternative scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
first candidate shooting contents for shooting the subject under different candidate scenes are generated respectively.
Optionally, the determining a target scene currently corresponding to the subject includes:
determining current range information corresponding to the shot subject; the current range information is used for representing the range information of the shot subject appearing in the current frame;
and according to the corresponding relation between the range information of the shot subject and the scene type which is determined in advance, taking the scene type corresponding to the current range information as the target scene type.
Optionally, the generating first candidate shooting contents for shooting the subject under different candidate scenes respectively includes:
determining alternative range information respectively corresponding to different alternative scenes according to the corresponding relation between the range information of the shot subject and the scenes which is determined in advance;
respectively determining corresponding alternative focal length values according to the alternative range information, wherein the alternative focal length values are focal length values which enable the range information corresponding to the shot main body in the current frame to be the alternative range information;
and shooting the shot subject by adopting different alternative focal length values respectively to obtain the first alternative shooting content.
Optionally, the method further comprises:
outputting a preset virtual key for playing different first alternative shooting contents;
and if the preset virtual key is detected to be triggered, playing the first alternative shooting content corresponding to the preset virtual key.
Optionally, if the number of the subject to be photographed is multiple, the generating the first candidate photographing contents for photographing the subject to be photographed under the different candidate scenes respectively includes:
and generating the first candidate shooting contents for shooting each subject under different candidate scenes respectively.
Optionally, the method further comprises:
outputting a label corresponding to each of the subjects;
and if any label is detected to be selected, shooting a target shot subject corresponding to the selected label in the target scene.
Optionally, the method further comprises:
and respectively generating second alternative shooting contents for shooting the target shooting subject under different alternative scenes.
Optionally, the method further comprises:
after detecting that the target scene is locked, if the shooting distance value between the shooting device and the target shot subject is changed, determining target range information corresponding to the target scene according to the corresponding relationship between the range information of the shot subject and the scene;
determining a target focal length value according to the target range information, wherein the target focal length value is a focal length value which enables the range information corresponding to the target subject in the current frame to be the target range information;
and shooting the target shot main body by adopting the target focal length value.
Optionally, the method further comprises:
and when the target scene needs to be switched to any one of the alternative scenes, the volume value corresponding to the target photographed subject is increased, and the volume values corresponding to other photographed subjects and the noise are decreased.
According to a second aspect of the embodiments of the present disclosure, there is provided a scene processing apparatus for a photographing apparatus, the apparatus including:
the first scene determining module is configured to determine a target scene corresponding to a shot subject when the shot subject is shot;
a second scene determining module configured to determine at least one candidate scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
a first photographing execution module configured to generate first candidate photographing contents for photographing the subject under the different candidate scenes, respectively.
Optionally, the first scene determination module includes:
a first range determination submodule configured to determine current range information corresponding to the subject to be photographed; the current range information is used for representing the range information of the shot subject appearing in the current frame;
and the scene determining submodule is configured to take the scene corresponding to the current range information as the target scene according to the corresponding relation between the range information of the shot subject and the scene which is determined in advance.
Optionally, the first shooting execution module includes:
a second range determination submodule configured to determine alternative range information corresponding to the different alternative scenes, respectively, according to a correspondence between range information of a subject to be photographed and scenes;
the focal length determining submodule is configured to respectively determine corresponding alternative focal length values according to the alternative range information, wherein the alternative focal length values are focal length values which enable the range information corresponding to the shot subject in the current frame to be the alternative range information;
and the first shooting execution sub-module is configured to shoot the shot subject by adopting different alternative focal length values respectively to obtain the first alternative shooting content.
Optionally, the apparatus further comprises:
the first output module is configured to output preset virtual keys for playing different first alternative shooting contents;
the playing module is configured to play the first alternative shooting content corresponding to the preset virtual key if the preset virtual key is detected to be triggered.
Optionally, the first shooting execution module includes:
a second shooting execution sub-module configured to generate the first candidate shooting contents, which are shot for each of the subjects under the different candidate scenes, respectively, with the number of the subjects being multiple.
Optionally, the apparatus further comprises:
a second output module configured to output a label corresponding to each of the subjects;
and the second shooting execution module is configured to shoot a target shot subject corresponding to the selected label in the target scene if any label is detected to be selected.
Optionally, the apparatus further comprises:
and a third shooting execution module configured to generate second candidate shooting contents for shooting the target subject under different candidate scenes, respectively.
Optionally, the apparatus further comprises:
a range determination module configured to determine target range information corresponding to the target scene according to a predetermined correspondence between range information and scenes of the subject to be photographed, if a photographing distance value between the photographing apparatus and the target subject to be photographed is changed after it is detected that the target scene is locked;
a focal length determining module configured to determine a target focal length value according to the target range information, where the target focal length value is a focal length value that allows the range information corresponding to the target subject in the current frame to be the target range information;
a fourth photographing execution module configured to photograph the target subject with the target focal length value.
Optionally, the apparatus further comprises:
and the volume processing module is configured to increase the volume value corresponding to the target subject to be shot and decrease the volume values corresponding to other subjects to be shot and noise respectively when the target scene needs to be switched to any one of the alternative scenes.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the scene processing method of the first aspect described above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a scene processing apparatus for a photographing apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a shot subject is shot, determining a target scene corresponding to the shot subject currently;
determining at least one alternative scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
first candidate shooting contents for shooting the subject under different candidate scenes are generated respectively.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in an embodiment of the present disclosure, when the shooting device shoots a subject, a target scene corresponding to the subject currently may be determined, and further, at least one alternative scene may be determined according to the target scene. And automatically generating first alternative shooting contents for shooting the shot subject under different alternative scenes respectively. Through the process, the scene difference is introduced into the shooting device, and when a user shoots the target scene through the shooting device, the shooting device can automatically and respectively shoot the shot main body under different alternative scenes, so that different first alternative shooting contents are obtained, the intelligent degree of the shooting device is improved, and the user experience is improved.
In the embodiment of the disclosure, after the user triggers the preset virtual key, the first alternative shooting content corresponding to the preset virtual key is automatically played, so that the user can quickly adjust to the favorite frame, the switching process is more flexible, and the intelligent degree and the user experience of the shooting device are improved.
In the embodiment of the present disclosure, when the number of subjects to be photographed is plural, the first candidate photographing contents, which are photographed for each of the subjects to be photographed under the different candidate scenes, may be automatically and respectively generated by the photographing apparatus. The intelligent degree of the shooting device is further improved, and the user experience is improved.
In the embodiment of the disclosure, the shooting device can shoot the target corresponding to the tag by the shooting main body under the target scene after determining that any tag is selected, so that the user can quickly select the object to be shot, the intelligent degree of the shooting device is improved, and the user experience is improved.
In the embodiment of the disclosure, only the second alternative shooting contents of the target shot subject in different scenes can be provided in the plurality of shot subjects according to the selection of the user, so that the intelligent degree of the shooting device is further improved, and the user experience is improved.
In the embodiment of the disclosure, when the scene is switched, the volume value corresponding to the subject to be shot of the target is adjusted, so that the sound of the subject to be shot of the target is highlighted, and the scene processing is more stereoscopic. The intelligent degree of the shooting device is improved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of a scene processing method shown in the present disclosure according to an exemplary embodiment;
FIG. 2 is a flow diagram of another scene processing method shown in the present disclosure in accordance with an exemplary embodiment;
3A-3B are scene processing scene diagrams illustrated by the present disclosure according to an exemplary embodiment;
FIG. 4 is a flow chart of another scene processing method shown in the present disclosure according to an exemplary embodiment;
FIG. 5 is a flow chart of another scene processing method shown in the present disclosure according to an exemplary embodiment;
FIG. 6 is a schematic view of a scene processing scene illustrating the present disclosure according to an exemplary embodiment;
FIG. 7 is a schematic view of another scene processing scenario illustrated by the present disclosure in accordance with an exemplary embodiment;
FIG. 8 is a flow chart illustrating another scene processing method according to an exemplary embodiment of the present disclosure;
FIGS. 9A-9B are schematic views of a scene processing scenario illustrated by the present disclosure, according to an exemplary embodiment;
FIG. 10 is a flow chart illustrating another method of scene processing according to an exemplary embodiment of the present disclosure;
FIG. 11 is a schematic view of another scene processing scenario illustrated by the present disclosure in accordance with an exemplary embodiment;
FIG. 12 is a flow chart illustrating another method of scene processing according to an exemplary embodiment of the present disclosure;
FIG. 13 is a flow chart illustrating another method of scene processing according to an exemplary embodiment of the present disclosure;
FIG. 14 is a flow chart illustrating another method of scene processing according to an exemplary embodiment of the present disclosure;
FIG. 15 is a block diagram of a scene processing device according to an exemplary embodiment of the present disclosure;
FIG. 16 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 17 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 18 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 19 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 20 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 21 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 22 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 23 is a block diagram of another scene processing device shown in accordance with an exemplary embodiment of the present disclosure;
fig. 24 is a schematic diagram illustrating a configuration of a scene processing apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as operated herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context.
The scene reminding method provided by the embodiment of the disclosure can be used for shooting devices such as cameras, video cameras and the like. The imaging device may be independent or may be installed in a terminal, for example, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), or the like.
As shown in fig. 1, fig. 1 is a view processing method according to an exemplary embodiment, including the steps of:
in step 101, when a subject is photographed, determining a target scene corresponding to the subject currently;
in step 102, determining at least one candidate scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
in step 103, first candidate capturing contents for capturing the subject in different candidate scenes are generated.
In the above embodiment, when the shooting device shoots a subject, the target scene corresponding to the subject currently can be determined, and further, at least one alternative scene is determined according to the target scene. And automatically generating first alternative shooting contents for shooting the shot subject under different alternative scenes respectively. Through the process, the scene difference is introduced into the shooting device, and when a user shoots the target scene through the shooting device, the shooting device can automatically and respectively shoot the shot main body under different alternative scenes, so that different first alternative shooting contents are obtained, the intelligent degree of the shooting device is improved, and the user experience is improved.
With regard to the above step 101, it may be determined that the subject needs to be photographed after it is detected that the user opens the viewfinder of the photographing apparatus. In the embodiment of the present disclosure, the subject to be photographed may be a person, an animal, a moving or immovable object, a landscape, or the like, optionally.
As shown in fig. 2, fig. 2 is another scene processing method based on the foregoing embodiment shown in fig. 1, and step 101 may include the following steps:
in step 101-1, determining current range information corresponding to the subject to be photographed; the current range information is used for representing the range information of the shot subject appearing in the current frame;
in this step, the current frame in the viewfinder may be automatically analyzed by the camera to determine the current range information. For example, the subject to be photographed is a person, and the corresponding current range information is a range above the shoulder of the human body; or the subject to be photographed is an animal, and the corresponding current range information is the whole animal.
The current frame is shot by a certain camera of the shooting device, such as a camera a.
In step 101-2, a scene corresponding to the current range information is set as the target scene based on a predetermined correspondence between range information and scenes of the subject to be photographed.
In the embodiment of the present disclosure, the correspondence relationship may be as shown in fig. 3A. If the shot subject appearing in the current frame is a human body, the range above the shoulders of the human body corresponds to the close-up view, the range above the chest of the human body corresponds to the close-up view, the range above the knees of the human body corresponds to the middle view, all the corresponding views of the human body are panoramic views, and the corresponding views of the environment where the shot subject and the shot subject are located are long-range views.
In this step, the scene corresponding to the current range information may be determined as the target scene according to the correspondence. For example, as shown in fig. 3B, if the current range information is all of the human body, the target scene is a panorama.
After the camera determines the target scene, at least one alternative scene may also be determined, as described above with respect to step 102. The alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene.
For example, if the target scene is a panorama, the alternative scene may be a medium scene, a close-up scene, or a close-up scene.
In step 103, the user may capture the subject in the target scene through another camera, for example, the camera B, on the capturing device, different from the camera that captures the current frame, and at the same time, the capturing device may generate the first candidate capturing content for capturing the subject in the different candidate scenes in the background.
As shown in fig. 4, fig. 4 is another scene prompting method shown on the basis of the foregoing embodiment shown in fig. 1, and step 103 may include the following steps:
in step 103-1, determining alternative range information corresponding to different alternative scenes according to a predetermined correspondence between range information of a subject to be photographed and scenes;
in this step, once the candidate scene is determined, the candidate range information may be determined according to the correspondence. For example, if the candidate scene is a medium scene, the corresponding candidate range information is a range above the knee of the human body.
In step 103-2, respectively determining corresponding alternative focal length values according to the alternative range information, where the alternative focal length values are focal length values that make the corresponding range information of the subject in the current frame be the alternative range information;
in this step, the shooting device may automatically adjust the focal length value, so that the range information corresponding to the shot subject in the current frame is the alternative range information, and the corresponding focal length value is the alternative focal length value at this time. In the embodiment of the present disclosure, each alternative scene may correspond to one alternative focal length value.
In step 103-3, the subject to be photographed is photographed by using the different candidate focal length values, respectively, to obtain the first candidate photographing content.
In this step, the shooting device may shoot the subject at the background by using the different alternative focal length values determined in the above steps, so as to obtain the first alternative shooting content.
In the embodiment of the present disclosure, assuming that the target view is a panorama, and the alternative views are a medium view, a close view, and a close-up, the shooting device may respectively adopt different alternative focal length values at the background to obtain first alternative shooting contents corresponding to the medium view, the close-up, and the close-up.
In an embodiment, as shown in fig. 5, fig. 5 is another scene prompting method shown on the basis of the foregoing embodiment shown in fig. 1, and the method may further include the following steps:
in step 104, outputting a preset virtual key for playing different first alternative shooting contents;
in this step, the shooting device may output a preset virtual key for playing different first candidate shooting contents on the current frame, for example, the preset virtual key for close-up and close-up shown in fig. 6.
In step 105, if it is detected that the preset virtual key is triggered, playing the first candidate shooting content corresponding to the preset virtual key.
In this step, if the user triggers a preset virtual key, the shooting device may play the first candidate shooting content corresponding to the preset virtual key.
For example, in fig. 6, if the user triggers a preset virtual key corresponding to the close range, the shooting device may automatically play the first alternative shooting content shot in the close range.
In the above embodiment, after the user triggers the preset virtual key, the first alternative shooting content corresponding to the preset virtual key is automatically played, so that the user can quickly adjust to a favorite frame, the switching process is more flexible, and the intelligent degree and the user experience of the shooting device are improved.
In an embodiment, if the number of the subjects to be photographed is multiple, for example, multiple persons, animals, etc., the step 103 may specifically be:
and generating the first candidate shooting contents for shooting each subject under different candidate scenes respectively.
That is, the imaging device can generate candidate imaging contents for imaging each subject in different candidate scenes in the background.
For example, as shown in fig. 7, the target view is a panorama, and the subject to be photographed includes two characters, namely a girl and a mom, the photographing device may respectively photograph the two characters in the medium view to obtain the first candidate photographing contents corresponding to the two characters. If the user triggers the preset virtual key of the middle scenery 1 corresponding to the girl, the first alternative shooting content under the middle scenery corresponding to the girl can be played, and if the user triggers the preset virtual key of the middle scenery 2 corresponding to the mom, the first alternative shooting content under the middle scenery corresponding to the mom can be played.
In the above embodiment, when the number of subjects is plural, the first candidate capturing contents for capturing each subject in the different candidate scenes may be automatically generated by the capturing device. The intelligent degree of the shooting device is further improved, and the user experience is improved.
In an embodiment, as shown in fig. 8, fig. 8 is another scene prompting method shown on the basis of the foregoing embodiment shown in fig. 1, and the method may further include the following steps:
in step 106, outputting a label corresponding to each subject;
in this step, the shooting device can perform face recognition on the current frame, and automatically recognize a plurality of shot subjects. Further, a label corresponding to each subject may be output at a position corresponding to each subject, for example, obliquely above or the like.
Alternatively, the label may be in text form, such as shown in FIG. 9A; or may be a face box, such as shown in fig. 9B. The present disclosure is not limited thereto.
In step 107, if it is detected that any of the tags is selected, the subject corresponding to the selected tag is photographed in the target scene.
In this step, if the user selects one of the tags, the subject to be photographed corresponding to the selected tag may be photographed in the current target scene. Namely, only the subject to be shot under the target scene is shot.
In the above embodiment, the shooting device can shoot the target corresponding to the tag by the shooting subject under the target scene after determining that any tag is selected, so that the user can quickly select the object to be shot, the intelligent degree of the shooting device is improved, and the user experience is improved.
In an embodiment, as shown in fig. 10, fig. 10 is another scene prompting method shown on the basis of the foregoing embodiment shown in fig. 8, and the method may further include the following steps:
in step 108, second candidate capturing contents for capturing the target subject in different candidate scenes are generated.
In this step, the shooting device may shoot the subject to be shot at the background under different alternative scenes, thereby obtaining the second alternative shooting content.
For example, as shown in fig. 11, when the camera detects that the user selects the tab corresponding to the girl, the camera may provide only the second alternative photographic content in the different alternative view corresponding to the girl.
In the above embodiment, only the second alternative shooting contents of the target shot subject in different scenes can be provided in the plurality of shot subjects according to the selection of the user, so that the intelligent degree of the shooting device is further improved, and the user experience is improved.
Of course, in the embodiment of the present disclosure, when the distance value between the subject and the shooting device is sufficient, the shooting device may also provide a preview of the panorama and/or the long-range view corresponding to the entire scene, where the lens of the shooting device is not focused on a certain subject, but includes the entire scene. If the user selects a panoramic or tele-view, the selected tab may not be displayed in the preview.
In an embodiment, as shown in fig. 12, fig. 12 is another scene prompting method shown on the basis of the embodiment shown in fig. 8, and the scene prompting method may further include the following steps:
in step 109, after detecting that the target scene is locked, if the shooting distance value between the shooting device and the target subject is changed, determining target range information corresponding to the target scene according to the predetermined correspondence between the range information of the subject and the scene;
in this step, the shooting device may detect whether a preset virtual key for locking the target scene is triggered, and if the preset virtual key is triggered by the user, the shooting device may determine that the target scene needs to be locked currently.
The photographing apparatus may periodically detect whether range information of the subject to be photographed in the current frame is changed, and if so, may determine that the photographing distance value is changed. Further, the photographing device may determine target range information corresponding to the target scene according to the correspondence. For example, if the target scene is a close scene, the target range information is a range above the chest of the human body.
In step 110, a target focal length value is determined according to the target range information, where the target focal length value is a focal length value that allows the range information corresponding to the target subject in the current frame to be the target range information.
In this step, the shooting device can adjust the current focal length to the target focal length value, and keep the range information of the target shot subject in the frame as the target range information all the time, so that the target shot subject is always in the target scene.
In step 111, the target subject is photographed using the target focal length value.
In this step, after the photographing device is adjusted to the target focal length value, the subject to be photographed of the target may be photographed by using the target focal length value. For example, the subject of the target object is a person, and the shooting device can automatically focus on the face of the person, so that the person is always under the target scene, and the face of the person always exists in the target scene.
In the embodiment, after the target scene is locked, the shooting device can automatically focus, so that the face can not appear on the picture. The intelligent degree of the shooting device is improved, and the user experience is improved.
In an embodiment, as shown in fig. 13, fig. 13 is another scene prompting method shown on the basis of the foregoing embodiment shown in fig. 8, and the scene prompting method may further include the following steps:
in step 112, when it is required to switch from the target scene to any one of the candidate scenes, the volume value corresponding to the target subject is increased, and the volume values corresponding to other subjects and noise are decreased.
If the user selects to process the target subject's view from the target view to an alternative view, for example, when the distant view is switched to the near view, the shooting device may automatically call a sound collection device, such as a microphone, to increase the volume value corresponding to the target subject, and at the same time, to decrease the volume values corresponding to other subjects and the noise.
In the above embodiment, when the scene is switched, the volume value corresponding to the target subject to be photographed may be adjusted to highlight the sound of the target subject to be photographed, so that the scene processing is more stereoscopic. The intelligent degree of the shooting device is improved, and the user experience is improved.
In one embodiment, as shown in FIG. 14, FIG. 14 is another scene processing method according to an exemplary embodiment, the method comprising the steps of:
in step 201, when a subject is photographed, current range information corresponding to the subject is determined.
Wherein the current range information is used for representing the range information of the shot subject appearing in the current frame.
In step 202, a scene corresponding to the current range information is set as a target scene based on a predetermined correspondence between the range information and the scene of the subject.
In step 203, at least one alternative scene is determined according to the target scene.
The alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene.
In step 204, according to the predetermined correspondence between the range information of the subject to be photographed and the scenes, respectively determining alternative range information corresponding to different alternative scenes;
in step 205, according to the different candidate range information, a corresponding candidate focal length value is determined.
And the alternative focal length value is a focal length value which enables the corresponding range information of the shot subject in the current frame to be the alternative range information.
In step 206, each subject is photographed under different candidate scenes by using the candidate focal length value, and first candidate photographing contents are obtained.
In step 207, outputting a preset virtual key for playing different first candidate shooting contents.
In step 208, if it is detected that the preset virtual key is triggered, the first candidate shooting content corresponding to the preset virtual key is played.
In step 209, a label corresponding to each subject is output.
In step 210, if it is detected that any of the tags is selected, the subject corresponding to the selected tag is photographed in the target scene.
In step 211, second candidate capturing contents for capturing the target subject in different candidate scenes are generated, respectively.
In step 212, after it is detected that the target scene is locked, if a shooting distance value between the shooting device and the target subject is changed, target range information corresponding to the target scene is determined according to a predetermined correspondence between range information of the subject and the scene.
In step 213, a target focal length value is determined according to the target range information, where the target focal length value is a focal length value that allows the range information corresponding to the target subject in the current frame to be the target range information.
In step 214, the target subject is photographed using the target focal length value.
In step 215, when it is required to switch from the target scene to any of the candidate scenes, the volume value corresponding to the target subject is increased, and the volume values corresponding to other subjects and noise are decreased.
In the above embodiment, a scene is introduced into the photographing apparatus, and when a user photographs in a target scene through the photographing apparatus, the photographing apparatus may automatically and respectively photograph the subject in different alternative scenes, so as to obtain different first alternative photographing contents. In addition, only the target shot main body required by the user can be shot according to the selection of the user, the intelligent degree of the shooting device is improved, and the user experience is improved.
Corresponding to the foregoing method embodiments, the present disclosure also provides embodiments of an apparatus.
As shown in fig. 15, fig. 15 is a block diagram of a scene processing apparatus for a photographing apparatus according to an exemplary embodiment of the present disclosure, the apparatus including:
a first scene determining module 310 configured to determine a target scene currently corresponding to a subject when the subject is photographed;
a second scene determining module 320 configured to determine at least one candidate scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
a first photographing execution module 330 configured to generate first candidate photographing contents for photographing the subject under the different candidate scenes, respectively.
Fig. 16 is a block diagram of another scene processing device according to an exemplary embodiment of the present disclosure, which is based on the foregoing fig. 15 embodiment, and the first scene determining module 310 includes:
a first range determination submodule 311 configured to determine current range information corresponding to the subject; the current range information is used for representing the range information of the shot subject appearing in the current frame;
a scene determining sub-module 312 configured to determine, according to a predetermined correspondence between the range information of the subject to be photographed and the scene, the scene corresponding to the current range information as the target scene.
Fig. 17 is a block diagram of another scene processing device according to an exemplary embodiment of the present disclosure, as shown in fig. 17, based on the foregoing fig. 15 embodiment, where the first shooting execution module 330 includes:
a second range determination sub-module 331 configured to determine alternative range information corresponding to different alternative scenes, respectively, according to a predetermined correspondence between range information of a subject to be photographed and scenes;
a focal length determining submodule 332, configured to determine corresponding alternative focal length values according to the alternative range information, where the alternative focal length values are focal length values that make the corresponding range information of the subject in the current frame be the alternative range information;
a first shooting execution sub-module 333 configured to shoot the subject with the different candidate focal length values, respectively, to obtain the first candidate shooting content.
Fig. 18 is a block diagram of another scene processing apparatus according to an exemplary embodiment shown in fig. 18, which is based on the foregoing fig. 15 embodiment, and further includes:
a first output module 340 configured to output a preset virtual key for playing different first candidate shooting contents;
a playing module 350 configured to play the first candidate shooting content corresponding to the preset virtual key if it is detected that the preset virtual key is triggered.
Fig. 19 is a block diagram of another scene processing device according to an exemplary embodiment of the present disclosure, as shown in fig. 19, based on the foregoing fig. 15 embodiment, where the first shooting execution module 330 includes:
a second shooting execution sub-module 334 configured to generate the first candidate shooting contents for shooting each of the subjects under the different candidate scenes, respectively, with the number of the subjects being multiple.
Fig. 20 is a block diagram of another scene processing apparatus according to an exemplary embodiment shown in fig. 20, which is based on the foregoing fig. 15 embodiment, and further includes:
a second output module 360 configured to output a label corresponding to each of the subjects;
a second shooting execution module 370, configured to, if it is detected that any of the tags is selected, shoot a subject to be shot corresponding to the selected tag in the target scene.
Fig. 21 is a block diagram of another scene processing apparatus according to an exemplary embodiment shown in fig. 21, which is based on the foregoing fig. 20 embodiment, and further includes:
a third photographing execution module 380 configured to generate second candidate photographing contents for photographing the target subject under the different candidate scenes, respectively.
Fig. 22 is a block diagram of another scene processing apparatus according to an exemplary embodiment shown in fig. 22, which is based on the foregoing fig. 20 embodiment, and further includes:
a range determination module 390 configured to determine target range information corresponding to the target scene according to a predetermined correspondence between range information of the subject to be photographed and the scene if a photographing distance value between the photographing device and the target subject to be photographed is changed after detecting that the target scene is locked;
a focal length determining module 410, configured to determine a target focal length value according to the target range information, where the target focal length value is a focal length value that allows the range information corresponding to the target subject in the current frame to be the target range information;
a fourth photographing executing module 420 configured to photograph the target subject with the target focal length value.
Fig. 23 is a block diagram of another scene processing apparatus according to an exemplary embodiment shown in fig. 23, which is based on the foregoing fig. 20 embodiment, and further includes:
and the volume processing module 430 is configured to, when the target scene needs to be switched to any one of the alternative scenes, increase the volume value corresponding to the target subject, and decrease the volume values corresponding to the other subjects and the noise.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, the present disclosure also provides a computer-readable storage medium storing a computer program for executing any one of the scene processing methods described above.
Accordingly, the present disclosure also provides a scene processing device, which is used for a shooting device, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a shot subject is shot, determining a target scene corresponding to the shot subject currently;
determining at least one alternative scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
first candidate shooting contents for shooting the subject under different candidate scenes are generated respectively.
As shown in fig. 24, fig. 24 is a schematic diagram illustrating a configuration of a scene processing device 2400 according to an exemplary embodiment. For example, device 2400 may be provided as a camera. Referring to fig. 24, device 2400 includes a processing component 2424 that further includes one or more processors, and memory resources, represented by memory 2432, for storing instructions, e.g., applications, that are executable by processing component 2424. The application stored in memory 2432 may include one or more modules that each correspond to a set of instructions. Further, the processing component 2424 is configured to execute instructions to perform any of the above-described scene processing methods.
Device 2400 can also include a power component 2426 configured to perform power management for device 24100, a wired or wireless network interface 2450 configured to connect device 2400 to a network, and an input-output (I/O) interface 2458. The device 2400 may operate based on an operating system stored in the memory 2432, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeB SDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (20)

1. A scene processing method, wherein the method is used for a camera, the method comprising:
when a shot subject is shot, determining a target scene corresponding to the shot subject currently; the target scene is determined from a plurality of preset scenes, and the scene represents the corresponding range of the shot subject in the shot picture;
determining at least one alternative scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
first candidate shooting contents for shooting the subject under different candidate scenes are generated respectively.
2. The method of claim 1, wherein the determining the target scene to which the subject currently corresponds comprises:
determining current range information corresponding to the shot subject; the current range information is used for representing the range information of the shot subject appearing in the current frame;
and according to the corresponding relation between the range information of the shot subject and the scene type which is determined in advance, taking the scene type corresponding to the current range information as the target scene type.
3. The method according to claim 1, wherein the generating of the first candidate photographing contents for photographing the subject in the different candidate scenes, respectively, comprises:
determining alternative range information respectively corresponding to different alternative scenes according to the corresponding relation between the range information of the shot subject and the scenes which is determined in advance;
respectively determining corresponding alternative focal length values according to the alternative range information, wherein the alternative focal length values are focal length values which enable the range information corresponding to the shot main body in the current frame to be the alternative range information;
and shooting the shot subject by adopting different alternative focal length values respectively to obtain the first alternative shooting content.
4. The method of claim 1, further comprising:
outputting a preset virtual key for playing different first alternative shooting contents;
and if the preset virtual key is detected to be triggered, playing the first alternative shooting content corresponding to the preset virtual key.
5. The method according to claim 1, wherein if the number of the subject is plural, the generating first candidate photographic contents for photographing the subject in different candidate scenes respectively includes:
and generating the first candidate shooting contents for shooting each subject under different candidate scenes respectively.
6. The method of claim 5, further comprising:
outputting a label corresponding to each of the subjects;
and if any label is detected to be selected, shooting a target shot subject corresponding to the selected label in the target scene.
7. The method of claim 6, further comprising:
and respectively generating second alternative shooting contents for shooting the target shooting subject under different alternative scenes.
8. The method of claim 6, further comprising:
after detecting that the target scene is locked, if the shooting distance value between the shooting device and the target shot subject is changed, determining target range information corresponding to the target scene according to the corresponding relationship between the range information of the shot subject and the scene;
determining a target focal length value according to the target range information, wherein the target focal length value is a focal length value which enables the range information corresponding to the target subject in the current frame to be the target range information;
and shooting the target shot main body by adopting the target focal length value.
9. The method of claim 6, further comprising:
and when the target scene needs to be switched to any one of the alternative scenes, the volume value corresponding to the target photographed subject is increased, and the volume values corresponding to other photographed subjects and the noise are decreased.
10. A scene processing apparatus, wherein the apparatus is used in a camera, the apparatus comprising:
the first scene determining module is configured to determine a target scene corresponding to a shot subject when the shot subject is shot; the target scene is determined from a plurality of preset scenes, and the scene represents the corresponding range of the shot subject in the shot picture;
a second scene determining module configured to determine at least one candidate scene according to the target scene; the alternative scene is a scene different from the target scene, and the corresponding range of the shot subject in the current frame is smaller than the corresponding range of the shot subject in the current frame when the alternative scene is the target scene;
a first photographing execution module configured to generate first candidate photographing contents for photographing the subject under the different candidate scenes, respectively.
11. The apparatus of claim 10, wherein the first scene determination module comprises:
a first range determination submodule configured to determine current range information corresponding to the subject to be photographed; the current range information is used for representing the range information of the shot subject appearing in the current frame;
and the scene determining submodule is configured to take the scene corresponding to the current range information as the target scene according to the corresponding relation between the range information of the shot subject and the scene which is determined in advance.
12. The apparatus of claim 10, wherein the first photographing performing module comprises:
a second range determination submodule configured to determine alternative range information corresponding to the different alternative scenes, respectively, according to a correspondence between range information of a subject to be photographed and scenes;
the focal length determining submodule is configured to respectively determine corresponding alternative focal length values according to the alternative range information, wherein the alternative focal length values are focal length values which enable the range information corresponding to the shot subject in the current frame to be the alternative range information;
and the first shooting execution sub-module is configured to shoot the shot subject by adopting different alternative focal length values respectively to obtain the first alternative shooting content.
13. The apparatus of claim 10, further comprising:
the first output module is configured to output preset virtual keys for playing different first alternative shooting contents;
the playing module is configured to play the first alternative shooting content corresponding to the preset virtual key if the preset virtual key is detected to be triggered.
14. The apparatus of claim 10, wherein the first photographing performing module comprises:
a second shooting execution sub-module configured to generate the first candidate shooting contents, which are shot for each of the subjects under the different candidate scenes, respectively, with the number of the subjects being multiple.
15. The apparatus of claim 14, further comprising:
a second output module configured to output a label corresponding to each of the subjects;
and the second shooting execution module is configured to shoot a target shot subject corresponding to the selected label in the target scene if any label is detected to be selected.
16. The apparatus of claim 15, further comprising:
and a third shooting execution module configured to generate second candidate shooting contents for shooting the target subject under different candidate scenes, respectively.
17. The apparatus of claim 15, further comprising:
a range determination module configured to determine target range information corresponding to the target scene according to a predetermined correspondence between range information and scenes of the subject to be photographed, if a photographing distance value between the photographing apparatus and the target subject to be photographed is changed after it is detected that the target scene is locked;
a focal length determining module configured to determine a target focal length value according to the target range information, where the target focal length value is a focal length value that allows the range information corresponding to the target subject in the current frame to be the target range information;
a fourth photographing execution module configured to photograph the target subject with the target focal length value.
18. The apparatus of claim 15, further comprising:
and the volume processing module is configured to increase the volume value corresponding to the target subject to be shot and decrease the volume values corresponding to other subjects to be shot and noise respectively when the target scene needs to be switched to any one of the alternative scenes.
19. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the scene processing method of any one of the above claims 1 to 9.
20. A scene processing apparatus, wherein the apparatus is used in a camera, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the scene processing method according to any one of claims 1-9.
CN201910121600.6A 2019-02-19 2019-02-19 Scene processing method and device Active CN111586281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910121600.6A CN111586281B (en) 2019-02-19 2019-02-19 Scene processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910121600.6A CN111586281B (en) 2019-02-19 2019-02-19 Scene processing method and device

Publications (2)

Publication Number Publication Date
CN111586281A CN111586281A (en) 2020-08-25
CN111586281B true CN111586281B (en) 2021-09-07

Family

ID=72118724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910121600.6A Active CN111586281B (en) 2019-02-19 2019-02-19 Scene processing method and device

Country Status (1)

Country Link
CN (1) CN111586281B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257745A (en) * 2021-12-20 2022-03-29 努比亚技术有限公司 Photographing auxiliary composition method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310519A (en) * 2006-01-30 2008-11-19 索尼株式会社 Imaging device, display control method, and program
CN106210512A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of photographic head changing method and mobile terminal
CN106506957A (en) * 2016-11-17 2017-03-15 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN109165557A (en) * 2018-07-25 2019-01-08 曹清 Scape does not judge system and the other judgment method of scape

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310519A (en) * 2006-01-30 2008-11-19 索尼株式会社 Imaging device, display control method, and program
CN106210512A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of photographic head changing method and mobile terminal
CN106506957A (en) * 2016-11-17 2017-03-15 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN109165557A (en) * 2018-07-25 2019-01-08 曹清 Scape does not judge system and the other judgment method of scape

Also Published As

Publication number Publication date
CN111586281A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN103988227B (en) The method and apparatus locked for image capturing target
JP4640456B2 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method, and program
US9013589B2 (en) Digital image processing apparatus and digital image processing method capable of obtaining sensibility-based image
US20130155255A1 (en) Electronic device and method for controlling camera of the electronic device according to gestures
JP2001357404A (en) Picture extracting device
CN105141942B (en) 3D rendering synthetic method and device
US9253406B2 (en) Image capture apparatus that can display review image, image capture method, and storage medium
US20160261796A1 (en) Video Apparatus and Photography Method thereof
WO2016019817A1 (en) Object motion trajectory photographing method and system, and computer storage medium
WO2017036273A1 (en) Imaging method and apparatus
JP2014050022A (en) Image processing device, imaging device, and program
CN110581950B (en) Camera, system and method for selecting camera settings
US9413940B2 (en) Digital electronic apparatus and method of controlling continuous photographing thereof
CN110868542A (en) Photographing method, device and equipment
CN111586281B (en) Scene processing method and device
CN104869283B (en) A kind of image pickup method and electronic equipment
JP2014068081A (en) Imaging apparatus and control method of the same, program and storage medium
KR20140116014A (en) Image acquisition apparatus,image acquisition method and recording medium
KR20090083108A (en) A method of capturing image to add enlarged image of certain region to the captured image and an image capturing apparatus thereof
JP2019186791A (en) Imaging apparatus, control method of the imaging apparatus, and control program
CN113273171A (en) Image processing apparatus, image processing server, image processing method, computer program, and storage medium
CN112219218A (en) Method and electronic device for recommending image capture mode
CN111586283B (en) Zooming method and device
JP2010041527A (en) Photographing support method, system, program
KR20150109254A (en) Imaging apparatus, imaging method and recording medium having program for performing self-timer shooting

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