CN108737631B - Method and device for rapidly acquiring image - Google Patents

Method and device for rapidly acquiring image Download PDF

Info

Publication number
CN108737631B
CN108737631B CN201710279005.6A CN201710279005A CN108737631B CN 108737631 B CN108737631 B CN 108737631B CN 201710279005 A CN201710279005 A CN 201710279005A CN 108737631 B CN108737631 B CN 108737631B
Authority
CN
China
Prior art keywords
preset
user terminal
image
information
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710279005.6A
Other languages
Chinese (zh)
Other versions
CN108737631A (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.)
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Miaomiaoce Technology Beijing Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Miaomiaoce Technology Beijing Co ltd
Priority to CN201710279005.6A priority Critical patent/CN108737631B/en
Publication of CN108737631A publication Critical patent/CN108737631A/en
Application granted granted Critical
Publication of CN108737631B publication Critical patent/CN108737631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a method and an apparatus for rapidly acquiring an image, wherein the method includes: monitoring state change information of a user terminal; when the state change information meets a preset trigger condition, starting a burst photographing mode to automatically acquire an image; the automatically acquired image is saved. By adopting the method for rapidly acquiring the image, when the user terminal detects that the state change information meets the preset condition, the burst photographing mode can be triggered, the image acquisition device is automatically started to automatically acquire the image, the complex interaction process between the user and the terminal is not required to be waited, the image acquisition response time is saved, the situation that the user misses the photographing opportunity of the expected image or the optimal photographing opportunity is avoided, the intelligent degree of the user terminal is improved, the response sensitivity of the burst photographing mode of the user terminal is improved, and the user experience is improved.

Description

