CN109062402B - Underwater photographing method based on wearable device and wearable device - Google Patents

Underwater photographing method based on wearable device and wearable device Download PDF

Info

Publication number
CN109062402B
CN109062402B CN201810781708.3A CN201810781708A CN109062402B CN 109062402 B CN109062402 B CN 109062402B CN 201810781708 A CN201810781708 A CN 201810781708A CN 109062402 B CN109062402 B CN 109062402B
Authority
CN
China
Prior art keywords
wearable device
preset
photographing
gesture
matched
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
CN201810781708.3A
Other languages
Chinese (zh)
Other versions
CN109062402A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810781708.3A priority Critical patent/CN109062402B/en
Publication of CN109062402A publication Critical patent/CN109062402A/en
Application granted granted Critical
Publication of CN109062402B publication Critical patent/CN109062402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses an underwater photographing method based on wearable equipment and the wearable equipment, wherein the method comprises the following steps: when the wearable equipment is in an underwater environment, acceleration data are collected by using an acceleration sensor arranged in the wearable equipment, an operation gesture indicated by the collected acceleration data is analyzed, and when the operation gesture indicated by the acceleration data is matched with a certain preset photographing gesture, a camera of the wearable equipment is controlled to execute the preset photographing operation matched with the certain preset photographing gesture. By implementing the embodiment of the invention, the underwater photographing function of the wearable device without the keys can be realized, and the underwater photographing requirement of a user is met.

Description

