CN106502570B - Method, device and vehicle-mounted system for gesture recognition - Google Patents

Method, device and vehicle-mounted system for gesture recognition Download PDF

Info

Publication number
CN106502570B
CN106502570B CN201610947837.6A CN201610947837A CN106502570B CN 106502570 B CN106502570 B CN 106502570B CN 201610947837 A CN201610947837 A CN 201610947837A CN 106502570 B CN106502570 B CN 106502570B
Authority
CN
China
Prior art keywords
gesture
touch
current
area
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610947837.6A
Other languages
Chinese (zh)
Other versions
CN106502570A (en
Inventor
唐先红
石林荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kostal Huayang Automotive Electric Co Ltd
Kostal Shanghai Management Co Ltd
Original Assignee
Shanghai Kostal Huayang Automotive Electric Co Ltd
Kostal Shanghai Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Kostal Huayang Automotive Electric Co Ltd, Kostal Shanghai Management Co Ltd filed Critical Shanghai Kostal Huayang Automotive Electric Co Ltd
Priority to CN201610947837.6A priority Critical patent/CN106502570B/en
Priority to PCT/CN2016/112336 priority patent/WO2018076523A1/en
Publication of CN106502570A publication Critical patent/CN106502570A/en
Application granted granted Critical
Publication of CN106502570B publication Critical patent/CN106502570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

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)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses a gesture recognition method, which judges whether a current gesture is a touch gesture or a three-dimensional gesture by judging whether an area where the current gesture operation is located in acquired image information is located on a preset touch plane area. If the gesture is a touch gesture, identifying an operation gesture according to the touch position information of the touch gesture; and if the current gesture is a three-dimensional gesture, calling a pre-established three-dimensional gesture model library, identifying an operation gesture of the three-dimensional gesture, and generating a corresponding operation instruction according to the operation gesture. According to the scheme, the three-dimensional gesture and the two-dimensional gesture are recognized integrally, the use by a user is facilitated, and the control comfort of human-computer interaction of the user is improved. In addition, the embodiment of the invention also provides a corresponding implementation device and a vehicle-mounted system aiming at the gesture recognition method, so that the method has higher practicability, and the device and the system have corresponding advantages.

Description

一种手势识别的方法、装置及车载系统Method, device and vehicle-mounted system for gesture recognition

技术领域technical field

本发明涉及人机交互和汽车制造领域,特别是涉及一种的手势识别的方法,还涉及一种的手势识别的装置及车载系统。The invention relates to the fields of human-computer interaction and automobile manufacturing, in particular to a gesture recognition method, and also to a gesture recognition device and a vehicle-mounted system.

背景技术Background technique

随着计算机技术的发展,人机交互技术也得到了迅猛发展。从模式识别,如语音识别、汉字识别等,操作员和计算机在类似于自然语言或受限制的自然语言这一级上进行交互成为可能,到通过图形进行人机交互,越来越多的领域运用到人机交互技术。With the development of computer technology, human-computer interaction technology has also developed rapidly. From pattern recognition, such as speech recognition, Chinese character recognition, etc., where it becomes possible for operators and computers to interact at a level similar to natural language or restricted natural language, to human-computer interaction through graphics, more and more fields applied to human-computer interaction technology.

人机交互技术领域的应用潜力已经开始展现,比如应用于可穿戴式计算机、隐身技术、浸入式游戏等的动作识别技术,应用于虚拟现实、遥控机器人及远程医疗等的触觉交互技术,应用于呼叫路由、家庭自动化及语音拨号等场合的语音识别技术等。人机交互解决方案供应商不断地推出各种创新技术,如,指纹识别技术,侧边滑动指纹识别技术,压力触控技术等。热点技术的应用开发是机遇也是挑战,基于视觉的手势识别是目前人机交互的热点。The application potential in the field of human-computer interaction technology has begun to show, such as action recognition technology applied to wearable computers, stealth technology, immersive games, etc., tactile interaction technology applied to virtual reality, remote control robots and telemedicine, etc. Voice recognition technology for call routing, home automation and voice dialing, etc. Human-computer interaction solution providers continue to introduce various innovative technologies, such as fingerprint recognition technology, side sliding fingerprint recognition technology, pressure touch technology, etc. The application and development of hot technology is both an opportunity and a challenge. Vision-based gesture recognition is currently a hot spot in human-computer interaction.

手势识别技术是通过来自人的身体各部位的运动,但一般是指脸部和手的运动,实现控制的一种技术。手势识别主要分别二维手势识别和三维手势识别。目前,手势控制是继语音控制之后另一项受到许多汽车厂商追捧的技术,手势控制可以让用户在驾驶的时候简单的挥挥手或做出几个动作就能对车载功能进行控制,与语音控制相比,准确率更高,同时也更方便。Gesture recognition technology is a technology that realizes control through the movement of various parts of the human body, but generally refers to the movement of the face and hands. Gesture recognition is mainly divided into two-dimensional gesture recognition and three-dimensional gesture recognition. At present, gesture control is another technology that is sought after by many car manufacturers after voice control. Gesture control allows users to simply wave their hands or make a few actions while driving to control in-vehicle functions. It is more accurate and more convenient.

目前,现有的手势识别的实现原理有基于红外传感器实现的、有基于摄像头检测的、有基于电阻式的、有基于电容式的。一般的,基于红外传感器和摄像头的为三维手势识别,基于电阻式和电容式的是二维手势识别。例如,现有的汽车中控面板的触控式液晶显示器的触摸面板通常是电阻式的或电容式的,用户只能使用手指或触摸笔在触摸屏上进行点击等操作,而不能远离触摸屏隔空操作,即实现对二维手势的识别;又例如,当汽车中使用红外传感器时,可以实现简单的三维空间的手势识别,例如检测挥手或接近、远离等,但无法识别二维手势。At present, the existing implementation principles of gesture recognition include infrared sensor-based, camera-based detection, resistive-based, and capacitive-based. Generally, three-dimensional gesture recognition is based on infrared sensors and cameras, and two-dimensional gesture recognition is based on resistive and capacitive methods. For example, the touch panel of the touch-sensitive liquid crystal display of the existing automobile central control panel is usually resistive or capacitive, and the user can only use fingers or a touch pen to perform operations such as clicking on the touch screen, and cannot be far away from the touch screen. operation, that is, to realize the recognition of two-dimensional gestures; for example, when infrared sensors are used in automobiles, simple three-dimensional gesture recognition can be realized, such as detecting waving or approaching, moving away, etc., but two-dimensional gestures cannot be recognized.

可见,现有技术中三维手势和二维手势的控制和识别是分别通过两套体系实现的。对于只识别二维手势的,用户无法离开操作屏幕实施操作,在使用过程中会造成很大的不便,尤其是当触控屏坏掉时,整个手势识别无法使用;对于只能识别三维手势的,由于其识别的动作有限,大大的限制了手势控制的应用,同样会给用户操作带来不便。It can be seen that the control and recognition of three-dimensional gestures and two-dimensional gestures in the prior art are realized by two systems respectively. For those who only recognize two-dimensional gestures, the user cannot leave the operation screen to perform operations, which will cause great inconvenience during use, especially when the touch screen is broken, the whole gesture recognition cannot be used; for those who can only recognize three-dimensional gestures , due to the limited actions it recognizes, greatly restricts the application of gesture control, and also brings inconvenience to user operations.

发明内容SUMMARY OF THE INVENTION

本发明实施例的目的是提供一种手势识别的方法、装置及车载系统,实现了三维手势识别和二维手势识别一体化,更方便用户使用,提高用户人机交互的操控舒适性。The purpose of the embodiments of the present invention is to provide a gesture recognition method, device and vehicle-mounted system, which realizes the integration of 3D gesture recognition and 2D gesture recognition, is more convenient for users to use, and improves the user's man-machine interaction control comfort.

为解决上述技术问题,本发明实施例提供以下技术方案:In order to solve the above-mentioned technical problems, the embodiments of the present invention provide the following technical solutions:

本发明实施例一方面提供了一种手势识别的方法,包括:An aspect of an embodiment of the present invention provides a method for gesture recognition, including:

获取图像采集设备采集的图像信息;Obtain the image information collected by the image collection device;

检测所述图像信息中的当前手势;detecting the current gesture in the image information;

判断所述当前手势所在的操作区域;Determine the operation area where the current gesture is located;

当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述当前手势为触摸手势,根据所述触摸手势的触摸位置信息对操作手势进行识别;When the operation area where the current gesture is located is located in the preset touch plane area, determine that the current gesture is a touch gesture, and identify the operation gesture according to the touch position information of the touch gesture;

当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述当前手势为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势;When the operation area where the current gesture is located is not located in the preset touch plane area, determine that the current gesture is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture;

根据识别出的所述操作手势生成对应的操作指令。A corresponding operation instruction is generated according to the recognized operation gesture.

优选的,所述图像信息为二维平面信息时,所述判断所述当前手势所在的操作区域的步骤包括:Preferably, when the image information is two-dimensional plane information, the step of judging the operation area where the current gesture is located includes:

检测所述预设触摸平面区域上用于指示是否存在触摸信号的按键是否导通,如果是,则判定所述当前手势所在的操作区域位于所述预设触摸平面区域;如果否,则判定不位于所述预设触摸平面区域。Detect whether the button on the preset touch plane area for indicating whether there is a touch signal is turned on, if so, determine that the operation area where the current gesture is located is located in the preset touch plane area; if not, determine that it is not located in the preset touch plane area.

优选的,所述图像信息包括二维平面信息和一维深度图像信息时,所述判断所述当前手势所在的操作区域的步骤包括:Preferably, when the image information includes two-dimensional plane information and one-dimensional depth image information, the step of judging the operation area where the current gesture is located includes:

计算所述图像采集设备与所述预设触摸平面区域内各像素点的深度值,确定最小深度值Lmincalculating the depth values of the image acquisition device and each pixel in the preset touch plane area, and determining the minimum depth value L min ;

计算所述当前手势的触摸点与所述图像采集设备的距离L;Calculate the distance L between the touch point of the current gesture and the image acquisition device;

如果L-Lmin≤15mm,则判定所述当前手势所在的操作区域不位于所述预设触摸平面区域,反之,则判定位于所述预设触摸平面区域。If LL min ≤ 15mm, it is determined that the operation area where the current gesture is located is not located in the preset touch plane area, otherwise, it is determined that the operation area is located in the preset touch plane area.

优选的,所述当前手势为以下任意一种或任意组合:Preferably, the current gesture is any one or any combination of the following:

用手指指心、手指的侧面、指甲进行触摸或点击操作的手势。A gesture of touching or clicking with the center of the finger, the side of the finger, or the fingernail.

优选的,所述调用预先建立的三维手势模型库为:Preferably, the calling of the pre-established 3D gesture model library is:

在时间序列上连续获取多帧包含所述当前手势的图像信息,如果多帧图像中的所述当前手势相同且所述当前手势的位置未发生变化,所述当前手势则为静态手势,调取三维静态手势模型库;反之,则调用三维动态手势模型库。Continuously acquire multiple frames of image information including the current gesture in time series. If the current gestures in the multiple frames of images are the same and the position of the current gesture has not changed, the current gesture is a static gesture, and the call 3D static gesture model library; otherwise, call the 3D dynamic gesture model library.

本发明实施例另一方面提供了一种手势识别的装置,包括:Another aspect of the embodiments of the present invention provides a gesture recognition device, including:

图像获取模块,用于获取图像采集设备采集的图像信息;an image acquisition module for acquiring image information collected by an image acquisition device;

检测图像模块,用于检测所述图像信息中的当前手势;an image detection module for detecting the current gesture in the image information;

判断区域模块,用于判断所述当前手势所在的操作区域;a judging area module for judging the operating area where the current gesture is located;

信息识别模块,用于识别所述当前手势:An information recognition module for recognizing the current gesture:

当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述手势信息为触摸手势时,根据所述触摸手势的触摸位置对操作手势进行识别;When the operation area where the current gesture is located is located in the preset touch plane area, and when it is determined that the gesture information is a touch gesture, the operation gesture is identified according to the touch position of the touch gesture;

当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述手势信息为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势;When the operation area where the current gesture is located is not located in the preset touch plane area, determine that the gesture information is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture;

指令生成模块,用于根据识别出的所述操作手势生成对应的操作指令。The instruction generation module is configured to generate a corresponding operation instruction according to the recognized operation gesture.

优选的,所述判断区域模块包括:Preferably, the judging area module includes:

第一判断单元,检测所述预设触摸平面区域上用于指示是否存在触摸信号的按键是否导通,如果是,则判定所述当前手势所在的操作区域位于所述预设触摸平面区域;如果否,则判定不位于所述预设触摸平面区域;和/或a first determination unit, which detects whether the button on the preset touch plane area used to indicate whether there is a touch signal is turned on, and if so, determines that the operation area where the current gesture is located is located in the preset touch plane area; if No, it is determined that it is not located in the preset touch plane area; and/or

第二判断单元,计算所述图像采集设备与所述预设触摸平面区域内各像素点的深度值,确定最小深度值Lmina second judging unit, calculating the depth values of the image acquisition device and each pixel in the preset touch plane area, and determining the minimum depth value L min ;