Method and device for rapidly acquiring image
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for rapidly acquiring an image.
Background
Along with the improvement of science and technology, an image acquisition device such as a camera and corresponding application software APP can be integrated in the user terminal, so that a user can conveniently acquire image information at any time.
Taking a user terminal as an example of a smart phone, in the related art, a process of using the mobile phone by a user to acquire an image is as follows: when the mobile phone is in a screen locking state, a user firstly unlocks a mobile phone screen according to a preset unlocking action, enters an application icon display interface of the mobile phone, then clicks an application icon of an image acquisition APP to enter the application interface of the image acquisition APP, and then triggers a shutter virtual key in the image acquisition application interface according to the preset action, so that an image acquisition function is realized.
However, in the process that the user terminal moves fast along with the user, if the user wants to use the mobile phone to snap quickly the view, the image acquisition method in the related art is adopted, because the operation process is complex, especially when the smart phone is in the screen locking state, the operation time and the system response time which need to be spent are too long, the best shooting opportunity is easily missed, the instant shooting requirement of the user cannot be met, and the user experience of the terminal is affected.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for rapidly acquiring an image, so as to achieve accurate and rapid image acquisition.
According to a first aspect of embodiments of the present disclosure, there is provided a method for rapidly acquiring an image, the method including:
monitoring state change information of a user terminal;
when the state change information meets a preset trigger condition, starting a burst photographing mode to automatically acquire an image;
the automatically acquired image is saved.
Optionally, the state change information of the ue includes: translation acceleration change information of the user terminal in the vertical direction; and, at least one of the following status information:
after the user terminal is subjected to the change of the preset motion state, the relative position relation between the normal of the display screen and the horizontal plane is displayed;
and after the user terminal is subjected to the change of the preset motion state, the relative position relationship between the display screen and the preset part of the human body is realized.
Optionally, when the state change information meets at least one of the following preset trigger conditions, starting a burst shooting mode to automatically acquire an image:
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and an included angle between a normal line of a display screen of the user terminal and a horizontal plane is within a preset angle range;
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and the relative position relation between the display screen and a preset human body part meets a preset condition.
Optionally, after the saving the automatically acquired image, the method further comprises:
monitoring preset operation information of triggering image acquisition by a user within a preset time length;
and if the preset operation information is not detected, closing the burst photographing mode.
Optionally, the method for rapidly acquiring an image further includes:
and deleting the automatically acquired image.
Optionally, the method for rapidly acquiring an image further includes:
and recording triggering information for triggering the emergent photographing event at the time, and acquiring an error triggering information record.
Optionally, the method for rapidly acquiring an image further includes:
and correcting the preset trigger condition according to the error trigger information record.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for rapidly acquiring an image, the apparatus including:
a state monitoring module configured to monitor state change information of the user terminal;
the burst photographing module is configured to start a burst photographing mode to automatically acquire images under the condition that the state change information meets a preset trigger condition;
a storage module configured to save the automatically acquired image.
Optionally, the monitoring module monitoring the state change information of the user terminal includes: translation acceleration change information of the user terminal in the vertical direction; and, at least one of the following status information:
after the user terminal is subjected to the change of the preset motion state, the relative position relation between the normal of the display screen and the horizontal plane is displayed;
and after the user terminal is subjected to the change of the preset motion state, the relative position relationship between the display screen and the preset part of the human body is realized.
Optionally, the preset triggering condition for triggering the burst shooting module to start the burst shooting mode to automatically acquire the image includes at least one of the following conditions:
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and an included angle between a normal line of a display screen of the user terminal and a horizontal plane is within a preset angle range;
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and the relative position relation between the display screen and a preset human body part meets a preset condition.
Optionally, the apparatus for rapidly acquiring an image further includes:
the operation monitoring module is configured to monitor preset operation information of triggering image acquisition by a user within a preset time length;
a closing module configured to close the burst photographing mode if the preset operation information is not detected.
Optionally, the apparatus for rapidly acquiring an image further includes:
a deletion module configured to delete the automatically acquired image.
Optionally, the apparatus for rapidly acquiring an image further includes:
and the recording module is configured to record triggering information for triggering the emergent photographing event at the time and obtain an error triggering information record.
Optionally, the apparatus for rapidly acquiring an image further includes:
and the correcting module is configured to correct the preset triggering condition according to the error triggering information record.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for rapidly acquiring an image, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring state change information of a user terminal;
when the state change information meets a preset trigger condition, starting a burst photographing mode to automatically acquire an image;
the automatically acquired image is saved.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the methods described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device, when the user terminal detects that the state change information meets the preset condition, the burst photographing mode can be triggered, the image acquisition device is automatically started to automatically acquire the image, the complex interaction process between the user and the terminal does not need to be waited, the image acquisition response time is saved, the user is prevented from missing the photographing opportunity expecting the image or the optimal photographing opportunity, the intelligent degree of the user terminal is improved, the response sensitivity of the burst photographing mode of the user terminal is improved, and the user experience is improved.
According to the method and the device, the user terminal can correspondingly detect the acceleration change information in the vertical direction according to the habitual action of the user during sudden shooting, and the relative position relation between the display screen and the horizontal ground and/or the relative position relation between the display screen and the preset human body part after the preset motion state is changed are met, whether the user triggers a sudden shooting event is intelligently detected, and the intelligent degree of the sudden shooting of the user terminal is improved.
According to the method and the device, when the state change information of the user terminal meets at least one preset trigger condition, the occurrence of the emergency photo event can be automatically judged, the image acquisition device is automatically started to acquire the image, and the sensitivity of the user terminal in response to the emergency photo event is improved.
In the disclosure, the preset user operation information is monitored within the preset time after the user terminal starts the burst shooting mode, and if the situation that the burst shooting event is detected is judged to be correct; otherwise, the judgment of the emergency photo event is wrong. Under the condition that the judgment of the emergency photographing event is wrong, the emergency photographing mode is closed, the phenomenon that the storage resources and the terminal electric quantity are wasted due to the fact that the user terminal shoots redundant image information is avoided, and the intelligent degree of the user terminal is further improved.
According to the method and the device, under the condition that the user terminal is judged to be in error, the automatically shot image can be deleted actively, and waste of storage resources of the device is avoided.
In the disclosure, when the user terminal determines that the emergency photo event is wrong, the user terminal may further record specific trigger information for triggering the emergency photo event, and obtain a wrong trigger information record, so that the user terminal may continuously update the trigger condition according to the wrong trigger information record, thereby improving the accuracy of determining the subsequent emergency photo event.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 2-1 is a scene schematic of a fast acquisition image shown in accordance with an exemplary embodiment of the present disclosure;
2-2 are scene schematic diagrams of another fast acquisition image shown in the present disclosure according to an exemplary embodiment;
2-3 are scene schematic diagrams of another fast acquisition image shown in the present disclosure according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating another method of rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating another method of rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 5-1 is a flow chart illustrating another method of rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 5-2 is a flow chart illustrating another method of rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 6 is a flow chart illustrating another method of rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram of an apparatus for rapidly acquiring images according to an exemplary embodiment of the present disclosure;
FIG. 8 is a block diagram of another apparatus for rapidly acquiring images shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 9 is a block diagram of another apparatus for rapidly acquiring images shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 10-1 is a block diagram of another apparatus for rapidly acquiring images shown in the present disclosure in accordance with an exemplary embodiment;
FIG. 10-2 is a block diagram of another apparatus for rapidly acquiring images shown in the present disclosure in accordance with an exemplary embodiment;
FIG. 11 is a block diagram of another apparatus for rapidly acquiring images shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 12 is a schematic structural diagram illustrating an apparatus for rapidly acquiring images according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
According to the method for rapidly acquiring the image, an execution main body can be various user terminals provided with image acquisition devices and corresponding image acquisition application software APP, such as a smart phone, a Pocket Computer (PPC), a palm Computer, a Personal Digital Assistant (PDA), a notebook Computer, a tablet Computer, a wearable device, and the like. The user terminal in the embodiment of the present disclosure is further provided with various sensors, such as an acceleration sensor, a gyroscope, a pressure sensor, a gravity sensor, and the like, for sensing external information.
The application scenario of the present disclosure is: the user terminal needs to quickly start the image acquisition device to photograph and retain the evanescent scene and the rapidly switched image-text data such as a conference PPT and the like, and if the image acquisition is started according to the operation mode of the related technology, the photo opportunity or the optimal photo opportunity is probably missed.
Based on the application scenario, the present disclosure provides a method for rapidly acquiring an image, which is a flowchart of a method for rapidly acquiring an image according to an exemplary embodiment shown in fig. 1, and is applied to a user terminal, where the method may include the following steps:
in step 11, monitoring the state change information of the user terminal;
taking the example that the user terminal is a smart phone, in an application scenario, for example, in a process that a user takes a smart phone to move quickly in a car, the smart phone may utilize various built-in sensors to monitor the state change information of the smart phone in real time, including: motion state change information. For example, an acceleration sensor is used for detecting the translational acceleration of the mobile phone in a certain direction; monitoring the gravity change information of the mobile phone by using a gravity sensor; monitoring the rotation angle of the mobile phone by using a gyroscope; monitoring information such as the position relation of the mobile phone relative to a preset human body part such as human eyes by utilizing a front camera, an infrared sensor, an iris recognition sensor and the like of the mobile phone; and monitoring information such as the change of the altitude of the mobile phone by using the pressure sensor.
In the embodiment of the disclosure, which state change information needs to be monitored by the mobile phone can be determined according to the habitual action performed when the user needs to take a sudden photo in daily life and the influence of the habitual action on the state change of the mobile phone when the habitual action acts on the mobile phone.
And acquiring monitoring data of the corresponding sensor according to the state information to be monitored, and determining target state change information.
In an embodiment of the present disclosure, the following state change information of the smart phone may be monitored to determine whether the user terminal needs to start the burst shooting mode:
and the first state change information is used for recovering the relative static state after the user terminal rapidly moves to a certain position from the relative static state in the vertical direction. Can be specifically expressed as: acceleration profile of the user terminal in the direction perpendicular to the ground.
And the second state change information is the position relation between the normal of the display screen and the horizontal plane after the user terminal undergoes the preset motion state change.
Wherein, the change process of the preset motion state is as follows: the user terminal is accelerated to rise for a distance from a static state in the vertical direction suddenly and then restores to a relative static state.
The position relationship between the normal of the display screen and the horizontal plane can be expressed as follows: an intersection angle between a normal of the display screen and a horizontal plane, or an intersection angle between a normal direction of the display screen and a gravity direction of the user terminal.
And third state change information, namely the relative position relationship between the display screen and a preset part of a human body, such as human eyes, after the user terminal is subjected to the change of the preset motion state.
In step 12, when the state change information meets a preset trigger condition, starting a burst shooting mode to automatically acquire an image;
in the embodiment of the disclosure, the judgment basis for triggering the mobile phone to start the burst shooting mode, that is, the preset trigger condition, may be determined according to the influence of the habitual action of the user when the user uses the mobile phone to perform the burst shooting daily on the state change of the mobile phone.
In the embodiment of the present disclosure, the event of turning on the emergency photographing mode of the mobile phone may be referred to as an emergency photographing event. The preset trigger condition of the emergency photo-taking event can be manually set by a user according to historical experience, or can be automatically generated by the user terminal according to the automatically recorded emergency photo-taking event trigger information. In an embodiment of the present disclosure, the preset trigger condition may include at least one of the following conditions:
the first preset trigger condition is as follows: the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and an included angle between a normal line of a display screen of the user terminal and a horizontal plane is within a preset angle range;
the preset acceleration change law can be determined as the positive direction of the acceleration with the vertical horizontal plane facing upwards as shown in fig. 2-1, and fig. 2-1 shows: the user terminal is accelerated and ascended suddenly from the static state in the direction vertical to the ground and then recovers to the static state.
And then, if the display screen of the user terminal is approximately vertical to the horizontal plane, namely the included angle between the normal of the display screen of the user terminal and the horizontal plane is within a preset angle range, for example, less than or equal to 5 degrees, determining that the user terminal is ready to use the mobile phone to take a picture.
Referring to fig. 2-2, a diagram of a photographing scene is shown according to an exemplary embodiment, a user holds a user terminal to prepare to take a picture across a screen, where a normal n of a display screen of a mobile phone is parallel to a horizontal plane, i.e., a plane xoz. Can also be expressed as: the direction of the normal n of the display screen is vertical to the direction of the gravity g of the mobile phone.
In another scenario of the present disclosure, as shown in fig. 2-3, when the user holds the user terminal in hand to prepare for portrait photographing, the direction of the normal n of the display screen is approximately parallel to the horizontal plane, i.e., the plane xoz.
The second preset trigger condition is as follows: the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and the relative position relation between the display screen and a preset human body part meets a preset condition.
After the motion state change of the user terminal is determined to accord with a preset motion state change rule, whether an image in a viewfinder is clear or not and whether a view finding range accords with an expectation or not can be observed according to a user photographing habit, such as habit that eyes look at a display screen; or the user is used to hold the mobile phone to shoot a long-range object and other habitual actions, and further determines whether the user wants to shoot a picture.
Specifically, after determining that the motion change curve in the vertical direction conforms to the motion change rule shown in fig. 2-1, the user terminal may further determine whether the relative position relationship between the display screen and a preset part of the human body, such as human eyes, meets a preset condition, such as whether human eyes can be detected within a preset distance range; if yes, the user is ready to take a picture.
In another embodiment of the present disclosure, the two preset trigger conditions may be integrated to be used as a basis for determining that the user terminal enters the burst shooting mode. Alternatively, more other feasible judgment bases are added to increase the accuracy of the burst mode judgment, which is not limited by the disclosure.
Regarding starting the burst shooting mode to automatically collect images, no matter what state the current user terminal is, if the burst shooting event is triggered, an image collection device such as a camera is started to collect images, and the tasks are upgraded to the tasks that the user terminal processes the images most preferentially, that is, the automatically collected images have the highest processing priority.
Exemplarily, assuming that the user terminal is in a screen locking state when it is determined that the state change information satisfies the first preset condition and/or the second preset condition, the user terminal may skip the processes of unlocking, opening the image capturing APP, detecting and responding to the preset operation information triggered by the user in the application interface of the image capturing APP, and directly start the image capturing device of the user terminal, and automatically focus and capture the image information in the viewing range.
In step 13, the automatically acquired image is saved.
The user terminal can automatically store the automatically acquired image in a designated storage position according to a preset storage path so as to be convenient for a user to view, or automatically delete the image according to the designated path after determining that the image is acquired by mistake.
Therefore, by adopting the method for rapidly acquiring the image, when the user terminal detects that the state change information meets the preset condition, the burst photographing mode can be triggered, the image acquisition device is automatically started to automatically acquire the image, the complex interaction process between the user and the terminal is not required to be waited, the image acquisition response time is saved, the user is prevented from missing the photographing opportunity expecting the image or the optimal photographing opportunity, the intelligent degree of the user terminal is improved, the response sensitivity of the burst photographing mode of the user terminal is improved, and the user experience is improved.
Referring to fig. 3, a flowchart of another method for rapidly acquiring an image according to an exemplary embodiment is shown, and on the basis of the embodiment shown in fig. 1, after step 13, the method may further include:
in step 14, monitoring preset operation information of triggering image acquisition by a user within a preset time length;
in the embodiment of the present disclosure, the user terminal monitors whether the user sends the preset operation information for triggering the image acquisition command, such as the operation information for clicking the virtual shutter, within a preset time period, such as within 3 seconds, after the image acquisition mode is started, and if so, it indicates that the burst shooting mode is determined correctly. Under the condition that the manual shooting opportunity is not missed, the user equipment can continue to shoot the photo according to the instruction of the user according to the preset operation information triggered by the user. If the user equipment has missed the manual shooting opportunity when detecting the preset operation information, the user can obtain the expected image information from the automatic shooting image stored in the user terminal.
If not, it indicates that the burst shooting mode is judged to be wrong, i.e. the user does not want to capture the current scene, the following step 15 may be executed.
In step 15, if the preset operation information is not detected, the burst photographing mode is turned off.
The method is corresponding to the situation that the user terminal judges the burst photographing mode wrongly, and under the situation, the user terminal can close the mode for automatically acquiring the images and recover to the previous state. For example, the mobile phone directly enters the image acquisition mode in the screen locking state, and can automatically recover to the screen locking state of the mobile phone after determining that the judgment of the burst shooting mode is wrong, so that the information of the user is prevented from being leaked.
Referring to fig. 4, a flowchart of another method for rapidly acquiring an image according to an exemplary embodiment is shown, and based on the embodiment shown in fig. 3, the method may further include:
in step 16, the automatically acquired image is deleted.
Under the condition that the user terminal judges the burst photographing mode wrongly, the background program can be started to automatically delete the wrongly-acquired images while or after the image acquisition mode is closed, so that the waste of the storage resources of the terminal is avoided.
Referring to fig. 5-1, another flowchart of a method for rapidly acquiring an image according to an exemplary embodiment may further include, after step 14, on the basis of the embodiment shown in fig. 3:
in step 17, trigger information of the sudden photo event is recorded, and an error trigger information record is obtained.
In the embodiment of the present disclosure, after the user terminal determines that the sudden photographing mode is judged incorrectly, that is, after determining that the sudden photographing event triggers incorrectly, the specific triggering information of the sudden photographing event may also be recorded, so as to obtain an error triggering information record. For example, the state change information triggering the emergency photo taking event may be recorded in a preset error trigger information list, where the preset error trigger information list may record specific trigger information of each emergency photo taking event. Illustratively, as shown in table one:
sequence number of event occurrence Time of triggering False trigger information
Event one T1 Trigger information one
Event two T2 Trigger information two
…… …… ……
Event N Tn Trigger information one
Watch 1
The trigger times in table one may be recorded in detail as year, month, day. The user terminal records the relevant information of the sudden photographing event in a subsequent table entry, for example, the sequence number of the event is recorded as event N, and the recording trigger time is recorded as Tn; recording the error trigger information as follows: error trigger information one.
In another embodiment of the present disclosure, the above step 17 may be added to fig. 4, as shown in fig. 5-2. It should be noted that, in this embodiment, step 16 and step 17 are not sequential, and may be performed simultaneously.
Referring to fig. 6, a flow chart of another method for rapidly acquiring an image according to an exemplary embodiment is shown, and on the basis of the embodiment shown in fig. 5-2, after the step 17, the method may further include:
in step 18, the preset trigger condition is corrected according to the error trigger information record.
In the embodiment of the present disclosure, the preset trigger condition of the emergency photo-taking event may be modified in real time according to the error trigger information record obtained in step 17, so as to prepare for subsequent detection of the emergency photo-taking event, so as to increase the accuracy of subsequent emergency photo-taking event determination.
In another embodiment of the present disclosure, the error trigger information recorded in a period of time may also be counted, and the preset trigger condition is modified, so as to further improve the accuracy of the trigger condition.
For example, after the error triggering information shown in the statistical table one, it is found that: under the condition that the preset trigger condition is met, if 80% of error trigger events occur and trigger information I is recorded in the error trigger information records, on the basis of the preset trigger condition, after the trigger information I is eliminated, the obtained corrected trigger condition is used as a judgment basis for subsequently judging the emergency shooting event, so that the judgment accuracy of the subsequent emergency shooting event is improved.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Referring to fig. 7, a block diagram of an apparatus for rapidly acquiring an image according to an exemplary embodiment is shown, the apparatus may include:
a state monitoring module 21 configured to monitor state change information of the user terminal;
the monitoring module 21 may monitor the state change information of the ue, including: translation acceleration change information of the user terminal in the vertical direction; and, at least one of the following status information:
after the user terminal is subjected to the change of the preset motion state, the relative position relation between the normal of the display screen and the horizontal plane is displayed;
and after the user terminal is subjected to the change of the preset motion state, the relative position relationship between the display screen and the preset part of the human body is realized.
The burst photographing module 22 is configured to start a burst photographing mode to automatically acquire images under the condition that the state change information meets a preset trigger condition;
in the embodiment of the present disclosure, the preset trigger condition for triggering the burst shooting module 22 to start the burst shooting mode to automatically acquire the image includes at least one of the following conditions:
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and an included angle between a normal line of a display screen of the user terminal and a horizontal plane is within a preset angle range;
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and the relative position relation between the display screen and a preset human body part meets a preset condition.
A storage module 23 configured to save the automatically acquired image.
Referring to fig. 8, a block diagram of another apparatus for rapidly acquiring an image according to an exemplary embodiment is shown, and based on the embodiment of the apparatus shown in fig. 7, the apparatus may further include:
an operation monitoring module 24 configured to monitor preset operation information of triggering image acquisition by a user within a preset time period;
a closing module 25 configured to close the burst photographing mode in a case where the preset operation information is not detected.
Referring to fig. 9, a block diagram of another apparatus for rapidly acquiring an image according to an exemplary embodiment is shown, and based on the embodiment of the apparatus shown in fig. 8, the apparatus may further include:
a deletion module 26 configured to delete the automatically acquired image.
Referring to fig. 10-1, a block diagram of another apparatus for rapidly acquiring images according to an exemplary embodiment is shown, and based on the embodiment of the apparatus shown in fig. 8, the apparatus may further include:
and the recording module 27 is configured to record trigger information triggering the sudden photographing event at this time, and obtain an error trigger information record.
In another embodiment of the present disclosure, the recording module 27 may be added to the embodiment of the apparatus shown in fig. 9, as shown in fig. 10-2.
Referring to fig. 11, a block diagram of another apparatus for rapidly acquiring images is shown according to an exemplary embodiment, and based on the embodiment of the apparatus shown in fig. 10-2, the apparatus further includes:
and a correcting module 28 configured to correct the preset trigger condition according to the error trigger information record.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, in one aspect, the embodiments of the present disclosure provide an apparatus for rapidly acquiring an image, including: a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring state change information of a user terminal;
when the state change information meets a preset trigger condition, starting a burst photographing mode to automatically acquire an image;
the automatically acquired image is saved.
Fig. 12 is a schematic structural diagram illustrating an apparatus 1200 for rapidly acquiring an image according to an exemplary embodiment. For example, the apparatus 1200 may be a terminal, which may be embodied as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart bracelet, a smart running shoe, and the like.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1216, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia component 1208 includes a screen that provides an output interface between the apparatus 1200 and a user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1216 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect the open/closed state of the device 1200, the relative positioning of the components, such as the display and keypad of the apparatus 1200 described above, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, the orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the aforementioned communications component 1216 further comprises a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the instructions in the memory 1204, when executed by the processing component 1202, enable the apparatus 1200 to perform a method of rapidly acquiring images, comprising: monitoring state change information of a user terminal; when the state change information meets a preset trigger condition, starting a burst photographing mode to automatically acquire an image; the automatically acquired image is saved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A method of rapidly acquiring an image, the method comprising:
monitoring state change information of a user terminal, wherein the state change information is determined according to habitual actions of a user when the user needs to take a sudden photo in daily life;
when the state change information meets a preset trigger condition, the method comprises the following steps: when the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule and the included angle between the normal of a display screen of the user terminal and the horizontal plane is within a preset angle range, and/or when the acceleration change curve of the user terminal in the vertical direction accords with the preset acceleration change rule and the relative position relation between the display screen and a preset human body part meets a preset condition, starting a burst photographing mode to automatically acquire an image;
the automatically acquired image is saved.
2. The method of claim 1, wherein the status change information of the ue comprises: translation acceleration change information of the user terminal in the vertical direction; and, at least one of the following status information:
after the user terminal is subjected to the change of the preset motion state, the relative position relation between the normal of the display screen and the horizontal plane is displayed;
and after the user terminal is subjected to the change of the preset motion state, the relative position relationship between the display screen and the preset part of the human body is realized.
3. The method according to claim 2, wherein when the state change information satisfies at least one of the following preset trigger conditions, the burst photography mode is started to automatically capture the image:
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and an included angle between a normal line of a display screen of the user terminal and a horizontal plane is within a preset angle range;
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and the relative position relation between the display screen and a preset human body part meets a preset condition.
4. The method of claim 1, wherein after said saving the automatically acquired image, the method further comprises:
monitoring preset operation information of triggering image acquisition by a user within a preset time length;
and if the preset operation information is not detected, closing the burst photographing mode.
5. The method of claim 4, further comprising:
and deleting the automatically acquired image.
6. The method of claim 4, further comprising:
and recording triggering information for triggering the emergent photographing event at the time, and acquiring an error triggering information record.
7. The method of claim 6, further comprising:
and correcting the preset trigger condition according to the error trigger information record.
8. An apparatus for rapidly acquiring images, the apparatus comprising:
the state monitoring module is configured to monitor state change information of the user terminal, and the state change information is determined according to habitual actions of the user when the user needs to take a sudden photo everyday;
the burst shooting module is configured to, under the condition that the state change information meets a preset trigger condition, include: when the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule and the included angle between the normal of a display screen of the user terminal and the horizontal plane is within a preset angle range, and/or when the acceleration change curve of the user terminal in the vertical direction accords with the preset acceleration change rule and the relative position relation between the display screen and a preset human body part meets a preset condition, starting a burst photographing mode to automatically acquire an image;
a storage module configured to save the automatically acquired image.
9. The apparatus of claim 8, wherein the monitoring module monitors the status change information of the ue comprises: translation acceleration change information of the user terminal in the vertical direction; and, at least one of the following status information:
after the user terminal is subjected to the change of the preset motion state, the relative position relation between the normal of the display screen and the horizontal plane is displayed;
and after the user terminal is subjected to the change of the preset motion state, the relative position relationship between the display screen and the preset part of the human body is realized.
10. The apparatus of claim 9, wherein the preset trigger condition for triggering the burst mode to start the burst mode to automatically capture the image comprises at least one of the following conditions:
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and an included angle between a normal line of a display screen of the user terminal and a horizontal plane is within a preset angle range;
the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule, and the relative position relation between the display screen and a preset human body part meets a preset condition.
11. The apparatus of claim 8, further comprising:
the operation monitoring module is configured to monitor preset operation information of triggering image acquisition by a user within a preset time length;
a closing module configured to close the burst photographing mode if the preset operation information is not detected.
12. The apparatus of claim 11, further comprising:
a deletion module configured to delete the automatically acquired image.
13. The apparatus of claim 11, further comprising:
and the recording module is configured to record triggering information for triggering the emergent photographing event at the time and obtain an error triggering information record.
14. The apparatus of claim 13, further comprising:
and the correcting module is configured to correct the preset triggering condition according to the error triggering information record.
15. An apparatus for rapidly acquiring images, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring state change information of a user terminal, wherein the state change information is determined according to habitual actions of a user when the user needs to take a sudden photo in daily life;
when the state change information meets a preset trigger condition, the method comprises the following steps: when the acceleration change curve of the user terminal in the vertical direction accords with a preset acceleration change rule and the included angle between the normal of a display screen of the user terminal and the horizontal plane is within a preset angle range, and/or when the acceleration change curve of the user terminal in the vertical direction accords with the preset acceleration change rule and the relative position relation between the display screen and a preset human body part meets a preset condition, starting a burst photographing mode to automatically acquire an image;
the automatically acquired image is saved.
16. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the steps of the method of any of claims 1 to 7.
CN201710279005.6A 2017-04-25 2017-04-25 Method and device for rapidly acquiring image Active CN108737631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710279005.6A CN108737631B (en) 2017-04-25 2017-04-25 Method and device for rapidly acquiring image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710279005.6A CN108737631B (en) 2017-04-25 2017-04-25 Method and device for rapidly acquiring image