Underwater photographing method based on wearable device and wearable device
Technical Field
The invention relates to the technical field of wearable equipment, in particular to an underwater photographing method based on wearable equipment and the wearable equipment.
Background
Based on the consideration of waterproof performance and appearance, the telephone watch on the market usually chooses not to set physical keys, and all interactive operations are completed through a capacitive touch screen of the telephone watch. In practice, it is found that a user usually wants to record a certain moment in a photographing mode when swimming or floating and diving with a telephone watch, and a capacitive touch screen of the existing telephone watch cannot be operated in water and cannot meet the underwater photographing requirement of the user.
Disclosure of Invention
The embodiment of the invention discloses an underwater photographing method based on wearable equipment and the wearable equipment, which can meet the underwater photographing requirement of a user.
The embodiment of the invention discloses an underwater photographing method based on wearable equipment in a first aspect, which comprises the following steps:
when the wearable equipment is in an underwater environment, acquiring acceleration data by using an acceleration sensor built in the wearable equipment;
analyzing an operational gesture indicated by the acceleration data;
judging whether the operation gesture is matched with a preset photographing gesture in a plurality of preset photographing gestures;
and when the operation gesture is matched with the certain preset photographing gesture, controlling a camera of the wearable device to execute a preset photographing operation matched with the certain preset photographing gesture.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the acquiring acceleration data by using an acceleration sensor built in the wearable device when the wearable device is in an underwater environment, the method further includes:
detecting capacitance values of all touch points on a capacitive touch screen of the wearable device;
judging whether the capacitance value of each touch point on the capacitive touch screen is larger than a preset capacitance value or not;
when the capacitance value of each touch point on the capacitive touch screen is larger than the preset capacitance value, judging whether the balance degree of the capacitance value of each contact on the capacitive touch screen reaches the preset balance degree;
when the balance degree of the capacitance values of all the contacts on the capacitive touch screen reaches the preset balance degree, determining that the wearable equipment is in an underwater environment;
closing a touch operation interaction function of a capacitive touch screen of the wearable device;
when the wearable device is in an underwater environment, acquiring acceleration data by using an acceleration sensor built in the wearable device, wherein the acceleration data acquisition method comprises the following steps:
when the wearable device is determined to be in the underwater environment and the touch operation interaction function of the capacitive touch screen of the wearable device is turned off, acquiring acceleration data by using an acceleration sensor built in the wearable device.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the operation gesture matches the certain preset photo gesture, the controlling the camera of the wearable device to perform a preset photo operation matching the certain preset photo gesture includes:
and when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is photographing preview operation, starting a preview function of the camera of the wearable device to obtain a preview picture.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the operation gesture matches the certain preset photo gesture, the controlling the camera of the wearable device to perform a preset photo operation matching the certain preset photo gesture includes:
when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing determining operation, acquiring current moment information;
calculating a photographing time point aiming at the preview picture according to the current time information and preset duration;
and when the photographing time point is reached, photographing the preview picture.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
acquiring body state information of the wearable device user, wherein the body state information at least comprises heart rate information, muscle tension degree information and body surface temperature information of the user;
judging whether the body state information is matched with preset body stable state information or not;
and if not, outputting prompt information, wherein the prompt information is used for prompting that the body state of the user of the wearable device is not suitable for the underwater environment.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the acquisition unit is used for acquiring acceleration data by using an acceleration sensor built in the wearable device when the wearable device is in an underwater environment;
an analysis unit configured to analyze an operation gesture indicated by the acceleration data;
the judging unit is used for judging whether the operation gesture is matched with a certain preset photographing gesture in a plurality of preset photographing gestures;
and the control unit is used for controlling the camera of the wearable device to execute the preset photographing operation matched with the certain preset photographing gesture when the judging unit judges that the operation gesture is matched with the certain preset photographing gesture.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
the detection unit is used for detecting the capacitance value of each touch point on a capacitive touch screen of the wearable device before the acquisition unit acquires acceleration data by using an acceleration sensor built in the wearable device when the wearable device is in an underwater environment;
the judging unit is further configured to judge whether a capacitance value of each touch point on the capacitive touch screen is greater than a preset capacitance value, and when the capacitance value of each touch point on the capacitive touch screen is greater than the preset capacitance value, judge whether the balance degree of the capacitance values of the contacts on the capacitive touch screen reaches a preset balance degree;
the determining unit is used for determining that the wearable device is in an underwater environment when the judging unit judges that the balance degree of the capacitance values of the contacts on the capacitive touch screen reaches the preset balance degree;
the control unit is also used for closing the touch operation interaction function of the capacitive touch screen;
the acquisition unit is specifically configured to acquire acceleration data by using an acceleration sensor built in the wearable device when the determination unit determines that the wearable device is in an underwater environment and the control unit closes the touch operation interaction function of the capacitive touch screen.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the operation gesture is matched with the certain preset photo gesture, the manner of controlling the camera of the wearable device to execute the preset photo operation matched with the certain preset photo gesture is specifically:
the control unit is used for opening the preview function of the camera of the wearable device to obtain a preview picture when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing preview operation.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the operation gesture is matched with the certain preset photo gesture, the manner of controlling the camera of the wearable device to execute the preset photo operation matched with the certain preset photo gesture is specifically:
the control unit is used for acquiring current moment information when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing determining operation; calculating a photographing time point aiming at the preview picture according to the current time information and preset duration; and when the photographing time point is reached, photographing the preview picture.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
the wearable device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring body state information of the wearable device user, and the body state information at least comprises heart rate information, muscle tension degree information and body surface temperature information of the user;
the judging unit is further used for judging whether the body state information is matched with preset body stable state information;
and the prompting unit is used for outputting prompting information when the judging unit judges that the body state information is not matched with the preset body stable state information, wherein the prompting information is used for prompting that the body state of the wearable device user is not suitable for the underwater environment.
A third aspect of an embodiment of the present invention discloses a wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform part or all of the steps of any one of the methods of the first aspect of the invention.
A fourth aspect of embodiments of the present invention discloses a computer-readable storage medium storing a computer program comprising instructions for carrying out some or all of the steps of any one of the methods of the first aspect of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the wearable device is in an underwater environment, acceleration data are collected by using an acceleration sensor arranged in the wearable device, an operation gesture indicated by the collected acceleration data is analyzed, and when the operation gesture indicated by the acceleration data is matched with a certain preset photographing gesture, a camera of the wearable device is controlled to execute the preset photographing operation matched with the certain preset photographing gesture. The method for realizing the photographing operation by acquiring the acceleration data effectively overcomes the defect that the capacitive touch screen cannot be operated in water, can realize the underwater photographing function of the wearable device without keys, and meets the underwater photographing requirement of a user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an underwater photographing method based on a wearable device disclosed by an embodiment of the invention;
FIG. 2 is a schematic flow chart of another wearable device-based underwater photographing method disclosed in the embodiment of the present invention;
fig. 3 is a schematic flow chart of still another wearable device-based underwater photographing method disclosed in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 5 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 7 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that the terms "comprises," "comprising," and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses an underwater photographing method based on wearable equipment and the wearable equipment, which can meet the underwater photographing requirement of a user. The wearable device-based underwater photographing method described in the embodiment of the invention is suitable for various wearable devices such as smart watches, smart bracelets and smart glasses, and the embodiment of the invention is not limited. The operating systems of the various wearable devices may include, but are not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like, which is not limited in the embodiments of the present invention. The execution subject of the embodiment of the invention is wearable equipment, and the details are respectively described below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart of an underwater photographing method based on a wearable device according to an embodiment of the present invention. As shown in fig. 1, the wearable device-based underwater photographing method may include the following steps:
101. when the wearable device is in an underwater environment, acceleration data are collected by an acceleration sensor built in the wearable device.
In step 101, the built-in acceleration sensor of the wearable device may be a three-axis acceleration sensor, and the three-axis acceleration sensor has the advantages of small size and light weight, so that the three-axis acceleration sensor is very suitable for being applied to the wearable device.
102. And analyzing the operation gesture indicated by the acceleration data.
Generally, after a photo is taken once, the wearable device needs to perform two operations, namely a photo preview operation and a photo determination operation, wherein the photo preview operation is to open a camera of the wearable device to obtain a preview picture, and the photo determination operation is to perform a photo operation on the preview picture. Optionally, in the embodiment of the present invention, the wearable device performs the photographing preview operation and the photographing determination operation, which may be triggered by a plurality of preset photographing gestures stored in the wearable device. At this time, the preset photographing gestures may include a photographing preview operation gesture and a photographing determination operation gesture, in the embodiment of the present invention, the photographing preview operation gesture of the wearable device may be that the user continuously taps the wearable device twice, the user gets rid of the arm once or continuously gets rid of the arm twice, and the like, and the photographing determination operation gesture of the wearable device may be that the user taps the wearable device once. Further optionally, in the embodiment of the present invention, the photographing preview operation executed by the wearable device may be triggered by a plurality of preset photographing gestures stored by the wearable device, and the photographing determining operation may be automatically triggered when the wearable device meets a certain preset condition (for example, a second preset time duration), where the second preset time duration may be an interval time duration between triggering the photographing preview operation and the photographing determining operation, and at this time, the wearable device also needs to store the second preset time duration input by the user while storing the plurality of preset photographing gestures.
When the wearable device is not in an underwater environment, the wearable device carries out user identity verification through recognition modes such as face recognition, fingerprint recognition or voiceprint recognition, after the user identity verification is passed, when an instruction for setting a preset photographing gesture is detected, acceleration data corresponding to each preset photographing gesture in the preset photographing gestures are collected by using an acceleration sensor arranged in the wearable device, and the acceleration data range corresponding to each preset photographing gesture is determined by taking the collected acceleration data corresponding to each preset photographing gesture as a reference. By implementing the method, the user passing the identity authentication is allowed to set the preset gestures, so that the privatization degree of the wearable device is higher, and the user experience is better.
103. Judging whether the operation gesture indicated by the acceleration data is matched with a preset photographing gesture in a plurality of preset photographing gestures, if so, executing a step 104; if not, the flow is ended.
According to the following description of step 102, if the preview photographing operation and the confirm photographing operation performed by the wearable device are triggered by the preset photographing gestures, the specific manner of determining whether the operation gesture indicated by the acceleration data matches with a preset photographing gesture of the preset photographing gestures may be to determine whether the acceleration data falls within an acceleration range of a preset photographing gesture of the preset photographing gestures, and if the acceleration data falls within the acceleration range of a preset photographing gesture, determining that the operation gesture indicated by the acceleration data matches with a preset photographing gesture of a plurality of preset photographing gestures, if the acceleration data does not fall within the acceleration range of any preset photographing gesture of the plurality of preset photographing gestures, determining that the operation gesture indicated by the acceleration data is not matched with a preset photographing gesture in a plurality of preset photographing gestures.
104. And controlling a camera of the wearable device to execute preset photographing operation matched with the certain preset photographing gesture.
The preset photographing gestures may include a photographing preview operation gesture and a photographing determination operation gesture, and please refer to embodiment two for detailed description of the photographing preview operation gesture and the photographing determination operation gesture.
By implementing the method, the photographing is realized by acquiring the acceleration data, the defect that the capacitive touch screen cannot be operated in water is effectively overcome, and the underwater photographing requirement of a user can be met.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart of another wearable device-based underwater photographing method according to an embodiment of the present invention. As shown in fig. 2, the wearable device-based underwater photographing method may include the following steps:
201. and detecting the capacitance value of each touch point on a capacitive touch screen of the wearable device.
202. Judging whether the capacitance value of each touch point on the capacitive touch screen is larger than a preset capacitance value or not, and if so, executing a step 203; if not, the flow is ended.
203. Judging whether the balance degree of the capacitance values of all the contacts on the capacitive touch screen reaches a preset balance degree, if so, executing step 204-step 208; if not, the flow is ended.
In the embodiment of the present invention, determining whether the balance of the capacitance values of the contacts on the capacitive touch screen reaches the preset balance may include: calculating the average capacitance value of each touch point on the capacitive touch screen according to the detected capacitance value of each touch point on the capacitive touch screen, and calculating the variance of the capacitance value of each touch point on the capacitive touch screen according to the average capacitance value; judging whether the variance of the capacitance values of all the touch points on the capacitive touch screen is smaller than a preset value indicating preset balance degree, if so, determining that the balance degree of the capacitance values of all the touch points on the capacitive touch screen reaches the preset balance degree, and continuing to execute the step 204; if the capacitance value is larger than or equal to the preset value, determining that the balance degree of the capacitance value of each contact on the capacitive touch screen does not reach the preset balance degree, and ending the process. By implementing the method, the balance degree of the capacitance values of all the contacts on the capacitive touch screen is calculated by using the variance, so that the judgment accuracy can be improved.
And step 101 to step 103 are executed, and when the capacitance value of each contact on the capacitive touch screen is larger than the preset capacitance value, whether the wearable device is in the underwater environment is judged by combining the balance degree of the capacitance values of the contacts on the capacitive touch screen, so that the accurate judgment on the environment where the wearable device is located can be further improved.
204. Determining that the wearable device is in an underwater environment.
205. And closing the touch operation interaction function of the capacitive touch screen of the wearable device.
In the embodiment of the invention, when the wearable device is determined to be in the underwater environment, the touch operation interaction function of the capacitive touch screen of the wearable device is closed, so that invalid power consumption caused by misoperation can be prevented.
Please refer to the description of step 101 to step 103 in the first embodiment for the detailed description of step 206 to step 208, which is not repeated in the embodiments of the present invention.
209. And when the operation gesture indicated by the acceleration data is matched with a certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is photographing preview operation, starting a preview function of the camera of the wearable device to obtain a preview picture.
As an optional implementation manner, in the embodiment of the present invention, after the step 209 is executed, first time information for starting a preview function of a camera of the wearable device may be recorded, a first photographing time point for a preview screen is calculated according to the first time information and the second preset time period, and when the first photographing time point is reached, the preview screen is photographed.
As another optional implementation manner, in the embodiment of the present invention, after step 209 is executed, the method may further include acquiring first acceleration data by using an acceleration sensor built in the wearable device, analyzing an operation gesture indicated by the first acceleration data, and acquiring current time information when the operation gesture indicated by the first acceleration data matches a certain preset photographing gesture and a preset operation matched with the certain preset photographing gesture is a photographing determining operation; calculating a second photographing time point aiming at the preview picture according to the current time information and the first preset time length; and when the second photographing time point is reached, photographing the preview picture.
210. When the operation gesture indicated by the acceleration data is matched with a certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing determining operation, acquiring current moment information; calculating a photographing time point for the preview picture according to the current time information and the preset duration; and when the photographing time point is reached, photographing the preview picture.
Before step 210 is executed, it may also be detected whether a preview function of the camera of the wearable device is in an open state, and if the preview function of the camera of the wearable device is in the open state, step 210 is executed.
By implementing the method, the defect that the capacitive touch screen cannot be operated in water can be effectively overcome, the underwater photographing requirement of a user can be met, the accurate judgment on the environment where the wearable device is located can be further improved, and invalid power consumption caused by misoperation can be prevented.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart of another underwater photographing method based on a wearable device according to an embodiment of the present invention. As shown in fig. 3, the wearable device-based underwater photographing method may include the following steps:
for detailed descriptions of step 301 to step 304, please refer to the descriptions of step 201 to step 204 in the second embodiment, which is not described again in the embodiments of the present invention.
305. Acquiring body state information of a wearable device user, wherein the body state information at least comprises heart rate information, muscle tension degree information and body surface temperature information of the user.
It should be noted that a heart rate monitor, a biosensor and an infrared thermometer may be further built in the wearable device, so as to achieve real-time acquisition of heart rate information, muscle tension degree information and body surface temperature information of a user of the wearable device.
306. Judging whether the body state information of the wearable device user is matched with preset body stable state information, if so, executing step 307, and executing steps 309-312; if not, step 308 is performed.
In the embodiment of the invention, the preset body stable state information at least comprises a normal heart rate range, a normal muscle tension degree range and a normal body surface temperature range, and then whether the body state information of the wearable device user is matched with the preset body stable state information can be judged, wherein the judgment can be carried out to judge whether the heart rate of the user is in the normal heart rate range, judge whether the muscle tension degree of the user is in the normal muscle tension degree range and judge whether the body surface temperature of the user is in the normal body surface temperature range; if the heart rate of the user is in a normal heart rate range, the muscle tension degree of the user is in a normal muscle tension degree range, and the body surface temperature of the user is in a normal body surface temperature range, determining that the body state information of the user is matched with preset body stable state information; and if one, two or three of the heart rate, the muscle tension degree or the body surface temperature of the user are not in the normal range, determining that the body state information of the user is not matched with the preset body stable state information.
307. And closing the touch operation interaction function of the capacitive touch screen of the wearable device.
308. And outputting prompt information for prompting that the body state of the wearable device user is not suitable for the underwater environment.
As an optional implementation manner, in an embodiment of the present invention, the wearable device may be a dedicated alarm device of a certain snorkel club, after the wearable device performs step 308, the wearable device may further send an alarm message to a central server of the snorkel club, where the alarm message carries at least identity information and current location information of a user of the wearable device, after receiving the alarm message, the central server determines an optimal rescuer according to the current location information of the user of the wearable device, where the optimal rescuer is a worker closest to the current location of the user of the wearable device, after determining the optimal rescuer, the central server sends a rescue instruction to the wearable device worn by the optimal rescuer, where the rescue instruction carries at least the current location information of the user of the wearable device, and the device worn by the optimal rescuer, according to receiving the rescue instruction, the rescue path is generated on the wearable device worn by the optimal rescue personnel, so that the optimal rescue personnel can rescue the user of the wearable device at the highest speed, and the probability of danger of the user of the wearable device can be reduced.
Please refer to the description of step 206 to step 210 in the second embodiment for the detailed description of step 309 to step 313, which is not repeated in the embodiments of the present invention.
As an optional implementation manner, in the embodiment of the present invention, when it is detected that the wearable device is not located in an underwater environment, the touch operation interaction function of the capacitive touch screen of the wearable device is turned on, and the acquisition function of the acceleration sensor built in the wearable device is turned off.
By implementing the method, the defect that the capacitive touch screen cannot be operated in water can be effectively overcome, the requirement of a user for underwater photographing can be met, the accurate judgment on the environment where the wearable device is located can be further improved, the invalid power consumption caused by misoperation can be prevented, the probability of danger of the user of the wearable device can be reduced, and the purpose of saving the power consumption can be achieved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 4, the wearable device may include:
the acquisition unit 401 is configured to acquire acceleration data by using an acceleration sensor built in the wearable device when the wearable device is in an underwater environment.
Optionally, in the embodiment of the present invention, the acquisition unit 401 may be further configured to perform user identity verification through recognition manners such as face recognition, fingerprint recognition, or voiceprint recognition when the wearable device is not in an underwater environment, and after the user identity verification is passed, when an instruction for setting a preset photographing gesture is detected, acquire, by using an acceleration sensor built in the wearable device, acceleration data corresponding to each preset photographing gesture in the plurality of preset photographing gestures, and determine an acceleration data range corresponding to each preset photographing gesture based on the acquired acceleration data corresponding to each preset photographing gesture. Through implementing this wearable equipment, the user that allows authentication to pass sets up above-mentioned a plurality of preset gestures for wearable equipment's privatization degree is higher, and user experience feels better.
An analyzing unit 402, configured to analyze the operation gesture indicated by the acceleration data.
The determining unit 403 is configured to determine whether the operation gesture indicated by the acceleration data matches a preset photo gesture in a plurality of preset photo gestures.
According to the above description, if the photographing preview operation and the photographing determination operation executed by the wearable device are both triggered by the preset photographing gestures, the specific manner for the determining unit 403 to determine whether the operation gesture indicated by the acceleration data matches with a certain preset photographing gesture in the preset photographing gestures may be:
a determining unit 403, configured to determine whether the acceleration data falls within an acceleration range of a certain preset photographing gesture in the plurality of preset photographing gestures, and if the acceleration data falls within the acceleration range of the certain preset photographing gesture, determine that an operation gesture indicated by the acceleration data matches with the certain preset photographing gesture in the plurality of preset photographing gestures; and if the acceleration data does not fall into the acceleration range of any one of the preset photographing gestures, determining that the operation gesture indicated by the acceleration data is not matched with one of the preset photographing gestures.
It should be noted that, in the embodiment of the present invention, for the specific description of the plurality of preset photographing gestures, please refer to the description in the first embodiment, and the embodiment of the present invention is not described again.
The control unit 404 is configured to control the camera of the wearable device to execute a preset photographing operation matched with the certain preset photographing gesture when the determining unit 403 determines that the operation gesture is matched with the certain preset photographing gesture.
Through implementing above-mentioned wearable equipment, realize shooing through gathering acceleration data, compensatied the unable defect of operating in aqueous of capacitive touch screen effectively, can satisfy user's the demand of shooing under water.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 5 is optimized by the wearable device shown in fig. 4, and as shown in fig. 5, the wearable device may further include:
the detection unit 405 is configured to detect, by the acquisition unit 401, a capacitance value of each touch point on a capacitive touch screen of the wearable device when the wearable device is in an underwater environment and before acceleration data is acquired by using an acceleration sensor built in the wearable device.
The determining unit 403 is further configured to determine whether a capacitance value of each touch point on the capacitive touch screen is greater than a preset capacitance value, and determine whether the balance of the capacitance values of the touch points on the capacitive touch screen reaches a preset balance when the capacitance value of each touch point on the capacitive touch screen is greater than the preset capacitance value.
In an embodiment of the present invention, a manner that the determining unit 403 is configured to determine whether the balance of the capacitance values of the contacts on the capacitive touch screen reaches a preset balance may specifically be:
a determining unit 403, configured to calculate an average capacitance value of each touch point on the capacitive touch screen according to the detected capacitance value of each touch point on the capacitive touch screen, and calculate a variance of the capacitance value of each touch point on the capacitive touch screen according to the average capacitance value; judging whether the variance of the capacitance values of all the touch points on the capacitive touch screen is smaller than a preset value indicating preset balance degree, and if so, determining that the balance degree of the capacitance values of all the touch points on the capacitive touch screen reaches the preset balance degree; and if the capacitance value is larger than or equal to the preset value, determining that the balance of the capacitance values of the contacts on the capacitive touch screen does not reach the preset balance. By implementing the wearable device, the determination unit 403 calculates the balance of capacitance values of each contact on the capacitive touch screen using the variance, and the determination accuracy can be improved.
A determining unit 406, configured to determine that the wearable device is in an underwater environment when the determining unit 403 determines that the balance of the capacitance values of the contacts on the capacitive touch screen reaches a preset balance.
It should be noted that the determining unit 406 may be further configured to send a starting instruction to the control unit 404 to start the control unit 404.
The control unit 404 is further configured to turn off the touch operation interaction function of the capacitive touch screen.
In the embodiment of the present invention, when determining that the wearable device is in the underwater environment, the control unit 404 turns off the touch operation interaction function of the capacitive touch screen of the wearable device, so as to prevent invalid power consumption caused by misoperation.
The acquisition unit 401 is specifically configured to acquire acceleration data by using an acceleration sensor built in the wearable device when the determination unit determines that the wearable device is in the underwater environment and the control unit 404 closes the touch operation interaction function of the capacitive touch screen.
Optionally, in an embodiment of the present invention, when the operation gesture is matched with a preset photo gesture of the user, a mode of controlling the camera of the wearable device to execute a preset photo operation matched with the preset photo gesture may specifically be:
the control unit 404 is configured to, when the operation gesture matches the certain preset photographing gesture and the preset operation matching the certain preset photographing gesture is a photographing preview operation, open a preview function of a camera of the wearable device to obtain a preview image; alternatively, the first and second electrodes may be,
a control unit 404, configured to obtain current time information when the operation gesture matches the certain preset photographing gesture and a preset operation that matches the certain preset photographing gesture is a photographing determining operation; calculating a photographing time point aiming at the preview picture according to the current time information and the preset duration; and when the photographing time point is reached, photographing the preview picture.
As an optional implementation manner, in an embodiment of the present invention, the control unit 404 is further configured to record first time information for starting a preview function of a camera of a wearable device after the preview function of the camera of the wearable device is started to obtain a preview picture, calculate a first photographing time point for the preview picture according to the first time information and the second preset time duration, and photograph the preview picture when the first photographing time point is reached; or after the preview function of the camera of the wearable device is started to obtain a preview picture, acquiring first acceleration data by using an acceleration sensor built in the wearable device, analyzing an operation gesture indicated by the first acceleration data, and acquiring current time information when the operation gesture indicated by the first acceleration data is matched with a certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing determining operation; calculating a second photographing time point aiming at the preview picture according to the current time information and the first preset time length; and when the second photographing time point is reached, photographing the preview picture.
Through implementing above-mentioned wearable equipment, can compensate the defect that capacitive touch screen can't operate in aqueous effectively to satisfy user's the demand of shooing under water, also can further improve the accurate judgement to wearable equipment place environment, can also prevent the produced invalid consumption of maloperation.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 6 is optimized by the wearable device shown in fig. 5, and as shown in fig. 6, the wearable device may further include:
the acquiring unit 407 acquires body state information of the wearable device user, where the body state information at least includes heart rate information, muscle tension information, and body surface temperature information of the user.
The determining unit 403 is further configured to determine whether the body state information matches preset body stable state information.
In this embodiment of the present invention, the preset body stable state information at least includes a normal heart rate range, a normal muscle tension range, and a normal body surface temperature range, and then, the manner for the determining unit 403 to determine whether the body state information of the wearable device user matches the preset body stable state information may specifically be: a judging unit 403, configured to judge whether the heart rate of the user is within a normal heart rate range, judge whether the muscle tension degree of the user is within a normal muscle tension degree range, and judge whether the body surface temperature of the user is within a normal body surface temperature range; if the heart rate of the user is in a normal heart rate range, the muscle tension degree of the user is in a normal muscle tension degree range, and the body surface temperature of the user is in a normal body surface temperature range, determining that the body state information of the user is matched with preset body stable state information; and if one, two or three of the heart rate, the muscle tension degree or the body surface temperature of the user are not in the normal range, determining that the body state information of the user is not matched with the preset body stable state information.
A prompting unit 408, configured to output prompting information for prompting that the body state of the wearable device user is not suitable for the underwater environment when the determining unit 403 determines that the body state information does not match the preset body stable state information.
As an optional implementation manner, in an embodiment of the present invention, the wearable device may be a dedicated alarm device for a certain snorkel club, the prompting unit 408 may further be configured to send an alarm message to a central server of the snorkel club after outputting the prompt message, where the alarm message carries at least identity information and current location information of the wearable device user, after receiving the alarm message, the central server determines an optimal rescuer according to the current location information of the wearable device user, where the optimal rescuer is a worker closest to the current location of the wearable device user, and after determining the optimal rescuer, the central server sends a rescue instruction to the wearable device worn by the optimal rescuer, where the rescue instruction carries at least the current location information of the wearable device user, the wearable device worn by the optimal rescue personnel generates a rescue path on the wearable device worn by the optimal rescue personnel according to the received rescue instruction, so that the optimal rescue personnel can rescue the user of the wearable device at the highest speed, and the probability of danger of the user of the wearable device can be reduced.
Through implementing above-mentioned wearable equipment, can compensate the defect that capacitive touch screen can't operate in aqueous effectively to satisfy user's the demand of shooing under water, also can further improve the accurate judgement to wearable equipment place environment, can also prevent the produced invalid consumption of maloperation, can also reduce this wearable equipment user and take place dangerous probability, can also reach the purpose of sparingly consuming power.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of a wearable device according to an embodiment of the disclosure. As shown in fig. 7, the wearable device may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute any one of the underwater photographing methods based on the wearable device in fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the wearable device-based underwater photographing methods shown in the figures 1-3.
The embodiment of the invention discloses a computer program product, which enables a computer to execute any one of the underwater photographing methods based on wearable equipment in figures 1-3 when the computer program product runs on the computer.
The embodiment of the invention discloses an application publishing platform which is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute any one of the underwater photographing methods based on wearable equipment in figures 1-3.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The wearable device and the underwater photographing method based on the wearable device disclosed by the embodiment of the invention are described in detail above, specific examples are applied in the text to explain the principle and the implementation of the invention, and the size of the step numbers in the specific examples does not mean the inevitable sequence of the execution sequence, and the execution sequence of each process should be determined by the function and the internal logic of the process, and should not constitute any limitation on the implementation process of the embodiment of the invention. The units described as separate parts may or may not be physically separate, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as a stand-alone product, it may be stored in a memory accessible to a computer. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
The above description of the embodiments is only intended to facilitate the understanding of the method of the invention and its core ideas; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. An underwater photographing method based on wearable equipment is characterized by comprising the following steps:
when the wearable device is in an underwater environment and a touch operation interaction function of a capacitive touch screen of the wearable device is closed, starting an acquisition function of an acceleration sensor built in the wearable device, and acquiring acceleration data by using the acceleration sensor built in the wearable device;
analyzing an operational gesture indicated by the acceleration data;
judging whether the operation gesture is matched with a preset photographing gesture in a plurality of preset photographing gestures; the preset photographing gesture comprises: preview operation and photographing determination operation;
when the operation gesture with when certain preset gesture of shooing matches, control wearable equipment's camera carry out with certain preset gesture of shooing assorted preset operation of shooing includes: when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is photographing preview operation, starting a preview function of a camera of the wearable device to obtain a preview picture; when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing determining operation, acquiring current moment information; calculating a photographing time point aiming at the preview picture according to the current time information and preset duration; and when the photographing time point is reached, photographing the preview picture.
2. The method of claim 1, wherein prior to collecting acceleration data with an acceleration sensor built into a wearable device while the wearable device is in an underwater environment, the method further comprises:
detecting capacitance values of all touch points on a capacitive touch screen of the wearable device;
judging whether the capacitance value of each touch point on the capacitive touch screen is larger than a preset capacitance value or not;
when the capacitance value of each touch point on the capacitive touch screen is larger than the preset capacitance value, judging whether the balance degree of the capacitance value of each contact on the capacitive touch screen reaches the preset balance degree;
when the balance degree of the capacitance values of all the contacts on the capacitive touch screen reaches the preset balance degree, determining that the wearable equipment is in an underwater environment;
and closing the touch operation interaction function of the capacitive touch screen of the wearable device.
3. The method of claim 1, further comprising:
acquiring body state information of the wearable device user, wherein the body state information at least comprises heart rate information, muscle tension degree information and body surface temperature information of the user;
judging whether the body state information is matched with preset body stable state information or not;
and if not, outputting prompt information, wherein the prompt information is used for prompting that the body state of the user of the wearable device is not suitable for the underwater environment.
4. A wearable device, characterized in that the wearable device comprises:
the acquisition unit is used for starting an acquisition function of an acceleration sensor built in the wearable device and acquiring acceleration data by using the acceleration sensor built in the wearable device when the wearable device is in an underwater environment and a touch operation interaction function of a capacitive touch screen of the wearable device is closed;
an analysis unit configured to analyze an operation gesture indicated by the acceleration data;
the judging unit is used for judging whether the operation gesture is matched with a certain preset photographing gesture in a plurality of preset photographing gestures;
the control unit is used for controlling the camera of the wearable device to execute the preset photographing operation matched with the certain preset photographing gesture when the judging unit judges that the operation gesture is matched with the certain preset photographing gesture, and the control unit comprises: when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is photographing preview operation, starting a preview function of a camera of the wearable device to obtain a preview picture; when the operation gesture is matched with the certain preset photographing gesture and the preset operation matched with the certain preset photographing gesture is a photographing determining operation, acquiring current moment information; calculating a photographing time point aiming at the preview picture according to the current time information and preset duration; and when the photographing time point is reached, photographing the preview picture.
5. The wearable device of claim 4, further comprising:
the detection unit is used for detecting the capacitance value of each touch point on a capacitive touch screen of the wearable device before the acquisition unit acquires acceleration data by using an acceleration sensor built in the wearable device when the wearable device is in an underwater environment;
the judging unit is further configured to judge whether a capacitance value of each touch point on the capacitive touch screen is greater than a preset capacitance value, and when the capacitance value of each touch point on the capacitive touch screen is greater than the preset capacitance value, judge whether the balance degree of the capacitance values of the touch points on the capacitive touch screen reaches a preset balance degree;
the determining unit is used for determining that the wearable device is in an underwater environment when the judging unit judges that the balance degree of the capacitance values of the contacts on the capacitive touch screen reaches the preset balance degree;
the control unit is also used for closing the touch operation interaction function of the capacitive touch screen;
the acquisition unit is specifically configured to acquire acceleration data by using an acceleration sensor built in the wearable device when the determination unit determines that the wearable device is in an underwater environment and the control unit closes the touch operation interaction function of the capacitive touch screen.
6. The wearable device of claim 4, further comprising:
the wearable device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring body state information of the wearable device user, and the body state information at least comprises heart rate information, muscle tension degree information and body surface temperature information of the user;
the judging unit is further used for judging whether the body state information is matched with preset body stable state information;
and the prompting unit is used for outputting prompting information when the judging unit judges that the body state information is not matched with the preset body stable state information, wherein the prompting information is used for prompting that the body state of the wearable device user is not suitable for the underwater environment.
CN201810781708.3A 2018-07-17 2018-07-17 Underwater photographing method based on wearable device and wearable device Active CN109062402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810781708.3A CN109062402B (en) 2018-07-17 2018-07-17 Underwater photographing method based on wearable device and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810781708.3A CN109062402B (en) 2018-07-17 2018-07-17 Underwater photographing method based on wearable device and wearable device