计算所述当前手势的触摸点与所述图像采集设备的距离L;Calculate the distance L between the touch point of the current gesture and the image acquisition device;

如果L-Lmin≤15mm,则判定所述当前手势所在的操作区域不位于所述预设触摸平面区域,反之,则判定位于所述预设触摸平面区域。If LL min ≤ 15mm, it is determined that the operation area where the current gesture is located is not located in the preset touch plane area, otherwise, it is determined that the operation area is located in the preset touch plane area.

本发明实施例还提供了一种手势识别的车载系统,包括图像采集设备、触摸面板以及上述任一种手势识别装置。Embodiments of the present invention further provide a vehicle-mounted system for gesture recognition, including an image acquisition device, a touch panel, and any of the above gesture recognition devices.

优选的,所述触摸面板包括触摸板和/或触摸开关,当所述图像采集设备为2D摄像头,所述触摸板包括:Preferably, the touch panel includes a touch panel and/or a touch switch, and when the image capturing device is a 2D camera, the touch panel includes:

面板单元、电路板单元、按键单元和支撑件单元;Panel unit, circuit board unit, key unit and support unit;

所述触摸开关包括:The touch switch includes:

带有信标面板单元、电路板单元、导光板单元、按键单元、设置灯单元和支撑件单元。With beacon panel unit, circuit board unit, light guide plate unit, key unit, setting light unit and support unit unit.

优选的,所述触摸面板包括触摸板和/或触摸开关,当所述图像采集设备为3D摄像头,所述触摸板包括:Preferably, the touch panel includes a touch panel and/or a touch switch, and when the image capture device is a 3D camera, the touch panel includes:

面板单元和支撑件单元;Panel units and support units;

所述触摸开关包括:The touch switch includes:

带有信标的面板单元、导光板单元、电路板单元、设置灯单元和支撑件单元。Panel unit with beacon, light guide plate unit, circuit board unit, setting light unit and supporter unit.

本发明实施例提供了一种的手势识别的方法,通过判断所捕获的图像信息中的当前手势操作所在的区域是否位于预设触摸平面区域,判定所述当前手势为触摸手势还是三维手势。如果为触摸手势,则根据所述触摸手势的触摸位置信息对操作手势进行识别;如果当前手势为三维手势,则调用预先建立的三维手势模型库,识别所述三维手势的操作手势,实现了三维手势和二维手势识别一体化。An embodiment of the present invention provides a gesture recognition method, which determines whether the current gesture is a touch gesture or a three-dimensional gesture by judging whether the area where the current gesture operation is located in the captured image information is located in a preset touch plane area. If it is a touch gesture, the operation gesture is recognized according to the touch position information of the touch gesture; if the current gesture is a three-dimensional gesture, the pre-established three-dimensional gesture model library is called to identify the operation gesture of the three-dimensional gesture, and the three-dimensional gesture is realized. Gesture and 2D gesture recognition integration.

如果手势识别具有单一性,即只针对二维手势识别或只针对三维手势识别,对于只针对二维手势识别的只能在带有感应功能的触摸屏上进行操作,不能远离屏幕操作;而对于只针对三维手势识别的,由于三维手势的识别动作有限,大大的限制了手势控制的应用。而本申请可以实现三维手势和二维手势识别一体化,这样既可以实现空中三维手势的识别,同时也可识别触摸平面区域的二维手势,更方便用户使用,提高用户人机交互的操控舒适性。If the gesture recognition is single, that is, only for 2D gesture recognition or only for 3D gesture recognition, for only 2D gesture recognition, it can only be operated on the touch screen with sensing function, and cannot be operated far from the screen; For three-dimensional gesture recognition, the application of gesture control is greatly limited due to the limited recognition actions of three-dimensional gestures. However, the present application can realize the integration of 3D gesture and 2D gesture recognition, which can realize not only the recognition of 3D gestures in the air, but also the recognition of 2D gestures in the touch plane area, which is more convenient for users to use and improves the user's comfort in man-machine interaction. sex.

此外,本发明实施例还针对手势识别的方法提供了相应的实现装置及车载系统,进一步使得所述方法更具有实用性,所述装置和系统具有相应的优点。In addition, the embodiments of the present invention also provide a corresponding implementation device and an in-vehicle system for the gesture recognition method, which further makes the method more practical, and the device and system have corresponding advantages.

附图说明Description of drawings

为了更清楚的说明本发明实施例或现有技术的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following will briefly introduce the accompanying drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明实施例提供的一种手势识别的车载系统结构框图;1 is a structural block diagram of a vehicle-mounted system for gesture recognition provided by an embodiment of the present invention;

图2为本发明实施例提供的一种手势识别方法的流程示意图;FIG. 2 is a schematic flowchart of a gesture recognition method according to an embodiment of the present invention;

图3为本发明实施例提供的三维动态模型库的部分三维手势;3 is a partial three-dimensional gesture of a three-dimensional dynamic model library provided by an embodiment of the present invention;

图4为本发明实施例提供的一种图像处理与手势识别示意图;4 is a schematic diagram of image processing and gesture recognition according to an embodiment of the present invention;

图5为本发明实施例提供的另一种手势识别方法的流程示意图;FIG. 5 is a schematic flowchart of another gesture recognition method provided by an embodiment of the present invention;

图6为本发明实施例提供的一种手势操作方式及位置示意图;FIG. 6 is a schematic diagram of a gesture operation mode and position according to an embodiment of the present invention;

图7为本发明实施例提供的一种当前手势的定位示意图;FIG. 7 is a schematic diagram of positioning of a current gesture according to an embodiment of the present invention;

图8为本发明实施例提供的一种当前手势位置信息确定的示意图;8 is a schematic diagram of determining current gesture position information according to an embodiment of the present invention;

图9为本发明实施例提供的另一种手势识别方法的流程示意图;FIG. 9 is a schematic flowchart of another gesture recognition method provided by an embodiment of the present invention;

图10为本发明实施例提供的一种手势识别装置的结构图;10 is a structural diagram of a gesture recognition device according to an embodiment of the present invention;

图11为本发明实施例提供的一种手势识别的车载系统结构框图;11 is a structural block diagram of a vehicle-mounted system for gesture recognition provided by an embodiment of the present invention;

图12为本发明实施例提供的一种基于2D摄像头的触摸板的结构示意图;12 is a schematic structural diagram of a 2D camera-based touch panel according to an embodiment of the present invention;

图13为本发明实施例提供的一种基于2D摄像头的触控开关的结构示意图;FIG. 13 is a schematic structural diagram of a 2D camera-based touch switch according to an embodiment of the present invention;

图14为本发明实施例提供的一种基于3D摄像头的触摸板的结构示意图;14 is a schematic structural diagram of a touch panel based on a 3D camera according to an embodiment of the present invention;

图15为本发明实施例提供的一种基于3D摄像头的触控开关的结构示意图;15 is a schematic structural diagram of a touch switch based on a 3D camera according to an embodiment of the present invention;

图16为本发明实施例提供的一种手势识别控制的车载系统结构框图。FIG. 16 is a structural block diagram of a vehicle-mounted system for gesture recognition control provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make those skilled in the art better understand the solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等是用于区别不同的对象,而不是用于描述特定的顺序。此外术语“包括”和“具有”以及他们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可包括没有列出的步骤或单元。The terms "first", "second", "third", "fourth", etc. in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. . Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or elements is not limited to the listed steps or elements, but may include unlisted steps or elements.

本申请的发明人经过研究发现,现有技术手势识别具有单一性,即只针对二维手势识别或只针对三维手势识别,对于只针对二维手势识别的只能在带有感应功能的触摸屏上进行操作,不能远离屏幕操作;而对于只针对三维手势识别的还需要辅助带有感应功能的触摸屏进行识别二维手势。鉴于此,本申请实现了三维手势和二维手势识别一体化,这样既可以实现空中三维手势的识别,同时可识别触摸区域的二维手势,更方便用户使用,提高用户人机交互的操控舒适性,一定程度上节约了用户使用成本。The inventors of the present application have found through research that the prior art gesture recognition is unique, that is, it is only for two-dimensional gesture recognition or only three-dimensional gesture recognition. For operation, it cannot be operated far from the screen; and for the recognition of only three-dimensional gestures, it is also necessary to assist the touch screen with the sensing function to recognize two-dimensional gestures. In view of this, the present application realizes the integration of 3D gestures and 2D gesture recognition, which can realize the recognition of 3D gestures in the air and the 2D gestures in the touch area at the same time, which is more convenient for users to use and improves the user's comfort in man-machine interaction. To a certain extent, it saves the user's cost of use.

基于上述本发明实施例的技术方案,下面首先结合图1对本发明实施例的技术方案涉及的一些可能的应用场景进行举例介绍,图1为本发明实施例提供的一种手势识别的车载系统结构框图。Based on the technical solutions of the above embodiments of the present invention, some possible application scenarios involved in the technical solutions of the embodiments of the present invention are firstly introduced with reference to FIG. 1 . FIG. 1 is a vehicle-mounted system structure for gesture recognition provided by an embodiment of the present invention. block diagram.

如图1所示,101为摄像头,安装于汽车顶灯模块内,102为摄像头的感应区域,103为手势,104为中控面板,所述中控面板包括矩形的触摸板ABCD和触摸开关EF。As shown in FIG. 1 , 101 is a camera installed in a car dome light module, 102 is a sensing area of the camera, 103 is a gesture, and 104 is a center control panel, which includes a rectangular touchpad ABCD and a touch switch EF.

现有技术中,101一般为红外摄像头作为三维识别手势传感器,104为带有感应单元的触控面板。这样空中手势的检测和识别由红外摄像头检测并识别,中控面板的二维触摸手势由触控单元识别。In the prior art, 101 is generally an infrared camera as a three-dimensional recognition gesture sensor, and 104 is a touch panel with a sensing unit. In this way, the detection and recognition of air gestures are detected and recognized by the infrared camera, and the two-dimensional touch gestures of the center control panel are recognized by the touch unit.

本申请提供的方案是摄像头可为2D摄像头,也可为3D摄像头作为识别手势传感器,中控面板不需要携带感应触控单元。所有手势(二维、三维)皆由摄像头识别。The solution provided by the present application is that the camera can be a 2D camera or a 3D camera as a gesture recognition sensor, and the center control panel does not need to carry an inductive touch unit. All gestures (2D, 3D) are recognized by the camera.

这样,不仅极大的提高了用户的操作舒适度,而且控制面板的结构得到了简化,可以节约一定的制造成本。In this way, not only the operating comfort of the user is greatly improved, but also the structure of the control panel is simplified, which can save a certain manufacturing cost.

需要注意的是,上述应用场景仅是为了便于理解本申请的思想和原理而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。It should be noted that the above application scenarios are only shown for the convenience of understanding the idea and principle of the present application, and the embodiments of the present application are not limited in this respect. Rather, the embodiments of the present application can be applied to any scenario where applicable.

在介绍了本发明实施例的技术方案后,下面详细的说明本申请的各种非限制性实施方式。After introducing the technical solutions of the embodiments of the present invention, various non-limiting implementations of the present application are described in detail below.

实施例一:Example 1:

首先参见图2,图2为本发明实施例提供的一种手势识别方法的流程示意图,本发明实施例可包括以下内容:Referring first to FIG. 2, FIG. 2 is a schematic flowchart of a gesture recognition method provided by an embodiment of the present invention. The embodiment of the present invention may include the following contents:

S201:获取图像采集设备采集的图像信息。S201: Acquire image information collected by an image collection device.

S202:检测所述图像信息中的当前手势。S202: Detect the current gesture in the image information.

S203:判断所述当前手势所在的操作区域。S203: Determine the operation area where the current gesture is located.

S204:当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述当前手势为触摸手势,根据所述触摸手势的触摸位置信息对操作手势进行识别。S204: When the operation area where the current gesture is located is located in the preset touch plane area, determine that the current gesture is a touch gesture, and identify the operation gesture according to the touch position information of the touch gesture.

S205:当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述当前手势为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势。S205: When the operation area where the current gesture is located is not located in the preset touch plane area, determine that the current gesture is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture.

S206:根据识别出的所述操作手势生成对应的操作指令。S206: Generate a corresponding operation instruction according to the recognized operation gesture.

其中,S201具体为:Among them, S201 is specifically:

所述图像采集设备为2D摄像头或3D摄像头,相应的所述图像信息不同。所述2D摄像头捕获的图像信息为二维灰度平面图信息或二维彩色平面图像息;所述3D摄像头捕获的图像信息包括二维灰度平面图像信息和一维深度图像信息。The image acquisition device is a 2D camera or a 3D camera, and the corresponding image information is different. The image information captured by the 2D camera is two-dimensional grayscale plane image information or two-dimensional color plane image information; the image information captured by the 3D camera includes two-dimensional grayscale plane image information and one-dimensional depth image information.

其中,S202具体为:Among them, S202 is specifically:

检测图像采集设备采集的图像信息时,需要判断图像信息中是否含有手的信息,当没有手时,将获取的图像信息丢掉,判断下一副图像;当所检测的图像信息中含有不完整的手的信息时,可进行提醒,可语音提醒用户,也可自动调整图像采集设备的角度,当前也可采用其他办法实现提醒功能,使其感应区域包含当前手的信息;当检测的图像中含有完整的手势信息时,进入S203。When detecting the image information collected by the image acquisition device, it is necessary to determine whether the image information contains hand information. When there is no hand, the acquired image information is discarded and the next image is judged; when the detected image information contains incomplete hand information When the information is received, it can be reminded, the user can be reminded by voice, and the angle of the image acquisition device can be automatically adjusted. At present, other methods can be used to realize the reminder function, so that the sensing area contains the current hand information; when the detected image contains complete When the gesture information is displayed, enter S203.

需要说明的是,所述当前手势可以是静态手势,也可为动态手势。例如,在触摸区域,所述静态手势可为按键的动作,所述动态手势可为划的动作。可通过在时间序列上连续获取多帧包含当前手势的图像信息,如果多帧图像中的所述当前手势相同且所述当前手势的位置未发生变化,所述当前手势则为静态手势;反之,则为动态手势。It should be noted that the current gesture may be a static gesture or a dynamic gesture. For example, in the touch area, the static gesture may be a key action, and the dynamic gesture may be a swipe action. The image information including the current gesture can be continuously acquired in multiple frames in time series. If the current gesture in the multi-frame images is the same and the position of the current gesture has not changed, the current gesture is a static gesture; otherwise, It is a dynamic gesture.

其中,S203具体为:Among them, S203 is specifically:

由于图像采集设备是在一定的区域内捕获图片信息,可为倒棱锥区域,所述区域是指预设触摸平面区域和空中感应区域,所述空中感应区域为倒棱锥区域的空中部分。所述预设触摸平面区域为二维手势操作的平面区域,一般可为触摸板,触摸手势(二维手势)可为触摸在触摸板的触摸手势,或触摸在触摸开关的触摸手势。Since the image acquisition device captures picture information in a certain area, it can be a chamfered pyramid area, and the area refers to a preset touch plane area and an aerial sensing area, and the aerial sensing area is the aerial part of the chamfered pyramid area. The preset touch plane area is a plane area operated by a two-dimensional gesture, generally a touch pad, and the touch gesture (two-dimensional gesture) can be a touch gesture on the touch pad, or a touch gesture on a touch switch.

其中,所述触摸手势可用手指指心、手指的侧面、用手指的指甲或其任意的组合进行触摸、点击操作,当然也可以用身体的任一部分进行操作。传统的电容式触摸屏如果想用手指的侧面、用手指的指甲进行操作时,往往对其精度要求高,尤其是指甲的操作;而对于电阻式触摸屏,虽可识别指甲的操作,但是指甲对其触摸屏的伤害太大,导致触摸屏的触摸位置识别不准和寿命缩短,得不偿失。而本申请可采用不带感应功能的触摸屏,所述触摸屏可采用塑料面板、金属面板、也可采用液晶显示屏,当然,也可以采用其他任何一种材质的面板,这样,用指甲操作就不会对其精度有要求,合适的材质选取也不可避免损害屏的寿命。Wherein, the touch gesture can be performed by touching or clicking on the center of the finger, the side of the finger, the fingernail or any combination thereof. Of course, the touch gesture can also be performed by any part of the body. If the traditional capacitive touch screen wants to operate with the side of the finger and the fingernail, it often requires high precision, especially the operation of the fingernail; while for the resistive touch screen, although the operation of the fingernail can be recognized, the fingernail is not suitable for the operation of the fingernail. The damage of the touch screen is too great, which leads to inaccurate recognition of the touch position of the touch screen and shortened life span, which is not worth the loss. In the present application, a touch screen without sensing function can be used. The touch screen can be a plastic panel, a metal panel, or a liquid crystal display. Of course, a panel of any other material can also be used. There will be requirements for its accuracy, and the selection of suitable materials will inevitably damage the life of the screen.

具体判断当前手势所在的操作区域根据图像采集设备的不同,所采用的方法不同,具体介绍参见实施例二和实施例三,此处不再赘述。The method used to specifically determine the operation area where the current gesture is located is different depending on the image acquisition device. For a specific introduction, refer to Embodiment 2 and Embodiment 3, which will not be repeated here.

其中,S204具体为:Among them, S204 is specifically:

所述预设触摸平面区域可为触摸板、也可为触摸开关、还可为二者的组合,同时所述触摸板的块数和触摸开关的个数并不受限,可为一块或任意几块拼接,开关可为一个或多个。其中所述触摸板和触摸开关的材质可为塑料面板、金属面板、也可采用液晶显示屏,当然也可采用其他材质,如果必要,也可为上述几种的组合。The preset touch plane area can be a touch pad, a touch switch, or a combination of the two, and the number of touch pads and touch switches is not limited, and can be one or any Several pieces are spliced, and the switch can be one or more. The material of the touch panel and the touch switch can be a plastic panel, a metal panel, or a liquid crystal display screen. Of course, other materials can also be used, and if necessary, a combination of the above can also be used.

所述触摸位置信息可为坐标信息,也可为具体的触摸点位置信息,具体依据采用的摄像头和具体的触摸区域决定,例如操作手势在触摸区域的触摸开关处,可根据建立的坐标将触摸点的坐标信息反馈,也可根据触摸点遮挡的位置,直接发送所述遮挡位置的信息,例如检测到触摸开关的a按键被遮挡,则将a按键的位置发送,表明用户此刻的操作是按a键。因为不同的位置对应的操作指令不同,这可以是厂家预设的,也可是用户根据需求预设的。例如a键代表的操作指令为打开天窗,当用户按a键时,则根据检测到的a键位置信息或坐标信息,将天窗打开。故可根据所述位置信息对操作手势进行识别。The touch position information can be coordinate information or specific touch point position information, which is determined according to the camera used and the specific touch area. The coordinate information feedback of the point can also directly send the information of the blocking position according to the position where the touch point is blocked. For example, if the a button of the touch switch is detected to be blocked, the position of the a button is sent, indicating that the user's operation at the moment is to press the button. a key. Because the operation instructions corresponding to different positions are different, this can be preset by the manufacturer or preset by the user according to the needs. For example, the operation command represented by the a key is to open the sunroof. When the user presses the a key, the sunroof is opened according to the detected position information or coordinate information of the a key. Therefore, the operation gesture can be recognized according to the position information.

其中,S205具体为:Among them, S205 is specifically:

空中的三维手势可为静态手势,也可为动态手势,例如直接作出’OK’的手势即为静态手势,而有由手掌变化为握拳的手势即为动态手势,相应的,静态手势对应三维静态手势模型库,动态手势调用三维动态手势模型库。这样就需要在调用时先识别所做的手势为动态还是静态,可通过在时间序列上连续获取多帧包含当前手势的图像信息,如果多帧图像中的所述当前手势相同且所述当前手势的位置未发生变化,所述当前手势则为静态手势,调取三维静态手势模型库;反之,则调用三维动态手势模型库。The three-dimensional gestures in the air can be static gestures or dynamic gestures. For example, a gesture of directly making 'OK' is a static gesture, and a gesture that changes from a palm to a fist is a dynamic gesture. Correspondingly, a static gesture corresponds to a three-dimensional static gesture. Gesture model library, dynamic gesture calls 3D dynamic gesture model library. In this way, it is necessary to first identify whether the gesture is dynamic or static when calling. You can obtain multiple frames of image information including the current gesture continuously in time series. If the current gestures in the multi-frame images are the same and the current gesture The position of the gesture does not change, the current gesture is a static gesture, and the three-dimensional static gesture model library is called; otherwise, the three-dimensional dynamic gesture model library is called.

所述模型库为预设的一系列手势,预设的手势动作对应的操作指令可为默认通用的,也可根据用户的要求定制,用户在使用手势进行操作时可按照模型库中的手势进行操作,从而实现人机交互。例如图3列出了三维动态模型库中一些常用的手势动作,301是由食指伸出状态到食指回收成握拳状态的手势;302是是由食指在伸出状态下逆时针旋转的手势;303是由食指在伸出状态下顺时针旋转的手势;304是手由手掌变化为握拳的手势;305是手掌从左至右的挥动手势;306是手掌从右至左的挥动手势。当然,上述图3中所列的仅为模型库中部分手势,实际应用中还有许多手势,而且不同的手势对应着不同的操作指令,例如驾驶者单指前后移动表示接听电话、选择、确定,手掌张开向右挥动表示挂电话、取消操作,V形手势表示暂停、播放和自定义操作,一根手指顺时针转动表示增大音量、缩小导航地图,一根手指逆时针转动表示减小、放大导航地图,五指收拢成圈向右移动表示下一曲、回到主菜单,而五指收拢成圈向左移动则表示上一曲、回到主菜单,如果用户在窗户附近的区域内做出扫手的动作,机动车会确定动作幅度,进而根据手势幅度决定车窗打车的程度。在方向盘附近打响指就可启动雨刷器或是指示灯,在汽车仪表盘前扭动手腕就可以打开空调或收音机;手指向天窗就会自动开启,食指抵住嘴唇表示调低手机外放音量,手张成喇叭状表示使用手机拨打电话,类似思考着的攥下巴动作则表示“我想检索信息”,而点赞动作代表“同意”操作。当然,并不限于上述描述的手势和手势对应的操作,实际实现中可以根据用户的需要添加或修改。The model library is a series of preset gestures, and the operation instructions corresponding to the preset gesture actions can be generic by default, or can be customized according to the user's requirements. operation to achieve human-computer interaction. For example, Figure 3 lists some common gesture actions in the 3D dynamic model library. 301 is the gesture from the index finger extended state to the index finger retracted into a fist state; 302 is the counterclockwise rotation of the index finger in the extended state; 303 304 is the gesture of changing the hand from the palm to a fist; 305 is the waving gesture of the palm from left to right; 306 is the swiping gesture of the palm from right to left. Of course, the gestures listed in Figure 3 above are only some gestures in the model library. There are many gestures in practical applications, and different gestures correspond to different operation instructions. , open the palm and wave it to the right to hang up the call and cancel the operation, the V-shaped gesture means pause, play and custom operations, turn one finger clockwise to increase the volume and reduce the navigation map, and turn one finger counterclockwise to decrease , Zoom in on the navigation map, move the five fingers together in a circle to the right to indicate the next song and return to the main menu, and move the five fingers in a circle to the left to indicate the previous song and return to the main menu. For the action of sweeping the hand, the motor vehicle will determine the range of motion, and then determine the degree of car-hailing from the window according to the range of the gesture. Snap your finger near the steering wheel to activate the wipers or indicator lights, twist your wrist in front of the car dashboard to turn on the air conditioner or radio; point your finger to the sunroof to automatically open, and press your index finger to your lips to turn down the volume of your phone. A hand open into a horn means using a mobile phone to make a call, a chin-like action like thinking means "I want to retrieve information", and a like action means an "agree" action. Of course, it is not limited to the gestures and operations corresponding to the gestures described above, and can be added or modified according to the needs of users in actual implementation.

需要说明的是,所述模型库中的信息可为所述三维手势信息也可为三维手势相应的执行命令信息或二者都有。例如模型库中可仅存手掌张开向右挥动这个手势,也可仅存手掌张开向右挥动这个手势对应的要执行的命令为挂电话、取消操作,也可都保存。It should be noted that, the information in the model library may be the three-dimensional gesture information, or the execution command information corresponding to the three-dimensional gesture, or both. For example, in the model library, only the gesture of opening the palm and swiping to the right may be stored, or only the commands to be executed corresponding to the gesture of opening the palm and swiping to the right are hanging up the phone, canceling the operation, or both can be saved.

其中,S206具体为:Among them, S206 is specifically:

所述操作指令可以是位置信息,即直接将位置信息可通过接口单元将其发送给电子功能模块,电子功能模块进一步根据预设的指令和位置对应关系对要进行的动作进行执行;也可是根据位置信息识别的要做的动作指令可直接通过接口单元发送给电子功能模块,电子功能模块直接执行动作指令。对应的,此处涉及到位置信息和操作的对应关系的预设和识别可直接预设在电子功能模块或预设在信息识别模块中。例如,操作手势在预设触摸平面区域的触摸开关处时,所述操作指令可为a按键的坐标信息或具体位置信息,也可为a键代表的操作指令如打开天窗。The operation instruction can be position information, that is, the position information can be directly sent to the electronic function module through the interface unit, and the electronic function module further executes the action to be performed according to the preset corresponding relationship between the instruction and the position; The action command to be identified by the location information can be directly sent to the electronic function module through the interface unit, and the electronic function module directly executes the action command. Correspondingly, the preset and identification of the correspondence between the position information and the operation may be preset in the electronic function module or in the information identification module directly. For example, when the operation gesture is at the touch switch in the preset touch plane area, the operation instruction may be the coordinate information or specific position information of the a key, or the operation instruction represented by the a key, such as opening the sunroof.

具体的,关于图像处理和手势识别的逻辑,请参见图3,图3为本申请提供的图像处理和手势识别示意图。其中,401为系统捕获实时图像信息,对于2D摄像头,可为二维灰度平面图信号或二维彩色平面图像信号;对应3D摄像头,可为一种二维灰度平面图像信号和一维深度图像信号图。Specifically, for the logic of image processing and gesture recognition, please refer to FIG. 3 , which is a schematic diagram of image processing and gesture recognition provided by this application. Among them, 401 is the real-time image information captured by the system. For a 2D camera, it can be a two-dimensional grayscale plane image signal or a two-dimensional color plane image signal; for a 3D camera, it can be a two-dimensional grayscale plane image signal and a one-dimensional depth image. Signal diagram.

402为图像的预处理,通常是针对平面图像信号进行处理,即可通过在图像中提取手的轮廓、凸性、角或骨架,当然也可为其他手的特征。402 is the preprocessing of the image, usually processing the plane image signal, that is, by extracting the contour, convexity, angle or skeleton of the hand in the image, and of course other hand features.

403为图像处理,即对图像预处理实时获取的手势的特征做进一步处理,例如压缩、优化,具体的依据不同类型的手势和不同的手势特征做不同的处理,例如对于静态手势提取手的轮廓时,对其的手势特征做优化动作,而对于动态手势需要提取连续时间帧的多个手的轮廓,就需要先做压缩。403 is image processing, that is, further processing the features of the gesture obtained in real time by image preprocessing, such as compression, optimization, and specifically doing different processing according to different types of gestures and different gesture features, such as extracting the outline of the hand for static gestures. When the gesture features are optimized, the dynamic gesture needs to extract the contours of multiple hands in continuous time frames, which needs to be compressed first.

404为获取样本模型,即对当前手势在图像处理后根据不同类型的手势获取样本模型。例如静态手势模型可根据采集的样本,采取与步骤402和403相同的图像处理和特征提取方法,可经过样品训练运算所得的静态手势的样本模型;类似地,动态手势模型可利用静态手势模型的方法,可从时间序列上连续提取手势轮廓样本,并经过样品训练运算所得的动态手势的样本模型。Step 404 is to acquire a sample model, that is, to acquire a sample model for the current gesture according to different types of gestures after image processing. For example, the static gesture model can adopt the same image processing and feature extraction methods as in steps 402 and 403 according to the collected samples, and the sample model of the static gesture obtained by the sample training operation; similarly, the dynamic gesture model can use the static gesture model The method can continuously extract gesture contour samples from the time series, and train a sample model of dynamic gestures obtained by the sample training operation.

405为手势的识别与跟踪,对于静态手势只需识别,而对于动态手势,由于需要采集连续时间内的多帧图像,故还需跟踪。将403实时获取的手势特征信号进行处理后与手势样本模型404一起,可通过特定的算法进行实时识别,所述识别算法可以是以下的任意一种或任意几种的组合:提升(Boosting)算法、随机森林算法(Random Forest)、支持向量机算法(Support Vector Machine,简称SVM)、神经网络算法(Neural Network)、深度学习算法(Deep Learning),隐马尔可夫模型算法(Hidden Markov Model,简称HMM),当然必要时,也可采用其他算法。405 is gesture recognition and tracking. For static gestures, only recognition is required. For dynamic gestures, tracking is also required because multiple frames of images in a continuous time need to be collected. After processing the gesture feature signal obtained in real time at 403, together with the gesture sample model 404, real-time identification can be carried out through a specific algorithm, and the identification algorithm can be any one of the following or a combination of any of them: Boosting algorithm , Random Forest, Support Vector Machine (SVM), Neural Network, Deep Learning, Hidden Markov Model (Hidden Markov Model) HMM), of course, other algorithms can also be used if necessary.

406为发送手势指令,即根据生成的操作指令将其发送给执行单元,例如可通过接口单元将当前识别出的手势信号实时发送给特定的电子功能模块,执行对应的手势指令,从而实现人机交互。406 is to send a gesture command, that is, send it to the execution unit according to the generated operation command, for example, the currently recognized gesture signal can be sent to a specific electronic function module in real time through the interface unit, and the corresponding gesture command is executed, thereby realizing the human-machine operation. interact.

本发明实施例提供了一种的手势识别的方法,通过判断所捕获的图像信息中的当前手势操作所在的区域是否位于预设触摸平面区域,判定所述当前手势为触摸手势还是三维手势。如果为触摸手势,则根据所述触摸手势的触摸位置信息对操作手势进行识别;如果当前手势为三维手势,则调用预先建立的三维手势模型库,识别所述三维手势的操作手势,实现了三维手势和二维手势识别一体化,即既可以实现空中三维手势的识别,同时也可识别触摸区域的二维手势,更方便用户使用,提高用户人机交互的操控随意性和舒适性。An embodiment of the present invention provides a gesture recognition method, which determines whether the current gesture is a touch gesture or a three-dimensional gesture by judging whether the area where the current gesture operation is located in the captured image information is located in a preset touch plane area. If it is a touch gesture, the operation gesture is recognized according to the touch position information of the touch gesture; if the current gesture is a three-dimensional gesture, the pre-established three-dimensional gesture model library is called to identify the operation gesture of the three-dimensional gesture, and the three-dimensional gesture is realized. Gesture and 2D gesture recognition are integrated, that is, it can realize not only the recognition of 3D gestures in the air, but also the 2D gestures in the touch area, which is more convenient for users to use, and improves the freedom and comfort of user man-machine interaction.

在实际操作过程中,如果是2D摄像头作为识别传感器,为了更方便使用,则对实施例一做进一步的改进。In the actual operation process, if the 2D camera is used as the identification sensor, in order to be more convenient to use, the first embodiment is further improved.

实施例二:Embodiment 2:

参见图5,图5为本发明实施例提供的另一种手势识别方法的流程示意图,具体的可包括以下内容:Referring to FIG. 5, FIG. 5 is a schematic flowchart of another gesture recognition method provided by an embodiment of the present invention, which may specifically include the following content:

S501:获取2D摄像头采集的图像信息。S501: Acquire image information collected by a 2D camera.

S502:检测所述图像信息中的当前手势。S502: Detect the current gesture in the image information.

S503:判断所述当前手势的操作区域是否为预设触摸平面区域,如果是,则进入S504,反之则进入S505。S503: Determine whether the operation area of the current gesture is a preset touch plane area, and if so, go to S504; otherwise, go to S505.

S504:判定所述当前手势为触摸手势,根据所述触摸手势的触摸位置信息对操作手势进行识别。S504: Determine that the current gesture is a touch gesture, and identify the operation gesture according to the touch position information of the touch gesture.

S505:判定所述当前手势为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势。S505: Determine that the current gesture is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture.

S506:根据识别出的所述操作手势生成对应的操作指令。S506: Generate a corresponding operation instruction according to the recognized operation gesture.

当检测到2D摄像头采集图像信息中的有完整的手势时,当预设的触摸区域分为触摸板和触摸开关时,当前的手势为图6所示的三种类型,601为2D摄像头,记S为摄像头感应面的中心;602为三维手势操作,Q为手指在空中的操作位置;603为手背朝向触摸区域的触摸板ABCD用手指的指甲进行点击、滑动等触摸操作,P为手指在触摸板ABCD上的触摸位置;604为手心朝向触摸区域的触摸开关EF的手指点击、滑动等触摸操作,M为手指在触摸开关EF的触摸位置。When it is detected that there are complete gestures in the image information collected by the 2D camera, when the preset touch area is divided into touch pads and touch switches, the current gestures are the three types shown in Figure 6, and 601 is the 2D camera, marked as S is the center of the sensing surface of the camera; 602 is the three-dimensional gesture operation, Q is the operating position of the finger in the air; 603 is the touch pad ABCD with the back of the hand facing the touch area, and the fingernails are used to click, slide and other touch operations, P is the finger is touching The touch position on the board ABCD; 604 is the touch operation such as finger click and slide of the touch switch EF with the palm facing the touch area, and M is the touch position of the finger on the touch switch EF.

具体的判断所述当前手势位于哪个操作区域的方法为:The specific method for judging which operation area the current gesture is located in is:

判断所述图像信息中所述当前手势操作所在的区域是否和所述预设触摸平面区域重叠,如果否,则判定所述手势处于的区域为三维手势所在的空中区域;反之,则进一步检测所述预设触摸平面区域电路板的按键是否导通,如果是,则判定所述手势处于的区域为预设触摸平面区域,否则,则判定所述当前手势处于的区域为三维手势所在的空中区域。其中,所述按键位于所述预设触摸平面区域的电路板上的一种开关,当预设触摸平面区域有触摸动作时,该开关导通,按键可为微行程非自锁式的弹性开关,当然也可为其他的器件,只要可实现当预设触摸平面区域有触摸动作时发送相应的信号的功能即可。当然,所述预设触摸平面区域可为触摸板ABCD,也可为触摸开关EF。Determine whether the area where the current gesture operation is located in the image information overlaps with the preset touch plane area, and if not, determine that the area where the gesture is located is the air area where the three-dimensional gesture is located; otherwise, further detect the Whether the button of the circuit board in the preset touch plane area is turned on, if so, it is determined that the area where the gesture is located is the preset touch plane area, otherwise, it is determined that the area where the current gesture is located is the air area where the three-dimensional gesture is located . Wherein, the button is a switch on the circuit board in the preset touch plane area. When there is a touch action in the preset touch plane area, the switch is turned on, and the button can be a micro-stroke non-self-locking elastic switch , of course, it can also be other devices, as long as the function of sending a corresponding signal when there is a touch action in the preset touch plane area can be realized. Of course, the preset touch plane area may be the touch pad ABCD, or the touch switch EF.

当确定所述当前手势是否位于预设触摸平面区域后,即可判定当前手势为触摸手势还是三维手势,当判定当前手势为触摸手势后,可通过对其触摸位置信息进行确定来实现对操作手势的识别,具体的位置信息确定可先对当前手势进行定位,即对触摸点或位置点的确定,具体如下:After it is determined whether the current gesture is located in the preset touch plane area, it can be determined whether the current gesture is a touch gesture or a three-dimensional gesture. When it is determined that the current gesture is a touch gesture, the operation gesture can be realized by determining the touch position information. To identify the specific location information, you can first locate the current gesture, that is, to determine the touch point or location point, as follows:

举例来说,请参阅图7,图7为当前手势的定位示意图,当前手势可为在预设触摸平面区域的上方进行三维手势操作也可为触摸操作。701为使用手指食指的单指操作手势,例如图3模型库中的301手势、302手势或303手势。702为除了食指操作手势之外的其他手势,例如图3模型库中的304手势、305手势或306手势。For example, please refer to FIG. 7 . FIG. 7 is a schematic diagram of the positioning of the current gesture. The current gesture may be a three-dimensional gesture operation above the preset touch plane area or a touch operation. 701 is a single-finger operation gesture using the index finger of a finger, such as gesture 301 , gesture 302 or gesture 303 in the model library in FIG. 3 . 702 is a gesture other than the index finger operation gesture, such as gesture 304, gesture 305 or gesture 306 in the model library in FIG. 3 .

对于使用单根手指操作时,即701所代表的手势,其触摸点的定位具体如下:图中的T为手势701的手指在整幅图像中的顶点(最高点),L和T分别为像素点T下移△时手指的左右两侧的边缘像素点,图中的G为同一行像素点L和T的中心位置,即当前手势的位置点或触摸点。其中,△的取值范围本装置设定在5mm-15mm,这是因为不同的人或不同国家和地区人的手指大小宽度不一样。而对于702所代表的手势,H是该手势在整幅图像中的顶点(最高像素点),即当前手势的位置点或触摸点。When using a single finger to operate, that is, the gesture represented by 701, the location of the touch point is as follows: T in the figure is the vertex (highest point) of the finger of gesture 701 in the whole image, and L and T are pixels respectively. When the point T moves down △, the edge pixels on the left and right sides of the finger, G in the figure is the center position of the pixel points L and T in the same row, that is, the position point or touch point of the current gesture. Among them, the value range of △ is set at 5mm-15mm in this device, because the size and width of fingers of different people or people from different countries and regions are different. For the gesture represented by 702, H is the vertex (highest pixel point) of the gesture in the entire image, that is, the position point or touch point of the current gesture.

当前手势的位置信息的确定,可通过在所述图像信息和所述预设触摸平面区域建立二维笛卡尔坐标系,根据所述图像信息的所述当前手势的触摸点的二维坐标值计算相应所述预设触摸平面区域的实际坐标值,所述实际坐标值为所述当前手势的触摸位置信息。当所述触摸手势为触摸在所述预设触摸平面区域的触摸开关的所述触摸手势时,计算所述触摸位置信息还可通过检测所述触摸开关被遮挡的位置,所述被遮挡的位置为所述触摸手势的所述触摸位置信息。具体如下所述:The position information of the current gesture can be determined by establishing a two-dimensional Cartesian coordinate system between the image information and the preset touch plane area, and calculating the two-dimensional coordinate value of the touch point of the current gesture according to the image information. Corresponding to the actual coordinate value of the preset touch plane area, the actual coordinate value is the touch position information of the current gesture. When the touch gesture is the touch gesture of touching the touch switch in the preset touch plane area, calculating the touch position information can also be performed by detecting the position where the touch switch is blocked, the blocked position is the touch position information of the touch gesture. Specifically as follows:

请参阅图8,图8为当前手势位置信息确定的示意图。801是摄像头捕获的预设触摸区域的图像;802是实际的预设触摸平面区域,其中预设触摸平面区域可分为触摸板ABCD和触摸开关EF。801中的矩形区域A′B′C′D′对应于实际预设触摸平面区域的触摸板ABCD;E′F′对应于实际预设触摸平面区域的触摸开关EF;图像中的触摸板的长和宽的尺寸分别是W1'和H',而实际触摸板的长宽尺寸是W1和H;图像中的触摸开关长度设为W2',而触摸开关的实际长度设为W2。为了便于触摸位置信息的确定,在图像801中,分别设立了两个坐标系O'X'Y'和O1'X1'Y1',其中O'X'Y'是以触摸板A'B'C'D'的左上角顶点A'作为坐标原点O',以坐标原点O'像素所在的行作为X'轴,以坐标原点O'像素所在的列作为Y'轴而建立的;其中O1'X1'Y1'是以图像中触摸开关E'F'区域的左侧边缘中心点E'作为坐标原点O1',以坐标原点O1'像素所在的行作为X1'轴,以坐标原点O1'像素所在的列作为Y1'轴而建立的;对应的在实际的预设触摸平面区域上,也设定了两个坐标系OXY和O1X1Y1,其中OXY坐标系是以触摸板ABCD的左上角顶点A作为坐标原点O,以上侧水平边线作为X轴,以左侧边线作为Y轴而建立的;其中O1X1Y1坐标系是以触摸开关EF的左侧边线的中心点作为原点O1,以水平心线作为X1轴,以左侧边线作为Y1轴而建立的。图像801中的(x',y')是在O'X'Y'坐标系中当前手势触摸点的图像坐标,对应的在实际的预设触摸平面区域802中的坐标用(x,y)表示;图像801中的(x1',0)是在O1'X1'Y1'坐标系中当前手势触摸点的图像坐标,对应的在实际的预设触摸平面区域802中的坐标用(x1,0)表示。具体计算方法如下:Please refer to FIG. 8 , which is a schematic diagram of determining the current gesture position information. 801 is the image of the preset touch area captured by the camera; 802 is the actual preset touch plane area, wherein the preset touch plane area can be divided into the touch pad ABCD and the touch switch EF. The rectangular area A'B'C'D' in 801 corresponds to the touchpad ABCD of the actual preset touch plane area; E'F' corresponds to the touch switch EF of the actual preset touch plane area; the length of the touchpad in the image is The dimensions of and width are W 1 ' and H' respectively, while the length and width dimensions of the actual touchpad are W 1 and H; the length of the touch switch in the image is set to W 2 ', and the actual length of the touch switch is set to W 2 . In order to facilitate the determination of the touch position information, in the image 801, two coordinate systems O'X'Y' and O 1 'X 1 'Y 1 ' are respectively established, where O'X'Y' is the touch panel A' The upper left corner vertex A' of B'C'D' is used as the coordinate origin O', the row where the pixel of the coordinate origin O' is located is used as the X' axis, and the column where the pixel of the coordinate origin O' is located is used as the Y' axis. O 1 'X 1 'Y 1 ' takes the center point E' of the left edge of the touch switch E'F' area in the image as the coordinate origin O 1 ', and takes the line where the pixel of the coordinate origin O 1 ' is located as the X 1 ' axis , which is established with the column where the coordinate origin O 1 ' pixel is located as the Y 1 'axis; correspondingly, on the actual preset touch plane area, two coordinate systems OXY and O 1 X 1 Y 1 are also set, where The OXY coordinate system is established with the upper left corner vertex A of the touchpad ABCD as the coordinate origin O, the upper horizontal edge as the X axis, and the left edge as the Y axis; the O 1 X 1 Y 1 coordinate system is based on the touch switch The center point of the left side line of EF is taken as the origin O 1 , the horizontal center line is taken as the X 1 axis, and the left side line is taken as the Y 1 axis. (x', y') in the image 801 are the image coordinates of the current gesture touch point in the O'X'Y' coordinate system, and the corresponding coordinates in the actual preset touch plane area 802 are (x, y) Representation; (x 1 ', 0) in the image 801 is the image coordinates of the current gesture touch point in the O 1 'X 1 'Y 1 ' coordinate system, and the corresponding coordinates in the actual preset touch plane area 802 are represented by (x 1 , 0) represents. The specific calculation method is as follows:

对于触摸板,首先在图像801中计算出当前手势触摸点在O'X'Y'坐标系中的坐标(x',y')和触摸板A'B'C'D'的长W1'和宽H';由于摄像头采集的触摸板的图像与实际预设触摸平面区域的触摸板,只有很小的图形扭曲,所以近似地按下式计算该触摸点在实际触摸板ABCD内相对于OXY坐标系的坐标:For the touchpad, first calculate the coordinates (x', y') of the touch point of the current gesture in the O'X'Y' coordinate system and the length W 1 ' of the touchpad A'B'C'D' in the image 801 and width H'; because the image of the touchpad captured by the camera and the touchpad in the actual preset touch plane area have only a small graphic distortion, so approximately press the formula to calculate the touch point relative to OXY in the actual touchpad ABCD Coordinates of the coordinate system:

Figure BDA0001139690440000151
Figure BDA0001139690440000151

Figure BDA0001139690440000152
but
Figure BDA0001139690440000152

对于触摸开关,一种方法可按上述的坐标表示,即首先在图像801中计算出当前手势触摸点在O1'X1'Y1'坐标系中的坐标(x1',0)和触摸开关长度W2';则该触摸点在实际触摸开关相对于O1X1Y1坐标系的坐标:For the touch switch, a method can be expressed by the above-mentioned coordinates, that is, firstly, the coordinates (x 1 ', 0) of the touch point of the current gesture in the O 1 'X 1 'Y 1 ' coordinate system and the touch point in the image 801 are calculated. Switch length W 2 '; then the coordinates of the touch point in the actual touch switch relative to the O 1 X 1 Y 1 coordinate system:

Figure BDA0001139690440000161
Figure BDA0001139690440000161

另一种方法为可通过检测图像801中触摸面板开关E'F'区域内具体哪个开关的信标被手指遮挡,则直接将所述信标的信息作为当前手势的位置信息反馈,例如图中的信标为‘e'’的开关被遮挡,则判定当前手势的触摸点的实际开关即是信标为‘e’的开关。Another method is to directly use the information of the beacon as the position information of the current gesture to feed back the beacon information of the specific switch in the E'F' area of the touch panel switch E'F' in the image 801. For example, in the figure If the switch whose beacon is 'e' is blocked, it is determined that the actual switch of the touch point of the current gesture is the switch whose beacon is 'e'.

当判定当前手势为三维手势时,可通过先判断所述当前手势为静态手势还是动态手势,进一步确定需要调用三维静态手势模型库还是三维动态手势模型库。根据模型库来识别所述三维手势的操作手势。具体的参见S205,此处就不再赘述。When it is determined that the current gesture is a three-dimensional gesture, it can be further determined whether the three-dimensional static gesture model library or the three-dimensional dynamic gesture model library needs to be called by first determining whether the current gesture is a static gesture or a dynamic gesture. The operation gesture of the three-dimensional gesture is recognized according to the model library. For details, refer to S205, which will not be repeated here.

由上可知,本发明实施例提供了一种的手势识别的方法,通过判断2D摄像头捕获的图像信息中的当前手势操作所在的区域是否位于预设触摸平面区域,判定所述当前手势为触摸手势还是三维手势。如果为触摸手势,则根据所述触摸手势的触摸位置信息对操作手势进行识别;如果当前手势为三维手势,则调用预先建立的三维手势模型库,识别所述三维手势的操作手势,实现了三维手势和二维手势识别一体化,便用户使用,提高用户人机交互的操控随意性和舒适性。As can be seen from the above, an embodiment of the present invention provides a gesture recognition method, by judging whether the area where the current gesture operation is located in the image information captured by the 2D camera is located in the preset touch plane area, and determining that the current gesture is a touch gesture. Or three-dimensional gestures. If it is a touch gesture, the operation gesture is recognized according to the touch position information of the touch gesture; if the current gesture is a three-dimensional gesture, the pre-established three-dimensional gesture model library is called to identify the operation gesture of the three-dimensional gesture, and the three-dimensional gesture is realized. Gesture and 2D gesture recognition are integrated, which is convenient for users to use and improves the freedom and comfort of user's human-computer interaction.

在实际操作过程中,如果是3D摄像头作为识别传感器,为了更方便使用,则对实施例一做进一步的改进。In the actual operation process, if the 3D camera is used as the identification sensor, in order to be more convenient to use, the first embodiment is further improved.

实施例三:Embodiment three:

参见图9,图9为本发明实施例提供的另一种手势识别方法的流程示意图,具体的可包括以下内容:Referring to FIG. 9, FIG. 9 is a schematic flowchart of another gesture recognition method provided by an embodiment of the present invention, which may specifically include the following content:

S901:获取3D摄像头采集的图像信息。S901: Acquire image information collected by a 3D camera.

S902:检测所述图像信息中的当前手势。S902: Detect the current gesture in the image information.

S903:判断所述当前手势的操作区域是否为预设触摸平面区域,如果是,则进入S904,反之则进入S905。S903: Determine whether the operation area of the current gesture is a preset touch plane area, if so, go to S904, otherwise, go to S905.

S904:当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述当前手势为触摸手势,根据所述触摸手势的触摸位置信息对操作手势进行识别。S904: When the operation area where the current gesture is located is located in the preset touch plane area, determine that the current gesture is a touch gesture, and identify the operation gesture according to the touch position information of the touch gesture.

S905:当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述当前手势为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势。S905: When the operation area where the current gesture is located is not located in the preset touch plane area, determine that the current gesture is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture.

S906:根据识别出的所述操作手势生成对应的操作指令。S906: Generate a corresponding operation instruction according to the recognized operation gesture.

本实施例与实施例二相比,2D摄像头换为3D摄像头,即采集的图像信息多了一维的深度信息,相应的S903判断当前手势位于的操作区域的判断方法不同,其他步骤与实施例二一样,故此处只针对S903具体阐述,其他就不再赘述。Compared with the second embodiment, the 2D camera is replaced by a 3D camera, that is, the collected image information has one more dimension of depth information, and the corresponding S903 judgment method for judging the operation area where the current gesture is located is different, and other steps are the same as the embodiment. The two are the same, so only the S903 is described in detail here, and the others will not be repeated.

判断所述图像信息中所述当前手势操作所在的区域是否和所述预设触摸平面区域重叠,如果否,则判定所述手势处于的区域为三维手势所在的空中区域;反之,则继续下述方法做进一步判断。Determine whether the area where the current gesture operation is located in the image information overlaps with the preset touch plane area, and if not, determine that the area where the gesture is located is the air area where the three-dimensional gesture is located; otherwise, continue with the following method for further judgment.

计算所述图像采集设备与所述预设触摸平面区域内各像素点的深度值,确定最小深度值Lmin。当然,所述预设触摸平面区域可为触摸板和/或触摸开关。举例来说,首先计算出矩形触摸板ABCD内各像素点的深度值和触摸开关EF区域内各个开关中心点的深度值La,Lb,Lc,Ld,Le,Lf,Lg,Lh,Li,并根据以上深度信息确定出摄像头距离预设触摸平面区域的最小深度值Lmin,例如在众多的深度值中,如果La为最小的值,则判定Lmin=La。Calculate the depth values of the image acquisition device and each pixel in the preset touch plane area, and determine the minimum depth value L min . Of course, the preset touch plane area may be a touch pad and/or a touch switch. For example, first calculate the depth value of each pixel point in the rectangular touchpad ABCD and the depth value La, Lb, Lc, Ld, Le, Lf, Lg, Lh, Li of each switch center point in the touch switch EF area, and The minimum depth value Lmin between the camera and the preset touch plane area is determined according to the above depth information. For example, among the numerous depth values, if La is the smallest value, it is determined that Lmin=La.

通过实施例二中当前手势的定位的方法确定出当前手势的触摸点,计算所述当前手势的触摸点与所述图像采集设备的距离L,例如触摸点为Q时,计算Q点与摄像头的距离LsQThe touch point of the current gesture is determined by the method of positioning the current gesture in the second embodiment, and the distance L between the touch point of the current gesture and the image acquisition device is calculated. For example, when the touch point is Q, the distance L between the touch point of the current gesture and the camera is calculated. distance L sQ ;

因为△的取值范围设定在5mm-15mm,如果△取最大值时满足条件,则取范围内的任何值都可满足条件,故可有:Because the value range of △ is set at 5mm-15mm, if the condition is satisfied when △ takes the maximum value, any value within the range can satisfy the condition, so there are:

如果L-Lmin≤15mm,则判定所述当前手势所在的操作区域不位于所述预设触摸平面区域,反之,则判定位于所述预设触摸平面区域。例如LsQ≤Lmin-15mm,则判定当前手势为三维手势,反之则为触摸手势。If LL min ≤ 15mm, it is determined that the operation area where the current gesture is located is not located in the preset touch plane area, otherwise, it is determined that the operation area is located in the preset touch plane area. For example, if L sQ ≤L min -15mm, it is determined that the current gesture is a three-dimensional gesture, otherwise, it is a touch gesture.

由上可知,本发明实施例提供了一种的手势识别的方法,通过判断3D摄像头捕获的图像信息中的当前手势操作所在的区域是否位于预设触摸平面区域,判定所述当前手势为触摸手势还是三维手势。如果为触摸手势,则根据所述触摸手势的触摸位置信息对操作手势进行识别;如果当前手势为三维手势,则调用预先建立的三维手势模型库,识别所述三维手势的操作手势,实现了三维手势和二维手势识别一体化,便用户使用,提高用户人机交互的操控舒适性。As can be seen from the above, an embodiment of the present invention provides a method for gesture recognition. By determining whether the area where the current gesture operation is located in the image information captured by the 3D camera is located in the preset touch plane area, it is determined that the current gesture is a touch gesture. Or three-dimensional gestures. If it is a touch gesture, the operation gesture is recognized according to the touch position information of the touch gesture; if the current gesture is a three-dimensional gesture, the pre-established three-dimensional gesture model library is called to identify the operation gesture of the three-dimensional gesture, and the three-dimensional gesture is realized. Gesture and 2D gesture recognition are integrated, which is convenient for users to use and improves the user's comfort of human-computer interaction.

本发明实施例还针对手势识别的方法提供了相应的实现装置,进一步使得所述方法更具有实用性。下面对本发明实施例提供的手势识别装置进行介绍,下文描述手势识别的装置与上文描述的手势识别的方法可相互对应参照。The embodiment of the present invention also provides a corresponding implementation device for the gesture recognition method, which further makes the method more practical. The gesture recognition device provided by the embodiment of the present invention is introduced below. The gesture recognition device described below and the gesture recognition method described above can be referred to each other correspondingly.

实施例四:Embodiment 4:

参见图10,图10为本发明实施例提供的一种手势识别装置的结构图,该装置可包括:Referring to FIG. 10, FIG. 10 is a structural diagram of a gesture recognition device provided by an embodiment of the present invention, and the device may include:

图像获取模块1001,用于获取图像采集设备采集的图像信息。The image acquisition module 1001 is used for acquiring image information acquired by an image acquisition device.

检测图像模块1002,用于检测所述图像信息中的当前手势。The image detection module 1002 is configured to detect the current gesture in the image information.

判断区域模块1003,用于判断所述当前手势所在的操作区域。The judgment area module 1003 is used for judging the operation area where the current gesture is located.

信息识别模块1004,用于识别所述当前手势:The information recognition module 1004 is used to recognize the current gesture:

当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述手势信息为触摸手势时,根据所述触摸手势的触摸位置对操作手势进行识别;When the operation area where the current gesture is located is located in the preset touch plane area, and when it is determined that the gesture information is a touch gesture, the operation gesture is identified according to the touch position of the touch gesture;

当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述手势信息为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势。When the operation area where the current gesture is located is not located in the preset touch plane area, it is determined that the gesture information is a three-dimensional gesture, and a pre-established three-dimensional gesture model library is called to identify the operation gesture of the three-dimensional gesture.

指令生成模块1005,用于根据识别出的所述操作手势生成对应的操作指令。The instruction generation module 1005 is configured to generate a corresponding operation instruction according to the recognized operation gesture.

作为优选的,判断区域模块1003可包括:Preferably, the judging area module 1003 may include:

第一判断单元,检测所述预设触摸平面区域上用于指示是否存在触摸信号的按键是否导通,如果是,则判定所述当前手势所在的操作区域位于所述预设触摸平面区域;如果否,则判定不位于所述预设触摸平面区域;和/或a first determination unit, which detects whether the button on the preset touch plane area used to indicate whether there is a touch signal is turned on, and if so, determines that the operation area where the current gesture is located is located in the preset touch plane area; if No, it is determined that it is not located in the preset touch plane area; and/or

第二判断单元,计算所述图像采集设备与所述预设触摸平面区域内各像素点的深度值,确定最小深度值Lmina second judging unit, calculating the depth values of the image acquisition device and each pixel in the preset touch plane area, and determining the minimum depth value L min ;

计算所述当前手势的触摸点与所述图像采集设备的距离L;Calculate the distance L between the touch point of the current gesture and the image acquisition device;

如果L-Lmin≤15mm,则判定所述当前手势所在的操作区域不位于所述预设触摸平面区域,反之,则判定位于所述预设触摸平面区域。If LL min ≤ 15mm, it is determined that the operation area where the current gesture is located is not located in the preset touch plane area, otherwise, it is determined that the operation area is located in the preset touch plane area.

可选的,在本实施例的另一些实施方式中,所述装置例如还可以包括:Optionally, in other implementations of this embodiment, the apparatus may further include, for example:

红外补光模块,用于发射特定的调制红外光,配合图像采集设备获取清晰的图像信号。这样在当前环境光照不充分时,仍然可以获取清晰图像,有助于更好的识别手势。The infrared light supplement module is used to emit specific modulated infrared light, and cooperate with the image acquisition equipment to obtain clear image signals. In this way, when the current ambient lighting is insufficient, a clear image can still be obtained, which is helpful for better gesture recognition.

本发明实施例所述手势识别装置的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。The functions of each functional module of the gesture recognition device according to the embodiment of the present invention may be specifically implemented according to the methods in the foregoing method embodiments, and the specific implementation process may refer to the relevant descriptions of the foregoing method embodiments, which will not be repeated here.

由上可知,本发明实施例提供了一种手势识别的装置,通过判断图像采集设备采集的图像信息中的当前手势操作所在的区域是否位于预设触摸平面区域,判定所述当前手势为触摸手势还是三维手势,实现了三维手势和二维手势识别一体化,更方便用户使用,提高用户人机交互的操控舒适性。As can be seen from the above, an embodiment of the present invention provides a gesture recognition device, which determines whether the current gesture is a touch gesture by judging whether the area where the current gesture operation is located in the image information collected by the image acquisition device is located in the preset touch plane area. It is also a three-dimensional gesture, which realizes the integration of three-dimensional gesture and two-dimensional gesture recognition, which is more convenient for users to use and improves the control comfort of user-computer interaction.

实施例五:Embodiment 5:

参见图11,本发明实施例还提供了一种车载系统,可以包括:Referring to FIG. 11 , an embodiment of the present invention further provides a vehicle-mounted system, which may include:

图像采集设备1101,用于采集图像信息;an image acquisition device 1101 for acquiring image information;

触摸面板1102,用于实现二维手势的操作;touch panel 1102, used to realize the operation of two-dimensional gestures;

手势识别装置1103,用于识别当前手势,为上述实施例四所描述的手势识别装置。The gesture recognition device 1103 is used to recognize the current gesture, and is the gesture recognition device described in the fourth embodiment.

其中,所述图像采集设备可设置于车顶灯模块,图像采集设备置于车顶,可以扩大其感应区域,设置于车顶灯可以避免单独设置地方安置图像采集设备的成本,当然也可不设置在车灯模块,可依据用户的爱好具体设置。需要说明的是,所述图像采集设备也可设置为旋转的,即可360度无死角的采集图像,但是因此而带来的问题是用户需要跟踪图像采集设备的旋转角度而做手势,会带来一些不方便,优选的可将图像采集设备固定,用户只需在其感应区域手势操作即可。图像采集设备可以用3D摄像头或2D摄像头,当然,必要的时候可以采用其他图像采集设备。Wherein, the image capture device can be installed on the roof light module, and the image capture device can be placed on the roof of the car to expand its sensing area, and the image capture device can be installed on the dome light to avoid the cost of installing the image capture device in a separate location. Of course, it may not be installed on the car. The lamp module can be set according to the user's preference. It should be noted that the image capture device can also be set to rotate, that is, to capture images in 360 degrees without dead ends, but the problem caused by this is that the user needs to track the rotation angle of the image capture device to make gestures, which will bring For some inconvenience, preferably, the image acquisition device can be fixed, and the user only needs to perform gesture operation in its sensing area. The image acquisition device can use a 3D camera or a 2D camera, of course, other image acquisition devices can be used when necessary.

触摸面板1102可包括触摸板和/或触摸开关,所述触摸板和所述触摸开关可整体无缝设置于所述触摸面板,也就是说触摸板和触摸开关之间没有缝隙,整体为一块板,这样就可避免清理触摸板带来的困扰,而且美观,好看。The touch panel 1102 may include a touch panel and/or a touch switch, and the touch panel and the touch switch may be integrally and seamlessly disposed on the touch panel, that is to say, there is no gap between the touch panel and the touch switch, and the whole is a board , so you can avoid the trouble of cleaning the touchpad, and it is beautiful and beautiful.

可选的,在本实施例的一些实施方式中,当所述图像采集设备为2D摄像头时,所述触摸面板例如包括触摸板和触摸开关,请参阅图12和图13,图12为本发明实施例提供的一种基于2D摄像头的触摸板的结构示意图,图13为本发明实施例提供的一种基于2D摄像头的触控开关的结构示意图,所述触摸板和所述触摸开关可以包括:Optionally, in some implementations of this embodiment, when the image acquisition device is a 2D camera, the touch panel includes, for example, a touch pad and a touch switch, please refer to FIG. 12 and FIG. 13 , and FIG. 12 is the present invention 13 is a schematic structural diagram of a 2D camera-based touch switch provided by an embodiment of the present invention. The touchpad and the touch switch may include:

所述触摸板包括:The touchpad includes:

面板单元1201,可为液晶显示器或者塑料面板或金属面板或其他任何材质的面板;The panel unit 1201 can be a liquid crystal display or a plastic panel or a metal panel or a panel of any other material;

电路板单元1202;circuit board unit 1202;

按键单元1203;key unit 1203;

支撑件单元1204,所述支撑件单元包括支撑件及外壳,其材质优选的为塑料,当然也可为其他材质。The supporter unit 1204, the supporter unit includes a supporter and a casing, and the material of which is preferably plastic, but of course other materials are also possible.

其中,1205表示手心朝向触摸板ABCD的手指点击、滑动等触摸操作;图中标号1206表示手背朝向触摸板ABCD用手指的指甲进行点击、滑动等触摸操作。Among them, 1205 represents a touch operation such as clicking and sliding with the palm of the hand facing the touchpad ABCD; the numeral 1206 in the figure represents a touch operation such as clicking and sliding with the fingernail of the back of the hand facing the touchpad ABCD.

所述触摸开关包括:The touch switch includes:

带有信标面板单元1301,可为液晶显示器或者塑料面板或金属面板或其他任何材质的面板;With a beacon panel unit 1301, it can be a liquid crystal display or a plastic panel or a metal panel or a panel of any other material;

导光板单元1302,优选的可为透明塑料材质,当然也可为其他材质,但是优选的应为透明的;The light guide plate unit 1302 can preferably be made of transparent plastic material, of course, it can also be made of other materials, but preferably it should be transparent;

电路板单元1303,所述电路板上设置按键和灯;circuit board unit 1303, on which buttons and lights are arranged;

按键单元1304,可为一种微行程非自锁式的弹性开关;The button unit 1304 can be a micro-stroke non-self-locking elastic switch;

设置灯单元1305,灯一般为体积较小的、耗电量较小的灯,例如LED灯;A lamp unit 1305 is provided, and the lamp is generally a lamp with a small volume and low power consumption, such as an LED lamp;

支撑件单元1306,所述支撑件单元包括支撑件及外壳,其材质优选的为塑料,当然也可为其他材质。The supporter unit 1306, the supporter unit includes a supporter and a casing, and the material of which is preferably plastic, but of course other materials are also possible.

其中,1307表示手心朝向触摸开关EF的手指点击、滑动等触摸操作;图中标号1308表示手背朝向触摸开关EF用手指的指甲进行点击、滑动等触摸操作。Among them, 1307 represents a touch operation such as clicking and sliding with the palm of the hand toward the touch switch EF; the numeral 1308 in the figure represents a touch operation such as clicking and sliding with the fingernail of the back of the hand toward the touch switch EF.

可选的,在本实施例的又一些实施方式中,当所述图像采集设备为3D摄像头时,所述触摸面板例如包括触摸板和触摸开关,请参阅图14和图15,图14为本发明实施例提供的一种基于3D摄像头的触摸板的结构示意图,图15为本发明实施例提供的一种基于3D摄像头的触控开关的结构示意图,所述触摸板和所述触摸开关可以包括:Optionally, in other implementations of this embodiment, when the image acquisition device is a 3D camera, the touch panel includes, for example, a touch pad and a touch switch, please refer to FIG. 14 and FIG. 15 , and FIG. 14 is this FIG. 15 is a schematic structural diagram of a 3D camera-based touch switch provided by an embodiment of the present invention. The touch panel and the touch switch may include :

所述触摸板包括:The touchpad includes:

面板单元1401,可为液晶显示器或者塑料面板或金属面板或其他任何材质的面板;The panel unit 1401 can be a liquid crystal display or a plastic panel or a metal panel or a panel of any other material;

支撑件单元1402,所述支撑件单元包括支撑件及外壳,其材质优选的为塑料,当然也可为其他材质。The supporter unit 1402, the supporter unit includes a supporter and a casing, and the material of which is preferably plastic, but of course other materials are also possible.

与图12所示的基于2D摄像头作为识别传感器时触摸板的结构示意图对比,可知,基于3D摄像头作为识别传感器时触摸板的结构更加简单,可不需要任何电子元件和电路板,即可不需要感应单元的触模面板使用,这样可以节省用户使用成本。Compared with the structure diagram of the touchpad based on the 2D camera as the recognition sensor shown in Figure 12, it can be seen that the structure of the touchpad based on the 3D camera as the recognition sensor is simpler, and it does not need any electronic components and circuit boards. The touch panel is used, which can save the user's use cost.

所述触摸开关包括:The touch switch includes:

带有信标的面板单元、导光板单元、设置灯单元和支撑件单元。Panel unit with beacon, light guide plate unit, setting light unit and supporter unit.

带有信标面板单元1501,可为液晶显示器或者塑料面板或金属面板或其他任何材质的面板;With a beacon panel unit 1501, it can be a liquid crystal display or a plastic panel or a metal panel or a panel of any other material;

导光板单元1502,优选的可为透明塑料材质,当然也可为其他材质,但是优选的应为透明的;The light guide plate unit 1502 can preferably be made of transparent plastic material, of course, it can also be made of other materials, but preferably it should be transparent;

电路板单元1503,所述电路板上设置灯;Circuit board unit 1503, on which lights are arranged;

支撑件单元1504,所述支撑件单元包括支撑件及外壳,其材质优选的为塑料,当然也可为其他材质;The supporter unit 1504, the supporter unit includes a supporter and a casing, and its material is preferably plastic, of course, it can also be made of other materials;

设置灯单元1505,灯一般为体积较小的、耗电量较小的等,例如LED灯。A lamp unit 1505 is provided, and the lamp is generally smaller in size and consumes less power, such as an LED lamp.

与图13所示的基于2D摄像头作为识别传感器时触摸开关的结构示意图对比,可知,基于3D摄像头作为识别传感器时触摸开关缺少按键单元,使得结构、功能更加简化,而且一定程度上可节约用户使用成本。Compared with the schematic structure diagram of the touch switch based on the 2D camera as the recognition sensor shown in Figure 13, it can be seen that the touch switch based on the 3D camera as the recognition sensor lacks a key unit, which simplifies the structure and function, and can save users to a certain extent. cost.

需要说明的是,一种车载系统不仅仅包括上述描述的单元,还包括很多,本实施例只是针对现有技术有改进的单元做了相关详细说明。其中,手势识别装置为上述实施例四所描述的手势识别装置,具体实现过程可以参照上述方法实施例和装置实施例的相关描述,此处不再赘述。It should be noted that an in-vehicle system not only includes the above-described units, but also includes many units, and this embodiment only provides relevant detailed descriptions for units that have been improved in the prior art. The gesture recognition device is the gesture recognition device described in the fourth embodiment. For a specific implementation process, reference may be made to the related descriptions of the above method embodiments and device embodiments, which will not be repeated here.

由上可知,本发明实施例提供了一种手势识别的车载系统,通过判断图像采集设备采集的图像信息中的当前手势操作所在的区域是否位于预设触摸平面区域,判定所述当前手势为触摸手势还是三维手势,实现了三维手势和二维手势识别一体化,更方便用户使用,提高用户人机交互的操控舒适性,此外,本申请的触摸板结构结构、功能更加简化,一定程度上节约了用户使用成本。As can be seen from the above, an embodiment of the present invention provides a vehicle-mounted system for gesture recognition, which determines whether the current gesture is a touch by judging whether the area where the current gesture operation is located in the image information collected by the image acquisition device is located in a preset touch plane area. Gestures are still three-dimensional gestures, which realizes the integration of three-dimensional gestures and two-dimensional gesture recognition, which is more convenient for users to use, and improves the control comfort of users' human-computer interaction. In addition, the structure and function of the touch panel of the present application are more simplified, saving to a certain extent. user cost.

为便于更好的理解和实施本发明实施例四和实施例五的上述方案,下面通过举例具体的应用场景进行说明。请参阅图16,图16为本发明实施例提供的一种可手势识别控制的车载系统结构框图。In order to facilitate better understanding and implementation of the above solutions in Embodiment 4 and Embodiment 5 of the present invention, the following describes specific application scenarios by way of example. Please refer to FIG. 16 . FIG. 16 is a structural block diagram of an in-vehicle system capable of gesture recognition and control according to an embodiment of the present invention.

控制单元1601,包括手势识别装置,为该车载系统的控制核心,所述控制单元1601可用于获取摄像头1602的图像信息,并根据获取的信息,实时检测操作者的手势,并通过手势识别单元对所检测的手势进行识别;The control unit 1601 includes a gesture recognition device, which is the control core of the in-vehicle system. The control unit 1601 can be used to acquire the image information of the camera 1602, and according to the acquired information, detect the operator's gesture in real time, and use the gesture recognition unit to detect the gesture of the operator. The detected gesture is recognized;

其中,当摄像头为2D摄像头时,所述控制单元1601是可用于实时检测中控面板触摸板内部的按键信号1608和中控面板触摸开关1607的内部按键信号,并根据按键信号来判断当前手指触摸操作所在的区域。Wherein, when the camera is a 2D camera, the control unit 1601 can be used for real-time detection of the key signal 1608 inside the touch panel of the central control panel and the internal key signal of the touch switch 1607 of the central control panel, and judge the current finger touch according to the key signal The region where the operation is located.

所述控制单元1601控制该红外补光模块1603来发射特定的调制红外光,配合图像采集设备获取清晰的图像信号。这样在当前环境光照不充分时,仍然可以获取清晰图像,有助于更好的识别手势。The control unit 1601 controls the infrared supplementary light module 1603 to emit specific modulated infrared light, and cooperates with the image acquisition device to obtain clear image signals. In this way, when the current ambient lighting is insufficient, a clear image can still be obtained, which is helpful for better gesture recognition.

所述控制单元1601还可用于检测汽车头灯信号1606,当检测到汽车头灯被打开时,对应的控制并点亮中控面板触摸开关背光1605;当检测到汽车头灯1606被关闭时,对应的控制并关闭中控面板触摸开关背光1605。The control unit 1601 can also be used to detect the car headlight signal 1606, when it is detected that the car headlight is turned on, the corresponding control and lighting of the touch switch backlight 1605 of the center control panel; when it is detected that the car headlight 1606 is turned off, Correspondingly control and turn off the touch switch backlight 1605 of the center control panel.

所述控制单元1601还可控制接口单元1605,并用于将实时检测出的三维手势和触摸手势的相关信息例如位置信息发送给特定的电子功能模块,执行对应的手势指令,实现人机交互。所述接口单元模块,通常是CAN总线、Lin总线或者模拟电平信号接口,是用于匹配特定的电子功能模块的接口,是用于与特定的电子功能模块进行通信的接口。The control unit 1601 can also control the interface unit 1605, and is used to send the real-time detected three-dimensional gesture and touch gesture related information such as position information to a specific electronic function module, execute corresponding gesture instructions, and realize human-computer interaction. The interface unit module, usually a CAN bus, a Lin bus or an analog level signal interface, is an interface used to match a specific electronic function module, and an interface used to communicate with a specific electronic function module.

通过在车载系统的控制单元内植入手势识别装置,所述手势识别装置为上述方法实施例、装置和系统实施例中描述的手势识别装置,在用户行车过程中可识别用户的三维手势或二维手势,大大的提高了用户人机交互操作的舒适性。By implanting a gesture recognition device in the control unit of the in-vehicle system, the gesture recognition device is the gesture recognition device described in the above method embodiment, device and system embodiment, and can recognize the user's three-dimensional gesture or two-dimensional gesture during the driving process of the user. Dimensional gestures greatly improve the comfort of the user's human-computer interaction operation.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments may be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

以上对本发明所提供的一种手势识别的方法、装置以及车载系统进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method, device and vehicle-mounted system for gesture recognition provided by the present invention are described above in detail. The principles and implementations of the present invention are described herein by using specific examples, and the descriptions of the above embodiments are only used to help understand the method and the core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can also be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims (6)

1.一种手势识别的方法,其特征在于,包括:1. a method for gesture recognition, is characterized in that, comprises: 获取图像采集设备采集的图像信息;Obtain the image information collected by the image collection device; 检测所述图像信息中的当前手势;detecting the current gesture in the image information; 判断所述当前手势所在的操作区域;Determine the operation area where the current gesture is located; 当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述当前手势为触摸手势,根据所述触摸手势的触摸位置信息对操作手势进行识别;When the operation area where the current gesture is located is located in the preset touch plane area, determine that the current gesture is a touch gesture, and identify the operation gesture according to the touch position information of the touch gesture; 当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述当前手势为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势;When the operation area where the current gesture is located is not located in the preset touch plane area, determine that the current gesture is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture; 根据识别出的所述操作手势生成对应的操作指令;Generate a corresponding operation instruction according to the identified operation gesture; 所述当前手势为以下任意一种或任意组合:The current gesture is any one or any combination of the following: 用手指指心、手指的侧面、指甲进行触摸或点击操作的手势;Gestures of touching or clicking with the center of the finger, the side of the finger, or the fingernail; 所述调用预先建立的三维手势模型库为:The calling of the pre-established 3D gesture model library is: 在时间序列上连续获取多帧包含所述当前手势的图像信息,如果多帧图像中的所述当前手势相同且所述当前手势的位置未发生变化,所述当前手势则为静态手势,调取三维静态手势模型库;反之,则调用三维动态手势模型库;Continuously acquire multiple frames of image information including the current gesture in time series. If the current gestures in the multiple frames of images are the same and the position of the current gesture has not changed, the current gesture is a static gesture, and the call 3D static gesture model library; otherwise, call the 3D dynamic gesture model library; 所述图像信息为二维平面信息时,所述判断所述当前手势所在的操作区域的步骤包括:When the image information is two-dimensional plane information, the step of judging the operation area where the current gesture is located includes: 检测所述预设触摸平面区域上用于指示是否存在触摸信号的按键是否导通,如果是,则判定所述当前手势所在的操作区域位于所述预设触摸平面区域;如果否,则判定不位于所述预设触摸平面区域。Detect whether the button on the preset touch plane area for indicating whether there is a touch signal is turned on, if so, determine that the operation area where the current gesture is located is located in the preset touch plane area; if not, determine that it is not located in the preset touch plane area. 2.根据权利要求1所述的方法,其特征在于,所述图像信息包括二维平面信息和一维深度图像信息时,所述判断所述当前手势所在的操作区域的步骤包括:2. The method according to claim 1, wherein when the image information includes two-dimensional plane information and one-dimensional depth image information, the step of judging the operation area where the current gesture is located comprises: 根据所述图像采集设备与所述预设触摸平面区域内各像素点的深度值,确定最小深度值Lmin;Determine the minimum depth value Lmin according to the image acquisition device and the depth value of each pixel in the preset touch plane area; 计算所述当前手势的触摸点与所述图像采集设备的距离L;Calculate the distance L between the touch point of the current gesture and the image acquisition device; 如果L-Lmin≤15mm,则判定所述当前手势所在的操作区域不位于所述预设触摸平面区域,反之,则判定位于所述预设触摸平面区域。If L-Lmin≤15mm, it is determined that the operation area where the current gesture is located is not located in the preset touch plane area, otherwise, it is determined to be located in the preset touch plane area. 3.一种手势识别的装置,其特征在于,包括:3. A device for gesture recognition, comprising: 图像获取模块,用于获取图像采集设备采集的图像信息;an image acquisition module for acquiring image information collected by an image acquisition device; 检测图像模块,用于检测所述图像信息中的当前手势;an image detection module for detecting the current gesture in the image information; 判断区域模块,用于判断所述当前手势所在的操作区域;a judging area module for judging the operating area where the current gesture is located; 信息识别模块,用于识别所述当前手势:当所述当前手势所在的操作区域位于预设触摸平面区域时,判定所述手势信息为触摸手势时,根据所述触摸手势的触摸位置对操作手势进行识别;当所述当前手势所在的操作区域不位于所述预设触摸平面区域时,判定所述手势信息为三维手势,调用预先建立的三维手势模型库,识别所述三维手势的操作手势;The information recognition module is used to recognize the current gesture: when the operation area where the current gesture is located is located in the preset touch plane area, when it is determined that the gesture information is a touch gesture, the operation gesture is determined according to the touch position of the touch gesture. Recognize; when the operation area where the current gesture is located is not located in the preset touch plane area, determine that the gesture information is a three-dimensional gesture, call a pre-established three-dimensional gesture model library, and identify the operation gesture of the three-dimensional gesture; 指令生成模块,用于根据识别出的所述操作手势生成对应的操作指令;an instruction generation module, configured to generate a corresponding operation instruction according to the identified operation gesture; 所述信息识别模块具体还用于,识别的所述当前手势为以下任意一种或任意组合:用手指指心、手指的侧面、指甲进行触摸或点击操作的手势;调用预先建立的三维手势模型库为:在时间序列上连续获取多帧包含所述当前手势的图像信息,如果多帧图像中的所述当前手势相同且所述当前手势的位置未发生变化,所述当前手势则为静态手势,调取三维静态手势模型库;反之,则调用三维动态手势模型库;The information recognition module is also specifically used to: the current gesture recognized is any one or any combination of the following: a gesture of touching or clicking on the center of a finger, the side of a finger, or a fingernail; calling a pre-established three-dimensional gesture model The library is: continuous acquisition of multiple frames of image information including the current gesture in time series, if the current gesture in the multi-frame images is the same and the position of the current gesture does not change, the current gesture is a static gesture , call the 3D static gesture model library; otherwise, call the 3D dynamic gesture model library; 所述判断区域模块包括:The judging area module includes: 第一判断单元,用于检测所述预设触摸平面区域上用于指示是否存在触摸信号的按键是否导通,如果是,则判定所述当前手势所在的操作区域位于所述预设触摸平面区域;如果否,则判定不位于所述预设触摸平面区域;和/或a first determination unit, configured to detect whether the button on the preset touch plane area used to indicate whether there is a touch signal is turned on, and if so, determine that the operation area where the current gesture is located is located in the preset touch plane area ; if not, it is determined not to be located in the preset touch plane area; and/or 第二判断单元,用于计算所述图像采集设备与所述预设触摸平面区域内各像素点的深度值,确定最小深度值Lmin;计算所述当前手势的触摸点与所述图像采集设备的距离L;如果L-Lmin≤15mm,则判定所述当前手势所在的操作区域不位于所述预设触摸平面区域,反之,则判定位于所述预设触摸平面区域。The second judgment unit is configured to calculate the depth value of the image acquisition device and each pixel in the preset touch plane area, and determine the minimum depth value Lmin; calculate the touch point of the current gesture and the image acquisition device. Distance L; if L-Lmin≤15mm, it is determined that the operation area where the current gesture is located is not located in the preset touch plane area, otherwise, it is determined to be located in the preset touch plane area. 4.一种手势识别的车载系统,其特征在于,包括图像采集设备、触摸面板以及根据权利要求3所述的手势识别装置。4 . A vehicle-mounted system for gesture recognition, comprising an image acquisition device, a touch panel, and the gesture recognition device according to claim 3 . 5.根据权利要求4所述的车载系统,其特征在于,所述触摸面板包括触摸板和/或触摸开关,当所述图像采集设备为2D摄像头,所述触摸板包括:5. The vehicle-mounted system according to claim 4, wherein the touch panel comprises a touch panel and/or a touch switch, and when the image acquisition device is a 2D camera, the touch panel comprises: 面板单元、电路板单元、按键单元和支撑件单元;Panel unit, circuit board unit, key unit and support unit; 所述触摸开关包括:The touch switch includes: 带有信标面板单元、电路板单元、导光板单元、按键单元、设置灯单元和支撑件单元。With beacon panel unit, circuit board unit, light guide plate unit, key unit, setting light unit and support unit unit. 6.根据权利要求4所述的车载系统,其特征在于,所述触摸面板包括触摸板和/或触摸开关,当所述图像采集设备为3D摄像头,所述触摸板包括:6. The vehicle-mounted system according to claim 4, wherein the touch panel comprises a touch panel and/or a touch switch, and when the image acquisition device is a 3D camera, the touch panel comprises: 面板单元和支撑件单元;Panel units and support units; 所述触摸开关包括:The touch switch includes: 带有信标的面板单元、电路板单元、导光板单元、设置灯单元和支撑件单元。Panel unit with beacon, circuit board unit, light guide plate unit, setting light unit and supporter unit.
CN201610947837.6A 2016-10-25 2016-10-25 Method, device and vehicle-mounted system for gesture recognition Active CN106502570B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610947837.6A CN106502570B (en) 2016-10-25 2016-10-25 Method, device and vehicle-mounted system for gesture recognition
PCT/CN2016/112336 WO2018076523A1 (en) 2016-10-25 2016-12-27 Gesture recognition method and apparatus, and in-vehicle system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610947837.6A CN106502570B (en) 2016-10-25 2016-10-25 Method, device and vehicle-mounted system for gesture recognition