Publications (2)

Publication Number Publication Date
CN108737631A CN108737631A (en) 2018-11-02
CN108737631B true CN108737631B (en) 2021-08-03

Family

ID=63934484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710279005.6A Active CN108737631B (en) 2017-04-25 2017-04-25 Method and device for rapidly acquiring image

Country Status (1)

Country Link
CN (1) CN108737631B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11475571B2 (en) 2019-03-13 2022-10-18 Canon Kabushiki Kaisha Apparatus, image processing apparatus, and control method
CN111060004B (en) * 2019-11-27 2022-07-12 武汉凌云光电科技有限责任公司 Method for determining position of moving object in machine vision, position determining device and position determining system
CN114025093A (en) * 2021-11-09 2022-02-08 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Citations (9)

* 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
CN103108127A (en) * 2013-02-17 2013-05-15 华为终端有限公司 Method for shooting pictures through portable device and portable device
CN104205016A (en) * 2014-02-27 2014-12-10 华为终端有限公司 Photographing method and mobile terminal
CN104394312A (en) * 2014-10-23 2015-03-04 小米科技有限责任公司 Shooting control method and device
CN104660912A (en) * 2015-03-18 2015-05-27 努比亚技术有限公司 Photographing method and photographing device
CN104735337A (en) * 2013-12-20 2015-06-24 深圳桑菲消费通信有限公司 Shooting method and device and mobile terminal
CN105491282A (en) * 2015-11-25 2016-04-13 广东欧珀移动通信有限公司 Shooting control method in black screen state and mobile terminal
CN105872424A (en) * 2015-12-25 2016-08-17 乐视致新电子科技(天津)有限公司 Video recording method of mobile terminal and the mobile terminal
CN106446618A (en) * 2016-09-26 2017-02-22 珠海格力电器股份有限公司 Control method and device for mobile terminal and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373321A (en) * 2014-08-13 2016-03-02 中兴通讯股份有限公司 Control method and device for functional objects of mobile terminal and mobile terminal
CN104656899A (en) * 2015-02-12 2015-05-27 深圳市金立通信设备有限公司 Terminal operation and control method
CN104980656A (en) * 2015-06-19 2015-10-14 上海卓易科技股份有限公司 Automatic data acquisition method and electronic device
CN106572299B (en) * 2016-10-31 2020-02-28 北京小米移动软件有限公司 Camera opening method and device

