CN108462827B - Method and device for acquiring image data - Google Patents

Method and device for acquiring image data Download PDF

Info

Publication number
CN108462827B
CN108462827B CN201810125490.6A CN201810125490A CN108462827B CN 108462827 B CN108462827 B CN 108462827B CN 201810125490 A CN201810125490 A CN 201810125490A CN 108462827 B CN108462827 B CN 108462827B
Authority
CN
China
Prior art keywords
camera
screen
intelligent equipment
image
preview
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
CN201810125490.6A
Other languages
Chinese (zh)
Other versions
CN108462827A (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 Kingsoft Software Co Ltd
Original Assignee
Beijing Kingsoft 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 Kingsoft Software Co Ltd filed Critical Beijing Kingsoft Software Co Ltd
Priority to CN201810125490.6A priority Critical patent/CN108462827B/en
Publication of CN108462827A publication Critical patent/CN108462827A/en
Application granted granted Critical
Publication of CN108462827B publication Critical patent/CN108462827B/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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/617Upgrading or updating of programs or applications for camera control
    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Environmental & Geological Engineering (AREA)
  • Software Systems (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method and a device for acquiring image data, wherein the method comprises the following steps: monitoring the inclination angle of the intelligent equipment in real time; controlling a first camera of the intelligent equipment to take a picture under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and meets a picture taking condition, and acquiring picture data; or under the condition that the inclination angle of the intelligent equipment is determined to be smaller than or equal to the first threshold and the shooting condition is met, controlling a first camera of the intelligent equipment to shoot to obtain video data; and storing the photo data or the video data in a designated storage space. The method monitors the inclination angle of the intelligent equipment in real time, and controls the first camera of the intelligent equipment to shoot or pick up the image when certain shooting conditions or image pick-up conditions are met, so that the process that the screen of the intelligent equipment is opened, a camera program is started and an external instruction is received is avoided, the operation is simple and convenient, the time is saved, the response speed is improved, and the user experience degree is improved.

Description

Method and device for acquiring image data
Technical Field
The present application relates to the field of terminal device technologies, and in particular, to a method and an apparatus for acquiring image data.
Background
With the improvement of hardware technology, for example, smart devices such as smart devices and tablet computers have all had the function of shooing. Besides the photographing function software of the intelligent equipment, the application software of a plurality of photographing types provides stronger functions for people to photograph or pick up the images as much as possible and record the drip of life.
At present, the general process for starting the camera function of the smart device is as follows: the method comprises the steps that a user opens a screen of a lock screen after pressing a physical key, the screen of the intelligent device is lightened, the user uses a finger to scratch the screen of the lock screen, then uses the finger to click an icon of a camera APP, or starts a camera function by clicking a shortcut, so that after the intelligent device receives a trigger operation input from the outside of the user, a camera program is started, a camera sensor and an image processor are initialized, a preview picture is displayed on a display screen after initialization is completed, and a photographing or video button provided for the user is displayed. Generally, the time of 1-2 seconds is generally needed when an operating system of the intelligent device is awakened, the time of 1-2 seconds is needed when a camera function of the intelligent device is started, and the time of 1-2 seconds is generally needed when a photographing button is clicked to acquire an image after the camera function is started. The intelligent equipment provided by the prior art is used for shooting, a lot of target scene pictures can be missed, the intelligent equipment is not suitable for snapping wonderful shots, and poor experience is brought to a user.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for acquiring image data, an intelligent device, and a computer-readable storage medium, so as to solve technical defects in the prior art, so that the intelligent device is more suitable for capturing a wonderful shot in a shorter time.
The embodiment of the application discloses a method for acquiring image data, which comprises the following steps:
monitoring the inclination angle of the intelligent equipment in real time;
controlling a first camera of the intelligent equipment to take a picture to acquire picture data under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold and meets the picture taking condition; or under the condition that the inclination angle of the intelligent equipment is determined to be smaller than or equal to a first threshold value and the shooting condition is met, controlling a first camera of the intelligent equipment to shoot to obtain video data;
and storing the photo data or the video data in a designated storage space.
In an illustrative embodiment of the present application,
the photographing conditions include: receiving a photographing voice instruction through a voice receiving unit; or
The imaging conditions include: and receiving a camera shooting voice instruction through a voice receiving unit.
In an illustrative embodiment of the present application,
the photographing conditions include: the second camera acquires an image; or
The imaging conditions include: the second camera collects images and receives a physical key camera shooting instruction.
In an illustrative embodiment of the present application,
the photographing conditions include: the second camera acquires images and detects preset photographing mode information; or
The imaging conditions include: the second camera collects images and detects preset shooting mode information.
In an exemplary embodiment of the present application, the method of acquiring image data further comprises:
the first camera is set to be in an open state in advance.
In an exemplary embodiment of the present application, the method of acquiring image data further comprises:
and the second camera is set to be in an opening state in advance.
In an exemplary embodiment of the present application, after acquiring the photograph data, the method further comprises:
starting a screen of the intelligent equipment, and displaying a preview of the photo data within a second threshold time;
judging whether the screen of the intelligent equipment is in a locked state or not;
if the screen of the intelligent equipment is in a locked state, after the preview image is displayed, controlling the screen of the intelligent equipment to maintain the locked state;
and if the screen of the intelligent equipment is in an unlocked state, loading a photographing program interface after the preview picture is displayed.
In an exemplary embodiment of the present application, after the tilt angle of the smart device is less than or equal to the first threshold and meets the photographing condition, the method further includes:
judging whether the screen of the intelligent equipment is in a locked state or not;
under the condition that the screen of the intelligent equipment is in a locked state, controlling a first camera to take pictures through a first thread, acquiring picture data, and judging whether an image detected by a second camera is a preset unlocking image through a second thread;
if yes, unlocking a screen of the intelligent equipment, displaying a preview of the photo data within a second threshold time, and loading a photographing program interface after the preview is displayed;
if not, controlling the screen of the intelligent equipment to maintain a locked state after the preview picture is displayed;
under the condition that the screen of the intelligent device is in an unlocked state, the first camera is controlled to shoot through the first thread, photo data are obtained, a preview of the photo data is displayed within a second threshold time, and a shooting program interface is loaded after the preview is displayed.
In an exemplary embodiment of the present application, after acquiring the video data, the method further comprises:
starting a screen of the intelligent equipment, and displaying a preview video of the video data;
judging whether the screen of the intelligent equipment is in a locked state or not;
if the screen of the intelligent equipment is in a locked state, after the preview video is finished, the screen of the intelligent equipment maintains the locked state;
and if the screen of the intelligent equipment is in an unlocked state, loading a camera program interface after the preview video is finished.
In an exemplary embodiment of the present application, after the tilt angle of the smart device is equal to or less than a first threshold and the image capturing condition is satisfied, the method further includes:
judging whether the screen of the intelligent equipment is in a locked state or not;
under the condition that the screen of the intelligent equipment is in a locked state, controlling a first camera to take a picture through a first thread so as to obtain video data, and judging whether an image received by a second camera is a preset unlocking image through a second thread;
if so, unlocking the screen of the intelligent equipment, and loading a camera program interface after the preview video is finished;
if not, after the preview video is finished, the screen of the intelligent device maintains a locked state;
under the condition that the screen of the intelligent device is in an unlocked state, a first camera is controlled to shoot through a first thread so as to obtain video data, preview videos of the video data are displayed within a second threshold time, and a shooting program interface is loaded after the preview videos are displayed.
In an exemplary embodiment of the present application, a method of ending the image capturing includes:
setting a third threshold time for the first camera to pick up the image;
or inputting a shooting end voice;
or by physical keying;
or the inclination angle of the intelligent device is larger than the first threshold value.
In an exemplary embodiment of the present application, the first camera is a rear camera, and the second camera is a front camera.
The embodiment of the application also discloses a device for acquiring image data, which comprises:
the detection module is used for monitoring the inclination angle of the intelligent equipment in real time;
the photographing module is used for controlling a first camera of the intelligent equipment to photograph and acquiring photograph data under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold and the photographing condition is met; or
The camera module is used for controlling a first camera of the intelligent equipment to shoot to acquire video data under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and meets the shooting condition;
and the storage module is used for storing the photo data or the video data in a specified storage space.
In an illustrative embodiment of the present application,
the photographing conditions include: receiving a photographing voice instruction through a voice receiving unit; or
The imaging conditions include: and receiving a camera shooting voice instruction through a voice receiving unit.
In an illustrative embodiment of the present application,
the photographing conditions include: the second camera acquires an image; or
The imaging conditions include: the second camera collects images and receives a physical key camera shooting instruction.
In an illustrative embodiment of the present application,
the photographing conditions include: the second camera acquires images and detects preset photographing mode information; or
The imaging conditions include: the second camera collects images and detects preset shooting mode information.
In an exemplary embodiment of the present application, the apparatus for acquiring image data further comprises:
and the setting module is used for setting the first camera and the second camera into an open state in advance.
In an exemplary embodiment of the present application, the apparatus further comprises:
the photo preview module is used for opening a screen of the intelligent equipment and displaying a preview of the photo data within a second threshold time;
the first screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not;
the first screen locking processing module is used for controlling the screen of the intelligent equipment to maintain a locking state after the preview image is displayed under the condition that the screen of the intelligent equipment is in the locking state;
and the first screen unlocking processing module is used for loading a photographing program interface after the preview picture is displayed under the condition that the screen of the intelligent equipment is in an unlocking state.
In an exemplary embodiment of the present application, the apparatus further comprises:
the second screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and the photographing condition is met;
the second screen locking processing module is used for controlling the first camera to take photos through the first thread under the condition that the screen of the intelligent equipment is in a locking state, acquiring photo data, and judging whether an image detected by the second camera is a preset unlocking image through the second thread;
if so, the second screen locking processing module unlocks the screen of the intelligent equipment, displays a preview of the photo data within a second threshold time, and loads a photographing program interface after the preview is displayed;
if not, after the preview image is displayed, the second screen locking processing module controls the screen of the intelligent equipment to maintain a locking state;
and the second screen unlocking processing module is used for controlling the first camera to shoot through the first thread under the condition that the screen of the intelligent equipment is in an unlocking state, acquiring photo data, displaying a preview of the photo data within a second threshold time, and loading a shooting program interface after the preview is displayed.
In an exemplary embodiment of the present application, the apparatus comprises:
the video preview module is used for starting a screen of the intelligent equipment and displaying a preview video of the video data;
the third screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not;
the third screen locking processing module is used for maintaining the screen of the intelligent equipment in a locking state after the preview video is finished under the condition that the screen of the intelligent equipment is in the locking state;
and the third screen unlocking processing module is used for loading the camera program interface after the preview video is finished under the condition that the screen of the intelligent equipment is in an unlocking state.
In an exemplary embodiment of the present application, the apparatus further comprises:
the fourth screen state judgment module is used for judging whether the screen of the intelligent equipment is in a locked state or not under the condition that the inclination angle of the intelligent equipment is smaller than or equal to the first threshold and the shooting condition is met;
the fourth screen locking processing module is used for controlling the first camera to take a picture through the first thread under the condition that the screen of the intelligent equipment is in a locking state so as to obtain video data, and judging whether the image received by the second camera is a preset unlocking image through the second thread;
if yes, unlocking the screen of the intelligent equipment by the fourth screen locking processing module, and loading a camera program interface after the preview video is finished;
if not, after the preview video is finished, the fourth screen locking processing module controls the intelligent equipment screen to maintain a locking state;
and the fourth screen unlocking processing module is used for controlling the first camera to shoot through the first thread under the condition that the screen of the intelligent equipment is in an unlocking state so as to acquire video data, displaying the preview video of the video data within a second threshold time, and loading a shooting program interface after the preview video is displayed.
The embodiment of the application discloses intelligent equipment, which comprises a memory, a processor and computer instructions which are stored on the memory and can be run on the processor, wherein the processor executes the instructions to realize the following steps:
monitoring the inclination angle of the intelligent equipment in real time;
controlling a first camera of the intelligent equipment to take a picture to acquire picture data under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold and meets the picture taking condition; or under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and meets the shooting condition, controlling a first camera of the intelligent equipment to shoot to obtain video data;
and storing the photo data or the video data in a designated storage space.
The embodiment of the application discloses a computer readable storage medium, which stores computer instructions, and the instructions are executed by a processor to realize the steps of the method for acquiring the image data.
According to the method and the device for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when a certain photographing condition or a certain photographing condition is met, the first camera of the intelligent device is controlled to photograph or pick up the image, so that the process that in the prior art, a screen of the intelligent device is opened, a camera program is started, and an external instruction is received is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for acquiring image data according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a rectangular coordinate system according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for obtaining photo data according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for obtaining photo data according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a method for obtaining photo data according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating a method for acquiring video data according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating a method for acquiring video data according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating a method for acquiring video data according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an apparatus for acquiring image data according to an embodiment of the present disclosure;
FIG. 10 is a schematic structural diagram of a smart device according to an embodiment of the present application;
fig. 11 is a schematic view of a photographing program interface of the smart device according to the embodiment of the present application;
fig. 12 is a schematic view of a camera program interface of the smart device according to the embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
In the present application, a method and an apparatus for acquiring image data, an intelligent device and a computer readable storage medium are provided, which are described in detail in the following embodiments one by one.
In an embodiment of the present application, the present application discloses a method for acquiring image data, referring to fig. 1, including:
101. and monitoring the inclination angle of the intelligent equipment in real time.
Referring to fig. 2, a rectangular coordinate system of the direction in which the smart device is located is shown in fig. 2. As can be seen from fig. 2, XY is horizontal, Z is vertical and upward, and in the static state of the smart device shown in fig. 2, the acceleration sensor reading in XY is 0, the acceleration sensor reading in Z is 1G, and G represents the value of the gravitational acceleration. In this embodiment, the tilt angle refers to an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system.
In this embodiment, the real-time monitoring refers to monitoring the smart device uninterruptedly to obtain a parameter value of the smart device. Parameter values include, but are not limited to: the smart device deviates from the Z-axis by an angle value theta.
The smart device may be any type of mobile smart device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone, a wearable mobile device (e.g., smart watch, smart glasses, etc.), or other type of mobile device. In a specific embodiment of the present invention, the smart device is preferably provided with an inertial measurement unit, i.e. a gyroscope or a gravitational acceleration sensor.
Generally, the tilt angle of the smart device is monitored in real time by an inertial measurement unit in the smart device. Wherein, inertial measurement unit includes: a gyroscope and an acceleration sensor.
For a gyroscope, also called an angular velocity sensor, the angular velocity of the smart device can be directly obtained. If the angle value is to be obtained, the angle value is further integrated.
For the acceleration sensor, since the acceleration sensor is subjected to gravity when placed at rest, when the smart device is in the rest state shown in fig. 2, the acceleration sensor reading in the XY direction is 0, the acceleration sensor reading in the Z direction is 1G, and G represents the value of the gravity acceleration. If the smart device is rotated around the Y-axis, the readings of the acceleration sensors of the Y-axis are still 0, and the data of the acceleration sensors of the X-axis and the Z-axis are changed. By measuring the acceleration of the intelligent device in three axial directions and utilizing the property that the gravity acceleration is 1G (G represents the value of the gravity acceleration), the inclination angle of the intelligent device in the three-axis direction can be calculated.
In practical application, the inclination angle of the intelligent device in the three-axis direction can be indirectly obtained through the acceleration sensor, and the inclination angle of the intelligent device in the three-axis direction can also be obtained in a mode of combining the gyroscope and the acceleration sensor.
102. Under the condition that the inclination angle of the intelligent equipment is smaller than or equal to the first threshold value and meets the photographing condition, the first camera of the intelligent equipment is controlled to photograph to obtain photo data.
The first threshold may be set according to actual requirements, for example, set to 3 degrees, 5 degrees, 6 degrees, and so on. The inclination angle equal to or smaller than the first threshold value means an absolute value of the angle value θ deviating from the Z axis, and the positive or negative of the angle value θ deviating from the Z axis is not considered, that is, the absolute value of the angle value θ deviating from the Z axis is the inclination angle. The angle value θ may be positive, negative, and within [ -180 °, +180 ° ]. Then, the inclination angle of the intelligent device is in the range of 0 to the first threshold, and in the range, the intelligent device is in the vertical state, so that the use habit of the user is met.
The upright state refers to a state in which the rear camera of the smart device is directed forward and the screen of the smart device faces the user. Note that the standing state described here does not mean that the angle between the smart device and the Z axis is 0 degree, and the present invention is applicable to the standing state whether the smart device is in the horizontally standing state or the vertically standing state, or in the upright standing state or the inverted standing state. For example, the mobile phone shown in fig. 2 is in a vertical standing state, and for example, when a user plays a game or watches a movie with the mobile phone, the mobile phone is placed in a horizontal standing state.
In the embodiment of the application, the second camera is turned on in advance and keeps an on state. The first camera can be started in advance and kept in a starting state, and can also be started in response to the photographing instruction in the step.
If the first camera is started in advance and keeps the starting state, the power consumption is larger, but the picture can be captured in a rush at the first time. The first camera is turned on in response to the photographing instruction, so that the power consumption can be reduced, but the photographing is delayed. Therefore, a setting function is provided in practical application, and a user can set the opening mode of the first camera according to requirements.
In addition, in this embodiment, the photographing condition may be set in advance. In one embodiment of the present application, the photographing condition is that a photographing voice instruction is received by the voice receiving unit. During actual use, the built-in voice receiving unit (such as a microphone) of the intelligent device is started to receive the voice command in real time, and the intelligent device can receive the voice command in real time no matter the intelligent device is in a screen locking or unlocking state. The voice instruction satisfying the photographing condition may be preset, for example, a voice instruction of "photographing", and the like. And when the acquired voice is a preset voice instruction, the shooting condition is considered to be met.
In an embodiment of the present application, the photographing condition is that an image is acquired by the second camera. The images meeting the photographing condition may be preset, for example, the image collected by the second camera includes a portrait or the image collected by the second camera includes a landscape. If the black area is large in the image collected by the second camera, the scene is judged to be absent, and the condition that the photographing condition is not met is met. In an embodiment of the present invention, if the black area in the image is greater than 80%, and the black area is equal to or greater than a certain set maximum area threshold, it may be determined that the photographing condition is not satisfied.
In practical application, the second camera collects the portrait, so that the photographing condition is met, and the use condition during actual photographing is better met.
In an embodiment of the application, the photographing condition may be set to not only satisfy that the second camera acquires an image, but also satisfy that preset photographing mode information is detected. The preset photographing mode information may be a selection item in a setting menu. For example, a setting menu is provided with an option of 'triggering a photographing mode when a second camera is set to acquire an image', and if the option is selected, a photographing condition is met when the second camera acquires the image; if the option is not selected, even if the second camera collects images, the photographing condition is not met. In the embodiment, the presetting of the photographing mode information is added, so that the false triggering of the photographing action can be avoided.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly.
Or 103, under the condition that the inclination angle of the intelligent device is smaller than or equal to a first threshold value and meets the shooting condition, controlling a first camera of the intelligent device to shoot to acquire video data.
It should be noted that steps 102 and 103 are in parallel relationship and not executed sequentially, but at the same time, steps 102 and 103 can only be executed alternatively and not simultaneously. If only one of the steps 102 or 103 exists, the technical solution of the present invention can still be completed.
The first threshold may be set according to actual requirements, for example, set to 3 degrees, 5 degrees, 6 degrees, and so on. The tilt angle is an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system. The inclination angle is smaller than or equal to the first threshold value, which means that the inclination angle of the intelligent device is in the range of 0-the first threshold value. In the range of the inclination angle, the intelligent equipment is in a vertical state, and the use habit of a user is met.
In the embodiment of the application, the second camera is turned on in advance and keeps an on state.
In practical application, the first camera may be turned on in advance, or may be turned on in response to the camera shooting instruction in this step.
If the first camera is started in advance, the power consumption is larger, but the first time of shooting can be guaranteed. The first camera is turned on in response to a photographing or image pickup instruction, so that power consumption can be reduced, but image pickup delay is caused.
In one embodiment of the present application, the image capturing condition may be that an image capturing voice instruction is received by the voice receiving unit. During actual use, a voice receiving unit (such as a microphone) arranged in the intelligent device is started to receive a voice instruction in real time, and the intelligent device is in a screen locking or unlocking state. Voice instructions satisfying the imaging conditions may be preset, for example, voice instructions such as "image capture", "start of image capture", and the like. And when the acquired voice is a preset voice instruction, the camera shooting condition is considered to be met.
In an embodiment of the present application, the shooting condition may be that an image is captured by the second camera and a physical key shooting instruction is received. The images meeting the shooting condition can be preset, for example, the images collected by the second camera include a portrait or the images collected by the second camera include a landscape, and the second camera is preferably used for collecting the portrait and accords with the use situation during actual shooting. In addition, the physical key camera shooting instruction is an instruction for triggering physical key input, for example, the camera shooting instruction is input by pressing a side key of the intelligent device. In this embodiment, two conditions that the second camera acquires an image and receives a physical key camera shooting instruction need to be satisfied, so that false triggering of a camera shooting action can be avoided.
In an embodiment of the present application, the shooting condition may be that not only the second camera needs to acquire an image, but also preset shooting mode information needs to be detected. The preset image capture mode information is, for example, a selection item in a setting menu. For example, setting an option of 'setting the second camera to acquire the image as the trigger shooting mode' in the menu, and if the option is selected, meeting shooting conditions when the second camera acquires the image; if the option is not selected, the shooting condition is not met even if the second camera collects images. In this embodiment, two preset conditions of the second camera acquiring the image and the shooting mode information need to be satisfied, so that false triggering of the shooting action is avoided.
104. And storing the photo data or the video data in a designated storage space.
The storage space is a cache or a hard disk of the intelligent device.
In this way, if the user needs to view the photo data or the video data, the viewing can be invoked in the designated storage space.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when a certain photographing condition or a certain photographing condition is met, the first camera of the intelligent device is controlled to photograph or pick up, so that the process that in the prior art, a screen of the intelligent device is opened, a camera program is started, and an external instruction is received is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
The embodiment of the application discloses a method for acquiring image data, which is suitable for an application scene that intelligent equipment receives a photographing voice command through a voice receiving unit to photograph. Referring to FIG. 3, the present embodiment includes the following steps 300-307.
300. The first camera is preset to be in an open state and kept in the open state.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly. In this embodiment, it is guaranteed that the first camera and the second camera take pictures or make a video recording at the first time by setting the first camera and the second camera to be in an open state and keeping the open state in advance.
301. And monitoring the inclination angle of the intelligent equipment in real time.
The tilt angle is an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system. The method for measuring the tilt angle has been described in detail in the above embodiments, and is not described herein again.
302. And under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and a photographing voice instruction is received, controlling a first camera of the intelligent equipment to photograph, acquiring photograph data, and then executing steps 303 and 307.
In this embodiment, the inclination angle is smaller than or equal to the first threshold, which means that the inclination angle of the smart device is within a range from 0 to the first threshold.
303. And opening a screen of the intelligent device, and displaying a preview of the photo data within a second threshold time.
Step 303 provides a preview of the photo data for the purpose of facilitating the user to see if the effect of the photo is expected. The preview may last for a second threshold time and then end the display. In addition, the second threshold time may be set according to actual needs, for example, 5 seconds. When the preview duration reaches 5 seconds, the preview ends displaying.
304. And judging whether the screen of the intelligent device is in a locked state, if so, executing a step 305, and if not, executing a step 306.
In this embodiment, the locked state of the screen of the smart device refers to a state before unlocking the screen, and includes two states: a lit state of the screen or a blank state of the screen.
305. And after the preview picture is displayed, controlling the screen of the intelligent device to maintain a locked state.
306. And loading a photographing program interface after the preview picture is displayed.
In this embodiment, the photographing program can be loaded in the background during the process of previewing the photo, and after the preview of the photo is finished, the interface of the photographing program can be directly switched to. And a photographing program interface as shown in fig. 11.
307. And storing the photo data in a designated storage space.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when a certain photographing condition is met, the first camera of the intelligent device is controlled to photograph, so that the process that an external instruction is received by opening a screen of the intelligent device, starting a camera program and receiving the external instruction in the prior art is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
An embodiment of the application provides a method for acquiring image data, which is suitable for an application scene in which an intelligent device acquires images through a second camera to take photos. When the second camera collects the image, if the image is a preset unlocking image, for example, the unlocking image is a human face model of the user, then, the unlocking function of the intelligent device is realized while the photographing function is realized.
Referring to fig. 4, the present embodiment includes the following steps 400 to 408:
400. the first camera and the second camera are preset to be in an opening state and are kept in the opening state.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly. In this embodiment, set up first camera and second camera and keep for the open mode, can guarantee that the very first time is taken a picture.
401. And monitoring the inclination angle of the intelligent equipment in real time.
In this embodiment, the tilt angle refers to an absolute value of an angle value θ of the smart device deviating from the Z axis in the rectangular coordinate system. The angle value θ may be positive, negative, and within [ -180 °, +180 ° ].
Generally, the tilt angle of the smart device is monitored in real time by an inertial measurement unit in the smart device. Wherein, inertial measurement unit includes: a gyroscope and an acceleration sensor. The specific method for measuring the tilt angle by using the gyroscope and the acceleration sensor has been described in detail in the above embodiments, and will not be described herein again.
402. And determining that the inclination angle of the intelligent device is smaller than or equal to a first threshold value and an image is acquired through a second camera, and executing step 403.
403. And judging whether the screen of the intelligent device is in a locked state, if so, executing a step 404, and if not, executing a step 407.
In this embodiment, the locked state of the screen of the smart device refers to a state before unlocking the screen, and includes two states: a lit state of the screen or a blank state of the screen.
404. The first camera is controlled to shoot through the first thread, photo data are obtained, whether an image detected by the second camera is a preset unlocking image or not is judged through the second thread, if yes, step 405 is executed, and if not, step 406 is executed.
For the first thread and the second thread, the intelligent device can implement parallel execution of the first thread and the second thread by executing a multi-thread task, but the priority of the threads can also be set in the intelligent device, and the multiple threads are executed in sequence according to the priority of the threads.
Wherein, judge whether the image that the second camera detected is predetermined unblock image, include:
caching the image detected by the second camera in a designated position;
comparing the image detected by the second camera with the unlocking image in a feature comparison mode; wherein, the unlocking image is a preset face image:
if the feature similarity is greater than a fourth threshold, determining that the image detected by the second camera is the same as a preset unlocking image; and if the feature similarity is smaller than or equal to a fourth threshold, determining that the image detected by the second camera is different from a preset unlocking image.
During actual use, the preset unlocking image can be head portrait data of a user of the intelligent device, and how to realize unlocking through the image data is the prior art and is not described in detail herein.
405. Unlocking the screen of the intelligent device, displaying a preview of the photo data within a second threshold time, loading a photographing program interface after the preview is displayed, and then executing step 408.
The second threshold time may be set according to actual needs, for example, 5 seconds. When the preview duration reaches 5 seconds, the preview ends displaying.
406. After the preview image is displayed, controlling the screen of the intelligent device to maintain a locked state, and then executing step 408.
407. And controlling the first camera to take a picture through a first thread, acquiring picture data, displaying a preview of the picture data within a second threshold time, loading a picture taking program interface after the preview is displayed, and then executing step 408.
In this embodiment, the photographing program can be loaded in the background during the process of previewing the photo, and after the preview of the photo is finished, the interface of the photographing program can be directly switched to.
408. And storing the photo data in a designated storage space.
The storage space is a cache or a hard disk of the intelligent device. In this way, if the user needs to view the photo data or the video data, the viewing can be invoked in the designated storage space.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when a certain photographing condition is met, the first camera of the intelligent device is controlled to photograph, so that the process that an external instruction is received by opening a screen of the intelligent device, starting a camera program and receiving the external instruction in the prior art is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
An embodiment of the application provides a method for acquiring image data, which is suitable for an application scene in which an intelligent device acquires an image through a second camera and detects preset photographing mode information to photograph. When the second camera collects the image, if the image is a preset unlocking image, for example, the unlocking image is a human face model of the user, then, the unlocking function of the intelligent device is realized while the photographing function is realized.
Referring to fig. 5, the present embodiment includes the following steps 500 to 508:
500. and presetting the second camera to be in an opening state and keeping the opening state.
In this embodiment, set up the second camera and keep for the open mode, can guarantee that the very first time shoots.
501. And monitoring the inclination angle of the intelligent equipment in real time.
In this embodiment, the tilt angle refers to an absolute value of an angle value θ of the smart device deviating from the Z axis in the rectangular coordinate system. The angle value θ may be positive, negative, and within [ -180 °, +180 ° ]. The method for measuring the tilt angle has been described in detail in the above embodiments, and is not described herein again.
502. And when the inclination angle of the intelligent device is smaller than or equal to the first threshold value, and the image is collected through the second camera and the preset photographing mode information is detected, starting the first camera, and executing the step 503.
The first camera is configured to be turned on in response to the photographing instruction, so that power consumption can be reduced.
The preset photographing mode information may be an option in a "setting" menu of the smart device, for example, an option of "photograph by capturing an image through the second camera".
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly.
503. And judging whether the screen of the intelligent device is in a locked state, if so, executing step 504, and if not, executing step 507.
504. Controlling the first camera to shoot through the first thread to obtain photo data, and judging whether the image detected by the second camera is a preset unlocking image or not through the second thread, if so, executing step 505, and if not, entering step 506.
505. Unlocking the screen of the intelligent device, displaying a preview of the photo data within a second threshold time, loading a photographing program interface after the preview is displayed, and then executing step 508.
And a photographing program interface as shown in fig. 11.
506. After the preview image is displayed, controlling the screen of the intelligent device to maintain a locked state, and then executing step 508.
507. And controlling the first camera to take a picture through a first thread, acquiring picture data, displaying a preview of the picture data within a second threshold time, loading a picture taking program interface after the preview is displayed, and executing step 508.
508. And storing the photo data in a designated storage space.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when a certain photographing condition is met, the first camera of the intelligent device is controlled to photograph, so that the process that an external instruction is received by opening a screen of the intelligent device, starting a camera program and receiving the external instruction in the prior art is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
The embodiment of the application discloses a method for acquiring image data, which is suitable for an application scene that intelligent equipment receives a camera voice instruction through a voice receiving unit to perform camera shooting. Referring to fig. 6, the present embodiment includes the following steps 600 to 607:
600. the first camera and the second camera are preset to be in an opening state and are kept in the opening state.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly. Set up first camera and second camera and keep for the open mode, can guarantee that the very first time is taken a picture or is made a video recording.
601. And monitoring the inclination angle of the intelligent equipment in real time.
The tilt angle is an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system. The method for measuring the tilt angle has been described in detail in the above embodiments, and is not described herein again.
Generally, the tilt angle of the smart device is monitored in real time by an inertial measurement unit in the smart device. Wherein, inertial measurement unit includes: a gyroscope and an acceleration sensor. The specific method for measuring the tilt angle by using the gyroscope and the acceleration sensor has been described in detail in the above embodiments, and will not be described herein again.
602. And under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and a camera shooting voice instruction is received through a voice receiving unit, controlling a first camera of the intelligent equipment to shoot to obtain video data, and then executing the steps 603 and 607. The inclination angle is smaller than or equal to the first threshold value, which means that the inclination angle of the intelligent device is in the range of 0-the first threshold value.
603. And opening a screen of the intelligent equipment, and displaying a preview video of the video data.
The purpose of opening the screen of the smart device and providing the preview video in step 603 is to facilitate the user to check whether the effect of the video is expected. Note that the screen is only in the on state at this time, and is not in the unlocked state.
604. Judging whether the screen of the intelligent equipment is in a locked state or not; if yes, go to step 605, otherwise go to step 606.
In this embodiment, the locked state of the screen of the smart device refers to a state before unlocking the screen, and includes two states: the on state of the screen and the black state of the screen.
605. And after the preview video is finished, the screen of the intelligent equipment maintains a locked state.
606. And loading a camera program interface after the preview video is finished.
In this embodiment, the camera program may be loaded in the background during the display of the preview video, and after the preview video is finished, the camera program interface may be directly switched to, as shown in fig. 12.
607. And storing the video data in a designated storage space.
The storage space is a cache or a hard disk of the intelligent device. In this way, if the user needs to view the photo data or the video data again, the viewing can be invoked again at the designated storage space.
In addition, although the time for image capturing may be set by itself, image capturing may be terminated by another condition during image capturing. Therefore, in this embodiment, the method for ending the image capturing includes: and setting a third threshold time for the first camera to shoot, or inputting shooting ending voice, or through physical keys, or enabling the inclination angle of the intelligent equipment to be larger than the first threshold.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when certain shooting conditions are met, the first camera of the intelligent device is controlled to shoot, so that the process that in the prior art, a screen of the intelligent device is opened, a camera program is started, and an external instruction is received is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
An embodiment of the application provides a method for acquiring image data, which is suitable for an application scene where intelligent equipment acquires images through a second camera and receives a physical key camera shooting instruction. When the second camera collects the image, if the image is a preset unlocking image, for example, the unlocking image is a human face model of the user, then, the unlocking function of the intelligent device is realized while the photographing function is realized.
Referring to fig. 7, the present embodiment includes the following steps 700 to 708:
700. the first camera and the second camera are preset to be in an opening state and are kept in the opening state.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly. Set up first camera and second camera and keep for the open mode, can guarantee the very first time and make a video recording.
701. And monitoring the inclination angle of the intelligent equipment in real time.
The tilt angle is an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system. The method for measuring the tilt angle has been described in detail in the above embodiments, and is not described herein again. Generally, the tilt angle of the smart device is monitored in real time by an inertial measurement unit in the smart device. Wherein, inertial measurement unit includes: a gyroscope and an acceleration sensor. The specific method for measuring the tilt angle by using the gyroscope and the acceleration sensor has been described in detail in the above embodiments, and will not be described herein again.
702. And determining that the inclination angle of the intelligent device is smaller than or equal to a first threshold value, the second camera acquires images and receives a physical key camera shooting instruction, and then executing step 703.
In this embodiment, the inclination angle is smaller than or equal to the first threshold, which means that the inclination angle of the smart device is within a range from 0 to the first threshold.
703. And judging whether the screen of the intelligent device is in a locked state, if so, executing step 704, and if not, executing step 707.
In this embodiment, the locked state of the screen of the smart device refers to a state before unlocking the screen, and includes two states: the on state of the screen and the black state of the screen.
704. Controlling the first camera to shoot through a first thread to obtain video data, and judging whether an image received by the second camera is a preset unlocking image or not through a second thread, if so, executing step 705, and if not, executing step 706.
For the first thread and the second thread, the intelligent device can realize the parallel execution of the first thread and the second thread by executing a multi-thread task, but when displaying, the threads are sequentially displayed by setting the priority of the threads in the intelligent device.
Wherein, judge whether the image that the second camera detected is the unblock image that sets up in advance, include:
caching the image detected by the second camera in a designated position;
comparing the image detected by the second camera with the unlocking image in a feature comparison mode; wherein, the unlocking image is a preset face image:
if the feature similarity is greater than a fourth threshold, determining that the image detected by the second camera is the same as a preset unlocking image; and if the feature similarity is smaller than or equal to a fourth threshold, determining that the image detected by the second camera is different from a preset unlocking image.
The fourth threshold may be set by itself, for example, the fourth threshold is set to have a feature similarity of 80%.
705. Unlocking the screen of the intelligent device, loading a camera program interface after the preview video is finished, and then executing step 708.
706. After the preview video is finished, the smart device screen maintains the locked state, and then step 708 is performed.
707. Controlling a first camera to shoot through a first thread to acquire video data, displaying a preview video of the video data within a second threshold time, loading a shooting program interface after the preview video is displayed, and then executing step 708.
708. And storing the video data in a designated storage space.
The storage space is a cache or a hard disk of the intelligent device. Thus, if the user needs to view the video data, the user can call the view in the designated storage space.
In addition, although the time for image capturing may be set by itself, image capturing may be terminated by another condition during image capturing. Therefore, in this embodiment, the method for ending the image capturing includes: and setting a third threshold time for the first camera to shoot, or inputting shooting ending voice, or through physical keys, or enabling the inclination angle of the intelligent equipment to be larger than the first threshold.
In one embodiment, the method for ending the image capturing is as follows: and setting a third threshold time for the first camera to pick up the image. And when the third threshold time is reached, automatically finishing shooting. The third threshold time may be set by itself, for example, the third threshold time is set to 10 seconds, and then the first camera automatically ends shooting after shooting 10 seconds of video.
In one embodiment, the method for ending the image capturing is as follows: the image capturing end voice is input, for example, a voice command such as "image capturing end" or "image capturing stop".
In one embodiment, the method for ending the image capturing is as follows: the camera shooting is ended by a physical key, for example, a side key of the smart device.
In one embodiment, the method for ending the image capturing is as follows: and the inclination angle of the intelligent device is larger than a first threshold value. The inclination angle of the intelligent equipment is monitored in real time through an inertia measurement unit in the intelligent equipment. When the intelligent equipment is actually used, if the inclination angle of the intelligent equipment is larger than a first threshold value, for example, a user puts down the intelligent equipment, the shooting is automatically stopped.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when certain shooting conditions are met, the first camera of the intelligent device is controlled to shoot, so that the process that in the prior art, a screen of the intelligent device is opened, a camera program is started, and an external instruction is received is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
An embodiment of the application provides a method for acquiring image data, which is suitable for an application scene in which an intelligent device acquires an image through a second camera and detects preset shooting mode information. When the second camera collects the image, if the image is a preset unlocking image, for example, the unlocking image is a human face model of the user, then, the unlocking function of the intelligent device is realized while the photographing function is realized.
Referring to fig. 8, the present embodiment includes the following steps 800 to 808:
800. the second camera is preset to be kept in an open state.
In this embodiment, set up the second camera and keep for the open mode, can guarantee that the very first time makes a video recording.
801. And monitoring the inclination angle of the intelligent equipment in real time.
The tilt angle is an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system. The method for measuring the tilt angle has been described in detail in the above embodiments, and is not described herein again.
Generally, the tilt angle of the smart device is monitored in real time by an inertial measurement unit in the smart device. Wherein, inertial measurement unit includes: a gyroscope and an acceleration sensor. The specific method for measuring the tilt angle by using the gyroscope and the acceleration sensor has been described in detail in the above embodiments, and will not be described herein again.
802. And when the inclination angle of the intelligent device is smaller than or equal to the first threshold value and the second camera acquires an image and detects preset shooting mode information, starting the first camera and executing the step 803.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly. In this embodiment, the inclination angle is smaller than or equal to the first threshold, which means that the inclination angle of the smart device is within a range from 0 to the first threshold.
803. And judging whether the screen of the intelligent device is in a locked state, if so, executing step 804, and if not, executing step 807.
In this embodiment, the locked state of the screen of the smart device refers to a state before unlocking the screen, and includes two states: the on state of the screen and the black state of the screen.
804. Controlling the first camera to take a picture through the first thread to obtain video data, and judging whether the image received by the second camera is a preset unlocking image through the second thread, if so, executing step 805, and if not, executing step 806.
The foregoing embodiments have been described in detail for the first thread and the second thread, and are not repeated herein.
805. And unlocking the screen of the intelligent device, loading a camera program interface after the preview video is finished, and then executing step 808.
806. After the preview video is finished, the screen of the smart device maintains a locked state, and then step 808 is performed.
807. And controlling a first camera to shoot through a first thread so as to obtain video data, displaying a preview video of the video data within a second threshold time, loading a shooting program interface after the preview video is displayed, and then executing step 808.
808. And storing the video data in a designated storage space.
The storage space is a cache or a hard disk of the intelligent device. Thus, if the user needs to view the video data, the user can call the view in the designated storage space.
In addition, although the time for image capturing may be set by itself, image capturing may be terminated by another condition during image capturing. Therefore, in this embodiment, the method for ending the image capturing includes: and setting a third threshold time for the first camera to shoot, or inputting shooting ending voice, or through physical keys, or enabling the inclination angle of the intelligent equipment to be larger than the first threshold.
According to the method for acquiring the image data, the inclination angle of the intelligent device is monitored in real time, and when certain shooting conditions are met, the first camera of the intelligent device is controlled to shoot, so that the process that in the prior art, a screen of the intelligent device is opened, a camera program is started, and an external instruction is received is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
The above embodiments are for describing the method of acquiring image data in detail, and the following describes the apparatus for acquiring image data according to the present embodiment. It should be noted that the technical solution of the apparatus for acquiring image data belongs to the same concept as the technical solution of the method for acquiring image data described above, and details of the technical solution of the apparatus for acquiring image data, which are not described in detail, can be referred to the technical solution of the method for acquiring image data described above.
An embodiment of the present application discloses an apparatus for acquiring image data, referring to fig. 9, including:
and the detection module 901 is used for monitoring the inclination angle of the intelligent device in real time.
In this embodiment, the tilt angle is an absolute value of an angle of the smart device deviating from the Z axis in the rectangular coordinate system. The method for measuring the tilt angle has been described in detail in the above embodiments, and is not described herein again.
Generally, the tilt angle of the smart device is monitored in real time by an inertial measurement unit in the smart device. Wherein, inertial measurement unit includes: a gyroscope and an acceleration sensor.
And the photographing module 902 is used for controlling the first camera of the intelligent device to photograph under the condition that the inclination angle of the intelligent device is smaller than or equal to the first threshold value and meets the photographing condition, so as to acquire photo data.
In this embodiment, the photographing condition needs to be preset, for example, the photographing condition includes: receiving a photographing voice instruction through a voice receiving unit; or the second camera acquires the image; or the second camera collects the image and detects the preset photographing mode information. The above embodiments have been described in detail with respect to the detailed description of the photographing conditions, and are not repeated herein.
In this embodiment, the first camera is a rear camera; the second camera is leading camera, the camera that opens when autodyne usually promptly.
Or the camera module 903 is configured to control a first camera of the smart device to take a picture and acquire video data when the inclination angle of the smart device is less than or equal to a first threshold and meets the shooting condition.
The first threshold may be set according to actual requirements, for example, set to 3 degrees, 5 degrees, 6 degrees, and so on. The inclination angle is equal to or less than the first threshold, which means that the inclination angle of the smart device is in the range of 0 to the first threshold. In the range of the inclination angle, the intelligent equipment is in a vertical state, and the use habit of a user is met.
In this embodiment, the imaging conditions need to be set in advance, and for example, the imaging conditions include: and receiving a camera voice command through the voice receiving unit, or acquiring an image and receiving a physical key camera shooting instruction by the second camera, or acquiring the image and detecting preset camera shooting mode information by the second camera.
The foregoing embodiments have been described in detail with respect to the detailed description of the imaging conditions, and are not repeated herein.
In addition, the device further comprises: and the setting module is used for presetting the states of the first camera and the second camera. In the embodiment of the application, the second camera is turned on in advance and keeps an on state. In practical application, the first camera may be turned on in advance, or may be turned on in response to the camera shooting instruction in this step. If the first camera is started in advance, the power consumption is larger, but the first time for shooting can be ensured; the first camera is turned on in response to a photographing or image pickup instruction, so that power consumption can be reduced, but image pickup delay is caused.
A storage module 904, configured to store the photo data or the video data in a specified storage space.
The storage space is a cache or a hard disk of the intelligent device. In this way, if the user needs to view the photo data or the video data again, the viewing can be invoked again at the designated storage space.
Optionally, the apparatus for acquiring image data according to the embodiment of the present application further includes:
the photo preview module is used for opening a screen of the intelligent equipment and displaying a preview of the photo data within a second threshold time;
the first screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not;
the first screen locking processing module is used for controlling the screen of the intelligent equipment to maintain a locking state after the preview image is displayed under the condition that the screen of the intelligent equipment is in the locking state;
and the first screen unlocking processing module is used for loading a photographing program interface after the preview picture is displayed under the condition that the screen of the intelligent equipment is in an unlocking state.
Optionally, the apparatus for acquiring image data according to the embodiment of the present application further includes:
the second screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and the photographing condition is met;
the second screen locking processing module is used for controlling the first camera to take photos through the first thread under the condition that the screen of the intelligent equipment is in a locking state, acquiring photo data, and judging whether an image detected by the second camera is a preset unlocking image through the second thread;
if so, the second screen locking processing module unlocks the screen of the intelligent equipment, displays a preview of the photo data within a second threshold time, and loads a photographing program interface after the preview is displayed; if not, after the preview image is displayed, the second screen locking processing module controls the screen of the intelligent equipment to maintain a locking state;
and the second screen unlocking processing module is used for controlling the first camera to shoot through the first thread under the condition that the screen of the intelligent equipment is in an unlocking state, acquiring photo data, displaying a preview of the photo data within a second threshold time, and loading a shooting program interface after the preview is displayed.
Optionally, the apparatus for acquiring image data according to the embodiment of the present application further includes:
the video preview module is used for starting a screen of the intelligent equipment and displaying a preview video of the video data;
the third screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not;
the third screen locking processing module is used for maintaining the screen of the intelligent equipment in a locking state after the preview video is finished under the condition that the screen of the intelligent equipment is in the locking state;
and the third screen unlocking processing module is used for loading the camera program interface after the preview video is finished under the condition that the screen of the intelligent equipment is in an unlocking state.
Optionally, the apparatus for acquiring image data according to the embodiment of the present application further includes:
the fourth screen state judgment module is used for judging whether the screen of the intelligent equipment is in a locked state or not under the condition that the inclination angle of the intelligent equipment is smaller than or equal to the first threshold and the shooting condition is met;
the fourth screen locking processing module is used for controlling the first camera to take a picture through the first thread under the condition that the screen of the intelligent equipment is in a locking state so as to obtain video data, and judging whether the image received by the second camera is a preset unlocking image through the second thread;
if yes, unlocking the screen of the intelligent equipment by the fourth screen locking processing module, and loading a camera program interface after the preview video is finished; if not, after the preview video is finished, the fourth screen locking processing module controls the intelligent equipment screen to maintain a locking state;
and the fourth screen unlocking processing module is used for controlling the first camera to shoot through the first thread under the condition that the screen of the intelligent equipment is in an unlocking state so as to acquire video data, displaying the preview video of the video data within a second threshold time, and loading a shooting program interface after the preview video is displayed.
The device for acquiring the image data provided by the application monitors the inclination angle of the intelligent equipment in real time, and controls the first camera of the intelligent equipment to shoot or pick up the image when certain shooting conditions or shooting conditions are met, so that the process that the screen of the intelligent equipment is opened, a camera program is started and an external instruction is received in the prior art is avoided, the operation is simple and convenient, the time is saved, the response speed is increased, and the user experience degree is improved.
Fig. 10 is a block diagram illustrating a smart device 1000 according to an embodiment of the present application. The components of the smart device 1000 include, but are not limited to, a memory 1010 and a processor 1020. The processor 1020 is coupled to the memory 1010.
Although not shown in fig. 10, it should be appreciated that the smart device 1000 may also include a network interface that enables the smart device 1000 to communicate via one or more networks. Examples of such networks include a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The network interface may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth. The intelligent device can access the page through the network interface.
In one embodiment of the present application, the other components of the smart device 1000 described above and not shown in fig. 10 may also be connected to each other, for example, via a bus. It should be understood that the block diagram of the smart device architecture shown in FIG. 10 is for exemplary purposes only and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as desired.
The smart device 1000 may be any type of mobile smart device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smart device), a wearable smart device (e.g., smart watch, smart glasses, etc.), or other type of mobile device.
Wherein, the processor 1020 may perform the following steps:
monitoring the inclination angle of the intelligent equipment in real time;
controlling a first camera of the intelligent equipment to take a picture to acquire picture data under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold and meets the picture taking condition; or controlling a first camera of the intelligent device to shoot to acquire video data under the condition that the inclination angle of the intelligent device is smaller than or equal to a first threshold and meets shooting conditions;
and storing the photo data or the video data in a designated storage space.
The above embodiments are for describing the smart device of the present application in detail. It should be noted that the technical solution of the intelligent device and the technical solution of the above method for acquiring image data belong to the same concept, and details that are not described in detail in the technical solution of the intelligent device can be referred to the description of the technical solution of the above method for acquiring image data.
An embodiment of the present application further provides a computer readable storage medium, which stores computer instructions, and the instructions, when executed by a processor, implement the steps of the method for acquiring image data as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium is the same as that of the above-mentioned method for acquiring image data, and for details that are not described in detail in the technical solution of the storage medium, reference may be made to the description of the technical solution of the above-mentioned method for acquiring image data.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (16)

1. The method for acquiring the image data is applied to intelligent equipment in a screen unlocking state, a screen lighting state or a screen black state, and is characterized by comprising the following steps of:
monitoring the inclination angle of the intelligent equipment in real time;
under the circumstances that the inclination angle of smart machine is less than or equal to first threshold value and satisfies the condition of shooing, control smart machine's first camera shoots, acquires photo data, wherein, the condition of shooing includes: receiving a photographing voice command through a voice receiving unit, acquiring an image by a second camera or acquiring an image by the second camera and detecting preset photographing mode information; or
Under the condition that the inclination angle of the intelligent device is determined to be smaller than or equal to a first threshold value and the shooting condition is met, controlling a first camera of the intelligent device to shoot to obtain video data, wherein the shooting condition comprises: receiving a camera voice command through a voice receiving unit, acquiring an image by a second camera and receiving a physical key camera shooting instruction or acquiring the image by the second camera and detecting preset camera shooting mode information;
the first camera is started in advance and keeps a starting state, or is started in response to a photographing instruction or a shooting instruction;
after acquiring the photo data, the method further comprises: opening the screen of the intelligent equipment, and displaying a preview of the photo data within a second threshold time;
and storing the photo data or the video data in a designated storage space.
2. The method of claim 1, further comprising:
and the second camera is set to be in an opening state in advance.
3. The method of claim 1, wherein after said displaying a preview of said photo data, further comprising:
judging whether the screen of the intelligent equipment is in a locked state or not;
if the screen of the intelligent equipment is in a locked state, after the preview image is displayed, controlling the screen of the intelligent equipment to maintain the locked state;
and if the screen of the intelligent equipment is in an unlocked state, loading a photographing program interface after the preview picture is displayed.
4. The method of claim 1,
after the inclination angle of smart machine is less than or equal to first threshold value and satisfies the condition of shooing, still include:
judging whether the screen of the intelligent equipment is in a locked state or not;
under the condition that the screen of the intelligent equipment is in a locked state, controlling a first camera to take pictures through a first thread, acquiring picture data, and judging whether an image detected by a second camera is a preset unlocking image through a second thread;
if yes, unlocking a screen of the intelligent equipment, displaying a preview of the photo data within a second threshold time, and loading a photographing program interface after the preview is displayed;
if not, controlling the screen of the intelligent equipment to maintain a locked state after the preview picture is displayed;
under the condition that the screen of the intelligent device is in an unlocked state, the first camera is controlled to shoot through the first thread, photo data are obtained, a preview of the photo data is displayed within a second threshold time, and a shooting program interface is loaded after the preview is displayed.
5. The method of claim 1, wherein after acquiring the video data, the method further comprises:
starting a screen of the intelligent equipment, and displaying a preview video of the video data;
judging whether the screen of the intelligent equipment is in a locked state or not;
if the screen of the intelligent equipment is in a locked state, after the preview video is finished, the screen of the intelligent equipment maintains the locked state;
and if the screen of the intelligent equipment is in an unlocked state, loading a camera program interface after the preview video is finished.
6. The method of claim 1,
after the inclination angle of the intelligent device is smaller than or equal to a first threshold value and meets the image pickup condition, the method further comprises the following steps:
judging whether the screen of the intelligent equipment is in a locked state or not;
under the condition that the screen of the intelligent equipment is in a locked state, controlling a first camera to take a picture through a first thread so as to obtain video data, and judging whether an image received by a second camera is a preset unlocking image through a second thread;
if yes, unlocking a screen of the intelligent equipment, displaying a preview video of the video data within a second threshold time, and loading a camera program interface after the preview video is finished;
if not, after the preview video is finished, the screen of the intelligent device maintains a locked state;
under the condition that the screen of the intelligent device is in an unlocked state, a first camera is controlled to shoot through a first thread so as to obtain video data, preview videos of the video data are displayed within a second threshold time, and a shooting program interface is loaded after the preview videos are displayed.
7. The method of claim 1, wherein the method of terminating the capturing comprises:
setting a third threshold time for the first camera to pick up the image;
or inputting a shooting end voice;
or by physical keying;
or the inclination angle of the intelligent device is larger than the first threshold value.
8. The method of claim 1,
the first camera is a rear camera, and the second camera is a front camera.
9. An apparatus for acquiring image data, having a screen unlock state, a screen light state or a screen black state, comprising:
the detection module is used for monitoring the inclination angle of the intelligent equipment in real time;
the photographing module is used for controlling the first camera of the intelligent device to photograph under the condition that the inclination angle of the intelligent device is smaller than or equal to the first threshold value and meets the photographing condition, and photograph data are acquired, wherein the photographing condition comprises: receiving a photographing voice instruction through a voice receiving unit, acquiring an image by a second camera or acquiring an image by the second camera and detecting preset photographing mode information, wherein the first camera is opened in advance and kept in an open state or is opened in response to the photographing instruction; or
The camera shooting module is used for controlling the first camera of the intelligent equipment to shoot and acquire video data under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and meets the camera shooting condition, wherein the camera shooting condition comprises: receiving a camera voice command through a voice receiving unit, acquiring an image by a second camera and receiving a physical key camera shooting instruction or acquiring an image by the second camera and detecting preset camera shooting mode information, wherein the first camera is opened in advance and kept in an open state or is opened by the camera shooting command;
the photo preview module is used for opening a screen of the intelligent equipment and displaying a preview of the photo data within a second threshold time;
and the storage module is used for storing the photo data or the video data in a specified storage space.
10. The apparatus for acquiring image data as claimed in claim 9, further comprising:
and the setting module is used for setting the second camera to be in an opening state in advance.
11. The apparatus for acquiring image data as claimed in claim 9, further comprising:
the first screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not;
the first screen locking processing module is used for controlling the screen of the intelligent equipment to maintain a locking state after the preview image is displayed under the condition that the screen of the intelligent equipment is in the locking state;
and the first screen unlocking processing module is used for loading a photographing program interface after the preview picture is displayed under the condition that the screen of the intelligent equipment is in an unlocking state.
12. The apparatus for acquiring image data as claimed in claim 9, further comprising:
the second screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not under the condition that the inclination angle of the intelligent equipment is smaller than or equal to a first threshold value and the photographing condition is met;
the second screen locking processing module is used for controlling the first camera to take photos through the first thread under the condition that the screen of the intelligent equipment is in a locking state, acquiring photo data, and judging whether an image detected by the second camera is a preset unlocking image through the second thread;
if so, the second screen locking processing module unlocks the screen of the intelligent equipment, displays a preview of the photo data within a second threshold time, and loads a photographing program interface after the preview is displayed;
if not, after the preview image is displayed, the second screen locking processing module controls the screen of the intelligent equipment to maintain a locking state;
and the second screen unlocking processing module is used for controlling the first camera to shoot through the first thread under the condition that the screen of the intelligent equipment is in an unlocking state, acquiring photo data, displaying a preview of the photo data within a second threshold time, and loading a shooting program interface after the preview is displayed.
13. The apparatus for acquiring image data as claimed in claim 9, wherein said apparatus comprises:
the video preview module is used for starting a screen of the intelligent equipment and displaying a preview video of the video data;
the third screen state judging module is used for judging whether the screen of the intelligent equipment is in a locked state or not;
the third screen locking processing module is used for maintaining the screen of the intelligent equipment in a locking state after the preview video is finished under the condition that the screen of the intelligent equipment is in the locking state;
and the third screen unlocking processing module is used for loading the camera program interface after the preview video is finished under the condition that the screen of the intelligent equipment is in an unlocking state.
14. The apparatus for acquiring image data as claimed in claim 9, further comprising:
the fourth screen state judgment module is used for judging whether the screen of the intelligent equipment is in a locked state or not under the condition that the inclination angle of the intelligent equipment is smaller than or equal to the first threshold and the shooting condition is met;
the fourth screen locking processing module is used for controlling the first camera to take a picture through the first thread under the condition that the screen of the intelligent equipment is in a locking state so as to obtain video data, and judging whether the image received by the second camera is a preset unlocking image through the second thread;
if yes, unlocking the screen of the intelligent equipment by the fourth screen locking processing module, displaying a preview video of the video data within a second threshold time, and loading a camera program interface after the preview video is finished;
if not, after the preview video is finished, the fourth screen locking processing module controls the intelligent equipment screen to maintain a locking state;
and the fourth screen unlocking processing module is used for controlling the first camera to shoot through the first thread under the condition that the screen of the intelligent equipment is in an unlocking state so as to acquire video data, displaying the preview video of the video data within a second threshold time, and loading a shooting program interface after the preview video is displayed.
15. A smart device having a screen unlocked state, a screen lit state, or a screen blank state, comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor when executing the instructions performs the steps of:
monitoring the inclination angle of the intelligent equipment in real time;
under the circumstances that the inclination angle of smart machine is less than or equal to first threshold value and satisfies the condition of shooing, control smart machine's first camera shoots, acquires photo data, wherein, the condition of shooing includes: receiving a photographing voice command through a voice receiving unit, acquiring an image by a second camera or acquiring an image by the second camera and detecting preset photographing mode information; or
Under the circumstances that the inclination angle of smart machine is less than or equal to first threshold value and satisfies the condition of making a video recording, control the first camera of smart machine makes a video recording, acquires video data, wherein, the condition of making a video recording includes: receiving a camera voice command through a voice receiving unit, acquiring an image by a second camera and receiving a physical key camera shooting instruction or acquiring the image by the second camera and detecting preset camera shooting mode information;
the first camera is started in advance and keeps a starting state, or is started in response to a photographing instruction or a shooting instruction;
after the photo data are obtained, starting a screen of the intelligent equipment, and displaying a preview of the photo data within a second threshold time;
and storing the photo data or the video data in a designated storage space.
16. A computer readable storage medium storing computer instructions which, when executed by a processor, perform the steps of the method of acquiring image data according to any one of claims 1 to 8.
CN201810125490.6A 2018-02-08 2018-02-08 Method and device for acquiring image data Active CN108462827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810125490.6A CN108462827B (en) 2018-02-08 2018-02-08 Method and device for acquiring image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810125490.6A CN108462827B (en) 2018-02-08 2018-02-08 Method and device for acquiring image data

Publications (2)

Publication Number Publication Date
CN108462827A CN108462827A (en) 2018-08-28
CN108462827B true CN108462827B (en) 2021-02-19

Family

ID=63238808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810125490.6A Active CN108462827B (en) 2018-02-08 2018-02-08 Method and device for acquiring image data

Country Status (1)

Country Link
CN (1) CN108462827B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165056B (en) * 2018-09-30 2021-01-08 维沃移动通信(杭州)有限公司 Application program starting method and terminal equipment
CN111953927B (en) * 2019-05-17 2022-06-24 成都鼎桥通信技术有限公司 Handheld terminal video return method and camera device
CN112543313A (en) * 2020-12-03 2021-03-23 深圳市海洋王照明工程有限公司 Camera lighting system
CN115442509B (en) * 2021-06-01 2023-10-13 荣耀终端有限公司 Shooting method, user interface and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019542A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method for quickly photographing under screen locking interface
CN105809001A (en) * 2016-03-08 2016-07-27 广东欧珀移动通信有限公司 Screen unlocking method and device and mobile terminal
CN106488012A (en) * 2016-09-26 2017-03-08 珠海格力电器股份有限公司 Photographing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079036B (en) * 2013-01-15 2016-06-01 广东欧珀移动通信有限公司 A kind of photographic camera and method thereof entering screening-mode fast
JP6136791B2 (en) * 2013-09-11 2017-05-31 ソニー株式会社 Lens barrel and imaging device
CN105187725A (en) * 2015-08-12 2015-12-23 小米科技有限责任公司 Shooting method and apparatus
CN105512541A (en) * 2015-12-07 2016-04-20 魅族科技(中国)有限公司 Screen unlocking method, data encryption and decryption methods as well as related devices
CN106572301A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Device and method for starting shooting application of terminal rapidly and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019542A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method for quickly photographing under screen locking interface
CN105809001A (en) * 2016-03-08 2016-07-27 广东欧珀移动通信有限公司 Screen unlocking method and device and mobile terminal
CN106488012A (en) * 2016-09-26 2017-03-08 珠海格力电器股份有限公司 Photographing method and device

Also Published As

Publication number Publication date
CN108462827A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
CN108462827B (en) Method and device for acquiring image data
US10924641B2 (en) Wearable video camera medallion with circular display
US9448813B2 (en) Entry points to image-related applications in a mobile device
EP3001247B1 (en) Method and terminal for acquiring panoramic image
CN106688227B (en) More photographic devices, more image capture methods
WO2017107629A1 (en) Mobile terminal, data transmission system and shooting method of mobile terminal
CN107770452B (en) Photographing method, terminal and related medium product
CN101742101B (en) Imaging apparatus and display control method in imaging apparatus
US9423670B2 (en) Imaging device, control method of imaging device, and computer program
CN105472246B (en) Camera arrangement and method
CN103685940A (en) Method for recognizing shot photos by facial expressions
EP3062513B1 (en) Video apparatus and photography method thereof
CN104601882B (en) A kind of panorama shooting method and terminal
CN113114933A (en) Image shooting method and device, electronic equipment and readable storage medium
WO2023142830A1 (en) Camera switching method, and electronic device
CN114125268A (en) Focusing method and device
CN105426081B (en) Interface switching device and method of mobile terminal
EP2712174B1 (en) Methods and devices for controlling camera image capture
EP3304551B1 (en) Adjusting length of living images
CA2775421C (en) Apparatus and method for controlling a camera in an electronic device
CN110493503B (en) Image acquisition method, electronic equipment and storage medium
CN114245018A (en) Image shooting method and device
CN106993138B (en) Time-gradient image shooting device and method
JP2017091291A (en) Image evaluation device, image evaluation method and program
JP2009124210A (en) Image pickup apparatus, image pickup method, image searching apparatus and image searching method

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