Publications (2)

Publication Number Publication Date
CN106502570A CN106502570A (en) 2017-03-15
CN106502570B true CN106502570B (en) 2020-07-31

Family

ID=58322933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610947837.6A Active CN106502570B (en) 2016-10-25 2016-10-25 Method, device and vehicle-mounted system for gesture recognition

Country Status (2)

Country Link
CN (1) CN106502570B (en)
WO (1) WO2018076523A1 (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6940969B2 (en) * 2017-03-29 2021-09-29 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Vehicle control device, vehicle control method and program
CN107102731A (en) * 2017-03-31 2017-08-29 斑马信息科技有限公司 Gestural control method and its system for vehicle
CN108108211B (en) * 2017-11-20 2021-06-25 福建天泉教育科技有限公司 Method and terminal for performing remote interaction in virtual reality scene
CN108415561A (en) * 2018-02-11 2018-08-17 北京光年无限科技有限公司 Gesture interaction method based on visual human and system
CN108537147B (en) * 2018-03-22 2021-12-10 东华大学 Gesture recognition method based on deep learning
CN110389800A (en) * 2018-04-23 2019-10-29 广州小鹏汽车科技有限公司 Display content processing method, device, medium and equipment on a kind of vehicle-mounted large-size screen monitors
CN108710857B (en) * 2018-05-22 2022-05-17 深圳前海华夏智信数据科技有限公司 Human-vehicle recognition method and device based on infrared supplementary light
CN110597446A (en) * 2018-06-13 2019-12-20 北京小鸟听听科技有限公司 Gesture recognition method and electronic equipment
CN109143875B (en) * 2018-06-29 2021-06-15 广州市得腾技术服务有限责任公司 Gesture control smart home method and system
CN109710116B (en) * 2018-08-23 2021-12-07 华东师范大学 Non-contact gesture state recognition system and recognition method
CN109885240A (en) * 2019-01-04 2019-06-14 四川虹美智能科技有限公司 A kind of methods of exhibiting and intelligent refrigerator of application program
CN109656375A (en) * 2019-02-28 2019-04-19 哈尔滨拓博科技有限公司 A kind of multi-mode dynamic hand gesture recognition system, device and method
CN110096213B (en) * 2019-04-30 2023-12-08 努比亚技术有限公司 Terminal operation method based on gestures, mobile terminal and readable storage medium
CN112000217A (en) * 2019-05-27 2020-11-27 青岛海尔智慧厨房电器有限公司 A gesture recognition device, a range hood and a control method for the range hood
CN111176443B (en) * 2019-12-12 2023-10-13 青岛小鸟看看科技有限公司 Vehicle-mounted intelligent system and control method thereof
WO2021129134A1 (en) * 2019-12-26 2021-07-01 神盾股份有限公司 Gesture recognition system and gesture recognition method
CN111143217A (en) * 2019-12-27 2020-05-12 上海昶枫科技有限公司 Automobile electronic control unit simulation system
CN111258430A (en) * 2020-01-21 2020-06-09 哈尔滨拓博科技有限公司 Desktop interaction system based on monocular gesture control
CN112069960A (en) * 2020-08-28 2020-12-11 哈尔滨拓博科技有限公司 Monocular gesture control afterloading system, control method and transformation method for rocker type doll machine
CN113126753B (en) * 2021-03-05 2023-04-07 深圳点猫科技有限公司 Implementation method, device and equipment for closing equipment based on gesture
CN113076836B (en) * 2021-03-25 2022-04-01 东风汽车集团股份有限公司 Automobile gesture interaction method
WO2023000119A1 (en) * 2021-07-17 2023-01-26 华为技术有限公司 Gesture recognition method and apparatus, system, and vehicle
CN113657226B (en) * 2021-08-06 2024-07-02 上海有个机器人有限公司 Customer interaction method, device, medium and mobile equipment
CN115857660A (en) * 2021-09-24 2023-03-28 中国科学院软件研究所 Image-based gesture recognition intelligent ring
CN115992940A (en) * 2021-10-18 2023-04-21 常州星宇车灯股份有限公司 Indoor lamp with camera device
CN114978333B (en) * 2022-05-25 2024-01-23 深圳玩智商科技有限公司 Identification equipment, system and method
CN115798054B (en) * 2023-02-10 2023-11-10 国网山东省电力公司泰安供电公司 Gesture recognition method based on AR/MR technology and electronic equipment
CN119964523B (en) * 2023-11-08 2026-03-13 北京小米移动软件有限公司 Brightness adjustment method, brightness adjustment device and storage medium
CN120388506B (en) * 2025-06-27 2025-09-16 北京奥特维科技有限公司 Three-dimensional electronic sand table based on gesture recognition

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102575943A (en) * 2009-08-28 2012-07-11 罗伯特·博世有限公司 Gesture-based information and command entry for motor vehicle
EP2829947A1 (en) * 2013-07-23 2015-01-28 BlackBerry Limited Apparatus and method pertaining to the use of a plurality of 3D gesture sensors to detect 3D gestures
CN104756169A (en) * 2012-05-25 2015-07-01 乔治·斯特彻夫 Steering wheel with remote control
WO2015121187A1 (en) * 2014-02-17 2015-08-20 Volkswagen Aktiengesellschaft User interface and method for contactlessly operating a hardware operating element in a 3-d gesture mode
CN105334960A (en) * 2015-10-22 2016-02-17 四川膨旭科技有限公司 Vehicle-mounted intelligent gesture recognition system
CN105589553A (en) * 2014-09-23 2016-05-18 上海影创信息科技有限公司 Gesture control method and system for intelligent equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433138B2 (en) * 2008-10-29 2013-04-30 Nokia Corporation Interaction using touch and non-touch gestures
US20110205185A1 (en) * 2009-12-04 2011-08-25 John David Newton Sensor Methods and Systems for Position Detection
GB2490108B (en) * 2011-04-13 2018-01-17 Nokia Technologies Oy A method, apparatus and computer program for user control of a state of an apparatus
CN104808790B (en) * 2015-04-08 2016-04-06 冯仕昌 A kind of method based on the invisible transparent interface of contactless mutual acquisition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102575943A (en) * 2009-08-28 2012-07-11 罗伯特·博世有限公司 Gesture-based information and command entry for motor vehicle
CN104756169A (en) * 2012-05-25 2015-07-01 乔治·斯特彻夫 Steering wheel with remote control
EP2829947A1 (en) * 2013-07-23 2015-01-28 BlackBerry Limited Apparatus and method pertaining to the use of a plurality of 3D gesture sensors to detect 3D gestures
WO2015121187A1 (en) * 2014-02-17 2015-08-20 Volkswagen Aktiengesellschaft User interface and method for contactlessly operating a hardware operating element in a 3-d gesture mode
CN105589553A (en) * 2014-09-23 2016-05-18 上海影创信息科技有限公司 Gesture control method and system for intelligent equipment
CN105334960A (en) * 2015-10-22 2016-02-17 四川膨旭科技有限公司 Vehicle-mounted intelligent gesture recognition system

Also Published As

Publication number Publication date
WO2018076523A1 (en) 2018-05-03
CN106502570A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106502570B (en) Method, device and vehicle-mounted system for gesture recognition
US11886643B2 (en) Information processing apparatus and information processing method
CN101901072B (en) Information processing apparatus and information processing method
US9235269B2 (en) System and method for manipulating user interface in vehicle using finger valleys
EP2635953B1 (en) Robust video-based handwriting and gesture recognition for in-car applications
US10248217B2 (en) Motion detection system
US10366281B2 (en) Gesture identification with natural images
WO2006036069A1 (en) Information processing system and method
US20170003853A1 (en) Vehicle and Method of Controlling the Same
KR20140114913A (en) Apparatus and Method for operating sensors in user device
CN102810015B (en) Input method based on space motion and terminal
EP2969697A1 (en) System and method for identifying handwriting gestures in an in-vehicle infromation system
CN102880304A (en) Character inputting method and device for portable device
CN113253908B (en) Key function execution method, device, equipment and storage medium
CN105224088A (en) A kind of manipulation of the body sense based on gesture identification vehicle-mounted flat system and method
CN105242776A (en) Control method for intelligent glasses and intelligent glasses
CN116198435A (en) Vehicle control method and device, vehicle and storage medium
US20160034027A1 (en) Optical tracking of a user-guided object for mobile platform user input
CN112256126A (en) Method, electronic circuit, electronic device, and medium for recognizing gesture
CN106598422B (en) hybrid control method, control system and electronic equipment
KR20170108662A (en) Electronic device including a touch panel and method for controlling thereof
CN119690319B (en) Symbol input method and device based on tapping gesture recognition
KR101068281B1 (en) Portable information terminal and content control method using rear finger movement and gesture recognition
US11789543B2 (en) Information processing apparatus and information processing method
CN105528059A (en) A three-dimensional gesture operation method and system

Legal Events

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