Patent Citations (9)

* 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
CN103108127A (en) * 2013-02-17 2013-05-15 华为终端有限公司 Method for shooting pictures through portable device and portable device
CN104735337A (en) * 2013-12-20 2015-06-24 深圳桑菲消费通信有限公司 Shooting method and device and mobile terminal
CN104205016A (en) * 2014-02-27 2014-12-10 华为终端有限公司 Photographing method and mobile terminal
CN104394312A (en) * 2014-10-23 2015-03-04 小米科技有限责任公司 Shooting control method and device
CN104660912A (en) * 2015-03-18 2015-05-27 努比亚技术有限公司 Photographing method and photographing device
CN105491282A (en) * 2015-11-25 2016-04-13 广东欧珀移动通信有限公司 Shooting control method in black screen state and mobile terminal
CN105872424A (en) * 2015-12-25 2016-08-17 乐视致新电子科技(天津)有限公司 Video recording method of mobile terminal and the mobile terminal
CN106446618A (en) * 2016-09-26 2017-02-22 珠海格力电器股份有限公司 Control method and device for mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN108737631A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
EP3032821B1 (en) Method and device for shooting a picture
US10292004B2 (en) Method, device and medium for acquiring location information
EP3163411A1 (en) Method, device and apparatus for application switching
US20170154206A1 (en) Image processing method and apparatus
US10115019B2 (en) Video categorization method and apparatus, and storage medium
EP3099042A1 (en) Methods and devices for sending cloud card
EP2985994B1 (en) Method and apparatus for backing up videos and medium
CN106095465B (en) Method and device for setting identity image
WO2017000491A1 (en) Iris image acquisition method and apparatus, and iris recognition device
US20150271388A1 (en) Photographing Starting Apparatus And Method For Built-In Camera Of Portable Data Processing Device
CN108737631B (en) Method and device for rapidly acquiring image
CN111385456A (en) Photographing preview method and device and storage medium
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
CN107122697B (en) Automatic photo obtaining method and device and electronic equipment
CN108965606B (en) Method and device for determining ambient temperature
US20190235698A1 (en) Protective film detection method and apparatus, and storage medium
CN111464734B (en) Method and device for processing image data
CN105530439B (en) Method, apparatus and terminal for capture pictures
US11715234B2 (en) Image acquisition method, image acquisition device, and storage medium
CN107707819B (en) Image shooting method, device and storage medium
US11838655B2 (en) Image acquiring method and apparatus, electronic device, and storage medium
CN116027914A (en) Imaging program control method, imaging program control device, electronic device and storage medium
CN112511689A (en) Processing method, device and medium for abnormal shooting
CN117278849A (en) Focusing method, focusing device, electronic equipment and storage medium
CN115567763A (en) Monitoring method, monitoring device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant