CN115035502A - Driver's behavior monitoring method, device, electronic device and storage medium - Google Patents
Driver's behavior monitoring method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN115035502A CN115035502A CN202210802154.7A CN202210802154A CN115035502A CN 115035502 A CN115035502 A CN 115035502A CN 202210802154 A CN202210802154 A CN 202210802154A CN 115035502 A CN115035502 A CN 115035502A
- Authority
- CN
- China
- Prior art keywords
- driver
- image
- behavior
- hand
- area
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/59—Context or environment of the image inside of a vehicle, e.g. relating to seat occupancy, driver state or inner lighting conditions
- G06V20/597—Recognising the driver's state or behaviour, e.g. attention or drowsiness
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/25—Determination of region of interest [ROI] or a volume of interest [VOI]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/764—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/774—Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
- G06V40/28—Recognition of hand or arm movements, e.g. recognition of deaf sign language
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Human Computer Interaction (AREA)
- Psychiatry (AREA)
- Social Psychology (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Molecular Biology (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本公开涉及人工智能技术领域,具体涉及图像识别、计算机视觉、特征识别等技术领域,可应用于数据检索、信息查询等场景,尤其涉及一种驾驶员的行为监测方法、装置、电子设备及存储介质。The present disclosure relates to the technical field of artificial intelligence, in particular to the technical fields of image recognition, computer vision, feature recognition, etc., and can be applied to scenarios such as data retrieval and information query, and in particular to a driver's behavior monitoring method, device, electronic device, and storage medium.
背景技术Background technique
行驶工具根据驾驶员操作进行行驶,随着驾驶工具的数量的增加,驾驶安全也成为了现有技术需要关心的重点。The driving tool travels according to the driver's operation. With the increase of the number of driving tools, driving safety has also become the focus of the prior art.
在行驶工具行驶过程中,驾驶员在操作行驶工具的行驶过程中需要随时注意行驶工具自身的情况以及车辆前进道路的情况,因此,实现对驾驶员的行为进行监测,以增加驾驶员驾驶工具的安全性是现有技术中的重中之重。During the driving process of the driving tool, the driver needs to pay attention to the situation of the driving tool and the road ahead of the vehicle at any time during the driving process of operating the driving tool. Therefore, the monitoring of the driver's behavior is realized to increase the driver's driving tool. Security is a top priority in existing technology.
近年来,随着技术的发展,一般对驾驶员的行为进行监测的方法为,通过监控装置,获取驾驶员驾驶行驶工具的视频或者图像,人为的对驾驶员的视频或者图像进行监测,以识别驾驶员是否存在注意力不集中,玩手机或者睡觉等危险驾驶行为。In recent years, with the development of technology, the general method of monitoring the driver's behavior is to obtain a video or image of the driver's driving tool through a monitoring device, and artificially monitor the driver's video or image to identify Whether the driver has dangerous driving behaviors such as inattention, playing with mobile phones or sleeping.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种驾驶员的行为监测方法、装置、电子设备及存储介质,可以丰富搜索建议的内容,为用户推荐更丰富、更符合用户需求的搜索建议。The present disclosure provides a driver's behavior monitoring method, device, electronic device and storage medium, which can enrich the content of search suggestions, and recommend more abundant search suggestions more in line with user needs for users.
根据本公开的第一方面,提供了一种驾驶员的行为监测方法,方法包括:获取车辆中驾驶员的图像;在所述图像中确定所述驾驶员相关的人体框区域的第一图像;根据所述第一图像,确定所述驾驶员头部区域的第二图像,以及手部区域的第三图像;根据所述第一图像确定所述驾驶员的身体动作,根据所述第二图像确定所述驾驶员相对于所述车辆前进方向的角度,根据所述第三图像确定所述驾驶员的手部动作;根据所述身体动作、所述角度以及所述手部动作中的至少一种,识别所述驾驶员的行为。According to a first aspect of the present disclosure, there is provided a method for monitoring driver behavior, the method comprising: acquiring an image of a driver in a vehicle; determining a first image of a human body frame area related to the driver in the image; According to the first image, a second image of the driver's head area and a third image of the hand area are determined; the driver's body movement is determined according to the first image, and according to the second image determining the angle of the driver relative to the forward direction of the vehicle, and determining the hand movement of the driver according to the third image; according to at least one of the body movement, the angle and the hand movement species, identifying the driver's behavior.
根据本公开的第二方面,提供了一种驾驶员的行为监测装置,装置包括:所述装置包括:获取模块,用于获取车辆中驾驶员的图像;第一确定模块,用于在所述图像中确定所述驾驶员相关的人体框区域的第一图像;第二确定模块,用于根据所述第一图像,确定所述驾驶员头部区域的第二图像,以及手部区域的第三图像;第三确定模块,用于根据所述第一图像确定所述驾驶员的身体动作,根据所述第二图像确定所述驾驶员相对于所述车辆前进方向的角度,根据所述第三图像确定所述驾驶员的手部动作;识别模块,用于根据所述身体动作、所述角度以及所述手部动作中的至少一种,识别所述驾驶员的行为。According to a second aspect of the present disclosure, there is provided a device for monitoring driver behavior, the device comprising: the device includes: an acquisition module for acquiring an image of a driver in a vehicle; a first determination module for in the In the image, a first image of the driver-related body frame area is determined; a second determination module is configured to determine, according to the first image, a second image of the driver's head area, and a first image of the driver's hand area. three images; a third determination module, configured to determine the body movement of the driver according to the first image, determine the angle of the driver relative to the forward direction of the vehicle according to the second image, and determine the angle of the driver relative to the forward direction of the vehicle according to the second image The three images determine the hand motion of the driver; the recognition module is configured to recognize the driver's behavior according to at least one of the body motion, the angle and the hand motion.
根据本公开的第三方面,提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如第一方面的方法。According to a third aspect of the present disclosure, there is provided an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor. The at least one processor executes to enable the at least one processor to perform the method of the first aspect.
根据本公开的第四方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使计算机执行根据第一方面的方法。According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method according to the first aspect.
根据本公开的第五方面,提供了一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现根据第一方面的方法。According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
本公开中,获取车辆中驾驶员的图像;在图像中确定驾驶员相关的人体框区域的第一图像;根据第一图像,确定驾驶员头部区域的第二图像,以及手部区域的第三图像;根据第一图像确定驾驶员的身体动作,根据第二图像确定驾驶员相对于车辆前进方向的角度,根据第三图像确定驾驶员的手部动作;根据身体动作、角度以及手部动作中的至少一种,识别驾驶员的行为。相当于根据驾驶员的图像中的第一图像、第二图像、第三图像,确定驾驶员的身体动作、相对于车辆前进方向的角度以及身体动作,进而根据身体动作、相对于车辆前进方向的角度以及身体动作,识别驾驶员的行为。进而使得识别驾驶员的行为识别速度更快,准确性更高。In the present disclosure, an image of the driver in the vehicle is acquired; a first image of the driver-related body frame area is determined in the image; according to the first image, a second image of the driver's head area and a first image of the hand area are determined. Three images; determine the driver's body movement according to the first image, determine the driver's angle relative to the vehicle's forward direction according to the second image, and determine the driver's hand movement according to the third image; according to the body movement, angle and hand movement At least one of the driver's behaviors. It is equivalent to determining the driver's body movement, the angle relative to the vehicle's forward direction, and the body movement according to the first image, the second image, and the third image in the driver's image, and then according to the body movement, relative to the vehicle's forward direction. Angles and body movements to identify the driver's behavior. In turn, the recognition speed of the driver's behavior recognition is faster and the accuracy is higher.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present disclosure. in:
图1为本公开实施例提供的驾驶员的行为监测方法的流程示意图;1 is a schematic flowchart of a driver's behavior monitoring method according to an embodiment of the present disclosure;
图2为本公开实施例提供的驾驶员的行为监测方法的另一流程示意图;2 is another schematic flowchart of a method for monitoring driver behavior provided by an embodiment of the present disclosure;
图3为本公开实施例提供的驾驶员的行为监测装置的组成示意图;3 is a schematic diagram of the composition of a driver's behavior monitoring device provided by an embodiment of the present disclosure;
图4示出了可以用来实施本公开的实施例的示例电子设备400的示意性框图。FIG. 4 shows a schematic block diagram of an example
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
应当理解,在本公开各实施例中,字符“/”一般表示前后关联对象是一种“或”的关系。术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。It should be understood that, in various embodiments of the present disclosure, the character "/" generally indicates that the contextual object is an "or" relationship. The terms "first", "second", etc. are used for descriptive purposes only, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features.
行驶工具根据驾驶员操作进行行驶,随着驾驶工具的数量的增加,驾驶安全也成为了现有技术需要关心的重点。The driving tool travels according to the driver's operation. With the increase of the number of driving tools, driving safety has also become the focus of the prior art.
具体的,在行驶工具行驶过程中,驾驶员在操作行驶工具的行驶过程中需要随时注意行驶工具自身的情况以及车辆前进道路的情况,因此,实现对驾驶员的行为进行监测,以增加驾驶员驾驶工具的安全性是现有技术中的重中之重。Specifically, during the driving process of the driving tool, the driver needs to pay attention to the situation of the driving tool itself and the road ahead of the vehicle at any time during the driving process of operating the driving tool. Therefore, the behavior of the driver is monitored to increase the number of drivers. The safety of driving tools is a top priority in the prior art.
近年来,随着技术的发展,一般对驾驶员的行为进行监测的方法为,通过监控装置,获取驾驶员驾驶行驶工具的视频或者图像,人为地对驾驶员的视频或者图像进行监测,以识别驾驶员是否存在注意力不集中,玩手机或者睡觉等危险驾驶行为。In recent years, with the development of technology, the general method of monitoring the driver's behavior is to obtain a video or image of the driver's driving tool through a monitoring device, and artificially monitor the driver's video or image to identify Whether the driver has dangerous driving behaviors such as inattention, playing with mobile phones or sleeping.
但是,目前的监测驾驶员行为的方法,费时费力,且识别速度较慢,准确性较低,并且由于现有技术是通过人工识别的方式,因此在识别的过程中掺杂了主观意识,从而使得识别出的结果可信度也较差。However, the current method for monitoring driver behavior is time-consuming and labor-intensive, and the recognition speed is slow and the accuracy is low. The reliability of the identified results is also poor.
本公开实施例提供了一种驾驶员的行为监测方法,可以适用于汽车驾驶员行为监测、列车驾驶员行为监测等行为监测的场景中。该方法可以在驾驶员驾驶行驶工具时,根据驾驶员的身体动作、驾驶员相对于车辆前进方向的角度以及手部动作中的至少一种,识别驾驶员的行为,从而使得该方法具有识别速度更快,准确性更高的优点,并且还避免了人为的主观意见的影响,增加了识别出的结果可信度。The embodiments of the present disclosure provide a method for monitoring driver behavior, which can be applied to behavior monitoring scenarios such as vehicle driver behavior monitoring, train driver behavior monitoring, and the like. The method can recognize the driver's behavior according to at least one of the driver's body motion, the driver's angle relative to the vehicle's forward direction, and the hand motion when the driver drives the vehicle, so that the method has the recognition speed The advantages of faster and higher accuracy, and also avoid the influence of human subjective opinions, increase the credibility of the identified results.
可选地,本公开实施例提供的驾驶员的行为监测方法可以应用于列车驾驶室驾驶员行为监测、汽车驾驶室驾驶员行为监测、值班行为监测等任意一种行为监测的场景中,在此对该方法的应用场景不作限制。Optionally, the driver behavior monitoring method provided by the embodiment of the present disclosure may be applied to any behavior monitoring scenarios such as train cab driver behavior monitoring, vehicle cab driver behavior monitoring, and duty behavior monitoring. The application scenarios of this method are not limited.
本公开实施例提供的驾驶员的行为监测方法的执行主体可以是计算机,也可以是服务器或其他具有数据处理能力的计算设备。例如,前述计算机、服务器、计算设备等可以是前述任意一种应用场景的后台服务设备,如监测系统后台的服务器。本公开对驾驶员的行为监测方法的执行主体也不作限制。The execution body of the driver behavior monitoring method provided by the embodiment of the present disclosure may be a computer, or may be a server or other computing device with data processing capability. For example, the aforementioned computer, server, computing device, etc. may be a background service device of any of the aforementioned application scenarios, such as a server in the background of the monitoring system. The present disclosure also does not limit the executive body of the driver's behavior monitoring method.
一些实施例中,服务器可以是单独的一个服务器,或者,也可以是由多个服务器构成的服务器集群。部分实施方式中,服务器集群还可以是分布式集群。本公开对服务器的具体实现方式也不作限制。In some embodiments, the server may be a single server, or may also be a server cluster composed of multiple servers. In some embodiments, the server cluster may also be a distributed cluster. The present disclosure also does not limit the specific implementation of the server.
图1为本公开实施例提供的驾驶员的行为监测方法的流程示意图。如图1所示,该方法可以包括:FIG. 1 is a schematic flowchart of a method for monitoring driver behavior according to an embodiment of the present disclosure. As shown in Figure 1, the method may include:
S101、获取车辆中驾驶员的图像。S101. Acquire an image of a driver in a vehicle.
示例性地,以对列车(如动车、火车等)驾驶室中的驾驶员行为监测,以执行主题为服务器为例,进行进一步的说明。列车的驾驶室中设置有图像获取设备,该图像获取设备与后台设置的服务器连接,该图像获取设备在服务器的控制指令的控制下获取该列车的驾驶室中驾驶员的图像,并将获取的驾驶员的图像发送给服务器,服务器接收获取该图像获取设备拍摄的图像,进而完成获取列车驾驶室中驾驶员的图像的目的。Exemplarily, further description will be given by taking the monitoring of the driver's behavior in the cab of a train (such as a motor train, a train, etc.) and taking the execution theme as the server as an example. An image acquisition device is set in the cab of the train, and the image acquisition device is connected to a server set in the background. The image of the driver is sent to the server, and the server receives and acquires the image captured by the image acquisition device, thereby completing the purpose of acquiring the image of the driver in the train cab.
在实际应用中,该驾驶员进入到该驾驶室之前,该图像获取设备一直在获取该驾驶室中预设位置的图像,并将该图像发送给服务器进行图像识别,当服务器在该图像中识别出驾驶员时,服务器向该图像获取设备发送获取驾驶员的图像的第一指令,该图像获取设备根据该第一指令获取驾驶室中驾驶员的图像,直至该服务器检测该图像中不存在驾驶员时,向图像获取设备发送第二指令,该图像获取设备根据该第二指令停止获取驾驶室中驾驶员的图像。In practical applications, before the driver enters the cab, the image acquisition device has been acquiring the image of the preset position in the cab, and sends the image to the server for image recognition. When the server recognizes the image in the image When the driver leaves, the server sends a first instruction to acquire the image of the driver to the image acquisition device, and the image acquisition device acquires the image of the driver in the cab according to the first instruction, until the server detects that there is no driver in the image. When the driver is in the driver's seat, a second instruction is sent to the image acquisition device, and the image acquisition device stops acquiring the image of the driver in the cab according to the second instruction.
可以理解的,该图像获取设备固定设置在该列车驾驶室中的固定位置,用于获取该列车驾驶室中固定位置的图像,即在实际应用中,该图像获取设备的视野范围内必须包括该驾驶员的驾驶位。可选地,该图像获取设备的视野可以根据该列车内的驾驶员的位置进行设置,在此不做具体限定。It is understandable that the image acquisition device is fixedly arranged at a fixed position in the train cab, and is used to acquire an image of the fixed position in the train cab, that is, in practical applications, the image acquisition device must include the image in the field of view. The driver's seat. Optionally, the field of view of the image acquisition device may be set according to the position of the driver in the train, which is not specifically limited herein.
在实际应用中,服务器获取车辆中的图像之后,需要对图像进行识别,以确定该图像中是否存在人物,之后对该人物的身份信息进行识别,以判断该驾驶室内是否为驾驶员,若该图像中的人物为驾驶员,则继续获取车辆中驾驶员图像。In practical applications, after the server obtains the image in the vehicle, it needs to identify the image to determine whether there is a person in the image, and then identify the identity information of the person to determine whether the driver is in the cab. If the person in the image is the driver, continue to acquire the image of the driver in the vehicle.
S102、在图像中确定驾驶员相关的人体框区域的第一图像。S102. Determine a first image of a driver-related body frame area in the image.
可以理解的,在获取车辆中驾驶员的头像之后,还需要对图像进行进一步的处理,以便实现对驾驶员的行为进行监测。It can be understood that after acquiring the avatar of the driver in the vehicle, the image needs to be further processed in order to monitor the behavior of the driver.
具体的,对图像进行图像识别,确定该图像中驾驶员对应的位置,即在通过图像识别,根据驾驶员的特征,确定该图像中驾驶员相关的人体框。该人体框的范围内包含该驾驶员的人体的全部区域,该人体框的尺寸可以根据实际需要进行设置,在此不做具体限定。Specifically, image recognition is performed on the image to determine the position corresponding to the driver in the image, that is, the human body frame related to the driver in the image is determined according to the characteristics of the driver through image recognition. The range of the human body frame includes all areas of the driver's human body, and the size of the human body frame can be set according to actual needs, which is not specifically limited here.
在实际应用中,一般是使用驾驶员人体检测模块确定该图像中的驾驶员相关的人图框区域的第一图像,该人体检测模块中存在人体框检测模型,该模型通过对图像中进行特征识别,选择该图像中符合预设驾驶员特征的区域,将该区域的图像确定为驾驶员相关的人体框区域的第一图像,即该人体框检测模型可以在输入的图像中确定驾驶员相关的人体框区域的第一图像。In practical applications, the driver's human body detection module is generally used to determine the first image of the driver-related human frame area in the image. There is a human frame detection model in the human body detection module. Identify, select an area in the image that meets the preset driver characteristics, and determine the image of the area as the first image of the driver-related human frame area, that is, the human frame detection model can determine the driver-related image in the input image. The first image of the body frame area.
S103、根据第一图像,确定驾驶员头部区域的第二图像,以及手部区域的第三图像。S103. Determine a second image of the driver's head area and a third image of the hand area according to the first image.
可以理解的,在该车辆中驾驶员的图像中确定与驾驶员相关的人体框区域的第一图像之后,还需要进一步地对驾驶员的行为进行分析,因此还需要获取该第一图像中的其他可以表示驾驶员行为的其他图像。It can be understood that after determining the first image of the body frame area related to the driver in the image of the driver in the vehicle, it is necessary to further analyze the driver's behavior, so it is also necessary to obtain the first image in the first image. Other images that can represent driver behavior.
具体的,对第一图像进行图像识别,根据预设的头部特征,确定该第一图像中与该头部特征相匹配的头部区域,进而得到包含该头部区域对应的第二图像,该第二图像内存在该驾驶员的头部的全部区域;还可以对该第一图像进行特征识别,根据预设的手部特征,确定该第一图像中与该手部特征相匹配的手部区域,进而得到包含该手部区域对应的第三图像,该第三图像中存在驾驶员的手部的全部区域,由于人体同时存在左手和右手,则该第三图像可以是一张,也可以是两张,若该第三图像是两张,则两张第三图像分别表示驾驶员的左手和右手,该第二图像和第三图像的尺寸根据实际需要进行设置,在此不做具体限定。Specifically, image recognition is performed on the first image, and a head region in the first image that matches the head feature is determined according to a preset head feature, and a second image including the head region corresponding to the head region is obtained, The entire area of the driver's head exists in the second image; the first image can also be characterized, and according to preset hand characteristics, the hand in the first image that matches the hand characteristics can be determined Then, a third image corresponding to the hand region is obtained. In the third image, there are all regions of the driver's hand. Since the human body has both left and right hands, the third image can be one, or It can be two. If the third image is two, the two third images represent the driver's left hand and right hand respectively. The size of the second image and the third image is set according to actual needs, which is not specified here. limited.
在实际应用中,一般使用头手检测模块在该第一图像中分别确定头部区域的第二图像和手部区域的第三图像,该头手检测模块中分别存在有头部检测模型和手部检测模型,该头部检测模型通过对第一图像进行头部相关的特征识别,确定该第一图像中符合头部相关的特征的第二图像;该手部检测模型通过对第一图像进行手部相关的特征识别,在该第一图像中确定符合手部相关的特征的第三图像。In practical applications, a head-hand detection module is generally used to determine the second image of the head area and the third image of the hand area in the first image, respectively, and the head-hand detection module has a head detection model and a hand respectively. a head detection model, the head detection model determines a second image in the first image that conforms to the head-related features by performing head-related feature recognition on the first image; A hand-related feature is identified, and a third image corresponding to the hand-related feature is determined in the first image.
S104、根据第一图像确定驾驶员的身体动作,根据第二图像确定驾驶员相对于车辆前进方向的角度,根据第三图像确定驾驶员的手部动作。S104. Determine the body movement of the driver according to the first image, determine the angle of the driver relative to the forward direction of the vehicle according to the second image, and determine the hand movement of the driver according to the third image.
可以理解的,在该车辆中驾驶员的图像中确定第一图像、第二图像和第三图像之后,还需要根据该第一图像、第二图像以及第三图像确定该驾驶员的动作、It can be understood that after determining the first image, the second image and the third image in the image of the driver in the vehicle, it is also necessary to determine the action of the driver according to the first image, the second image and the third image.
由于第一图像为驾驶员相关的人体框区域的图像,则可以通过该第一图像确定该驾驶员的身体动作;该第二图像为驾驶员头部区域的图像,则可以根据该第二图像确定该驾驶员的面向方向,即得到该驾驶员相对于车辆前进方向的角度;该第三图像为驾驶员的手部图像,则可以根据该第三图像确定该驾驶员的手部动作。Since the first image is an image of the driver-related body frame area, the body motion of the driver can be determined from the first image; the second image is an image of the driver's head area, and the second image can be Determining the facing direction of the driver means obtaining the angle of the driver relative to the forward direction of the vehicle; the third image is the driver's hand image, and the driver's hand movement can be determined according to the third image.
在实际应用中,将该第一图像输入至该预设的驾驶员人体行为分析模型中,通过对该第一图像进行分析,该驾驶员人体行为分析模型输出该驾驶员对应的动作类型,该动作类型可以包括坐着、趴着等;将该第二图像输入至预设的头部角度分析模型,通过对该第二图像进行分析,头部角度分析模型输出该驾驶员相对于车辆前进方向的角度;该第三图像输入至预设的手部动作识别模型中,通过对第三图像进行分析,该手部动作识别模型输出该驾驶员对应的手部动作。In practical applications, the first image is input into the preset driver human behavior analysis model, and by analyzing the first image, the driver human behavior analysis model outputs the action type corresponding to the driver. The action type may include sitting, lying down, etc.; the second image is input to a preset head angle analysis model, and by analyzing the second image, the head angle analysis model outputs the driver's heading relative to the vehicle. The third image is input into the preset hand motion recognition model, and by analyzing the third image, the hand motion recognition model outputs the corresponding hand motion of the driver.
S105、根据身体动作、驾驶员相对于车辆前进方向的角度以及手部动作中的至少一种,识别驾驶员的行为。S105: Identify the driver's behavior according to at least one of the body motion, the driver's angle relative to the vehicle's forward direction, and the hand motion.
可以理解的,在通过第一图像确定该驾驶员的身体动作,通过第二图像确定该驾驶员相对于车辆前进方向的角度,通过该第三图像确定驾驶员的手部动作之后,还需要通过该驾驶员的身体动作、驾驶员相对于车辆前进方向的角度以及手部动作,识别驾驶员的行为。It can be understood that after determining the driver's body movement through the first image, determining the driver's angle relative to the vehicle's forward direction through the second image, and determining the driver's hand movement through the third image, it is also necessary to The driver's body movement, the driver's angle with respect to the vehicle's forward direction, and the hand movement are used to identify the driver's behavior.
本公开中,由于驾驶员的身体动作是通过与驾驶员人体框区域相关的第一图像得到的,该驾驶员的相对于车辆前进方向的角度是根据该第二图像得到的,该驾驶员的手部动作是根据与驾驶员人体框区域相关的第三图像得到的,从而使得通过身体动作、驾驶员相对于车辆前进方向的角度以及手部动作识别驾驶员的行为,进而使得驾驶员的身体动作、驾驶员相对于车辆前进方向的角度以及手部动作均作为判断该驾驶员的行为的判断参数,从而增加识别得到的驾驶员的行为的准确性。并且通过身体动作、驾驶员相对于车辆前进方向的角度以及手部动作识别驾驶员的行为,相比于传统的判断驾驶员的行为,具有识别速度更快,准确性更高的优点。In the present disclosure, since the driver's body motion is obtained through the first image related to the driver's body frame area, the driver's angle relative to the vehicle's forward direction is obtained from the second image, and the driver's The hand motion is obtained according to the third image related to the driver's body frame area, so that the driver's behavior can be recognized through the body motion, the driver's angle relative to the vehicle's forward direction, and the hand motion, and then the driver's body The motion, the driver's angle relative to the vehicle's forward direction, and the hand motion are all used as judgment parameters for judging the driver's behavior, thereby increasing the accuracy of the recognized driver's behavior. Moreover, the driver's behavior is recognized through body movements, the driver's angle relative to the vehicle's forward direction, and hand movements. Compared with the traditional judgment of the driver's behavior, it has the advantages of faster recognition speed and higher accuracy.
可选地,本方法在人体框检测模型之前,还包括训练人体框检测模型,训练人体框检测模型的步骤包括:Optionally, before the human body frame detection model, the method further includes training the human body frame detection model, and the step of training the human body frame detection model includes:
将标记人体框标签的图像和没有标记人体框图像的图像输入至待训练模型中,待训练模型对标记人体框标签的图像和没有标记人体框图像进行特征分析,并且根据标记将输入的图像分为标记人体框标签的图像和没有标记人体框图像的图像,经过训练,进而得到该人体框检测模型。使得该人体框检测模型在实际应用中,可以输入图像,通过特征识别,确定该图像中的人体框区域,并将该图像中人体框相关区域的图像进行输出。The images marked with the human frame label and the images without the marked human frame are input into the model to be trained, and the to-be-trained model performs feature analysis on the images marked with the human frame and the images without the human frame, and divides the input images according to the markings. In order to mark images with human frame labels and images without marked human frame images, after training, the human frame detection model is obtained. In practical application, the human body frame detection model can input an image, determine the human body frame area in the image through feature recognition, and output the image of the relevant area of the human body frame in the image.
例如,该服务器将获取的车辆中驾驶员的图像输入至该人体框检测模型,通过该人体框检测模型的处理,得到该图像中驾驶员相关的人体框区域的第一图像。For example, the server inputs the acquired image of the driver in the vehicle into the human body frame detection model, and through the processing of the human body frame detection model, a first image of the driver-related body frame area in the image is obtained.
可选地,本公开还包括识别驾驶员的身份信息。Optionally, the present disclosure also includes identifying the driver's identity information.
当服务器在该图像上确定驾驶员人图框区域的第一图像的时候,还可以获取该驾驶员的身份特征信息,并根据该身份特征信息与预设数据库中的身份特征信息进行匹配,从而识别出表示该驾驶员身份的身份信息。When the server determines the first image of the driver's frame area on the image, it can also obtain the driver's identity feature information, and match the identity feature information with the identity feature information in the preset database according to the identity feature information, thereby Identification information representing the identity of the driver is identified.
在实际应用中,可以在识别出驾驶员的身份信息之后,将该驾驶员的身份信息标记在该第一图像上。In practical applications, after identifying the driver's identity information, the driver's identity information may be marked on the first image.
可选地,在使用该头部检测模型和手部检测模型之前,还包括训练头部检测模型和手部检测模型,训练头部检测模型和手部检测模型的步骤包括:Optionally, before using the head detection model and the hand detection model, it also includes training the head detection model and the hand detection model, and the steps of training the head detection model and the hand detection model include:
采用深度神经网络模型,将存在头部区域标签的图像和不存在头部区域的图像输入到该深度神经网络模型中,深度神经网络模型对存在头部区域标签的图像和不存在头部区域的图像进行特征分析,深度神经网络模型根据标记将输入的图像分为存在头部区域标签的图像和不存在头部区域的图像,从而得到该头部检测模型。进而使得该头部检测模型在实际应用中,可以输入驾驶员相关的人体框区域的第一图像,通过特征识别,确定该第一图像中的头部区域,并将该第一图像中头部区域作为第二图像进行输出。Using a deep neural network model, the images with head area labels and the images without head area are input into the deep neural network model. The image is characterized by analysis, and the deep neural network model divides the input image into an image with a head region label and an image without a head region according to the label, so as to obtain the head detection model. Then, in practical application, the head detection model can input the first image of the driver-related body frame area, determine the head area in the first image through feature recognition, and use the head in the first image to determine the head area in the first image. The region is output as a second image.
该手部检测模型的训练过程与上述的头部检测模型大致相同,在此对训练手部检测模型的过程不做赘述,经过训练手部检测模型之后,该手部检测模型可以输入驾驶员相关的人体框区域的第一图像,通过特征识别,确定该第一图像中的手部区域,并将该第一图像中手部区域作为第三图像进行输出。The training process of the hand detection model is roughly the same as the above-mentioned head detection model, and the process of training the hand detection model will not be repeated here. After training the hand detection model, the hand detection model can input driver-related In the first image of the human body frame area, the hand area in the first image is determined through feature recognition, and the hand area in the first image is output as a third image.
可选地,使用该预设的驾驶员人体行为分析模型之前,还需要对该预设的驾驶员人体行为分析模型进行训练,将标记有不同身体动作标签的图像输入至该深度神经网络模型中,深度神经网络模型根据标签将不同身体动作进行分类,从而实现对该深度神经网络模型进行训练,训练后的深度神经网络模型在实际中,可以输入不同行为的第一图像,通过对各第一图像中的行为进行分析,输出第一图像中的身体动作类型。Optionally, before using the preset driver human behavior analysis model, it is also necessary to train the preset driver human behavior analysis model, and input images marked with different body action labels into the deep neural network model. , the deep neural network model classifies different body movements according to the labels, so as to realize the training of the deep neural network model. In practice, the trained deep neural network model can input the first images of different behaviors. The behavior in the image is analyzed to output the type of body movement in the first image.
该头部角度分析模型以及手部动作识别模型的训练过程与上述的驾驶员人体行为分析模型大致相同,在此对头部角度分析模型以及手部动作识别模型的训练过程不做赘述,第二图像经过头部角度分析模型之后,该头部角度分析模型可以输入第二图像,输出驾驶员相对于车辆前进方向的角度;第三图像经过手部动作识别模型训练之后,该手部角度分析模型可以输入第三图像,输出驾驶员的手部动作类型。The training process of the head angle analysis model and the hand motion recognition model is roughly the same as the above-mentioned driver human behavior analysis model, and the training process of the head angle analysis model and the hand motion recognition model will not be repeated here. After the image is passed through the head angle analysis model, the head angle analysis model can input the second image and output the angle of the driver relative to the direction of the vehicle; after the third image is trained by the hand motion recognition model, the hand angle analysis model The third image may be input, and the driver's hand motion type may be output.
可选地,S105的步骤包括:Optionally, the step of S105 includes:
根据身体动作,识别驾驶员是否存在第一行为。According to the body movement, identify whether the driver has the first behavior.
根据通过该驾驶员人体行为分析模型,确定该驾驶员的动作,并根据驾驶员的动作与行为的对应关系,进一步确定该驾驶员是否存在第一行为。According to the driver's human behavior analysis model, the action of the driver is determined, and according to the corresponding relationship between the action and the behavior of the driver, it is further determined whether the driver has the first behavior.
在实际应用中,该第一行为根据实际需要进行设置,在此不做具体限定,若该第一行为是睡觉行为,则与该睡觉行为相对应的身体动作就为驾驶员趴着、躺着等,即若通过驾驶员人体行为分析模型分析得到该驾驶员的动作为趴着或者躺着,则确定该驾驶员存在睡觉这第一行为。具体的,与该第一行为对应的身体动作根据实际需要进行设置,在此不做具体限定。且该第一行为正确行为,也可以为违规行为。In practical applications, the first behavior is set according to actual needs, and there is no specific limitation here. If the first behavior is a sleeping behavior, the body movements corresponding to the sleeping behavior are the driver lying on his stomach or lying down. etc., that is, if the action of the driver is found to be lying on his stomach or lying down through the analysis of the driver's human behavior analysis model, then it is determined that the driver has the first behavior of sleeping. Specifically, the body motion corresponding to the first behavior is set according to actual needs, which is not specifically limited here. And the first act is a correct act, but it can also be a violation.
由于列车行驶时间较长,按照规定,当驾驶员持续行驶超过四小时后,必须进行放松休息,也可以将放松这个行为作为第一行为,并且与该放松的行为对应的身体动作为跳、走等,即若通过驾驶员人体行为分析模型分析得到该驾驶员的动作为跳或走,则确定该驾驶员存在放松这第一行为。Due to the long running time of the train, according to the regulations, when the driver continues to drive for more than four hours, he must relax and rest. The behavior of relaxation can also be taken as the first behavior, and the physical actions corresponding to the relaxation behavior are jumping and walking. etc., that is, if the action of the driver is jumping or walking through the analysis of the driver's human behavior analysis model, it is determined that the driver has the first behavior of relaxation.
可选地,若该第一行为为睡觉行为,则该根据身体动作,识别驾驶员是否存在第一行为的步骤包括:根据身体动作,识别驾驶员的睡觉行为。Optionally, if the first behavior is a sleeping behavior, the step of identifying whether the driver has the first behavior according to the body movement includes: identifying the sleeping behavior of the driver according to the body movement.
根据通过该驾驶员人体行为分析模型,确定该驾驶员的动作,并根据驾驶员的动作与行为的对应关系,进一步确定该驾驶员是否存在睡觉行为。According to the driver's human behavior analysis model, the action of the driver is determined, and according to the corresponding relationship between the action and the behavior of the driver, it is further determined whether the driver has sleeping behavior.
在实际应用中,该与该睡觉行为相对应的身体动作就为驾驶员趴着、躺着等,即若通过驾驶员人体行为分析模型分析得到该驾驶员的动作为趴着或者躺着,则确定该驾驶员存在睡觉行为。与该睡觉行为对应的身体动作根据实际需要进行设置,在此不做具体限定。In practical applications, the body movements corresponding to the sleeping behavior are the driver lying on his stomach, lying down, etc. That is, if the driver's human behavior analysis model shows that the driver's action is lying or lying down, then It is determined that the driver has sleeping behavior. The body action corresponding to the sleeping behavior is set according to actual needs, which is not specifically limited here.
可选地,该S105还包括:Optionally, the S105 further includes:
根据手部动作,识别驾驶员是否存在第二行为。According to the hand motion, identify whether the driver has the second behavior.
通过手部动作识别模型,确定该驾驶员的手部动作,并根据该手部动作与行为的对应关系,进一步确定该驾驶员是否存在第二行为。Through the hand motion recognition model, the driver's hand motion is determined, and according to the corresponding relationship between the hand motion and the behavior, it is further determined whether the driver has the second behavior.
在实际应用中,该第二行为根据实际需要进行设置,该第二行为可以为违规行为,也可以为不违规行为,在此不做具体限定,若该第二行为包括不违规行为,例如:敬礼、指挥等,若该第二行为包括违规行为:例如抽烟、持有手机等。In practical applications, the second behavior is set according to actual needs. The second behavior can be a violation or a non-violation behavior, which is not specifically limited here. If the second behavior includes a non-violation behavior, for example: Salute, command, etc., if the second behavior includes illegal behavior: such as smoking, holding a mobile phone, etc.
若该第二行为包括敬礼或者指挥,则与该敬礼或者指挥行为相对应的手部动作为举手、挥手等,即若通过手部动作识别模型,确定该驾驶员的手部动作为举手、挥手等,则确定该驾驶员存在敬礼或者指挥等第二行为;若该第二行为包括抽烟、持有手机等,则与该抽烟或者持有手机相对应的手部动作为持有等,即若通过手部动作识别模型,确定该驾驶员的手部动作为持有等,则确定该驾驶员存在抽烟或者持有手机等第二行为。If the second behavior includes salute or command, the hand movements corresponding to the salute or command behavior are raising hand, waving hand, etc., that is, if the hand movement recognition model is used, it is determined that the driver's hand movement is raising hand If the second behavior includes smoking, holding a mobile phone, etc., the hand action corresponding to the smoking or holding a mobile phone is holding, etc. That is, if the hand motion recognition model determines that the driver's hand motion is holding, etc., it is determined that the driver has a second behavior such as smoking or holding a mobile phone.
具体的,与该第二行为对应的手部动作根据实际需要进行设置,在此不做具体限定。Specifically, the hand motion corresponding to the second behavior is set according to actual needs, which is not specifically limited here.
可选地,若该第二行为为吸烟行为,则该根据手部动作,识别驾驶员是否存在第二行为的步骤包括:根据手部动作,识别驾驶员的吸烟行为。Optionally, if the second behavior is a smoking behavior, the step of identifying whether the driver has the second behavior according to the hand motion includes: identifying the smoking behavior of the driver according to the hand motion.
通过手部动作识别模型,确定该驾驶员的手部动作,并根据该手部动作与行为的对应关系,进一步确定该驾驶员是否存在吸烟行为。在实际应用中,该吸烟行为根据实际需要进行设置。Through the hand motion recognition model, the driver's hand motion is determined, and according to the corresponding relationship between the hand motion and the behavior, it is further determined whether the driver has smoking behavior. In practical applications, the smoking behavior is set according to actual needs.
可选地,若该第二行为包括敬礼或者指挥,则与该敬礼或者指挥行为相对应的手部动作为举手、挥手等,即若通过手部动作识别模型,确定该驾驶员的手部动作为举手、挥手等,则确定该驾驶员存在敬礼或者指挥等第二行为;若该第二行为包括抽烟、持有手机等,则与该抽烟或者持有手机相对应的手部动作为持有等,即若通过手部动作识别模型,确定该驾驶员的手部动作为持有等,则确定该驾驶员存在抽烟或者持有手机等第二行为。Optionally, if the second behavior includes salute or command, the hand action corresponding to the salute or command behavior is raising a hand, waving, etc., that is, if the hand action recognition model is used to determine the driver's hand. If the action is raising a hand, waving, etc., it is determined that the driver has a second behavior such as salute or command; if the second behavior includes smoking, holding a mobile phone, etc., the hand action corresponding to the smoking or holding a mobile phone is Holding, etc., that is, if the hand motion recognition model of the driver determines that the driver's hand motion is holding, etc., it is determined that the driver has a second behavior such as smoking or holding a mobile phone.
具体的,与该第二行为对应的手部动作根据实际需要进行设置,在此不做具体限定。Specifically, the hand motion corresponding to the second behavior is set according to actual needs, which is not specifically limited here.
可选地,该S105还包括:Optionally, the S105 further includes:
根据角度,识别驾驶员是否存在第三行为。According to the angle, identify whether the driver has the third behavior.
通过头部动作识别模型,确定该驾驶员的驾驶员相对于车辆前进方向的角度,并根据该驾驶员的驾驶员相对于车辆前进方向的角度与行为的对应关系,进一步确定该驾驶员是否存在第三行为。Determine the driver's angle relative to the vehicle's forward direction through the head motion recognition model, and further determine whether the driver exists according to the corresponding relationship between the driver's driver's angle relative to the vehicle's forward direction and behavior third act.
在实际应用中,该第三行为根据实际需要进行设置,该第三行为可以为不违规行为,即头部与车辆前进方向同向,即表示该驾驶员注意力集中,也可以为违规行为,即头部与车辆前进方向之间夹角较大,即表示该驾驶员注意力不集中,在此不做具体限定。In practical applications, the third behavior is set according to actual needs. The third behavior can be a non-violation behavior, that is, the head is in the same direction as the vehicle, which means that the driver is attentive, or it can be a violation. That is, if the included angle between the head and the forward direction of the vehicle is relatively large, it means that the driver is inattentive, which is not specifically limited here.
通过头部动作识别模型确定驾驶员相对于车辆前进方向的角度,将该角度与预设角度进行比较,若该角度小于预设角度,则表示驾驶员目视前方,表示该驾驶员注意力集中,若该角度大于预设角度,则表示该驾驶员面向其他方向,表示该驾驶员注意力不集中。在实际应用中,该预设角度根据实际需要进行设置,在此不做具体限定。Determine the angle of the driver relative to the vehicle's forward direction through the head motion recognition model, and compare the angle with the preset angle. If the angle is smaller than the preset angle, it means that the driver is looking ahead, indicating that the driver is paying attention. , if the angle is greater than the preset angle, it means that the driver is facing other directions, which means that the driver is inattentive. In practical applications, the preset angle is set according to actual needs, which is not specifically limited here.
可选地,若该第三行为为注意力行为,则该根据角度,识别驾驶员是否存在第三行为的步骤包括:根据角度,识别驾驶员是否存在注意力行为。Optionally, if the third behavior is an attention behavior, the step of identifying whether the driver has the third behavior according to the angle includes: identifying whether the driver has the attention behavior according to the angle.
通过头部动作识别模型,确定该驾驶员的驾驶员相对于车辆前进方向的角度,并根据该驾驶员的驾驶员相对于车辆前进方向的角度与行为的对应关系,进一步确定该驾驶员是否存在第三行为。Determine the driver's angle relative to the vehicle's forward direction through the head motion recognition model, and further determine whether the driver exists according to the corresponding relationship between the driver's driver's angle relative to the vehicle's forward direction and behavior third act.
在实际应用中,该第三行为根据实际需要进行设置,该第三行为可以为不违规行为,即头部与车辆前进方向同向,即表示该驾驶员注意力集中,也可以为违规行为,即头部与车辆前进方向之间夹角较大,即表示该驾驶员注意力不集中,在此不做具体限定。In practical applications, the third behavior is set according to actual needs. The third behavior can be a non-violation behavior, that is, the head is in the same direction as the vehicle, which means that the driver is attentive, or it can be a violation. That is, if the included angle between the head and the forward direction of the vehicle is relatively large, it means that the driver is inattentive, which is not specifically limited here.
通过头部动作识别模型确定驾驶员相对于车辆前进方向的角度,将该角度与预设角度进行比较,若该角度小于预设角度,则表示驾驶员目视前方,表示该驾驶员注意力集中,若该角度大于预设角度,则表示该驾驶员面向其他方向,表示该驾驶员注意力不集中。在实际应用中,该预设角度根据实际需要进行设置,在此不做具体限定。Determine the angle of the driver relative to the vehicle's forward direction through the head motion recognition model, and compare the angle with the preset angle. If the angle is smaller than the preset angle, it means that the driver is looking ahead, indicating that the driver is paying attention. , if the angle is greater than the preset angle, it means that the driver is facing other directions, which means that the driver is inattentive. In practical applications, the preset angle is set according to actual needs, which is not specifically limited here.
可选地,响应于识别到睡觉行为,根据头部区域和手部区域之间的距离、重合面积中至少一项,获取睡觉行为的置信度。Optionally, in response to the sleeping behavior being recognized, the confidence level of the sleeping behavior is obtained according to at least one of the distance between the head region and the hand region, and the overlapping area.
若上述根据身体动作,识别驾驶员的睡觉行为之后,需要根据头部区域和手部区域的距离和/或重合面积,验证驾驶员存在睡觉的行为的识别结果是否准确。If the driver's sleeping behavior is identified based on body movements, it is necessary to verify whether the recognition result of the driver's sleeping behavior is accurate according to the distance and/or overlapping area between the head area and the hand area.
为了增加判断睡觉行为的准确性,则在根据身体动作,识别得到驾驶员存在睡觉的行为之后,还需要对识别得到的行为进行进一步验证,在第一图像中,获取第二图像和第三图像的之间的距离和/或重合面积,由于该第二图像表示驾驶员头部的位置,该第三图像表示驾驶员手部的位置,则可以通过第二图像与第三图像的之间的距离、第二图像与第三图像的重合面积、第二图像与第三图像之间的距离以及重合面积,验证该驾驶员存在睡觉行为的置信度。In order to increase the accuracy of judging the sleeping behavior, after identifying the driver's sleeping behavior according to the body movement, it is necessary to further verify the recognized behavior. In the first image, the second image and the third image are obtained. Since the second image represents the position of the driver's head and the third image represents the position of the driver's hand, the distance and/or overlapping area between the second image and the third image can be The distance, the overlapping area between the second image and the third image, the distance between the second image and the third image, and the overlapping area are used to verify the confidence that the driver has sleeping behavior.
在实际应用中,在该第一图像中该第二图像与第三图像之间的距离,表示驾驶员头部与手部之间的相对距离,该第一图像中该第二图像与第三图像之间的重合面积,表示驾驶员头部与手部之间的接触面积,一般的,驾驶员睡觉一般的动作为趴着,则该头部与手部之间的距离较短,且该头部与手部之间存在一定的重合面积,即当该驾驶员的头部与手部之间的距离小于预设距离阈值、头部与手部的重合面积大于预设面积阈值、头部与手部之间的距离小于预设距离阈值,且头部与手部的重合面积大于预设面积阈值等任意一种情况时,则得到的驾驶员对应的睡觉行为的置信度大于预设置信度阈值,即识别得到该驾驶员存在睡觉行为的结果较为准确。反之亦然。In practical applications, the distance between the second image and the third image in the first image represents the relative distance between the driver's head and the hand, and the second image and the third image in the first image The overlapping area between the images represents the contact area between the driver's head and the hand. Generally, if the driver sleeps on his stomach, the distance between the head and the hand is short, and the There is a certain overlapping area between the head and the hand, that is, when the distance between the driver's head and the hand is less than the preset distance threshold, the overlapping area between the head and the hand is greater than the preset area threshold, the head When the distance between the hand and the hand is less than the preset distance threshold, and the overlapping area of the head and the hand is greater than the preset area threshold, the obtained confidence of the driver's corresponding sleeping behavior is greater than the preset confidence. The degree threshold, that is, the result of identifying the driver's sleeping behavior is more accurate. vice versa.
可选地,该驾驶员对应的睡觉行为的置信度,根据驾驶员的头部与手部之间的距离、头部与手部的重合面积进行计算,在此不做具体限定,计算得到的置信度可以为一个值,也可以为一个区间,在此不做具体限定。该置信度阈值只是用于判断置信度是否可信的一个值,在此不做赘述。Optionally, the confidence of the driver's corresponding sleeping behavior is calculated according to the distance between the driver's head and the hand and the overlapping area of the head and the hand, which is not specifically limited here. The confidence may be a value or an interval, which is not specifically limited here. The confidence threshold is only a value for judging whether the confidence is credible, and details are not described here.
具体的,由于该第二图像和第三图像一般均为矩形框,则可以将该第二图像的中心点与第三图像的中心点之间的距离作为该驾驶员头部和手部之间的距离,也可以通过判断第二图像的矩形框与第三图像的矩形框的重合区域,得到该第二图像与第三图像之间的重合面积,若该驾驶员的头部和手部之间的距离小于预设距离阈值,则可以验证该驾驶员存在睡觉行为的置信度较高;若该头部和手部的重合面积大于预设面积阈值,则可以验证该驾驶员存在睡觉行为的置信度较高;或者,同时判定该驾驶员的头部和手部之间的距离小于预设距离阈值,且驾驶员的头部和手部的重合面积大于预设面积阈值,则可以验证该驾驶员存在睡觉行为的置信度较高。在实际应用中,该预设距离阈值和该预设面积阈值根据实际需要进行设置,在此不做具体限定。Specifically, since the second image and the third image are generally rectangular frames, the distance between the center point of the second image and the center point of the third image can be used as the distance between the driver's head and hand The distance between the second image and the third image can also be determined by judging the overlapping area of the rectangular frame of the second image and the rectangular frame of the third image to obtain the overlapping area between the second image and the third image. If the distance between them is less than the preset distance threshold, it can be verified that the driver has a high degree of confidence in sleeping behavior; if the overlapping area of the head and the hand is greater than the preset area threshold, it can be verified that the driver has sleeping behavior. The confidence is high; or, if it is determined that the distance between the driver's head and the hand is less than the preset distance threshold, and the overlapping area of the driver's head and the hand is greater than the preset area threshold, it can be verified that the The confidence level of the driver's sleep behavior is high. In practical applications, the preset distance threshold and the preset area threshold are set according to actual needs, which are not specifically limited here.
若通过验证驾驶员存在睡觉行为的识别结果准确,则进一步确定了该驾驶员存在睡觉行为。If the identification result of verifying that the driver has sleeping behavior is accurate, it is further determined that the driver has sleeping behavior.
可选地,该根据头部区域和手部区域之间的距离、重合面积中的至少一项,获取驾驶员存在行为的置信度。Optionally, the confidence level of the driver's existing behavior is obtained according to at least one of the distance between the head area and the hand area and the overlapping area.
上述具体解释了如何确定驾驶员的睡觉行为的置信度,在此为了进一步进行说明,以吸烟行为的置信度进行具体说明。The above specifically explains how to determine the confidence level of the driver's sleeping behavior. For further explanation, here, the confidence level of the smoking behavior is specifically explained.
当根据手部动作,识别得到驾驶员存在吸烟行为时,根据头部区域和手部区域的距离和/或重合面积,验证驾驶员存在吸烟行为的置信度。When it is recognized that the driver has smoking behavior according to the hand action, the confidence level of the driver's smoking behavior is verified according to the distance and/or overlapping area between the head area and the hand area.
为了增加判断吸烟行为的准确性,则在根据手部动作,识别得到驾驶员存在吸烟行为之后,还需要进一步验证,在第一图像中,获取第二图像和第三图像的之间的距离和/或重合面积,由于该第二图像表示驾驶员头部的位置,该第三图像表示驾驶员手部的位置,则可以通过第二图像与第三图像的之间的距离、第二图像与第三图像的重合面积、第二图像与第三图像之间的距离以及重合面积,计算得到验证该驾驶员存在吸烟行为的置信度。In order to increase the accuracy of judging smoking behavior, further verification is required after the driver's smoking behavior is identified according to hand movements. In the first image, the distance and the distance between the second image and the third image are obtained. / or overlapping area, since the second image represents the position of the driver's head and the third image represents the position of the driver's hand, the distance between the second image and the third image, the distance between the second image and the third image, and the The overlapping area of the third image, the distance between the second image and the third image, and the overlapping area are calculated to obtain the confidence level for verifying that the driver has smoking behavior.
可选地,该驾驶员对应的吸烟行为的置信度,根据第二图像与第三图像的之间的距离、第二图像与第三图像的重合面积、第二图像与第三图像之间的距离以及重合面积进行计算,在此不做具体限定,计算得到的置信度可以为一个值,也可以为一个区间,在此不做具体限定。Optionally, the confidence level of the smoking behavior corresponding to the driver is based on the distance between the second image and the third image, the overlapping area between the second image and the third image, and the difference between the second image and the third image. The distance and the overlapping area are calculated, which are not specifically limited here, and the calculated confidence may be a value or an interval, which is not specifically limited here.
具体的,由于该第二图像和第三图像一般均为矩形框,则可以将该第二图像的中心点与第三图像的中心点之间的距离作为该驾驶员头部和手部之间的距离,也可以通过判断第二图像的矩形框与第三图像的矩形框的重合区域,得到该第二图像与第三图像之间的重合面积,若该头部和手部之间的距离小于预设距离阈值,则可以验证该驾驶员存在吸烟行为的识别结果准确,若该头部和手部的重合面积大于预设面积阈值,则可以验证该驾驶员存在吸烟行为的识别结果准确;或者,同时判定该驾驶员的头部和手部之间的距离小于预设距离阈值,且驾驶员的头部和手部的重合面积大于预设面积阈值,则可以验证该驾驶员存在吸烟行为的识别结果准确。在实际应用中,该预设距离阈值和该预设面积阈值根据实际需要进行设置,在此不做具体限定。Specifically, since the second image and the third image are generally rectangular frames, the distance between the center point of the second image and the center point of the third image can be used as the distance between the driver's head and hand The distance between the second image and the third image can also be determined by judging the overlapping area of the rectangular frame of the second image and the rectangular frame of the third image to obtain the overlapping area between the second image and the third image. If the distance between the head and the hand If the distance is less than the preset distance threshold, it can be verified that the recognition result of the driver's smoking behavior is accurate; if the overlapping area of the head and the hand is greater than the preset area threshold, it can be verified that the driver's smoking behavior recognition result is accurate; Alternatively, if it is determined at the same time that the distance between the driver's head and the hand is less than the preset distance threshold, and the overlapping area of the driver's head and the hand is greater than the preset area threshold, it can be verified that the driver has smoking behavior The identification results are accurate. In practical applications, the preset distance threshold and the preset area threshold are set according to actual needs, which are not specifically limited here.
若通过验证驾驶员存在吸烟行为的置信度大于阈值置信度阈值,则进一步确定了该驾驶员存在吸烟行为。该置信度阈值只是用于判断置信度是否可信的一个值,在此不做赘述。If it is verified that the confidence level of the driver's smoking behavior is greater than the threshold confidence level threshold, it is further determined that the driver has smoking behavior. The confidence threshold is only a value for judging whether the confidence is credible, and details are not described here.
该注意力行为的置信度的计算方式与吸烟行为的置信度的计算方法类似,在此不做赘述。The calculation method of the confidence level of the attention behavior is similar to the calculation method of the confidence level of the smoking behavior, and will not be repeated here.
图2为本公开实施例提供的驾驶员的行为监测方法的另一流程示意图。如图2所示。可选地,该方法还包括:FIG. 2 is another schematic flowchart of a method for monitoring driver behavior according to an embodiment of the present disclosure. as shown in picture 2. Optionally, the method further includes:
S201、根据第一图像、第二图像中至少一项,识别驾驶员的身份信息。S201. Identify the driver's identity information according to at least one of the first image and the second image.
可以理解的,本公开用于监测驾驶员的行为,可以通过对驾驶员的行为进行监测的结果,对驾驶员进行评价,因此,还需要对驾驶员的身份信息进行识别。It can be understood that the present disclosure is used to monitor the driver's behavior, and the driver can be evaluated based on the result of monitoring the driver's behavior. Therefore, it is also necessary to identify the driver's identity information.
具体的,服务器内预存储有驾驶员的身份信息和驾驶员的特征信息,以及该驾驶员的身份信息与图中信息的对应关系,在对驾驶员的身份信息进行识别的时候,可以通过在第一图像、第二图像或者第一图像以及第二图像中进行特征识别,并将识别出的特征信息与预存储的特征信息进行匹配,根据匹配结果,得到该驾驶员的身份信息。Specifically, the driver's identity information and the driver's characteristic information, as well as the corresponding relationship between the driver's identity information and the information in the figure are pre-stored in the server. When identifying the driver's identity information, you can Feature identification is performed in the first image, the second image, or the first image and the second image, the identified feature information is matched with the pre-stored feature information, and the driver's identity information is obtained according to the matching result.
S202、根据驾驶员的身份信息,对识别到的驾驶员的行为进行标记。S202. Mark the recognized behavior of the driver according to the driver's identity information.
根据得到的驾驶员的行为与驾驶员的身份信息,进行关联,使得根据该驾驶员的身份信息,标记该驾驶员的行为,即使得将该驾驶员的行为记录在该驾驶员的身份信息中。According to the obtained driver's behavior and the driver's identity information, association is made, so that the driver's behavior is marked according to the driver's identity information, that is, the driver's behavior can be recorded in the driver's identity information. .
例如,该驾驶员的身份信息为007,监测得到的该驾驶员的行为包括睡觉,持有手机,则将使用该睡觉和持有手机的行为标记007的身份信息,使得该驾驶员的行为与该驾驶员的身份信息进行关联,使用驾驶员的行为对该驾驶员的身份信息进行标记。For example, if the driver's identity information is 007, and the monitored behavior of the driver includes sleeping and holding a mobile phone, the identity information of 007 will be marked with the behavior of sleeping and holding a mobile phone, so that the driver's behavior is consistent with that of the driver. The driver's identity information is associated, and the driver's identity information is marked with the driver's behavior.
本公开中,根据身体动作,识别驾驶员的睡觉行为;根据手部动作,识别驾驶员的吸烟行为;根据角度,识别驾驶员的注意力行为,并根据头部区域和手部区域之间的距离、重合面积中的至少一项,获取驾驶员存在行为的置信度。使得驾驶员的身体动作、驾驶员相对于车辆前进方向的角度以及手部动作均作为判断该驾驶员的行为的判断参数,从而增加识别得到的驾驶员的行为的准确性;通过身体动作、驾驶员相对于车辆前进方向的角度以及手部动作识别驾驶员的行为,相比于传统的判断驾驶员的行为,具有识别速度更快,准确性更高的优点。并且由于可以通过头部区域和手部区域之间的距离、重合面积中的至少一项,获取驾驶员存在行为的置信度,通过驾驶员存在的行为的置信度,进一步的使得识别得到的驾驶员行为的准确度增加。In the present disclosure, the sleeping behavior of the driver is recognized according to the body motion; the smoking behavior of the driver is recognized according to the hand motion; the attention behavior of the driver is recognized according to the angle, and At least one of the distance and the overlapping area is used to obtain the confidence of the driver's behavior. The driver's body movements, the driver's angle relative to the vehicle's forward direction, and hand movements are all used as judgment parameters for judging the driver's behavior, thereby increasing the accuracy of the identified driver's behavior; Compared with the traditional judgment of the driver's behavior, it has the advantages of faster recognition speed and higher accuracy. And because the confidence of the driver's behavior can be obtained through at least one of the distance between the head area and the hand area and the overlapping area, and the confidence of the driver's behavior can be used to further make the identified driving. Increased accuracy of employee behavior.
图3为本公开实施例提供的驾驶员的行为监测装置的组成示意图。如图3所示,该装置可以包括:获取模块301、第一确定模块302、第二确定模块303、第三确定模块304、识别模块305。FIG. 3 is a schematic diagram of the composition of a driver's behavior monitoring device according to an embodiment of the present disclosure. As shown in FIG. 3 , the apparatus may include: an
获取模块301,用于获取车辆中驾驶员的图像;an
第一确定模块302,用于在图像中确定驾驶员相关的人体框区域的第一图像;a first determining
第二确定模块303,用于根据第一图像,确定驾驶员头部区域的第二图像,以及手部区域的第三图像;The
第三确定模块304,用于根据第一图像确定驾驶员的身体动作,根据第二图像确定驾驶员相对于车辆前进方向的角度,根据第三图像确定驾驶员的手部动作;The
识别模块305,用于根据身体动作、角度以及手部动作中的至少一种,识别驾驶员的行为。The
可选地,识别模块305,具体用于根据身体动作,识别驾驶员的睡觉行为;Optionally, the
根据手部动作,识别驾驶员的吸烟行为;Identify the driver's smoking behavior based on hand movements;
根据角度,识别驾驶员的注意力行为;According to the angle, identify the driver's attention behavior;
方法还包括:Methods also include:
响应于识别到睡觉行为,根据头部区域和手部区域之间的距离、重合面积中至少一项,获取睡觉行为的置信度。In response to the sleeping behavior being recognized, the confidence level of the sleeping behavior is obtained according to at least one of the distance between the head region and the hand region and the overlapping area.
可选地,获取模块301,具体用于根据头部区域和手部区域之间的距离、重合面积中的至少一项,获取驾驶员存在行为的置信度。Optionally, the obtaining
可选地,装置及还包括标记模块,标记模块(未再用附图进行示出),用于:Optionally, the device also includes a marking module, a marking module (not shown in the accompanying drawings) for:
根据第一图像、第二图像中至少一项,识别驾驶员的身份信息;Identify the driver's identity information according to at least one of the first image and the second image;
根据驾驶员的身份信息,对识别到的驾驶员的行为进行标记。According to the driver's identity information, the identified driver's behavior is marked.
可选地,识别模块305,具体用于根据身体动作,识别驾驶员是否存在第一行为。Optionally, the
可选地,识别模块305还用于当根据身体动作,识别得到驾驶员存在睡觉的行为时,根据头部区域和手部区域的距离和/或重合面积,验证驾驶员存在睡觉的行为的识别结果是否准确。Optionally, the
可选地,识别模块305还用于识别模块还用于根据手部动作,识别驾驶员是否存在第二行为。Optionally, the
可选地,识别模块305还用于第二行为包括吸烟行为,装置还包括:当根据手部动作,识别得到驾驶员存在吸烟行为时,根据头部区域和手部区域的距离和/或重合面积,验证驾驶员存在吸烟行为的识别结果是否准确。Optionally, the
可选地,识别模块305还用于识别模块还用于根据驾驶员相对于车辆前进方向的角度,识别驾驶员是否存在第三行为。Optionally, the
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
示例性实施例中,电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如以上实施例的方法。In an exemplary embodiment, an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, In order to enable at least one processor to perform the method as the above embodiment.
示例性实施例中,可读存储介质可以是存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使计算机执行根据以上实施例的方法。In an exemplary embodiment, the readable storage medium may be a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method according to the above embodiments.
示例性实施例中,计算机程序产品包括计算机程序,计算机程序在被处理器执行时实现根据以上实施例的方法。In an exemplary embodiment, the computer program product comprises a computer program which, when executed by a processor, implements the method according to the above embodiment.
图4示出了可以用来实施本公开的实施例的示例电子设备400的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 4 shows a schematic block diagram of an example
如图4所示,电子设备400包括计算单元401,其可以根据存储在只读存储器(ROM)402中的计算机程序或者从存储单元404加载到随机访问存储器(RAM)403中的计算机程序,来执行各种适当的动作和处理。在RAM 403中,还可存储设备400操作所需的各种程序和数据。计算单元401、ROM 402以及RAM 403通过总线404彼此相连。输入/输出(I/O)接口405也连接至总线404。As shown in FIG. 4 , the
电子设备400中的多个部件连接至I/O接口405,包括:输入单元406,例如键盘、鼠标等;输出单元407,例如各种类型的显示器、扬声器等;存储单元408,例如磁盘、光盘等;以及通信单元409,例如网卡、调制解调器、无线通信收发机等。通信单元409允许电子设备400通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the
计算单元401可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元401的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元401执行上文所描述的各个方法和处理,例如驾驶员的行为监测方法。例如,在一些实施例中,驾驶员的行为监测方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元404。在一些实施例中,计算机程序的部分或者全部可以经由ROM 402和/或通信单元409而被载入和/或安装到电子设备400上。当计算机程序加载到RAM 403并由计算单元401执行时,可以执行上文描述的驾驶员的行为监测方法的一个或多个步骤。备选地,在其他实施例中,计算单元401可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行驾驶员的行为监测方法。
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储装置、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储装置、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage device, at least one input device, and at least one output device, and transmit data and instructions to the storage device, the at least one input device, and the at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a distributed system server, or a server combined with blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions of the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure should be included within the protection scope of the present disclosure.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210802154.7A CN115035502A (en) | 2022-07-08 | 2022-07-08 | Driver's behavior monitoring method, device, electronic device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210802154.7A CN115035502A (en) | 2022-07-08 | 2022-07-08 | Driver's behavior monitoring method, device, electronic device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115035502A true CN115035502A (en) | 2022-09-09 |
Family
ID=83129801
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210802154.7A Pending CN115035502A (en) | 2022-07-08 | 2022-07-08 | Driver's behavior monitoring method, device, electronic device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115035502A (en) |
Citations (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170001648A1 (en) * | 2014-01-15 | 2017-01-05 | National University Of Defense Technology | Method and Device for Detecting Safe Driving State of Driver |
| CN106682648A (en) * | 2017-01-20 | 2017-05-17 | 博康智能信息技术有限公司北京海淀分公司 | Test method and device of user making or receiving mobile phone behavior |
| CN106815574A (en) * | 2017-01-20 | 2017-06-09 | 博康智能信息技术有限公司北京海淀分公司 | Set up detection model, detect the method and apparatus for taking mobile phone behavior |
| CN107862296A (en) * | 2017-11-20 | 2018-03-30 | 深圳市深视创新科技有限公司 | The monitoring method and system of driving behavior, computer-readable recording medium |
| CN109937152A (en) * | 2017-08-10 | 2019-06-25 | 北京市商汤科技开发有限公司 | Driving condition supervision method and apparatus, driver's monitoring system, vehicle |
| CN110147738A (en) * | 2019-04-29 | 2019-08-20 | 中国人民解放军海军特色医学中心 | A kind of driver fatigue monitoring and pre-alarming method and system |
| CN110167823A (en) * | 2016-07-01 | 2019-08-23 | 视力移动技术有限公司 | System and method for driver's monitoring |
| CN110309764A (en) * | 2019-06-27 | 2019-10-08 | 浙江工业大学 | A multi-stage driver's phone call behavior detection method based on deep learning |
| CN110705383A (en) * | 2019-09-09 | 2020-01-17 | 深圳市中电数通智慧安全科技股份有限公司 | Smoking behavior detection method and device, terminal and readable storage medium |
| CN111291607A (en) * | 2018-12-06 | 2020-06-16 | 广州汽车集团股份有限公司 | Driver distraction detection method, driver distraction detection device, computer equipment and storage medium |
| CN111301280A (en) * | 2018-12-11 | 2020-06-19 | 北京嘀嘀无限科技发展有限公司 | Dangerous state identification method and device |
| CN111428600A (en) * | 2020-03-17 | 2020-07-17 | 北京都是科技有限公司 | Smoking detection method, system and device and thermal infrared image processor |
| CN112818839A (en) * | 2021-01-29 | 2021-05-18 | 北京市商汤科技开发有限公司 | Method, device, equipment and medium for identifying violation behaviors of driver |
| CN112849149A (en) * | 2021-01-28 | 2021-05-28 | 上海商汤临港智能科技有限公司 | Driver state detection method, driver state detection device, driver state detection apparatus, driver state detection medium, and driver state detection program product |
| CN113408466A (en) * | 2021-06-30 | 2021-09-17 | 东风越野车有限公司 | Method and device for detecting bad driving behavior of vehicle driver |
| CN114463725A (en) * | 2021-12-28 | 2022-05-10 | 科大讯飞股份有限公司 | Driver behavior detection method and device and safe driving reminding method and device |
| CN114550145A (en) * | 2022-02-24 | 2022-05-27 | 北京百度网讯科技有限公司 | Image processing method, image processing device, electronic equipment and computer storage medium |
| CN114663863A (en) * | 2022-02-24 | 2022-06-24 | 北京百度网讯科技有限公司 | Image processing method, image processing device, electronic equipment and computer storage medium |
| CN114701503A (en) * | 2021-12-31 | 2022-07-05 | 天津五八驾考信息技术有限公司 | Method, device and equipment for adjusting driving behavior of vehicle driver and storage medium |
-
2022
- 2022-07-08 CN CN202210802154.7A patent/CN115035502A/en active Pending
Patent Citations (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170001648A1 (en) * | 2014-01-15 | 2017-01-05 | National University Of Defense Technology | Method and Device for Detecting Safe Driving State of Driver |
| CN110167823A (en) * | 2016-07-01 | 2019-08-23 | 视力移动技术有限公司 | System and method for driver's monitoring |
| CN106682648A (en) * | 2017-01-20 | 2017-05-17 | 博康智能信息技术有限公司北京海淀分公司 | Test method and device of user making or receiving mobile phone behavior |
| CN106815574A (en) * | 2017-01-20 | 2017-06-09 | 博康智能信息技术有限公司北京海淀分公司 | Set up detection model, detect the method and apparatus for taking mobile phone behavior |
| CN109937152A (en) * | 2017-08-10 | 2019-06-25 | 北京市商汤科技开发有限公司 | Driving condition supervision method and apparatus, driver's monitoring system, vehicle |
| CN107862296A (en) * | 2017-11-20 | 2018-03-30 | 深圳市深视创新科技有限公司 | The monitoring method and system of driving behavior, computer-readable recording medium |
| CN111291607A (en) * | 2018-12-06 | 2020-06-16 | 广州汽车集团股份有限公司 | Driver distraction detection method, driver distraction detection device, computer equipment and storage medium |
| CN111301280A (en) * | 2018-12-11 | 2020-06-19 | 北京嘀嘀无限科技发展有限公司 | Dangerous state identification method and device |
| CN110147738A (en) * | 2019-04-29 | 2019-08-20 | 中国人民解放军海军特色医学中心 | A kind of driver fatigue monitoring and pre-alarming method and system |
| CN110309764A (en) * | 2019-06-27 | 2019-10-08 | 浙江工业大学 | A multi-stage driver's phone call behavior detection method based on deep learning |
| CN110705383A (en) * | 2019-09-09 | 2020-01-17 | 深圳市中电数通智慧安全科技股份有限公司 | Smoking behavior detection method and device, terminal and readable storage medium |
| CN111428600A (en) * | 2020-03-17 | 2020-07-17 | 北京都是科技有限公司 | Smoking detection method, system and device and thermal infrared image processor |
| CN112849149A (en) * | 2021-01-28 | 2021-05-28 | 上海商汤临港智能科技有限公司 | Driver state detection method, driver state detection device, driver state detection apparatus, driver state detection medium, and driver state detection program product |
| CN112818839A (en) * | 2021-01-29 | 2021-05-18 | 北京市商汤科技开发有限公司 | Method, device, equipment and medium for identifying violation behaviors of driver |
| CN113408466A (en) * | 2021-06-30 | 2021-09-17 | 东风越野车有限公司 | Method and device for detecting bad driving behavior of vehicle driver |
| CN114463725A (en) * | 2021-12-28 | 2022-05-10 | 科大讯飞股份有限公司 | Driver behavior detection method and device and safe driving reminding method and device |
| CN114701503A (en) * | 2021-12-31 | 2022-07-05 | 天津五八驾考信息技术有限公司 | Method, device and equipment for adjusting driving behavior of vehicle driver and storage medium |
| CN114550145A (en) * | 2022-02-24 | 2022-05-27 | 北京百度网讯科技有限公司 | Image processing method, image processing device, electronic equipment and computer storage medium |
| CN114663863A (en) * | 2022-02-24 | 2022-06-24 | 北京百度网讯科技有限公司 | Image processing method, image processing device, electronic equipment and computer storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 刘征宇;吴丽红;: "基于ADSP-BF609的驾驶员疲劳检测系统研究", 科技创新与应用, no. 13, 8 May 2016 (2016-05-08), pages 26 - 27 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113056743B (en) | Training a neural network for vehicle re-identification | |
| US20190392587A1 (en) | System for predicting articulated object feature location | |
| CN109241842B (en) | Fatigue driving detection method, device, computer equipment and storage medium | |
| JP7454105B2 (en) | Facial image quality evaluation method and device, computer equipment and computer program | |
| CN111231983B (en) | Vehicle control method, device and equipment based on traffic accident memory network | |
| KR20250028510A (en) | Joint audio-video facial animation system | |
| CN113015984A (en) | Error correction in convolutional neural networks | |
| WO2018103023A1 (en) | Human-machine hybrid decision-making method and apparatus | |
| WO2023020005A1 (en) | Neural network model training method, image retrieval method, device, and medium | |
| CN112818227B (en) | Content recommendation method, device, electronic device and storage medium | |
| US11327320B2 (en) | Electronic device and method of controlling the same | |
| CN110069988A (en) | AI based on multidimensional data drives risk analysis method, server and storage medium | |
| CN116629315B (en) | Training method, device, equipment and medium of perception model | |
| CN114494935B (en) | Video information processing method and device, electronic equipment and medium | |
| CN115205764A (en) | Online learning concentration monitoring method, system and medium based on machine vision | |
| CN114201675A (en) | Content recommendation method and device, equipment, medium and product | |
| CN114067394A (en) | Face living body detection method and device, electronic equipment and storage medium | |
| US12145593B2 (en) | Data processing | |
| CN115471824A (en) | Eye state detection method and device, electronic equipment and storage medium | |
| CN114387547A (en) | A method, apparatus, medium and program product for determining behavioral video clips | |
| CN113642495A (en) | Training methods, equipment, and program products for evaluating time-series nominated models | |
| CN115035502A (en) | Driver's behavior monitoring method, device, electronic device and storage medium | |
| CN115082907B (en) | Method, device, electronic equipment and storage medium for determining object state | |
| US20240070516A1 (en) | Machine learning context based confidence calibration | |
| CN114495292A (en) | Identity recognition method, device, equipment and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220909 |
|
| RJ01 | Rejection of invention patent application after publication |