WO2018133063A1 - Motion gesture recognition based measurement instrument control method and measurement instrument - Google Patents
Motion gesture recognition based measurement instrument control method and measurement instrument Download PDFInfo
- Publication number
- WO2018133063A1 WO2018133063A1 PCT/CN2017/072049 CN2017072049W WO2018133063A1 WO 2018133063 A1 WO2018133063 A1 WO 2018133063A1 CN 2017072049 W CN2017072049 W CN 2017072049W WO 2018133063 A1 WO2018133063 A1 WO 2018133063A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- operation control
- motion
- control instruction
- application
- instruction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005259 measurement Methods 0.000 title claims abstract description 36
- 230000004927 fusion Effects 0.000 claims description 38
- 238000001914 filtration Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 abstract 2
- 230000006870 function Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000036461 convulsion Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000002156 mixing Methods 0.000 description 2
- 206010028347 Muscle twitching Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Definitions
- the present invention belongs to the field of information recognition, and in particular, to a measuring instrument control method and a measuring instrument based on motion gesture recognition.
- the present invention provides a measuring method and a measuring instrument based on motion gesture recognition to solve the problem of inconvenience of the user in controlling the measuring instrument in the prior art.
- a measuring instrument including:
- a command library selecting unit configured to determine the motion track category, and select an operation control instruction library corresponding to the motion track category, the operation control instruction library includes a first operation control instruction library and a second operation control Instruction library
- the present invention provides a measuring method and a measuring instrument based on motion gesture recognition, which provides a completely new method for controlling the use of the measuring instrument.
- the motion data of the measuring instrument is first collected, and the motion track is generated when the user makes a motion gesture while holding the measuring instrument, and the corresponding operation control instruction is selected according to the motion data category.
- the final operation control instruction is determined in conjunction with the motion data, the foreground application, and the operation control instruction library, and the task operation corresponding to the operation control instruction is executed.
- FIG. 3 is a block diagram showing a system configuration of a measuring instrument in Embodiment 3 of the present invention.
- the present invention provides a measuring device control method and a measuring instrument based on motion gesture recognition, the method comprising: acquiring motion data of a measuring instrument, and calculating a motion trajectory of the measuring instrument based on the motion data, The motion trajectory is generated by the user making a motion gesture while holding the measuring instrument; determining the motion trajectory category, and selecting an operation control instruction library corresponding to the motion trajectory category, the operation control instruction library including the first An operation control instruction library and a second operation control instruction library; when the motion track category is the first type of motion track, identifying a foreground application of the measuring instrument, and filtering out from the first operation control instruction library The motion trajectory and the operation control instruction matched by the foreground application, performing a task operation corresponding to the operation control instruction in the foreground application; when the motion trajectory class When the second type of motion trajectory is not selected, the operation control instruction matching the motion trajectory is filtered out from the second operation control instruction library, and the task operation corresponding to the operation control instruction is executed.
- the meter includes, but is not limited to
- Step S101 acquiring motion data of a measuring instrument, and calculating the measurement based on the motion data A motion trajectory of the instrument, which is generated by a user making a motion gesture while holding the meter.
- the motion data refers to the motion data of the measuring instrument when the user operates the measuring instrument through the motion gesture
- the motion trajectory is the trajectory corresponding to the motion gesture.
- Common simple motion trajectories include swaying, swaying, left swaying, and right swaying, etc.
- Commonly complex motion data include, for example, left upper twitching, squeaking direction, and reverse tweeling direction, etc. The motion trajectories all correspond one-to-one with the trajectory of the user's motion gesture.
- the research and development personnel add a motion sensor module to the measuring instrument, so that the measuring instrument can calculate the motion trajectory by reading the motion data collected by the motion sensor module, thereby realizing the user through the motion gesture. Identify the meter for control.
- Motion sensors are sensors that have the ability to measure motion data, including but not limited to gravity sensors, accelerometers, gyroscopes, geomagnetic sensors, and magnetic sensors.
- the motion data of the measuring instrument is acquired, the motion data is analyzed and identified to determine the corresponding specific motion trajectory.
- the falling of the measuring instrument when falling (the present invention will When the measuring instrument is dropped, it is also regarded as a kind of motion gesture of the user, and the corresponding motion track is named as falling.
- These motion trajectories cannot control the task operation of the measuring instrument in normal operation, but are closely related to the normal measurement and use of the measuring instrument.
- each second type of motion trajectory corresponds to A fixed abnormal measurement use scenario, the fall mentioned above corresponds to the fall of the gauge.
- the motion track corresponding task operation setting may collide.
- the foreground application that the user is operating is also recognized.
- the present invention is applied to an infrared camera as an example for explanation.
- the infrared camera is a measuring instrument that converts the invisible infrared energy emitted by an object into a visible thermal image. It also has the function of capturing infrared images and visible images.
- the infrared camera is an infrared image and a visible image captured by two cameras respectively. In actual situations, the two images need to be merged into one thermal image for analysis. Therefore, the two images need to be merged and set. It combines distance parameters.
- the operation steps of setting the fusion distance parameter in the prior art are generally as follows:
- step 1 when step 1 is performed to view the hot image that has been initially merged, step 2 is skipped, and the fusion distance parameter is directly adjusted by a simple motion gesture operation, but motion trajectory may occur at this time.
- the corresponding task operation sets conflicting scenarios. For example, you want to implement the task of adjusting the distance parameter size directly by left and right flapping. However, in the viewing image application, the left and right flapping have been set to Viewing the task operations of the previous and next images, there is a conflict between the task operation settings corresponding to the two motion data.
- the user is more humanized by using the motion gesture control measuring instrument. After the motion data is recognized in this embodiment, the foreground application that the user is operating is also recognized, so that the subsequent can be The task operation corresponding to the final motion data is determined in conjunction with a specific operational application.
- the captured image fusion degree is adjusted to the next level image fusion degree of the current image fusion degree.
- the image fusion degree of the captured image is adjusted to the next level. For example, if the current image fusion degree is the default level 2, if the motion trajectory is detected as the left sway, then The image fusion degree is adjusted to a level of -50% image fusion degree.
- the captured image fusion degree is adjusted to the upper level image fusion degree of the current image fusion degree.
- the degree of fusion of the captured image is adjusted upwards, for example, the current image fusion degree is the default level 2 ⁇ , and if the motion trajectory is detected as right twitch, the image fusion degree is adjusted to Level 1 - 0% image fusion.
- Step S102 Determine the motion track category, and select an operation control instruction library corresponding to the motion track category, where the operation control instruction library includes a first operation control instruction library and a second operation control instruction library.
- each second type of motion track corresponding operation control instruction does not change with the change of the foreground application, and the relationship list and the operation control instructions are stored in the second operation control instruction.
- the corresponding operation control instruction library can be determined according to the motion track.
- Step S104 when the motion trajectory category is the second type of motion track ⁇ , the operation control instruction matching the motion trajectory is filtered out from the second operation control instruction library, and Performing a task operation corresponding to the operation control instruction.
- the motion gesture control function is only one of the control modes that can be controlled by the measuring instrument. Generally, the control mode is not turned on by default. When the user needs to turn on the motion gesture recognition control, only the corresponding motion gesture needs to be triggered. Control function, the ⁇ measuring instrument will enter the motion gesture control mode, and the user can control the measuring instrument through the motion gesture.
- the motion gesture control button can exist either in the form of a physical button or as a function module in the operating system of the meter.
- the method further includes:
- step S201 receiving an application selection instruction input by the user, and selecting, according to the application selection instruction, setting Set the application, and display the corresponding motion track setting interface of the application.
- the user can modify and set the relationship between the first type of motion track and the operation control instruction for each application.
- the user first selects the application to be modified, and the measuring instrument operating system pops up the motion track setting interface corresponding to the application, and the user sets the interface according to the motion track, and selects the application. I want to modify the first motion trajectory of the association.
- the measuring instrument operating system After the user selects the corresponding modified first motion track in the motion track setting interface, the measuring instrument operating system automatically pops up the operation control instruction setting interface corresponding to the first type of motion track.
- step S203 receiving an operation control setting instruction input by the user on the operation control instruction setting interface, and setting an association between the motion track and the operation control instruction in the application according to the operation control setting instruction. relationship.
- each of the second type of motion trajectories corresponds to a fixed abnormal measurement use scenario, and is operated with the abnormal measurement use scenario.
- the command is fixed, and the following is generated when the meter is dropped. It is fixed corresponding to the shutdown command. Therefore, under normal circumstances, the user does not need to set any information in the second operation control command library. Only the function of setting the association relationship in the first operation control instruction library is included in the embodiment.
- the meter activates a motion gesture control mode.
- the meter monitors the foreground application of the user operation in real time, and automatically activates the motion gesture control mode and collects the motion data when the foreground application is a data measurement application.
- the motion gesture can be used to control the measuring instrument without any mode switching or opening operation, which provides great convenience for the user.
- the data measurement application is selected as the application that is automatically turned on in the motion gesture control mode, it does not mean that the motion measurement control mode can be automatically turned on only by using the data measurement application.
- the technician can automatically select the corresponding application program for the motion gesture control mode according to actual needs. For example: You can select the data measurement application + view image application as the application that is automatically turned on in the motion gesture control mode. At this time, the meter automatically detects when the foreground application that the user operates is the data measurement application or the image application. The motion gesture control mode is turned on, and the task operation is controlled according to the motion data collected by the motion sensor.
- the first type of motion trajectory includes upper swaying, lower swaying, left swaying, right swaying, upper left swaying, squeezing direction, and reverse squeezing direction.
- the current station application is a viewing image application, and the motion trajectory is the left ⁇ ⁇ , the selected
- the switching of the previous image instruction in an operation control instruction library is the operation control instruction.
- the current station application is an image fusion application, and when the motion trajectory is the left tilting, the reducing the fusion distance parameter instruction in the first operation control instruction library is selected as the operation control instruction.
- the current station application is an image fusion application, and the motion trajectory is the right motion ⁇ , and the step of increasing the fusion distance parameter in the first operation control instruction library is selected as the operation control instruction.
- step S103 the method further includes:
- the second type of motion trajectory includes dropping, picking up, and falling.
- the motion data is the dropout, selecting a standby instruction in the second operation control instruction library as the operation control instruction.
- the scene corresponding to the placement of the measuring instrument is lowered, and the user temporarily does not use the measuring instrument.
- the fixed corresponding standby instruction is preferably lowered, so that the measuring instrument is lowered by the user. At the same time, it can enter the standby state.
- the meter includes:
- an obtaining unit 31 configured to acquire motion data of the measuring instrument, and calculate a motion trajectory of the measuring instrument based on the motion data, where the motion trajectory is performed by a user at a peer holding the measuring instrument to perform a motion gesture And produced.
- a command library selecting unit 32 configured to determine the motion track category, and select an operation control instruction library corresponding to the motion track category, the operation control instruction library includes a first operation control instruction library and a second operation Control instruction library.
- the second task execution unit 34 is configured to: when the motion track category is the second type of motion track, select, from the second operation control instruction library, a device that matches the motion track The operation control instruction is executed, and the task operation corresponding to the operation control instruction is executed.
- the method further includes:
- the first receiving unit is configured to receive an application selection instruction input by the user, select an application to be set according to the application selection instruction, and display a motion track setting interface corresponding to the application.
- a second receiving unit configured to receive a motion track setting instruction input by the user on the motion track setting interface, determine the first type of motion track to be set according to the motion track setting instruction, and display the first A type of motion track corresponding operation control instruction setting interface.
- an association setting unit configured to receive an operation control setting instruction input by the user at the operation control instruction setting interface, and set the motion trajectory and the operation control in the application according to the operation control setting instruction The association of the instructions.
- the method further includes:
- the application determining unit is configured to identify whether the foreground application is a data measurement application.
- a mode on unit configured to: when the foreground application is the data measurement application, the meter starts a motion gesture control mode.
- the first task execution unit 33 when the measuring instrument is an infrared camera, comprises: [0083] the first type of motion track includes upper swing, lower tilt, left tilt, Right twirling, top left twirling, slewing direction and circular direction.
- a first instruction selecting unit configured to: when the current station application is a viewing image application, and the motion track is the left tilting, select the first image control instruction library to switch the previous image instruction For the operation Control instruction.
- a second instruction selecting unit configured to: when the current station application is a viewing image application, and the motion trajectory is the right swaying, select the first operation control instruction library to switch the next image instruction to the The operation control instructions.
- a third instruction selecting unit configured to: when the current station application is an image fusion application, and the motion track is the left tilting, select the instruction to reduce the fusion distance parameter in the first operation control instruction library as The operation control instruction.
- a fourth instruction selecting unit configured to: when the current station application is an image fusion application, and the motion trajectory is the right sway, selecting the instruction to increase the fused distance parameter in the first operation control instruction library is The operation control instructions.
- the second task execution unit 3 4 further includes:
- the second type of motion trajectory includes dropping, picking up, and falling.
- the special motion data includes dropping, picking up, and falling.
- a fifth instruction selecting unit configured to: when the motion data is the down, select a standby instruction in the second operation control instruction library as the operation control instruction.
- a sixth instruction selecting unit configured to: when the motion data is the pick-up, select a wake-up instruction in the second operation control instruction library as the operation control instruction.
- a seventh instruction selecting unit configured to: when the motion data is the falling, select a shutdown command in the second operation control instruction library as the operation control instruction.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple networks. On the unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, a random access memory), a magnetic disk, or an optical disk, and the like, which can store program code. .
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)
Abstract
A motion gesture recognition based measurement instrument control method and a measurement instrument, being used in the information recognition field, the method comprising: acquiring motion data of a measurement instrument, and calculating the motion trajectory on the basis of the motion data (S101); determining the category of the motion trajectory, and selecting a corresponding operation control instruction database (S102); when the category of the motion trajectory is a first category of motion trajectory, identifying the foreground application of the measurement instrument, screening out, from a first operation control instruction database, an operation control instruction matching the motion trajectory and the foreground application, and executing a corresponding task operation on the foreground application (S103); when the category of the motion trajectory is a second category of motion trajectory, screening out, from a second operation control instruction database, an operation control instruction matching the motion trajectory, and executing a corresponding task operation (S104). During the control, a user can control the measurement instrument by only simply performing some motion gesture operations, without the need for any key press operation or screen touch operation, so that the user can easily and conveniently control the measurement instrument.
Description
发明名称:一种基于运动手势识别的测量仪控制方法及测量仪 技术领域 Title of Invention: Measurement Method and Measuring Instrument Based on Motion Gesture Recognition
[0001] 本发明属于信息识别领域, 尤其涉及一种基于运动手势识别的测量仪控制方法 及测量仪。 [0001] The present invention belongs to the field of information recognition, and in particular, to a measuring instrument control method and a measuring instrument based on motion gesture recognition.
背景技术 Background technique
[0002] 测量仪是为了衡量目标物某些属性值而诞生的仪器, 一般都具有刻度, 容积等 单位。 手持式测量仪 (以下简称为测量仪) 则是将传统的测量仪进行微型化便 携化后得到的产物, 具有轻巧便携、 坚固耐用以及能针对不同的工作环境进行 优化设计等优点, 也正是由于这些优点, 使得手持式测量仪深受各行各业的喜 爱。 [0002] The measuring instrument is an instrument that is born to measure certain attribute values of the target, and generally has units such as scale, volume, and the like. The hand-held measuring instrument (hereinafter referred to as the measuring instrument) is a product obtained by miniaturizing and portable the traditional measuring instrument. It is lightweight, portable, durable and can be optimized for different working environments. Due to these advantages, the handheld measuring instrument is very popular among all walks of life.
[0003] 现有技术中, 一般测量仪只能通过按键操作来进行控制, 少部分手持测量仪还 具有触屏操作控制的功能。 但无论是按键操作控制还是触屏操作控制, 其控制 方法均不够智能化和人性化, 如按键操作和触屏操作均具有一定的复杂性, 使 得一些非专业用户难以学会使用按键操作和触屏操作来控制测量仪, 又如由于 硬件要求的限制, 一些测量仪的体积难以真正满足用户单手操作的需求, 这些 问题都使得用户对测量仪的控制使用变得不够方便。 [0003] In the prior art, a general measuring instrument can only be controlled by a button operation, and a small number of handheld measuring instruments also have a function of touch screen operation control. However, whether it is button operation control or touch screen operation control, its control methods are not intelligent and user-friendly, such as button operation and touch screen operation have certain complexity, making it difficult for some non-professional users to learn to use button operation and touch screen. Operation to control the meter, and because of the limitations of hardware requirements, the volume of some meters is difficult to truly meet the needs of the user's one-hand operation, these problems make the user's control of the meter is not convenient enough.
技术问题 technical problem
[0004] 有鉴于此 , 本发明提供了一种基于运动手势识别的测量仪控制方法及测量仪, 以解决现有技术中用户对测量仪控制不便的问题。 In view of this, the present invention provides a measuring method and a measuring instrument based on motion gesture recognition to solve the problem of inconvenience of the user in controlling the measuring instrument in the prior art.
问题的解决方案 Problem solution
技术解决方案 Technical solution
[0005] 第一方面, 提供了一种基于运动手势识别的测量仪控制方法, 包括: [0005] In a first aspect, a method for controlling a measuring instrument based on motion gesture recognition is provided, including:
[0006] 获取测量仪的运动数据, 并基于所述运动数据计算所述测量仪的运动轨迹, 所 述运动轨迹由用户在手持所述测量仪的同时做出运动手势而产生; Obtaining motion data of the measuring instrument, and calculating a motion trajectory of the measuring instrument based on the motion data, the motion trajectory being generated by a user making a motion gesture while holding the measuring instrument;
[0007] 判断所述运动轨迹类别, 并选择与所述运动轨迹类别对应的操作控制指令库, 所述操作控制指令库包括第一操作控制指令库及第二操作控制指令库;
[0008] 当所述运动轨迹类别为所述第一类运动轨迹时, 识别测量仪的前台应用, 并从 所述第一操作控制指令库中, 筛选出与所述运动轨迹及所述前台应用相匹配的 操作控制指令, 在所述前台应用中执行所述操作控制指令对应的任务操作;[0007] determining the motion track category, and selecting an operation control instruction library corresponding to the motion track category, the operation control instruction library comprising a first operation control instruction library and a second operation control instruction library; [0008] when the motion trajectory category is the first type of motion trajectory, identifying a foreground application of the measuring instrument, and filtering out the motion trajectory and the foreground application from the first operation control instruction library a matching operation control instruction, executing a task operation corresponding to the operation control instruction in the foreground application;
[0009] 当所述运动轨迹类别为所述第二类运动轨迹时, 从所述第二操作控制指令库中 , 筛选出与所述运动轨迹相匹配的所述操作控制指令, 并执行所述操作控制指 令对应的任务操作。 [0009] when the motion trajectory category is the second type of motion trajectory, extracting, from the second operation control instruction library, the operation control instruction that matches the motion trajectory, and executing the The task operation corresponding to the operation control instruction.
[0010] 第二方面, 提供了一种测量仪, 包括: [0010] In a second aspect, a measuring instrument is provided, including:
[0011] 获取单元, 用于获取测量仪的运动数据, 并基于所述运动数据计算所述测量仪 的运动轨迹, 所述运动轨迹由用户在手持所述测量仪的同时做出运动手势而产 生; [0011] an acquiring unit, configured to acquire motion data of the measuring instrument, and calculate a motion trajectory of the measuring instrument based on the motion data, where the motion trajectory is generated by a user making a motion gesture while holding the measuring instrument ;
[0012] 指令库选取单元, 用于判断所述运动轨迹类别, 并选择与所述运动轨迹类别对 应的操作控制指令库, 所述操作控制指令库包括第一操作控制指令库及第二操 作控制指令库; [0012] a command library selecting unit, configured to determine the motion track category, and select an operation control instruction library corresponding to the motion track category, the operation control instruction library includes a first operation control instruction library and a second operation control Instruction library
[0013] 第一任务执行单元, 用于当所述运动轨迹类别为所述第一类运动轨迹吋, 识别 测量仪的前台应用, 并从所述第一操作控制指令库中, 筛选出与所述运动轨迹 及所述前台应用相匹配的操作控制指令, 在所述前台应用中执行所述操作控制 指令对应的任务操作; a first task execution unit, configured to identify a foreground application of the measuring instrument when the motion trajectory category is the first type of motion trajectory, and select a target from the first operation control instruction library And the operation control instruction that matches the motion track and the foreground application, and performs a task operation corresponding to the operation control instruction in the foreground application;
[0014] 第二任务执行单元, 用于当所述运动轨迹类别为所述第二类运动轨迹吋, 从所 述第二操作控制指令库中, 筛选出与所述运动轨迹相匹配的所述操作控制指令 , 并执行所述操作控制指令对应的任务操作。 [0014] a second task execution unit, configured to: when the motion trajectory category is the second type of motion trajectory, select, from the second operation control instruction library, the matching with the motion trajectory The control command is operated, and the task operation corresponding to the operation control instruction is executed.
发明的有益效果 Advantageous effects of the invention
有益效果 Beneficial effect
[0015] 本发明提供了一种基于运动手势识别的测量仪控制方法及测量仪, 为测量仪的 控制使用提供了一种全新的方法。 在本发明中, 先对测量仪的运动数据进行釆 集, 并识别出用户在手持所述测量仪的同时做出运动手势时而产生运动轨迹, 并在根据运动数据类别选取出相应的操作控制指令库之后, 结合运动数据、 前 台应用及操作控制指令库确定最终的操作控制指令, 并执行与操作控制指令相 应的任务操作。
[0016] 通过智能识别用户通过运动手势操作测量仪时, 测量仪的运动轨迹及前台应用 , 并根据运动轨迹类型来选择操作控制指令库, 最后实现对测量仪的任务操作 的控制, 控制过程中用户只需简单的一些运动手势操作即可控制测量仪, 无需 进行任何按键操作或触屏操作, 使得用户对测量仪的控制变得简单易行。 [0015] The present invention provides a measuring method and a measuring instrument based on motion gesture recognition, which provides a completely new method for controlling the use of the measuring instrument. In the present invention, the motion data of the measuring instrument is first collected, and the motion track is generated when the user makes a motion gesture while holding the measuring instrument, and the corresponding operation control instruction is selected according to the motion data category. After the library, the final operation control instruction is determined in conjunction with the motion data, the foreground application, and the operation control instruction library, and the task operation corresponding to the operation control instruction is executed. [0016] By intelligently recognizing the user operating the measuring instrument through the motion gesture, the motion track of the measuring instrument and the foreground application, and selecting the operation control instruction library according to the motion track type, and finally realizing the control of the task operation of the measuring instrument, during the control process The user can control the meter with a few simple gestures, without any button operation or touch screen operation, making the user's control of the meter simple and easy.
对附图的简要说明 Brief description of the drawing
附图说明 DRAWINGS
[0017] 为了更清楚地说明本发明的实施例中的技术方案, 下面将对实施例或现有技术 描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动 性的前提下, 还可以根据这些附图获得其他的附图。 [0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
[0018] 图 1是本发明实施例 1中测量仪控制方法的一流程图; 1 is a flow chart of a method for controlling a measuring instrument in Embodiment 1 of the present invention;
[0019] 图 2是本发明实施例 2中测量仪控制方法的一流程图; 2 is a flow chart of a method for controlling a measuring instrument in Embodiment 2 of the present invention;
[0020] 图 3是本发明实施例 3中测量仪的一系统结构框图。 3 is a block diagram showing a system configuration of a measuring instrument in Embodiment 3 of the present invention.
发明实施例 Invention embodiment
本发明的实施方式 Embodiments of the invention
[0021] 以下描述中, 为了说明而不是为了限定, 提出了诸如特定系统结构、 技术之类 的具体细节, 以便透彻理解本发明。 然而, 本领域的技术人员应当清楚, 在没 有这些具体细节的其它实施例中也可以实现本发明。 在其它情况中, 省略对众 所周知的系统、 电路以及方法的详细说明, 以免不必要的细节妨碍本发明的描 述。 [0021] In the following description, for purposes of illustration and description However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the invention.
[0022] 本发明提供了一种基于运动手势识别的测量仪控制方法及测量仪, 该方法包括 : 获取测量仪的运动数据, 并基于所述运动数据计算所述测量仪的运动轨迹, 所述运动轨迹由用户在手持所述测量仪的同时做出运动手势而产生; 判断所述 运动轨迹类别, 并选择与所述运动轨迹类别对应的操作控制指令库, 所述操作 控制指令库包括第一操作控制指令库及第二操作控制指令库; 当所述运动轨迹 类别为所述第一类运动轨迹时, 识别测量仪的前台应用, 并从所述第一操作控 制指令库中, 筛选出与所述运动轨迹及所述前台应用相匹配的操作控制指令, 在所述前台应用中执行所述操作控制指令对应的任务操作; 当所述运动轨迹类
别为所述第二类运动轨迹时, 从所述第二操作控制指令库中, 筛选出与所述运 动轨迹相匹配的所述操作控制指令, 并执行所述操作控制指令对应的任务操作 。 该测量仪包括但不限于红外热像仪、 红外测温枪及环境检测仪等手持式的测 量仪器。 [0022] The present invention provides a measuring device control method and a measuring instrument based on motion gesture recognition, the method comprising: acquiring motion data of a measuring instrument, and calculating a motion trajectory of the measuring instrument based on the motion data, The motion trajectory is generated by the user making a motion gesture while holding the measuring instrument; determining the motion trajectory category, and selecting an operation control instruction library corresponding to the motion trajectory category, the operation control instruction library including the first An operation control instruction library and a second operation control instruction library; when the motion track category is the first type of motion track, identifying a foreground application of the measuring instrument, and filtering out from the first operation control instruction library The motion trajectory and the operation control instruction matched by the foreground application, performing a task operation corresponding to the operation control instruction in the foreground application; when the motion trajectory class When the second type of motion trajectory is not selected, the operation control instruction matching the motion trajectory is filtered out from the second operation control instruction library, and the task operation corresponding to the operation control instruction is executed. The meter includes, but is not limited to, a hand-held measuring instrument such as an infrared camera, an infrared thermometer, and an environmental detector.
[0023] 为了说明本发明所述的技术方案, 下面通过具体实施例来进行说明。 [0023] In order to explain the technical solution described in the present invention, the following description will be made by way of specific embodiments.
[0024] 图 1示出了本发明实施例一提供的测量仪控制方法的实现流程, 详述如下: [0025] 步骤 S101 , 获取测量仪的运动数据, 并基于所述运动数据计算所述测量仪的运 动轨迹, 所述运动轨迹由用户在手持所述测量仪的同时做出运动手势而产生。 1 shows an implementation flow of a measuring instrument control method according to Embodiment 1 of the present invention, which is described in detail as follows: [0025] Step S101: acquiring motion data of a measuring instrument, and calculating the measurement based on the motion data A motion trajectory of the instrument, which is generated by a user making a motion gesture while holding the meter.
[0026] 其中, 运动数据是指用户通过运动手势来操作控制测量仪时, 测量仪的运动数 据, 运动轨迹则是运动手势对应的轨迹。 常见的简单运动轨迹包括如上甩动、 下甩动、 左甩动和右甩动等, 常见较为复杂的运动数据包括如左上方甩动、 顺 吋针方向转圈及逆吋针方向转圈等, 这些运动轨迹都与用户的运动手势的轨迹 一一对应。 在本实施例中, 研发人员在测量仪中添加运动传感器模块, 使得测 量仪能够通过读取运动传感器模块釆集的运动数据, 来对运动轨迹进行计算识 另 |J, 从而实现用户通过运动手势识别对测量仪进行控制。 运动传感器是指具有 测量运动数据功能的传感器, 包括但不限于重力传感器、 加速度传感器、 陀螺 仪、 地磁传感器及磁力传感器等。 本实施例中, 在获取到测量仪的运动数据后 , 就幵始对运动数据进行分析识别, 以确定其对应的具体运动轨迹。 [0026] wherein, the motion data refers to the motion data of the measuring instrument when the user operates the measuring instrument through the motion gesture, and the motion trajectory is the trajectory corresponding to the motion gesture. Common simple motion trajectories include swaying, swaying, left swaying, and right swaying, etc. Commonly complex motion data include, for example, left upper twitching, squeaking direction, and reverse tweeling direction, etc. The motion trajectories all correspond one-to-one with the trajectory of the user's motion gesture. In this embodiment, the research and development personnel add a motion sensor module to the measuring instrument, so that the measuring instrument can calculate the motion trajectory by reading the motion data collected by the motion sensor module, thereby realizing the user through the motion gesture. Identify the meter for control. Motion sensors are sensors that have the ability to measure motion data, including but not limited to gravity sensors, accelerometers, gyroscopes, geomagnetic sensors, and magnetic sensors. In this embodiment, after the motion data of the measuring instrument is acquired, the motion data is analyzed and identified to determine the corresponding specific motion trajectory.
[0027] 本实施例中, 按照是否为测量仪正常测量使用吋的运动数据进行划分, 将运动 数据分为第一类运动轨迹和第二类运动轨迹。 其中第一类运动轨迹是指用户正 常使用测量仪吋的运动轨迹, 如上文中的上甩动、 下甩动、 左上方甩动和顺时 针方向转圈等, 用户通过这些第一类运动轨迹来控制正常使用测量仪吋的任务 操作, 如使用査看图像应用吋的可以采用左甩动来控制査看前一张图像, 右甩 动来控制查看后一张图像。 第二类运动轨迹则是指测量仪用户非正常使用测量 仪时的运动轨迹, 如用户在暂不使用测量仪并将测量仪放下时的放下, 测量仪 掉落时的下坠 (本发明中将测量仪掉落时也看做用户的一种运动手势, 并将对 应的运动轨迹据命名为下坠) , 这些运动轨迹不能控制测量仪正常工作吋的任 务操作, 却与测量仪正常测量使用息息相关, 且每个第二类运动轨迹都对应着
一个固定的非正常测量使用情景, 如上文中提到的下坠对应着测量仪掉落的情 m. [0027] In this embodiment, the motion data is divided into the first type of motion trajectory and the second type of motion trajectory according to whether the measurement data is normally measured using the motion data of the 吋. The first type of motion trajectory refers to the trajectory of the user's normal use of the measuring instrument, such as the upper swaying, the lower swaying, the upper left swaying and the clockwise circling, etc., and the user controls the normal through these first type of motion trajectories. Use the meter's task operation, such as using the View Image app, you can use the left pan to control the view of the previous image, and the right pan to control the view of the next image. The second type of motion trajectory refers to the movement trajectory when the measuring instrument user uses the measuring instrument abnormally. For example, when the user does not use the measuring instrument and puts down the measuring instrument, the falling of the measuring instrument when falling (the present invention will When the measuring instrument is dropped, it is also regarded as a kind of motion gesture of the user, and the corresponding motion track is named as falling. These motion trajectories cannot control the task operation of the measuring instrument in normal operation, but are closely related to the normal measurement and use of the measuring instrument. And each second type of motion trajectory corresponds to A fixed abnormal measurement use scenario, the fall mentioned above corresponds to the fall of the gauge.
[0028] 考虑到不同应用在用户使用运动手势控制测量仪时 , 运动轨迹对应任务操作设 置可能会发生冲突, 本实施例中, 在进行运动轨迹识别的同时, 还会识别用户 正在操作的前台应用, 以便后续能综合运动轨迹和前台应用来进行测量仪的控 制。 为了便于读者理解, 以将本发明应用到红外热像仪中为例来进行说明。 红 外热像仪是一种可以将物体发出的不可见红外能量转变为可见的热图像的测量 仪, 其同时具有红外图像和可见光图像的拍摄功能。 红外热像仪是分别釆用两 个摄像头拍摄的红外图像和可见光图象, 而实际情况中需要将两张图像融合为 一张热图像再进行分析, 因此需要将两种图像进行融合处理, 设置其融合距离 参数。 现有技术中设置融合距离参数的操作步骤一般为: [0028] Considering different applications, when the user uses the motion gesture to control the measuring instrument, the motion track corresponding task operation setting may collide. In this embodiment, while the motion track recognition is performed, the foreground application that the user is operating is also recognized. In order to be able to combine the motion trajectory and the foreground application for the control of the measuring instrument. For the convenience of the reader, the present invention is applied to an infrared camera as an example for explanation. The infrared camera is a measuring instrument that converts the invisible infrared energy emitted by an object into a visible thermal image. It also has the function of capturing infrared images and visible images. The infrared camera is an infrared image and a visible image captured by two cameras respectively. In actual situations, the two images need to be merged into one thermal image for analysis. Therefore, the two images need to be merged and set. It combines distance parameters. The operation steps of setting the fusion distance parameter in the prior art are generally as follows:
[0029] 1、 在图像融合应用中査看已初步融合的热图像。 [0029] 1. View the preliminary merged thermal image in an image fusion application.
[0030] 2、 打开菜单中的融合距离设置功能。 [0030] 2. Open the fusion distance setting function in the menu.
[0031] 3、 通过上下按键 (或其他按键) 调整融合距离参数大小。 [0031] 3. Adjust the size of the fusion distance parameter by using the up and down buttons (or other buttons).
[0032] 为了简化操作, 可以在进行步骤 1査看已初步融合的热图像时, 跳过步骤 2, 直 接通过简单的运动手势操作来进行融合距离参数大小调整, 但此时可能会出现 运动轨迹对应的任务操作设置冲突的情景, 如希望直接通过左甩动和右甩动来 实现融合距离参数大小调整的任务操作, 但在査看图像应用中, 左甩动和右甩 动已经被设置为了査看前一张和后一张图像的任务操作, 此吋两个运动数据对 应的任务操作设置就出现了冲突。 为了解决运动轨迹对应的任务操作设置冲突 的问题, 使得用户使用运动手势控制测量仪更加人性化, 本实施例在识别出运 动数据后, 还会识别出用户正在操作的前台应用, 以使得后续能结合具体操作 应用来确定运动数据最终对应的任务操作。 [0032] In order to simplify the operation, when step 1 is performed to view the hot image that has been initially merged, step 2 is skipped, and the fusion distance parameter is directly adjusted by a simple motion gesture operation, but motion trajectory may occur at this time. The corresponding task operation sets conflicting scenarios. For example, you want to implement the task of adjusting the distance parameter size directly by left and right flapping. However, in the viewing image application, the left and right flapping have been set to Viewing the task operations of the previous and next images, there is a conflict between the task operation settings corresponding to the two motion data. In order to solve the problem that the task operation setting conflict corresponding to the motion track is made, the user is more humanized by using the motion gesture control measuring instrument. After the motion data is recognized in this embodiment, the foreground application that the user is operating is also recognized, so that the subsequent can be The task operation corresponding to the final motion data is determined in conjunction with a specific operational application.
[0033] 作为将本发明应用在红外热像仪的图像融合度设置上的一个具体应用实施例, 其中, 将图像融合度预设为四个级别, 1至 4级别分别对应为 0<¾、 25%. 50%以 及 100%的图像融合度, 并将左甩动设置为向下一级别调整的图像融合度的任务 操作, 右甩动设置为向上一级别调整的图像融合度的任务操作, 具体实施步骤 如下:
[0034] 当前台应用为图像拍摄应用吋, 监测红外热像仪的运动轨迹。 本实施例中, 由 于图像拍摄应用属于数据测量应用, 当检测到前台应用为图像拍摄应用时, 红 外热像仪会自动开启运动手势控制模式, 并监测红外热像仪的运动轨迹。 [0033] As a specific application embodiment of applying the present invention to an image fusion degree setting of an infrared camera, wherein the image fusion degree is preset to four levels, and the levels 1 to 4 respectively correspond to 0<3⁄4, 25%. 50% and 100% image fusion degree, and the left flap is set to the task operation of the image blending degree adjusted to the next level, and the right flap is set to the task operation of the image blending degree adjusted to the next level, The specific implementation steps are as follows: [0034] The current station application is an image capturing application, and the motion trajectory of the infrared camera is monitored. In this embodiment, since the image capturing application belongs to the data measuring application, when detecting that the foreground application is an image capturing application, the infrared camera automatically turns on the motion gesture control mode and monitors the motion track of the infrared camera.
[0035] 实际情况中, 图像拍摄应用会设置一个图像融合度默认的级别, 如默认为 2级- 25%的图像融合度, 在进行图像拍摄时, 红外热像仪会默认使用该级别来进行图 像融合。 当用户修改级别时, 需要通过触屏或按键来设置调整, 操作较为麻烦 。 本实施例中, 为了方便用户的使用操作, 设置以运动手势操作代替传统的触 屏及按键操作。 [0035] In actual situations, the image capture application sets a default level of image fusion, such as the default of 2 to 25% image fusion, which is used by the thermal camera by default when performing image capture. Image fusion. When the user modifies the level, it is necessary to set the adjustment through the touch screen or the button, which is troublesome. In this embodiment, in order to facilitate the user's use operation, a conventional gesture and a button operation are replaced with a motion gesture operation.
[0036] 当运动轨迹为左甩动时, 将拍摄的图像融合度调整为当前图像融合度的下一级 别图像融合度。 本实施例中, 当监测到运动轨迹为左甩动, 对拍摄的图像融合 度向下一级别调整, 如当前图像融合度为默认的 2级时, 若监测到运动轨迹为左 甩动, 则将图像融合度调整为 3级 -50%的图像融合度。 [0036] When the motion trajectory is left twitch, the captured image fusion degree is adjusted to the next level image fusion degree of the current image fusion degree. In this embodiment, when the motion trajectory is detected as the left sway, the image fusion degree of the captured image is adjusted to the next level. For example, if the current image fusion degree is the default level 2, if the motion trajectory is detected as the left sway, then The image fusion degree is adjusted to a level of -50% image fusion degree.
[0037] 当运动轨迹为右甩动时, 将拍摄的图像融合度调整为当前图像融合度的上一级 别图像融合度。 当监测到运动轨迹为右甩动, 对拍摄的图像融合度向上一级别 调整, 如当前图像融合度为默认的 2级吋, 若监测到运动轨迹为右甩动, 则将图 像融合度调整为 1级 -0%的图像融合度。 [0037] When the motion trajectory is right twitch, the captured image fusion degree is adjusted to the upper level image fusion degree of the current image fusion degree. When the motion trajectory is detected as right sway, the degree of fusion of the captured image is adjusted upwards, for example, the current image fusion degree is the default level 2 吋, and if the motion trajectory is detected as right twitch, the image fusion degree is adjusted to Level 1 - 0% image fusion.
[0038] 步骤 S102, 判断所述运动轨迹类别, 并选择与所述运动轨迹类别对应的操作控 制指令库, 所述操作控制指令库包括第一操作控制指令库及第二操作控制指令 库。 [0038] Step S102: Determine the motion track category, and select an operation control instruction library corresponding to the motion track category, where the operation control instruction library includes a first operation control instruction library and a second operation control instruction library.
[0039] 本实施例中, 操作控制指令库由第一操作控制指令库和第二操作控制指令库两 部分组成, 其中第一操作控制指令库存储着与第一类运动轨迹所有相关的操作 控制指令, 以及第一类运动轨迹和应用与操作控制指令的关联关系列表。 由上 文可知, 运动轨迹分为第一类运动轨迹和第二类运动轨迹, 每个第二类运动轨 迹固定对应着一个非正常测量使用情景, 本实施例中将每个第二类运动轨迹操 作控制指令的对应关系唯一化, 即每个第二类运动轨迹对应操作控制指令不会 随着前台应用的改变而变化, 并将这个关联关系列表和这些操作控制指令存储 在第二操作控制指令库中。 由于第一类运动轨迹必定与第一操作控制指令库相 对应, 而第二类运动轨迹必定与第二操作控制指令库相对应, 所以在步骤 S102
中, 直接根据运动轨迹即可确定选择相应的操作控制指令库。 [0039] In this embodiment, the operation control instruction library is composed of a first operation control instruction library and a second operation control instruction library, wherein the first operation control instruction library stores all operation control related to the first type of motion track. The instruction, and a list of the relationship between the first type of motion trajectory and the application and operational control instructions. It can be seen from the above that the motion trajectory is divided into a first type of motion trajectory and a second type of motion trajectory, and each of the second type of motion trajectories is fixedly corresponding to an abnormal measurement use situation. In this embodiment, each second type of motion trajectory is used. The correspondence between the operation control instructions is unique, that is, each second type of motion track corresponding operation control instruction does not change with the change of the foreground application, and the relationship list and the operation control instructions are stored in the second operation control instruction. In the library. Since the first type of motion trajectory necessarily corresponds to the first operation control instruction library, and the second type of motion trajectory necessarily corresponds to the second operation control instruction library, in step S102 In the middle, the corresponding operation control instruction library can be determined according to the motion track.
[0040] 步骤 S103 , 当所述运动轨迹类别为所述第一类运动轨迹吋, 识别测量仪的前台 应用, 并从所述第一操作控制指令库中, 筛选出与所述运动轨迹及所述前台应 用相匹配的操作控制指令, 在所述前台应用中执行所述操作控制指令对应的任 务操作。 [0040] Step S103, when the motion track category is the first type of motion track, identifying a foreground application of the measuring instrument, and filtering out the motion track and the track from the first operation control instruction library. The foreground application matches the operation control instruction, and the task operation corresponding to the operation control instruction is executed in the foreground application.
[0041] 由上文可知, 当运动轨迹为第一类运动轨迹吋, 其对应的操作控制指令, 还需 要根据前台应用及关联关系列表来综合确定。 例如: 已经设置好了在査看图像 应用中, 左甩动对应查看前一张图像指令, 査看前一张图像指令对应査看前一 张图像的任务操作。 当识别出运动数据为左甩动, 且前台应用为査看图像应用 吋, 在步骤 S103中, 便可确定相应的操作控制指令为査看前一张图像指令, 并 执行査看前一张图像的任务操作。 [0041] It can be seen from the above that when the motion trajectory is the first type of motion trajectory, the corresponding operation control instruction needs to be comprehensively determined according to the foreground application and the association relationship list. For example: In the view image application, the left click corresponds to the previous image command, and the previous image command corresponds to the task operation of viewing the previous image. When it is recognized that the motion data is left-handed, and the foreground application is to view the image application, in step S103, the corresponding operation control instruction may be determined to view the previous image instruction, and the previous image is viewed. Task operation.
[0042] 步骤 S104, 当所述运动轨迹类别为所述第二类运动轨迹吋, 从所述第二操作控 制指令库中, 筛选出与所述运动轨迹相匹配的所述操作控制指令, 并执行所述 操作控制指令对应的任务操作。 [0042] Step S104, when the motion trajectory category is the second type of motion track 吋, the operation control instruction matching the motion trajectory is filtered out from the second operation control instruction library, and Performing a task operation corresponding to the operation control instruction.
[0043] 由上文可知, 第二类运动轨迹对应操作控制指令不会随着前台应用的改变而变 化, 即与操作控制指令的对应关系是唯一固定的, 所以在步骤 S104中, 当运动 数据为第二类运动轨迹时, 只需要根据第二操作控制指令库中, 第二类运动轨 迹与操作控制指令的对应关系, 来确定相应的操作控制指令即可。 [0043] It can be seen from the above that the second type of motion track corresponding operation control instruction does not change with the change of the foreground application, that is, the correspondence relationship with the operation control instruction is uniquely fixed, so in step S104, when the motion data is For the second type of motion trajectory, it is only necessary to determine the corresponding operation control instruction according to the correspondence relationship between the second type of motion trajectory and the operation control instruction in the second operation control instruction library.
[0044] 作为本发明的一个具体实施例, 在步骤 S101之前, 还包括: [0044] As a specific embodiment of the present invention, before step S101, the method further includes:
[0045] 监测运动手势控制功能是否被触发; 若运动手势控制功能被触发, 则进入运动 手势控制模式。 在本实施例中, 运动手势识别控制仅作为测量仪控制可选的控 制方式之一, 一般情况下默认不开启该控制方式, 当用户需要开启运动手势识 别控制吋, 只需要触发相应的运动手势控制功能, 此吋测量仪会进入运动手势 控制模式, 用户可通过运动手势对测量仪进行控制。 需要说明的是, 运动手势 控制按键既可为物理按键形式存在, 也可作为测量仪的操作系统中一个功能模 块形式的存在。 [0045] monitoring whether the motion gesture control function is triggered; if the motion gesture control function is triggered, entering the motion gesture control mode. In this embodiment, the motion gesture recognition control is only one of the control modes that can be controlled by the measuring instrument. Generally, the control mode is not turned on by default. When the user needs to turn on the motion gesture recognition control, only the corresponding motion gesture needs to be triggered. Control function, the 吋 measuring instrument will enter the motion gesture control mode, and the user can control the measuring instrument through the motion gesture. It should be noted that the motion gesture control button can exist either in the form of a physical button or as a function module in the operating system of the meter.
[0046] 作为本发明的一个另具体实施例, 在步骤 S101之前, 还包括: [0046] As a further embodiment of the present invention, before step S101, the method further includes:
[0047] 步骤 S201 , 接收用户输入的应用选择指令, 根据所述应用选择指令选择需要设
置的应用, 并显示所述应用对应的运动轨迹设置界面。 [0047] step S201, receiving an application selection instruction input by the user, and selecting, according to the application selection instruction, setting Set the application, and display the corresponding motion track setting interface of the application.
[0048] 本实施例中, 用户可以对每个应用下, 第一类运动轨迹和与操作控制指令的关 联关系进行修改设置。 对关联关系进行修改设置时的第一步骤 S201 , 用户先选 择好想要修改的应用, 此时测量仪操作系统会弹出这个应用对应的运动轨迹设 置界面, 用户根据这个运动轨迹设置界面, 选择应用中想要修改关联关系的第 一运动轨迹。 [0048] In this embodiment, the user can modify and set the relationship between the first type of motion track and the operation control instruction for each application. In the first step S201 when the association relationship is modified, the user first selects the application to be modified, and the measuring instrument operating system pops up the motion track setting interface corresponding to the application, and the user sets the interface according to the motion track, and selects the application. I want to modify the first motion trajectory of the association.
[0049] 在实际情况中, 技术人员会预设一个默认的第一类运动轨迹和应用与操作控制 指令的关联关系列表, 以保证用户即使不进行任何设置操作也能直接使用运动 手势来控制测量仪。 由于不同的用户可能存在不同的运动手势习惯, 如有些用 户喜欢左甩动来査看前一张图像, 而有些用户喜欢右甩来査看前一张图像。 为 了尽可能地满足不同用户的运动手势习惯, 在本实施例中, 用户可以自由修改 设置第一操作控制指令库中, 第一类运动轨迹和前台应用与操作控制指令的对 应关系。 用户既可以将运动手势设置为代替常规的按键, 如将用户的运动手势 对应的测量仪第一类运动轨迹中, 左甩动设置对应向左的按键操作, 当第一类 运动轨迹左甩动时, 相当于按下了向左的按键, 也可以运动手势设置为快捷键 功能, 如将用户的运动手势对应的测量仪第一类运动轨迹中, 左上方甩动设置 对应快捷进入査看图像应用, 当第一类运动轨迹为左上方甩动吋, 会直接打开 进入査看图像应用之中。 [0049] In the actual situation, the technician presets a default first type of motion track and a list of associations between the application and the operation control instruction to ensure that the user can directly use the motion gesture to control the measurement even without performing any setting operation. instrument. Since different users may have different motion gestures, for example, some users prefer to move left to view the previous image, while others prefer to view the previous image. In order to satisfy the motion gesture habits of different users as much as possible, in this embodiment, the user can freely modify the correspondence between the first type of motion track and the foreground application and the operation control instruction in the first operation control instruction library. The user can set the motion gesture to replace the conventional button, such as the first type of motion trajectory of the measuring instrument corresponding to the user's motion gesture, and the left sway setting corresponding to the left button operation, when the first type of motion trajectory is left-handed When the button is pressed to the left, the motion gesture can also be set as a shortcut key function, such as the first type of motion track of the measuring instrument corresponding to the user's motion gesture, and the top left tilt setting corresponds to the quick access to the view image. Application, when the first type of motion track is the top left, it will open directly into the view image application.
[0050] 步骤 S202, 接收用户在所述运动轨迹设置界面输入的运动轨迹设置指令, 根据 所述运动轨迹设置指令确定需要设置的所述第一类运动轨迹, 并显示所述第一 类运动轨迹相应的操作控制指令设置界面。 [0050] step S202, receiving a motion track setting instruction input by the user on the motion track setting interface, determining the first type of motion track to be set according to the motion track setting instruction, and displaying the first type of motion track The corresponding operation control instruction setting interface.
[0051] 用户在运动轨迹设置界面选择好相应修改的第一类运动轨迹后, 测量仪操作系 统会自动弹出该第一类运动轨迹对应的操作控制指令设置界面。 [0051] After the user selects the corresponding modified first motion track in the motion track setting interface, the measuring instrument operating system automatically pops up the operation control instruction setting interface corresponding to the first type of motion track.
[0052] 步骤 S203 , 接收用户在所述操作控制指令设置界面输入的操作控制设置指令, 并根据所述操作控制设置指令, 在所述应用中设置所述运动轨迹与所述操作控 制指令的关联关系。 [0052] step S203, receiving an operation control setting instruction input by the user on the operation control instruction setting interface, and setting an association between the motion track and the operation control instruction in the application according to the operation control setting instruction. relationship.
[0053] 由于第二类运动轨迹与测量仪正常测量使用息息相关, 每个第二类运动轨迹都 对应着一个固定的非正常测量使用情景, 并与该非正常测量使用情景的操作控
制指令固定对应, 如下坠是在测量仪掉落时才会产生的, 固定对应着关机指令 , 因此, 正常情况下, 用户不需要对第二操作控制指令库内的信息进行任何设 置, 所以本实施例中仅包括对第一操作控制指令库中关联关系进行设置的功能 。 应当理解地, 虽然正常情况下, 用户不需要对第二操作控制指令库内的信息 进行任何设置, 但并不意味着不能将设置第二操作控制指令库的功能加入本实 施例中, 具体可由技术人员根据实际情况选择是否需要加入该功能。 [0053] Since the second type of motion trajectory is closely related to the normal measurement use of the measuring instrument, each of the second type of motion trajectories corresponds to a fixed abnormal measurement use scenario, and is operated with the abnormal measurement use scenario. The command is fixed, and the following is generated when the meter is dropped. It is fixed corresponding to the shutdown command. Therefore, under normal circumstances, the user does not need to set any information in the second operation control command library. Only the function of setting the association relationship in the first operation control instruction library is included in the embodiment. It should be understood that, although the user does not need to perform any setting on the information in the second operation control instruction library under normal circumstances, it does not mean that the function of setting the second operation control instruction library cannot be added to the embodiment, specifically The technician selects whether to join the function according to the actual situation.
[0054] 作为本发明的一个另具体实施例, 在步骤 S101之前, 还包括: [0054] As a further embodiment of the present invention, before step S101, the method further includes:
[0055] 识别所述前台应用是否为数据测量应用。 本实施例中, 将测量仪操作系统中的 应用分为数据測量应用和非数据測量应用两大类。 其中, 数据测量应用是指测 量仪在进行数据测量时所使用的应用, 如红外热像仪中, 可以进行红外图像和 可见光图像釆集的应用。 [0055] identifying whether the foreground application is a data measurement application. In this embodiment, the applications in the operating system of the measuring instrument are divided into two categories: data measurement application and non-data measurement application. Among them, the data measurement application refers to the application used by the measuring instrument for data measurement, such as infrared imager, which can be used for infrared image and visible image collection.
[0056] 若所述前台应用为所述数据测量应用, 所述测量仪幵启运动手势控制模式。 在 本实施例中, 测量仪会实时监测用户操作的前台应用, 并在前台应用为数据测 量应用时, 自动开启运动手势控制模式, 并进行运动数据的采集。 本实施例中 , 用户在使用数据测量应用时, 无需进行任何模式切换或开启操作, 便可使用 运动手势来控制测量仪, 为用户提供了极大的便利。 [0056] If the foreground application is the data measurement application, the meter activates a motion gesture control mode. In this embodiment, the meter monitors the foreground application of the user operation in real time, and automatically activates the motion gesture control mode and collects the motion data when the foreground application is a data measurement application. In this embodiment, when the user uses the data measurement application, the motion gesture can be used to control the measuring instrument without any mode switching or opening operation, which provides great convenience for the user.
[0057] 应当理解地, 本实施例中, 虽然选用了数据测量应用作为运动手势控制模式自 动开启的应用程序, 但并不意味着只能使用数据测量应用来自动开启运动手势 控制模式。 技术人员可根据实际需求, 对运动手势控制模式自动开启对应的应 用程序进行选择。 例如: 可以选择数据测量应用 +査看图像应用来作为运动手势 控制模式自动开启的应用程序, 此时, 测量仪当监测到用户操作的前台应用是 数据测量应用或査看图像应用吋, 都会自动开启运动手势控制模式, 并根据运 动传感器采集到的运动数据控制任务操作。 [0057] It should be understood that, in this embodiment, although the data measurement application is selected as the application that is automatically turned on in the motion gesture control mode, it does not mean that the motion measurement control mode can be automatically turned on only by using the data measurement application. The technician can automatically select the corresponding application program for the motion gesture control mode according to actual needs. For example: You can select the data measurement application + view image application as the application that is automatically turned on in the motion gesture control mode. At this time, the meter automatically detects when the foreground application that the user operates is the data measurement application or the image application. The motion gesture control mode is turned on, and the task operation is controlled according to the motion data collected by the motion sensor.
[0058] 作为步骤 S103的一个优选具体实施例, 在所述测量仪为红外热像仪时, 还包括 [0058] As a preferred embodiment of step S103, when the measuring instrument is an infrared camera, the method further includes
[0059] 所述第一类运动轨迹包括上甩动、 下甩动、 左甩动、 右甩动、 左上方甩动、 顺 吋针方向转圏及逆吋针方向转圏。 [0059] The first type of motion trajectory includes upper swaying, lower swaying, left swaying, right swaying, upper left swaying, squeezing direction, and reverse squeezing direction.
[0060] 当前台应用为査看图像应用, 且所述运动轨迹为所述向左甩动吋, 选取所述第
一操作控制指令库中切换上一张图像指令为所述操作控制指令。 [0060] The current station application is a viewing image application, and the motion trajectory is the left 甩 吋, the selected The switching of the previous image instruction in an operation control instruction library is the operation control instruction.
[0061] 当前台应用为査看图像应用, 且所述运动轨迹为所述右甩动时, 选取所述第一 操作控制指令库中切换下一张图像指令为所述操作控制指令。 [0061] When the current application is a viewing image application, and the motion trajectory is the right sway, the first image control instruction library is selected to switch the next image instruction to the operation control instruction.
[0062] 当前台应用为图像融合应用, 且所述运动轨迹为所述向左甩动时, 选取所述第 一操作控制指令库中减小融合距离参数指令为所述操作控制指令。 [0062] The current station application is an image fusion application, and when the motion trajectory is the left tilting, the reducing the fusion distance parameter instruction in the first operation control instruction library is selected as the operation control instruction.
[0063] 当前台应用为图像融合应用, 且所述运动轨迹为所述右甩动吋, 选取所述第一 操作控制指令库中增大融合距离参数指令为所述操作控制指令。 [0063] The current station application is an image fusion application, and the motion trajectory is the right motion 吋, and the step of increasing the fusion distance parameter in the first operation control instruction library is selected as the operation control instruction.
[0064] 作为步骤 S103的另一个优选具体实施例, 还包括: [0064] As another preferred embodiment of step S103, the method further includes:
[0065] 所述第二类运动轨迹包括放下、 拿起及下坠。 [0065] The second type of motion trajectory includes dropping, picking up, and falling.
[0066] 当所述运动数据为所述放下吋, 选取所述第二操作控制指令库中的待机指令作 为所述操作控制指令。 在本实施例中, 放下对应着将测量仪放下的情景, 此时 用户暂时不使用测量仪, 为了减少测量仪的电池能量损耗, 优选地将放下固定 对应待机指令, 使得将测量仪被用户放下的同时, 能进入待机状态。 And [0066] when the motion data is the dropout, selecting a standby instruction in the second operation control instruction library as the operation control instruction. In this embodiment, the scene corresponding to the placement of the measuring instrument is lowered, and the user temporarily does not use the measuring instrument. In order to reduce the battery energy loss of the measuring instrument, the fixed corresponding standby instruction is preferably lowered, so that the measuring instrument is lowered by the user. At the same time, it can enter the standby state.
[0067] 当所述运动数据为所述拿起吋, 选取所述第二操作控制指令库中的唤醒指令作 为所述操作控制指令。 与放下相对应的, 拿起对应着用户将测量仪拿起的情景 , 此时用户需要使用测量仪, 即需要测量仪进入工作状态, 因此本实施例中, 优选地将拿起固定对应唤醒指令, 以使得测量仪被用户拿起的吋候, 能同吋被 唤醒进入工作状态。 And [0067] when the motion data is the pick-up, selecting a wake-up instruction in the second operation control instruction library as the operation control instruction. Corresponding to the drop, pick up the scene corresponding to the user picking up the meter. At this time, the user needs to use the meter, that is, the meter needs to be in the working state. Therefore, in this embodiment, it is preferable to pick up and fix the corresponding wake-up command. In order to make the meter pick up by the user, it can be awakened to work.
[0068] 当所述运动数据为所述下坠吋, 选取所述第二操作控制指令库中的关机指令作 为所述操作控制指令。 下坠对应着测量仪掉落的情景, 为了保护测量仪的数据 安全, 优选地将下坠固定对应关机指令, 使得在测量仪掉落的吋候能及时关机 , 以防丢失测量仪的数据。 [0068] when the motion data is the falling 吋, selecting a shutdown command in the second operation control instruction library as the operation control instruction. The falling device corresponds to the falling of the measuring instrument. In order to protect the data safety of the measuring instrument, it is preferable to fix the corresponding shutdown command in the falling state, so that the meter can be shut down in time when the measuring instrument is dropped, in order to prevent the data of the measuring instrument from being lost.
[0069] 对应于上文实施例所述的测量仪控制方法, 图 3示出了本发明实施例 3提供的测 量仪的系统结构框图。 [0069] Corresponding to the measuring instrument control method described in the above embodiment, FIG. 3 is a block diagram showing the system configuration of the measuring instrument provided in Embodiment 3 of the present invention.
[0070] 参照图 3 , 该测量仪包括: [0070] Referring to FIG. 3, the meter includes:
[0071] 获取单元 31, 用于获取测量仪的运动数据, 并基于所述运动数据计算所述测量 仪的运动轨迹, 所述运动轨迹由用户在手持所述测量仪的同吋做出运动手势而 产生。
[0072] 指令库选取单元 32 , 用于判断所述运动轨迹类别, 并选择与所述运动轨迹类别 对应的操作控制指令库, 所述操作控制指令库包括第一操作控制指令库及第二 操作控制指令库。 [0071] an obtaining unit 31, configured to acquire motion data of the measuring instrument, and calculate a motion trajectory of the measuring instrument based on the motion data, where the motion trajectory is performed by a user at a peer holding the measuring instrument to perform a motion gesture And produced. [0072] a command library selecting unit 32, configured to determine the motion track category, and select an operation control instruction library corresponding to the motion track category, the operation control instruction library includes a first operation control instruction library and a second operation Control instruction library.
[0073] 第一任务执行单元 33 , 用于当所述运动轨迹类别为所述第一类运动轨迹时, 识 别测量仪的前台应用, 并从所述第一操作控制指令库中, 筛选出与所述运动轨 迹及所述前台应用相匹配的操作控制指令, 在所述前台应用中执行所述操作控 制指令对应的任务操作。 [0073] a first task execution unit 33, configured to identify a foreground application of the measuring instrument when the motion trajectory category is the first type of motion trajectory, and filter out from the first operation control instruction library The motion trajectory and the operation control instruction matched by the foreground application perform a task operation corresponding to the operation control instruction in the foreground application.
[0074] 第二任务执行单元 34, 用于当所述运动轨迹类别为所述第二类运动轨迹时, 从 所述第二操作控制指令库中, 筛选出与所述运动轨迹相匹配的所述操作控制指 令, 并执行所述操作控制指令对应的任务操作。 [0074] The second task execution unit 34 is configured to: when the motion track category is the second type of motion track, select, from the second operation control instruction library, a device that matches the motion track The operation control instruction is executed, and the task operation corresponding to the operation control instruction is executed.
[0075] 进一步地, 获取单元 31之前, 还包括: [0075] Further, before acquiring the unit 31, the method further includes:
[0076] 第一接收单元, 用于接收用户输入的应用选择指令, 根据所述应用选择指令选 择需要设置的应用, 并显示所述应用对应的运动轨迹设置界面。 [0076] The first receiving unit is configured to receive an application selection instruction input by the user, select an application to be set according to the application selection instruction, and display a motion track setting interface corresponding to the application.
[0077] 第二接收单元, 用于接收用户在所述运动轨迹设置界面输入的运动轨迹设置指 令, 根据所述运动轨迹设置指令确定需要设置的所述第一类运动轨迹, 并显示 所述第一类运动轨迹相应的操作控制指令设置界面。 [0077] a second receiving unit, configured to receive a motion track setting instruction input by the user on the motion track setting interface, determine the first type of motion track to be set according to the motion track setting instruction, and display the first A type of motion track corresponding operation control instruction setting interface.
[0078] 关联设置单元, 用于接收用户在所述操作控制指令设置界面输入的操作控制设 置指令, 并根据所述操作控制设置指令, 在所述应用中设置所述运动轨迹与所 述操作控制指令的关联关系。 [0078] an association setting unit, configured to receive an operation control setting instruction input by the user at the operation control instruction setting interface, and set the motion trajectory and the operation control in the application according to the operation control setting instruction The association of the instructions.
[0079] 进一步地, 获取单元 31之前, 还包括: [0079] Further, before the obtaining unit 31, the method further includes:
[0080] 应用判断单元, 用于识别所述前台应用是否为数据测量应用。 [0080] The application determining unit is configured to identify whether the foreground application is a data measurement application.
[0081] 模式开启单元, 用于若所述前台应用为所述数据测量应用, 所述测量仪开启运 动手势控制模式。 And [0081] a mode on unit, configured to: when the foreground application is the data measurement application, the meter starts a motion gesture control mode.
[0082] 进一步地, 第一任务执行单元 33 , 在所述测量仪为红外热像仪时, 包括: [0083] 所述第一类运动轨迹包括上甩动、 下甩动、 左甩动、 右甩动、 左上方甩动、 顺 吋针方向转圈及逆吋针方向转圈。 [0082] Further, the first task execution unit 33, when the measuring instrument is an infrared camera, comprises: [0083] the first type of motion track includes upper swing, lower tilt, left tilt, Right twirling, top left twirling, slewing direction and circular direction.
[0084] 第一指令选择单元, 用于当前台应用为査看图像应用, 且所述运动轨迹为所述 向左甩动时, 选取所述第一操作控制指令库中切换上一张图像指令为所述操作
控制指令。 [0084] a first instruction selecting unit, configured to: when the current station application is a viewing image application, and the motion track is the left tilting, select the first image control instruction library to switch the previous image instruction For the operation Control instruction.
[0085] 第二指令选择单元, 用于当前台应用为查看图像应用, 且所述运动轨迹为所述 右甩动时, 选取所述第一操作控制指令库中切换下一张图像指令为所述操作控 制指令。 [0085] a second instruction selecting unit, configured to: when the current station application is a viewing image application, and the motion trajectory is the right swaying, select the first operation control instruction library to switch the next image instruction to the The operation control instructions.
[0086] 第三指令选择单元, 用于当前台应用为图像融合应用, 且所述运动轨迹为所述 向左甩动时, 选取所述第一操作控制指令库中减小融合距离参数指令为所述操 作控制指令。 [0086] a third instruction selecting unit, configured to: when the current station application is an image fusion application, and the motion track is the left tilting, select the instruction to reduce the fusion distance parameter in the first operation control instruction library as The operation control instruction.
[0087] 第四指令选择单元, 用于当前台应用为图像融合应用, 且所述运动轨迹为所述 右甩动时, 选取所述第一操作控制指令库中增大融合距离参数指令为所述操作 控制指令。 [0087] a fourth instruction selecting unit, configured to: when the current station application is an image fusion application, and the motion trajectory is the right sway, selecting the instruction to increase the fused distance parameter in the first operation control instruction library is The operation control instructions.
[0088] 进一步地, 第二任务执行单元 34 , 还包括: [0088] Further, the second task execution unit 3 4 further includes:
[0089] 所述第二类运动轨迹包括放下、 拿起及下坠。 [0089] The second type of motion trajectory includes dropping, picking up, and falling.
[0090] 所述特殊运动数据包括放下、 拿起及下坠。 [0090] The special motion data includes dropping, picking up, and falling.
[0091] 第五指令选择单元, 用于当所述运动数据为所述放下时, 选取所述第二操作控 制指令库中的待机指令作为所述操作控制指令。 And a fifth instruction selecting unit, configured to: when the motion data is the down, select a standby instruction in the second operation control instruction library as the operation control instruction.
[0092] 第六指令选择单元, 用于当所述运动数据为所述拿起时, 选取所述第二操作控 制指令库中的唤醒指令作为所述操作控制指令。 And a sixth instruction selecting unit, configured to: when the motion data is the pick-up, select a wake-up instruction in the second operation control instruction library as the operation control instruction.
[0093] 第七指令选择单元, 用于当所述运动数据为所述下坠时, 选取所述第二操作控 制指令库中的关机指令作为所述操作控制指令。 And a seventh instruction selecting unit, configured to: when the motion data is the falling, select a shutdown command in the second operation control instruction library as the operation control instruction.
[0094] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现 。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设 计约束条件。 专业技术人员可以对每个特定应用来使用不同方法来实现所描述 的功能, 但是这种实现不应认为超出本发明的范围。 应理解, 上述实施例中各 步骤的序号的大小并不意味着执行顺序的先后, 各过程的执行顺序应以其功能 和内在逻辑确定, 而不应对本发明实施例的实施过程构成任何限定。 [0094] Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention. It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention.
[0095] 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述的系 统、 系统和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在
此不再赘述。 [0095] It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, the specific working processes of the systems, systems and units described above may be referred to the corresponding processes in the foregoing method embodiments. This will not be repeated here.
[0096] 在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 系统和方法, 可以通过其它的方式实现。 例如, 以上所描述的系统实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的 划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些 特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦 合或通信连接可以是通过一些接口, 系统或单元的间接耦合或通信连接, 可以 是电性, 机械或其它的形式。 [0096] In the several embodiments provided by the present application, it should be understood that the disclosed systems, systems, and methods may be implemented in other manners. For example, the system embodiment described above is only illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, system or unit, and may be in electrical, mechanical or other form.
[0097] 所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。 [0097] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple networks. On the unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
[0098] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0099] 所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时, 可 以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案 本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产 品的形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令 用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 执 行本发明各个实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘 、 移动硬盘、 只读存储器 (ROM , Read-Only Memory) 、 随机存取存储器 (RAM , Random Access Memory)、 磁碟或者光盘等各种可以存储程序代码的介质。 [0099] The functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, a random access memory), a magnetic disk, or an optical disk, and the like, which can store program code. .
[0100] 以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各 实施例技术方案的精神和范围, 均应包含在本发明的保护范围之内。
The embodiments described above are only intended to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. It should be included in the scope of protection of the present invention.
Claims
[权利要求 1] 一种基于运动手势识别的测量仪控制方法, 其特征在于, 包括: 获取测量仪的运动数据, 并基于所述运动数据计算所述测量仪的运动 轨迹, 所述运动轨迹由用户在手持所述测量仪的同时做出运动手势而 产生; [Claim 1] A method for controlling a measuring instrument based on motion gesture recognition, comprising: acquiring motion data of a measuring instrument, and calculating a motion trajectory of the measuring instrument based on the motion data, wherein the motion trajectory is The user generates a motion gesture while holding the meter;
判断所述运动轨迹类别, 并选择与所述运动轨迹类别对应的操作控制 指令库, 所述操作控制指令库包括第一操作控制指令库及第二操作控 制指令库; Determining the motion trajectory category, and selecting an operation control instruction library corresponding to the motion trajectory category, the operation control instruction library comprising a first operation control instruction library and a second operation control instruction library;
当所述运动轨迹类别为所述第一类运动轨迹时, 识别测量仪的前台应 用, 并从所述第一操作控制指令库中, 筛选出与所述运动轨迹及所述 前台应用相匹配的操作控制指令 , 在所述前台应用中执行所述操作控 制指令对应的任务操作; Identifying a foreground application of the meter when the motion trajectory category is the first type of motion trajectory, and filtering out the motion trajectory and the foreground application from the first operation control instruction library Operating a control instruction to execute a task operation corresponding to the operation control instruction in the foreground application;
当所述运动轨迹类别为所述第二类运动轨迹时, 从所述第二操作控制 指令库中, 筛选出与所述运动轨迹相匹配的所述操作控制指令, 并执 行所述操作控制指令对应的任务操作。 When the motion trajectory category is the second type of motion trajectory, extracting, from the second operation control instruction library, the operation control instruction that matches the motion trajectory, and executing the operation control instruction The corresponding task operation.
[权利要求 2] 如权利要求 1所述方法, 其特征在于, 所述获取测量仪的运动数据之 前, 还包括: [Claim 2] The method according to claim 1, wherein before the obtaining the motion data of the measuring instrument, the method further comprises:
接收用户输入的应用选择指令, 根据所述应用选择指令选择需要设置 的应用, 并显示所述应用对应的运动轨迹设置界面; Receiving an application selection instruction input by the user, selecting an application to be set according to the application selection instruction, and displaying a motion track setting interface corresponding to the application;
接收用户在所述运动轨迹设置界面输入的运动轨迹设置指令, 根据所 述运动轨迹设置指令确定需要设置的所述第一类运动轨迹, 并显示所 述第一类运动轨迹相应的操作控制指令设置界面; 接收用户在所述操作控制指令设置界面输入的操作控制设置指令, 并 根据所述操作控制设置指令, 在所述应用中设置所述运动轨迹与所述 操作控制指令的关联关系。 Receiving a motion track setting instruction input by the user at the motion track setting interface, determining the first type of motion track to be set according to the motion track setting instruction, and displaying an operation control instruction setting corresponding to the first type motion track And receiving an operation control setting instruction input by the user on the operation control instruction setting interface, and setting an association relationship between the motion track and the operation control instruction in the application according to the operation control setting instruction.
[权利要求 3] 如权利要求 1所述方法, 其特征在于, 所述获取测量仪的运动数据, 并基于所述运动数据计算所述测量仪的运动轨迹之前, 还包括: 识别所述前台应用是否为数据测量应用;
若所述前台应用为所述数据测量应用, 所述测量仪开启运动手势控制 模式。 [Claim 3] The method according to claim 1, wherein the acquiring the motion data of the measuring instrument and calculating the motion trajectory of the measuring instrument based on the motion data further comprises: identifying the foreground application Whether it is a data measurement application; If the foreground application is the data measurement application, the meter turns on the motion gesture control mode.
[权利要求 4] 如权利要求 1所述方法, 其特征在于, 所述当所述运动轨迹类别为所 述第一类运动轨迹时, 识别测量仪的前台应用, 并从所述第一操作控 制指令库中, 筛选出与所述运动轨迹及所述前台应用相匹配的操作控 制指令, 在所述前台应用中执行所述操作控制指令对应的任务操作, 在所述测量仪为红外热像仪吋, 包括: [Claim 4] The method according to claim 1, wherein when the motion trajectory category is the first type of motion trajectory, the foreground application of the measuring instrument is identified, and is controlled from the first operation In the instruction library, an operation control instruction matching the motion track and the foreground application is filtered, and a task operation corresponding to the operation control instruction is performed in the foreground application, where the measuring instrument is an infrared camera吋, including:
所述第一类运动轨迹包括上甩动、 下甩动、 左甩动、 右甩动、 左上方 甩动、 顺时针方向转圈及逆时针方向转圈; The first type of motion trajectory includes upper swaying, lower swaying, left swaying, right swaying, upper left swaying, clockwise circling, and counterclockwise circling;
当前台应用为査看图像应用, 且所述运动轨迹为所述左甩动时, 选取 所述第一操作控制指令库中切换上一张图像指令为所述操作控制指令 当前台应用为査看图像应用, 且所述运动轨迹为所述右甩动时, 选取 所述第一操作控制指令库中切换下一张图像指令为所述操作控制指令 当前台应用为图像融合应用, 且所述运动轨迹为所述左甩动时, 选取 所述第一操作控制指令库中减小融合距离参数指令为所述操作控制指 令; When the current application is a view image application, and the motion track is the left flap, the first image control instruction library is selected to switch the previous image command to the operation control command, and the current application is viewed. When the image is applied, and the motion trajectory is the right sway, selecting the first image control instruction library to switch the next image instruction is the operation control command, the current station application is an image fusion application, and the motion is When the trajectory is the left sway, the instruction to reduce the fused distance parameter in the first operation control instruction library is selected as the operation control instruction;
当前台应用为图像融合应用, 且所述运动轨迹为所述右甩动时, 选取 所述第一操作控制指令库中增大融合距离参数指令为所述操作控制指 令。 When the current application is an image fusion application, and the motion trajectory is the right sway, the instruction to increase the fused distance parameter in the first operation control instruction library is selected as the operation control instruction.
[权利要求 5] 如权利要求 1所述方法, 其特征在于, 所述当所述运动轨迹类别为所 述第二类运动轨迹时, 从所述第二操作控制指令库中, 筛选出与所述 运动轨迹相匹配的所述操作控制指令, 并执行所述操作控制指令对应 的任务操作, 包括: [Claim 5] The method according to claim 1, wherein when the motion trajectory category is the second motion trajectory, the second operation control instruction library is selected from The operation control instruction that matches the motion trajectory, and performs the task operation corresponding to the operation control instruction, including:
所述第二类运动轨迹包括放下、 拿起及下坠; The second type of motion track includes dropping, picking up, and falling;
当所述运动轨迹为所述放下吋, 选取所述第二操作控制指令库中的待 机指令作为所述操作控制指令;
当所述运动轨迹为所述拿起吋, 选取所述第二操作控制指令库中的唤 醒指令作为所述操作控制指令; When the motion trajectory is the drop 吋, selecting a standby instruction in the second operation control instruction library as the operation control instruction; When the motion trajectory is the pick-up 吋, selecting a wake-up instruction in the second operation control instruction library as the operation control instruction;
当所述运动轨迹为所述下坠吋, 选取所述第二操作控制指令库中的关 机指令作为所述操作控制指令。 When the motion trajectory is the falling 吋, the shutdown command in the second operation control instruction library is selected as the operation control instruction.
[权利要求 6] —种测量仪, 其特征在于, 包括: [Claim 6] A measuring instrument, comprising:
获取单元, 用于获取测量仪的运动数据, 并基于所述运动数据计算所 述测量仪的运动轨迹, 所述运动轨迹由用户在手持所述测量仪的同时 做出运动手势而产生; An acquiring unit, configured to acquire motion data of the measuring instrument, and calculate a motion trajectory of the measuring instrument based on the motion data, where the motion trajectory is generated by a user making a motion gesture while holding the measuring instrument;
指令库选取单元, 用于判断所述运动轨迹类别, 并选择与所述运动轨 迹类别对应的操作控制指令库, 所述操作控制指令库包括第一操作控 制指令库及第二操作控制指令库; a command library selecting unit, configured to determine the motion track category, and select an operation control instruction library corresponding to the motion track category, where the operation control instruction library includes a first operation control instruction library and a second operation control instruction library;
第一任务执行单元, 用于当所述运动轨迹类别为所述第一类运动轨迹 时, 识别测量仪的前台应用, 并从所述第一操作控制指令库中, 筛选 出与所述运动轨迹及所述前台应用相匹配的操作控制指令, 在所述前 台应用中执行所述操作控制指令对应的任务操作; 第二任务执行单元, 用于当所述运动轨迹类别为所述第二类运动轨迹 时, 从所述第二操作控制指令库中, 筛选出与所述运动轨迹相匹配的 所述操作控制指令, 并执行所述操作控制指令对应的任务操作。 a first task execution unit, configured to identify a foreground application of the measuring instrument when the motion trajectory category is the first type of motion trajectory, and filter out the motion trajectory from the first operation control instruction library And the operation control instruction matched by the foreground application, the task operation corresponding to the operation control instruction is executed in the foreground application; the second task execution unit is configured to: when the motion track category is the second type of motion During the trajectory, the operation control instruction matching the motion trajectory is filtered out from the second operation control instruction library, and the task operation corresponding to the operation control instruction is executed.
[权利要求 7] 如权利要求 6所述测量仪, 其特征在于, 所述获取单元之前, 还包括 第一接收单元, 用于接收用户输入的应用选择指令, 根据所述应用选 择指令选择需要设置的应用, 并显示所述应用对应的运动轨迹设置界 面; [Claim 7] The measuring instrument according to claim 6, wherein the acquiring unit further includes a first receiving unit, configured to receive an application selection instruction input by the user, and select a setting according to the application selection instruction. Application, and display the motion track setting interface corresponding to the application;
第二接收单元, 用于接收用户在所述运动轨迹设置界面输入的运动轨 迹设置指令, 根据所述运动轨迹设置指令确定需要设置的所述第一类 运动轨迹, 并显示所述第一类运动轨迹相应的操作控制指令设置界面 关联设置单元, 用于接收用户在所述操作控制指令设置界面输入的操
作控制设置指令, 并根据所述操作控制设置指令, 在所述应用中设置 所述运动轨迹与所述操作控制指令的关联关系。 a second receiving unit, configured to receive a motion track setting instruction input by the user on the motion track setting interface, determine the first type of motion track to be set according to the motion track setting instruction, and display the first type of motion a corresponding operation control instruction setting interface association setting unit for receiving the operation input by the user on the operation control instruction setting interface And controlling the setting instruction, and setting an association relationship between the motion track and the operation control instruction in the application according to the operation control setting instruction.
[权利要求 8] 如权利要求 6所述测量仪, 其特征在于, 所述获取单元, 包括: 应用判断单元, 用于识别所述前台应用是否为数据测量应用; 第一模式开启单元, 用于若所述前台应用为所述数据测量应用, 所述 测量仪开启运动手势控制模式。 The measuring device according to claim 6, wherein the acquiring unit comprises: an application determining unit, configured to identify whether the foreground application is a data measurement application; If the foreground application is the data measurement application, the meter turns on the motion gesture control mode.
[权利要求 9] 如权利要求 6所述测量仪, 其特征在于, 所述第一任务执行单元, 在 所述测量仪为红外热像仪时, 包括: [Claim 9] The measuring device according to claim 6, wherein the first task execution unit, when the measuring device is an infrared camera, comprises:
所述第一类运动轨迹包括上甩动、 下甩动、 左甩动、 右甩动、 左上方 甩动、 顺吋针方向转圈及逆吋针方向转圈; The first type of motion trajectory includes upper swaying, lower swaying, left swaying, right swaying, upper left swaying, squeezing needle direction rotation, and reverse sinus direction rotation;
第一指令选择单元, 用于当前台应用为査看图像应用, 且所述运动轨 迹为所述左甩动时, 选取所述第一操作控制指令库中切换上一张图像 指令为所述操作控制指令; a first instruction selecting unit, configured to: when the current station application is a viewing image application, and the motion trajectory is the left swaying, select the first image control instruction library to switch the previous image instruction to the operation Control instruction;
第二指令选择单元, 用于当前台应用为査看图像应用, 且所述运动轨 迹为所述右甩动吋, 选取所述第一操作控制指令库中切换下一张图像 指令为所述操作控制指令; a second instruction selecting unit, configured to: view the image application, and the motion track is the right motion, and select the first image control instruction library to switch the next image instruction to the operation Control instruction;
第三指令选择单元, 用于当前台应用为图像融合应用, 且所述运动轨 迹为所述左甩动吋, 选取所述第一操作控制指令库中减小融合距离参 数指令为所述操作控制指令; a third instruction selection unit, configured to: the current station application is an image fusion application, and the motion trajectory is the left motion 吋, and the first fusion control distance parameter in the first operation control instruction library is selected as the operation control Instruction
第四指令选择单元, 用于当前台应用为图像融合应用, 且所述运动轨 迹为所述右甩动吋, 选取所述第一操作控制指令库中增大融合距离参 数指令为所述操作控制指令。 a fourth instruction selecting unit, configured to: the current station application is an image fusion application, and the motion trajectory is the right motion 吋, and the step of increasing the fusion distance parameter in the first operation control instruction library is selected as the operation control instruction.
[权利要求 10] 如权利要求 6所述测量仪, 其特征在于, 所述第二任务执行单元, 还 包括: [Claim 10] The measuring device according to claim 6, wherein the second task executing unit further comprises:
所述第二类运动轨迹包括放下、 拿起及下坠; The second type of motion track includes dropping, picking up, and falling;
第五指令选择单元, 用于当所述运动数据为所述放下吋, 选取所述第 二操作控制指令库中的待机指令作为所述操作控制指令; 第六指令选择单元, 用于当所述运动数据为所述拿起吋, 选取所述第
二操作控制指令库中的唤醒指令作为所述操作控制指令; 第七指令选择单元, 用于当所述运动数据为所述下坠吋, 选取所述第 二操作控制指令库中的关机指令作为所述操作控制指令。
a fifth instruction selecting unit, configured to: when the motion data is the dropout, select a standby instruction in the second operation control instruction library as the operation control instruction; a sixth instruction selection unit, configured to The motion data is picked up for the said 吋, select the said a wake-up instruction in the second operation control instruction library as the operation control instruction; a seventh instruction selection unit, configured to: when the motion data is the falling target, select a shutdown instruction in the second operation control instruction library as a The operation control instructions.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780000026.8A CN107077219A (en) | 2017-01-22 | 2017-01-22 | A measuring instrument control method and measuring instrument based on motion gesture recognition |
PCT/CN2017/072049 WO2018133063A1 (en) | 2017-01-22 | 2017-01-22 | Motion gesture recognition based measurement instrument control method and measurement instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/072049 WO2018133063A1 (en) | 2017-01-22 | 2017-01-22 | Motion gesture recognition based measurement instrument control method and measurement instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018133063A1 true WO2018133063A1 (en) | 2018-07-26 |
Family
ID=59613509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/072049 WO2018133063A1 (en) | 2017-01-22 | 2017-01-22 | Motion gesture recognition based measurement instrument control method and measurement instrument |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107077219A (en) |
WO (1) | WO2018133063A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107688432A (en) * | 2017-09-04 | 2018-02-13 | 中国电子科技集团公司第四十研究所 | A kind of electronic measuring instrument man-machine interactive system framework based on touch technology |
CN110477451A (en) * | 2018-05-15 | 2019-11-22 | 深圳市艾维普思科技有限公司 | Control method, computer storage medium, Power Supply Assembly and the electronic cigarette of electronic cigarette |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101341544A (en) * | 2005-12-20 | 2009-01-07 | 索尼爱立信移动通讯有限公司 | Electronic equipment with shuffle operation |
CN102984369A (en) * | 2012-11-20 | 2013-03-20 | 广东欧珀移动通信有限公司 | A method and system for viewing photo albums on a mobile terminal |
CN103067630A (en) * | 2012-12-26 | 2013-04-24 | 刘义柏 | Method of generating wireless control command through gesture movement of mobile phone |
CN103699220A (en) * | 2013-12-09 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Method and device for operating according to gesture movement locus |
US20160077597A1 (en) * | 2013-06-18 | 2016-03-17 | Panasonic Intellectual Property Corporation Of America | Input device and method for inputting operational request |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202956192U (en) * | 2012-03-16 | 2013-05-29 | 东莞华仪仪表科技有限公司 | Device and system of intelligent thermal imaging camera |
CN102880287B (en) * | 2012-08-16 | 2017-02-15 | 深圳Tcl新技术有限公司 | Gesture identification method and gesture identification device |
CN103701995A (en) * | 2013-12-31 | 2014-04-02 | 上海华勤通讯技术有限公司 | Control method of electronic equipment and electronic equipment |
CN104941203A (en) * | 2015-06-03 | 2015-09-30 | 赵旭 | Toy based on gesture track recognition and recognition and control method |
CN105759961A (en) * | 2016-02-03 | 2016-07-13 | 林勇 | Intelligent device and intelligent device control method |
-
2017
- 2017-01-22 WO PCT/CN2017/072049 patent/WO2018133063A1/en active Application Filing
- 2017-01-22 CN CN201780000026.8A patent/CN107077219A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101341544A (en) * | 2005-12-20 | 2009-01-07 | 索尼爱立信移动通讯有限公司 | Electronic equipment with shuffle operation |
CN102984369A (en) * | 2012-11-20 | 2013-03-20 | 广东欧珀移动通信有限公司 | A method and system for viewing photo albums on a mobile terminal |
CN103067630A (en) * | 2012-12-26 | 2013-04-24 | 刘义柏 | Method of generating wireless control command through gesture movement of mobile phone |
US20160077597A1 (en) * | 2013-06-18 | 2016-03-17 | Panasonic Intellectual Property Corporation Of America | Input device and method for inputting operational request |
CN103699220A (en) * | 2013-12-09 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Method and device for operating according to gesture movement locus |
Also Published As
Publication number | Publication date |
---|---|
CN107077219A (en) | 2017-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11861069B2 (en) | Gesture operated wrist mounted camera system | |
EP3051463B1 (en) | Image processing method and electronic device for supporting the same | |
EP3276950B1 (en) | Electronic device for providing slow motion video content | |
CN106642578B (en) | Air conditioner control method and device | |
CN106843786B (en) | Display screen opening method, display screen opening device and terminal | |
RU2628558C2 (en) | Method and smart terminal handling device | |
CN105138123B (en) | Apparatus control method and device | |
CN105120160B (en) | Filming apparatus and image pickup method | |
CN105259765B (en) | Generate the method and device of control interface | |
CN105760102B (en) | Terminal interaction control method and device and application program interaction control method | |
RU2617325C2 (en) | Method and apparatus for the state of health data display | |
JP2015526927A (en) | Context-driven adjustment of camera parameters | |
WO2014130966A1 (en) | Mobile application for monitoring and controlling devices | |
EP3104304B1 (en) | Electronic apparatus and method of extracting still images | |
WO2016177200A1 (en) | Method and terminal for implementing screen control | |
WO2020220154A1 (en) | Screen display switching method, display device, and movable platform | |
KR20180020374A (en) | The System, Apparatus And MethodFor Searching Event | |
WO2018133063A1 (en) | Motion gesture recognition based measurement instrument control method and measurement instrument | |
CN109240759A (en) | Application startup method, apparatus, terminal device and readable storage medium | |
WO2015081485A1 (en) | Method and device for terminal device to identify user gestures | |
CN106648040B (en) | A terminal control method and device | |
JP6756103B2 (en) | Electronic devices, display systems, display devices, imaging devices, display control methods and programs | |
CN110730222B (en) | Remote camera shooting presentation method | |
JP2015508604A (en) | UI providing method and video photographing apparatus using the same | |
CN205657770U (en) | Camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17892904 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17892904 Country of ref document: EP Kind code of ref document: A1 |