Publications (2)

Publication Number Publication Date
CN109062402A CN109062402A (en) 2018-12-21
CN109062402B true CN109062402B (en) 2021-07-23

Family

ID=64816756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810781708.3A Active CN109062402B (en) 2018-07-17 2018-07-17 Underwater photographing method based on wearable device and wearable device

Country Status (1)

Country Link
CN (1) CN109062402B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336939A (en) * 2019-05-29 2019-10-15 努比亚技术有限公司 A kind of method for snap control, wearable device and computer readable storage medium
CN112631427A (en) * 2020-12-21 2021-04-09 深圳市爱都科技有限公司 Method and device for processing communication information, intelligent wearable device and storage medium
CN115129144A (en) * 2021-03-25 2022-09-30 华为技术有限公司 Wearable device control method and wearable device
CN113891003A (en) * 2021-11-15 2022-01-04 珠海读书郎软件科技有限公司 System and method for underwater self-shooting of telephone watch

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5330043B2 (en) * 2009-03-19 2013-10-30 オリンパスイメージング株式会社 Image display device and control method of image display device
CN202512343U (en) * 2011-12-29 2012-10-31 郭晓宇 Non-contact motion control diving camera
CN105306709B (en) * 2012-09-14 2018-12-14 华为终端(东莞)有限公司 Control method, device and the mobile terminal of mobile terminal
CN104049726A (en) * 2013-03-17 2014-09-17 北京银万特科技有限公司 Method and device for shooting images based on intelligent information terminal
CN108039025A (en) * 2017-11-28 2018-05-15 广东小天才科技有限公司 A kind of drowning alarming method and wearable device based on wearable device

Also Published As

Publication number Publication date
CN109062402A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN109062402B (en) Underwater photographing method based on wearable device and wearable device
JP6264495B1 (en) Driver monitoring device, driver monitoring method, learning device, and learning method
US10706844B2 (en) Information processing system and information processing method for speech recognition
CN105488957B (en) Method for detecting fatigue driving and device
WO2016129192A1 (en) Emotion estimation device and emotion estimation method
US10436807B2 (en) Authentication system and authentication method for detecting breath alcohol
US20170061251A1 (en) Liveness detection method, liveness detection system, and liveness detection device
EP3328062A1 (en) Photo synthesizing method and device
CN108668080A (en) Prompt method and device, the electronic equipment of camera lens degree of fouling
WO2017129946A1 (en) Method and device for detecting a smoking gesture
US11596764B2 (en) Electronic device and method for providing information for stress relief by same
JP6399311B2 (en) Dozing detection device
US20220060666A1 (en) Wearable device for performing detection of events by utilizing camera module and wireless communication device
JP2010117948A5 (en)
CN109086431B (en) Knowledge point consolidation learning method and electronic equipment
CN111265841B (en) Swimming lap number determining method, device, equipment and storage medium
CN110177240B (en) Video call method of wearable device and wearable device
CN108055694B (en) Communication control method of wearable device and wearable device
US20210012130A1 (en) Method and device for measuring biometric information in electronic device
CN107993410B (en) Environmental-based wading early warning method and wearable device
CN107340868B (en) Data processing method and device and VR equipment
CN107800873A (en) A kind of information cuing method and mobile terminal based on mobile terminal
CN111176440B (en) Video call method and wearable device
CN115643483A (en) Terminal equipment control method and device, readable storage medium and terminal equipment
CN111077989B (en) Screen control method based on electronic equipment and electronic equipment

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