CN112752012A - Camera starting method and device, electronic equipment and storage medium - Google Patents
Camera starting method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112752012A CN112752012A CN201911044915.1A CN201911044915A CN112752012A CN 112752012 A CN112752012 A CN 112752012A CN 201911044915 A CN201911044915 A CN 201911044915A CN 112752012 A CN112752012 A CN 112752012A
- Authority
- CN
- China
- Prior art keywords
- camera
- light sensation
- target camera
- target
- user
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000035807 sensation Effects 0.000 claims description 69
- 230000000903 blocking effect Effects 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 11
- 206010034960 Photophobia Diseases 0.000 claims description 9
- 230000004913 activation Effects 0.000 claims description 9
- 208000013469 light sensitivity Diseases 0.000 claims description 9
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention relates to a camera starting method, a camera starting device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a camera starting instruction, and detecting starting mode information to identify a target camera to be used; and starting the camera for shooting according to the target camera. In the embodiment of the invention, the target camera to be started is automatically determined according to the starting mode information, so that the target camera is prevented from being manually started by a user, the shooting efficiency is improved, the snapshot requirement of the user is conveniently met, and the shooting experience of the user is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of intelligent photographing, in particular to a camera starting method and device, electronic equipment and a storage medium.
Background
The function of taking a picture as commonly used in daily production and life of people is widely used in electronic equipment such as a smart phone, and generally, in order to meet various shooting requirements, a front camera and a rear camera are arranged in the electronic equipment.
In the related art, when a camera application is opened, one of a front camera and a rear camera is opened by default, and when a camera required by current shooting of a user is inconsistent with the default opened camera, the user needs to manually switch and open the corresponding camera, so that pictures to be captured and the like may be missed when the cameras are switched, or the cameras need to be switched and then shot, and the shooting efficiency is low.
Disclosure of Invention
At least one embodiment of the invention provides a camera starting method and device, electronic equipment and a storage medium, and solves the technical problems that in the prior art, the camera is started by default and shooting requirements of a user are not met, the user needs to manually switch the camera, and accordingly shooting efficiency is low or shooting pictures are missed.
In a first aspect, an embodiment of the present invention provides a camera starting method, where the method includes:
acquiring a camera starting instruction, and detecting starting mode information to identify a target camera to be used;
and starting the camera to shoot according to the target camera.
In some embodiments, the detecting the activation pattern information to identify the target camera to be used includes: acquiring a first light sensitivity value detected by a front camera sensor and/or a second light sensitivity value detected by a rear camera sensor;
comparing the first light sensation value and/or the second light sensation value with a preset light sensation shielding threshold value respectively;
if the first light sensation value is less than or equal to the light sensation shielding threshold value, determining the rear camera as the target camera;
and if the second light sensation value is less than or equal to the light sensation shielding threshold value, determining the front camera as the target camera.
In some embodiments, after comparing the first light sensation value and/or the second light sensation value with a preset light sensation blocking threshold value, the method further includes:
if the first light sensation value and the second light sensation value are larger than the light sensation shielding threshold value, prompting a user to input shooting mode information in a voice mode;
recognizing input voice information to obtain a shooting mode; if the shooting mode is a self-shooting mode, determining that the front camera is the target camera;
and if the shooting mode is not the self-shooting mode, determining that the rear camera is the target camera.
In some embodiments, the detecting the activation pattern information to identify the target camera to be used includes:
acquiring a trigger operation key corresponding to the camera starting instruction;
and inquiring preset shortcut control information to obtain a target camera corresponding to the trigger operation key.
In some embodiments, after the starting the camera for shooting according to the target camera, the method further includes:
judging whether the target camera is switched by a user before shooting;
if the user is informed to switch the target camera, recording the switching times;
and when the switching times reach a preset threshold value in a preset time period, before the camera is started for shooting according to the target camera in the next period, prompting a user by voice to the target camera to be started so as to enable the user to confirm whether the target camera is started or not.
In a second aspect, an embodiment of the present invention further provides a camera starting apparatus, including:
the detection module is used for acquiring a camera starting instruction and detecting starting mode information so as to identify a target camera to be used;
and the starting module is used for starting the camera to shoot according to the target camera.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is configured to perform the steps of any of the methods described above by calling a program or instructions stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores a program or instructions, where the program or instructions cause a computer to execute the steps of any one of the above methods.
According to the camera starting method, the camera starting instruction is obtained, the starting mode information is detected to identify the target camera to be used, and then the camera is started to shoot according to the target camera. From this, according to the target camera that the mode information of starting confirms will start automatically, avoid the user to open the target camera manually, improved shooting efficiency, be convenient for satisfy user's snapshot demand, promoted user's shooting experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a camera starting method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another camera booting method according to an embodiment of the present invention;
fig. 3-1 is a schematic diagram of an operation key setting position corresponding to a camera start instruction according to an embodiment of the present invention;
fig. 3-2 is a schematic diagram of an operation key setting position corresponding to another camera start instruction according to an embodiment of the present invention;
fig. 3-3 are schematic diagrams illustrating a setting position of an operation key corresponding to another camera start instruction according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an application scenario of camera startup according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another camera booting method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a camera starting device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another camera activation device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another camera activation device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a camera starting device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be further described in detail with reference to the accompanying drawings and examples. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. The specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
In view of the above background art, when a camera application is started, one of a front camera and a rear camera is started by default, and when the default camera that is started is inconsistent with a camera corresponding to the current shooting requirement of a user, the user needs to manually switch the camera again, which may cause the user to miss a picture to be captured or affect the shooting efficiency.
Specifically, fig. 1 is a flowchart illustrating a camera starting method according to an embodiment of the present invention, where an execution main body of the method may be an operating system of an electronic device, such as an android system, an iOS system, and the method includes the following steps:
In the embodiment of the present invention, the camera start instruction may be implemented by triggering a corresponding camera application, may also be obtained by voice instruction recognition of a user, or may also be triggered by a gesture track, which is not limited herein.
Specifically, a camera starting instruction is obtained, starting mode information is detected to identify a target camera to be used, namely the target camera required for shooting is automatically identified according to the starting mode information, the target camera required for intelligent determination is intelligently determined, and a user is prevented from manually switching to start the camera.
It should be noted that the start mode information is used to determine a target camera required by a current shooting scene, and in different application scenes, the start mode information may correspond to different contents, which is exemplified below with reference to specific examples:
example one:
in this example, considering the convenience of the user operation, the user can indicate that the user does not need the corresponding camera by shielding the corresponding camera, and thus, the target camera to be opened is determined, for example, the user needs to open the front camera, and then the user can indicate the requirement by shielding the rear camera, and thus, the target camera corresponding to the user shooting requirement is realized based on the photosensitive values of the rear camera and the front camera.
Specifically, as shown in fig. 2, the step 101 includes:
Specifically, as analyzed above, in order to determine the target camera corresponding to the current shooting demand, one or more of a first light sensation value detected by the front camera sensor and a second light sensation value detected by the rear camera sensor are acquired.
Specifically, the first light sensation value and/or the second light sensation value are/is compared with a preset light sensation occlusion threshold value, wherein the preset light sensation occlusion threshold value is a threshold value of a light sensation value which is calibrated according to experimental data and used for judging whether a user occludes, and generally, if a corresponding camera is occluded, the corresponding light sensation value is smaller than the corresponding light sensation occlusion threshold value.
In step 203, if the first light sensation value is less than or equal to the light sensation blocking threshold value, the rear camera is determined to be the target camera.
Specifically, if the first light sensation value is less than or equal to the light sensation shielding threshold value, it indicates that the front camera is shielded, and the user does not need to shoot by the front camera, so that the rear camera is determined to be the target camera.
And 204, if the second light sensation value is smaller than or equal to the light sensation shielding threshold value, determining the front camera as the target camera.
Specifically, if the second light sensation value is less than or equal to the light sensation shielding threshold value, it indicates that the rear camera is shielded, and the user does not need to shoot by the rear camera, so that the front camera is determined to be the target camera.
Therefore, in this example, the target camera corresponding to the current shooting requirement is started and determined based on the photosensitive value, the user is prevented from manually switching to open the corresponding camera, and the user performs the shielding operation on the camera which is not needed, so that the shielding operation is easily realized, for example, the shielding operation can be realized through the rear camera, and the practicability is high.
Of course, in the actual execution process, the first photosensitive value and the second photosensitive value are both greater than the photosensitive blocking threshold value due to problems such as incorrect blocking operation positions or tight blocking, and it is difficult to determine the target camera based on the photosensitive values, so that the target camera can be determined based on a mode of querying the user, and it is ensured that the target camera can be automatically opened for the user.
Specifically, if it is known that both the first light sensation value and the second light sensation value are greater than the light sensation shielding threshold value, the user is prompted to input shooting mode information in a voice mode, wherein the prompting mode can be a voice prompt or a vibration prompt, the shooting mode information can be any voice information capable of determining the shooting mode, for example, the shooting mode information is 'people together in a photo bar', the corresponding shooting mode can be determined to be 'self-shooting mode', for example, the shooting mode information is 'I take a photo bar for you', the corresponding shooting mode can be determined to be 'non-self-shooting mode', and the like.
Furthermore, the input voice information is recognized to obtain a shooting mode, for example, a shooting mode is recognized based on a keyword recognition or voice analysis technology, where the shooting mode in this embodiment is the self-timer mode and the non-self-timer mode, if the shooting mode is the self-timer mode, it is obviously determined that the front camera is the target camera, and if the shooting mode is the non-self-timer mode, it is determined that the rear camera is the target camera.
Example two:
in this example, different operation keys can be set for camera start instructions corresponding to different cameras, and a target camera determined by a user can be quickly located according to the operation key triggered by the user without analyzing the target camera corresponding to a shooting requirement in real time, so that the shooting efficiency is further improved.
Specifically, the corresponding relation between the camera starting instruction corresponding to different cameras and different operation keys is preset and stored in the preset shortcut control information, so that the operation key triggered by the user corresponding to the camera starting instruction is obtained, and the target camera corresponding to the triggered operation key is obtained according to the preset shortcut control information.
It should be understood that the operation keys corresponding to different cameras in this example may be in different combinations, and as an example, as shown in fig. 3-1, the operation key corresponding to the front camera may be a virtual key displayed on a screen of the electronic device, and the operation key corresponding to the rear camera may be a physical key disposed on a housing of the electronic device; as an example, as shown in fig. 3-2, the operation key corresponding to the front camera may be a virtual key 1 displayed on a screen of the electronic device, and the operation key corresponding to the rear camera may be a virtual key 2 displayed on the screen of the electronic device, as shown in fig. 3-3, the operation key corresponding to the front camera may be a physical key 3 disposed on a housing of the electronic device, and the operation key corresponding to the rear camera may be a physical key 4 disposed on the housing of the electronic device.
Example three:
in this example, in order to improve the mutual inductance when the user turns on the camera, different touch tracks or voice information may be set in advance for the turn-on instructions corresponding to different cameras, and thus, the target camera corresponding to the current shooting requirement may be determined according to the recognition of the touch tracks or the voice information.
For example, if the preset track a corresponds to the camera start instruction and the corresponding target camera is the front camera, and the preset track B corresponds to the camera start instruction and the corresponding target camera is the rear camera, as shown in fig. 4, the touch track of the user on the screen is detected, when the touch track is a, the camera instruction is started, the started target camera is the front camera, and when the touch track is B, the camera instruction is started, and the started target camera is the rear camera.
And 102, starting a camera to shoot according to the target camera.
Specifically, after confirming the target camera, directly start the camera according to the target camera and shoot, current target camera coincide with user's shooting demand, for example, user's shooting demand is the auto heterodyne, then the target is shot like leading the camera, for example again, for example, for shooing other scenes when user's shooting demand, then the target camera is trailing the camera, thereby, need not the user and switch the camera again, can directly get into and shoot, improved shooting efficiency.
However, an error in an algorithm for determining a shooting mode or damage to hardware such as a photosensor may cause the determined target camera to be inconsistent with actual needs, and in this case, such an error may be compensated for in order to meet the shooting needs of the user.
Specifically, as shown in fig. 5, after the step 102, the method further includes:
Specifically, after the target camera is determined, whether the user switches the target camera before shooting is judged, for example, whether the monitoring user triggers the camera switching control is monitored, so that whether the current target camera meets the shooting requirement of the user is known.
Specifically, if it is known that the user switches the target camera, the switching times are recorded, so that whether the reason why the user switches the target camera is because the user changes the shooting intention in real time or because the target camera is determined incorrectly is further determined according to the switching times.
Specifically, when the switching frequency reaches a preset threshold value within a preset time period, it is indicated that the reason for switching the target camera by the user is that the target camera is determined incorrectly, so that in order to meet the shooting requirements of the user, before the camera is started for shooting according to the target camera in the next period, the user is prompted by voice to the target camera to be started, so that the user can determine whether to start the target camera, that is, the problem of incorrect determination of the target camera is compensated, and the flexibility of starting the camera in the embodiment is improved.
In addition, the preset time period and the preset threshold value can be calibrated by a system, and can also be calibrated by a user according to the personalized requirements of the user.
To sum up, the camera starting method according to the embodiment of the present invention obtains a camera starting instruction, detects the starting mode information to identify the target camera to be used, and further starts the camera to shoot according to the target camera. From this, according to the target camera that the mode information of starting confirms will start automatically, avoid the user to open the target camera manually, improved shooting efficiency, be convenient for satisfy user's snapshot demand, promoted user's shooting experience.
In order to implement the above embodiments, the present invention further provides a camera starting device.
Fig. 6 is a schematic structural diagram of a camera activation device according to an embodiment of the present invention, as shown in fig. 6, the device includes: a detection module 10 and a starting module 20;
the detection module 10 is configured to acquire a camera start instruction, and detect start mode information to identify a target camera to be used;
and the starting module 20 is used for starting the camera to shoot according to the target camera.
In some embodiments, as shown in fig. 7, on the basis of fig. 6, the detection module 10 includes:
the acquisition unit 11 is used for acquiring a first light sensation value detected by the front camera sensor and/or a second light sensation value detected by the rear camera sensor;
a comparing unit 12, configured to compare the first light sensitivity value and/or the second light sensitivity value with a preset light-sensitive blocking threshold value respectively;
the determining unit 13 is configured to determine that the rear camera is the target camera when it is known that the first light sensation value is smaller than or equal to the light sensation blocking threshold value;
the determining unit 13 is further configured to determine that the front-facing camera is the target camera when it is known that the second light sensation value is smaller than or equal to the light sensation blocking threshold value.
In some embodiments, as shown in fig. 8, on the basis of fig. 7, the detection module 10 further includes:
the prompting unit 14 is configured to prompt a user to input shooting mode information in a voice manner when the first light sensation value and/or the second light sensation value are/is larger than the light sensation blocking threshold value;
a recognition unit 15 for recognizing the input voice information acquisition shooting mode;
the determining unit 13 is further configured to determine that the front-facing camera is the target camera when the shooting mode is a self-shooting mode;
the determining unit 13 is further configured to determine that the rear camera is the target camera when the shooting mode is not the self-shooting mode.
In some embodiments, the detection module 10 is specifically configured to:
acquiring a trigger operation key corresponding to the camera starting instruction;
and inquiring preset shortcut control information to obtain a target camera corresponding to the trigger operation key.
In some embodiments, as shown in fig. 9, the apparatus further comprises:
a judging module 30, configured to judge whether a user switches the target camera before shooting after the camera is started for shooting according to the target camera;
the recording module 40 is configured to record switching times when it is known that the user switches the target camera;
and the prompting module 50 is configured to prompt the user with a voice to the target camera to be started before the camera is started for shooting according to the target camera in the next period when the switching frequency reaches a preset threshold within a preset time period, so that the user can confirm whether to start the camera.
It should be noted that the foregoing explanation of the camera booting method is also applicable to the camera booting apparatus according to the embodiment of the present invention, and the implementation principle thereof is similar, and is not repeated herein.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, as shown in fig. 10, the electronic device may include a mobile phone and a PAD intelligent terminal, and the electronic device includes:
one or more processors 301, one processor 301 being exemplified in fig. 10;
a memory 302;
the electronic device may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 in the electronic device may be connected by a bus or other means, and fig. 10 illustrates an example of connection by a bus.
The memory 302, which is a non-transitory computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules (e.g., the detection module 10 and the activation module 20 shown in fig. 6) corresponding to the camera activation method in the embodiment of the present invention. The processor 301 executes various functional applications of the server and data processing by running software programs, instructions, and modules stored in the memory 302, that is, implements the camera booting method of the above-described method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; 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-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 302 may optionally include memory located remotely from the processor 301, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output means 304 may comprise a display device such as a display screen.
An embodiment of the present invention further provides a computer-readable storage medium, which stores a program or an instruction, where the program or the instruction is used to cause a computer to execute a camera starting method, where the method includes:
acquiring a camera starting instruction, and detecting starting mode information to identify a target camera to be used;
and starting the camera to shoot according to the target camera.
Optionally, the computer-executable instructions, when executed by the computer processor, may also be used to implement the technical solution of the camera booting method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that although some embodiments described herein include some features included in other embodiments instead of others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (12)
1. A camera startup method, comprising:
acquiring a camera starting instruction, and detecting starting mode information to identify a target camera to be used;
and starting the camera to shoot according to the target camera.
2. The method of claim 1, wherein the detecting activation pattern information to identify a target camera to use comprises:
acquiring a first light sensitivity value detected by a front camera sensor and/or a second light sensitivity value detected by a rear camera sensor;
comparing the first light sensation value and/or the second light sensation value with a preset light sensation shielding threshold value respectively;
if the first light sensation value is less than or equal to the light sensation shielding threshold value, determining the rear camera as the target camera;
and if the second light sensation value is less than or equal to the light sensation shielding threshold value, determining the front camera as the target camera.
3. The method as claimed in claim 2, further comprising, after comparing the first light sensation value and/or the second light sensation value with a preset light sensation occlusion threshold value, respectively:
if the first light sensation value and the second light sensation value are larger than the light sensation shielding threshold value, prompting a user to input shooting mode information in a voice mode;
recognizing input voice information to obtain a shooting mode;
if the shooting mode is a self-shooting mode, determining that the front camera is the target camera;
and if the shooting mode is not the self-shooting mode, determining that the rear camera is the target camera.
4. The method of claim 1, wherein the detecting activation pattern information to identify a target camera to use comprises:
acquiring a trigger operation key corresponding to the camera starting instruction;
and inquiring preset shortcut control information to obtain a target camera corresponding to the trigger operation key.
5. The method of any of claims 1-4, further comprising, after said initiating the camera to take a shot in accordance with the target camera:
judging whether the target camera is switched by a user before shooting;
if the user is informed to switch the target camera, recording the switching times;
and when the switching times reach a preset threshold value in a preset time period, before the camera is started for shooting according to the target camera in the next period, prompting a user by voice to the target camera to be started so as to enable the user to confirm whether the target camera is started or not.
6. A camera startup device, comprising:
the detection module is used for acquiring a camera starting instruction and detecting starting mode information so as to identify a target camera to be used;
and the starting module is used for starting the camera to shoot according to the target camera.
7. The apparatus of claim 6, wherein the detection module comprises:
the acquisition unit is used for acquiring a first light sensation value detected by the front camera sensor and/or a second light sensation value detected by the rear camera sensor;
the comparison unit is used for comparing the first light sensation value and/or the second light sensation value with a preset light sensation shielding threshold value respectively;
the determining unit is used for determining the rear camera as the target camera when the first light sensation value is smaller than or equal to the light sensation shielding threshold value;
the determining unit is further configured to determine that the front-facing camera is the target camera when it is known that the second light sensation value is smaller than or equal to the light sensation blocking threshold value.
8. The apparatus of claim 7, wherein the detection module further comprises:
the prompting unit is used for prompting a user to input shooting mode information in a voice mode when the first light sensation value and/or the second light sensation value are/is larger than the light sensation shielding threshold value;
the recognition unit is used for recognizing the input voice information to obtain a shooting mode;
the determining unit is further configured to determine that the front camera is the target camera when the shooting mode is a self-shooting mode;
the determining unit is further configured to determine that the rear camera is the target camera when the shooting mode is not the self-shooting mode.
9. The apparatus of claim 6, wherein the detection module is specifically configured to:
acquiring a trigger operation key corresponding to the camera starting instruction;
and inquiring preset shortcut control information to obtain a target camera corresponding to the trigger operation key.
10. The apparatus of any of claims 6-9, further comprising:
the judging module is used for judging whether a user switches the target camera before shooting after the camera is started for shooting according to the target camera;
the recording module is used for recording the switching times when the user is informed of switching the target camera;
and the prompting module is used for prompting the target camera to be started by voice before the camera is started for shooting according to the target camera in the next period when the switching times reach a preset threshold value in a preset time period so as to enable the user to confirm whether the target camera is started or not.
11. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911044915.1A CN112752012A (en) | 2019-10-30 | 2019-10-30 | Camera starting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911044915.1A CN112752012A (en) | 2019-10-30 | 2019-10-30 | Camera starting method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112752012A true CN112752012A (en) | 2021-05-04 |
Family
ID=75640552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911044915.1A Pending CN112752012A (en) | 2019-10-30 | 2019-10-30 | Camera starting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112752012A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113542611A (en) * | 2021-07-30 | 2021-10-22 | 西安中诺通讯有限公司 | Method for starting photographing based on voice control |
WO2023246100A1 (en) * | 2022-06-20 | 2023-12-28 | 湖北星纪魅族科技有限公司 | Photographing processing method and apparatus for terminal, and electronic device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2854002A1 (en) * | 2012-05-22 | 2015-04-01 | ZTE Corporation | Method and device for switching between double cameras |
CN107105160A (en) * | 2017-04-25 | 2017-08-29 | 维沃移动通信有限公司 | A kind of method, system and mobile terminal for starting camera |
CN107333067A (en) * | 2017-08-04 | 2017-11-07 | 维沃移动通信有限公司 | The control method and terminal of a kind of camera |
CN107580179A (en) * | 2017-08-18 | 2018-01-12 | 维沃移动通信有限公司 | A kind of camera starts method and mobile terminal |
CN107948496A (en) * | 2017-10-09 | 2018-04-20 | 广东小天才科技有限公司 | Photographing method and device of mobile terminal, mobile terminal and storage medium |
CN108197554A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | A kind of camera starts method, mobile terminal and computer readable storage medium |
CN108418920A (en) * | 2018-03-06 | 2018-08-17 | 京东方科技集团股份有限公司 | Intelligent terminal and its control method |
CN109819168A (en) * | 2019-01-31 | 2019-05-28 | 维沃移动通信有限公司 | A kind of the starting method and mobile terminal of camera |
-
2019
- 2019-10-30 CN CN201911044915.1A patent/CN112752012A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2854002A1 (en) * | 2012-05-22 | 2015-04-01 | ZTE Corporation | Method and device for switching between double cameras |
CN107105160A (en) * | 2017-04-25 | 2017-08-29 | 维沃移动通信有限公司 | A kind of method, system and mobile terminal for starting camera |
CN107333067A (en) * | 2017-08-04 | 2017-11-07 | 维沃移动通信有限公司 | The control method and terminal of a kind of camera |
CN107580179A (en) * | 2017-08-18 | 2018-01-12 | 维沃移动通信有限公司 | A kind of camera starts method and mobile terminal |
CN107948496A (en) * | 2017-10-09 | 2018-04-20 | 广东小天才科技有限公司 | Photographing method and device of mobile terminal, mobile terminal and storage medium |
CN108197554A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | A kind of camera starts method, mobile terminal and computer readable storage medium |
CN108418920A (en) * | 2018-03-06 | 2018-08-17 | 京东方科技集团股份有限公司 | Intelligent terminal and its control method |
CN109819168A (en) * | 2019-01-31 | 2019-05-28 | 维沃移动通信有限公司 | A kind of the starting method and mobile terminal of camera |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113542611A (en) * | 2021-07-30 | 2021-10-22 | 西安中诺通讯有限公司 | Method for starting photographing based on voice control |
WO2023246100A1 (en) * | 2022-06-20 | 2023-12-28 | 湖北星纪魅族科技有限公司 | Photographing processing method and apparatus for terminal, and electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109167877B (en) | Terminal screen control method and device, terminal equipment and storage medium | |
CN106815546B (en) | Fingerprint identification method and device | |
WO2022110614A1 (en) | Gesture recognition method and apparatus, electronic device, and storage medium | |
CN111695382B (en) | Fingerprint acquisition area determining method and fingerprint acquisition area determining device | |
CN108171165B (en) | Fingerprint identification method and device and computer readable storage medium | |
CN107390932B (en) | Edge false touch prevention method and device and computer readable storage medium | |
CN104660907A (en) | Shooting method and device as well as mobile terminal | |
CN105827796B (en) | Processing method and device for mobile terminal application | |
WO2018133387A1 (en) | Fingerprint identification method and device | |
JP6229069B2 (en) | Mobile terminal, how to handle virtual buttons | |
CN110557564A (en) | Quick starting method and device of camera | |
KR101847753B1 (en) | Unlocking method and apparatus | |
CN105653171A (en) | Fingerprint identification based terminal control method, terminal control apparatus and terminal | |
CN112752012A (en) | Camera starting method and device, electronic equipment and storage medium | |
WO2013176892A1 (en) | Mobile communication device with image recognition and method of operation therfor | |
JP2019515519A5 (en) | ||
CN104811690A (en) | Message prompting method and device | |
EP3509012A1 (en) | Fingerprint recognition method and device | |
CN107580142B (en) | Method and device for executing processing | |
CN112241652A (en) | Fingerprint identification method and device | |
CN115756198A (en) | Wet hand touch identification method and device, electronic equipment and medium | |
CN107562350B (en) | Method and device for reporting key event | |
CN110969067A (en) | User registration and authentication method and device | |
CN110519433B (en) | Camera application control method, device, equipment and storage medium | |
CN112702482B (en) | Method and device for adjusting focal length of camera |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210504 |
|
RJ01 | Rejection of invention patent application after publication |