[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105138947A - Guard reminding method, reminding device and reminding system - Google Patents

Guard reminding method, reminding device and reminding system Download PDF

Info

Publication number
CN105138947A
CN105138947A CN201410364471.0A CN201410364471A CN105138947A CN 105138947 A CN105138947 A CN 105138947A CN 201410364471 A CN201410364471 A CN 201410364471A CN 105138947 A CN105138947 A CN 105138947A
Authority
CN
China
Prior art keywords
person
guard
warning
image sequence
detection module
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
Application number
CN201410364471.0A
Other languages
Chinese (zh)
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.)
Utechzone Co Ltd
Original Assignee
Utechzone 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 Utechzone Co Ltd filed Critical Utechzone Co Ltd
Publication of CN105138947A publication Critical patent/CN105138947A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Alarm Systems (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

本发明提供一种守卫提醒方法及其提醒装置与提醒系统。在通过图像获取单元获取站立于平台上方的人员的图像序列后,分析图像序列,以判断人员是否呈现睡眠状态。当人员呈现睡眠状态时,产生提醒信号,以警示人员。

The invention provides a guard reminder method, a reminder device and a reminder system. After the image sequence of the person standing above the platform is acquired through the image acquisition unit, the image sequence is analyzed to determine whether the person is in a sleeping state. When a person is sleeping, a reminder signal is generated to alert the person.

Description

守卫提醒方法及其提醒装置与提醒系统Guard reminding method, reminding device and reminding system

技术领域technical field

本发明是有关于一种警示技术,且特别是有关于一种防止人员瞌睡的守卫提醒方法及其提醒装置与提醒系统。The present invention relates to a warning technology, and in particular to a guard reminding method for preventing people from drowsiness, a reminding device and a reminding system.

背景技术Background technique

执勤是哨兵的主要任务之一,而通过哨兵的执勤,能够及时的发现和处理突发事故。若执勤发生任何闪失,都有可能对当前社会治安带来严重的后果。故为了要保障社会的安全,哨兵执勤时的执勤状态相当的重要。On duty is one of the main tasks of the sentinel, and through the duty of the sentinel, emergencies can be discovered and dealt with in a timely manner. If there is any mistake on duty, it may have serious consequences for the current social security. Therefore, in order to ensure the safety of the society, the duty status of the sentries when they are on duty is very important.

目前对哨兵的执勤状态的管理,主要是通过人为方式来监控,例如经由上级来定时巡视哨兵的执勤情况,或者是经由非直接监控的方式,例如通过培训或纪律约束,来督导哨兵勤守岗位。然而,所述方式并无法确保哨兵处于较佳的执勤状态,因此往往哨兵仍会有短暂睡岗或恍神的情形发生。At present, the management of the duty status of the sentries is mainly monitored by human means, such as regular inspections of the duty status of the sentries by superiors, or indirect monitoring methods, such as training or disciplinary constraints, to supervise the sentries to keep their posts. . However, the method cannot ensure that the sentinel is in a better state of duty, so often the sentinel still has a short sleep or trance.

发明内容Contents of the invention

本发明提供一种守卫提醒方法、守卫提醒装置及守卫提醒系统,其可提醒站立于平台上的人员,藉以防止人员瞌睡。The invention provides a guard reminding method, a guard reminding device and a guard reminding system, which can remind people standing on the platform to prevent them from falling asleep.

本发明提出一种提醒方法,其包括:通过图像获取单元获取站立于平台上方的人员的图像序列,其中图像获取单元面向平台并且以预设角度获取图像序列;分析图像序列,以判断人员是否呈现睡眠状态;以及当人员呈现睡眠状态时,产生提醒信号,以警示人员。The present invention proposes a reminder method, which includes: acquiring an image sequence of a person standing above the platform through an image acquisition unit, wherein the image acquisition unit faces the platform and acquires the image sequence at a preset angle; analyzing the image sequence to determine whether the person presents sleep state; and when the person is in the sleep state, a reminder signal is generated to warn the person.

在本发明的一实施例中,当人员呈现睡眠状态时,则发出预警信号至远端监控主机。In one embodiment of the present invention, when the person is in a sleeping state, an early warning signal is sent to the remote monitoring host.

在本发明的一实施例中,其中判断人员是否呈现睡眠状态的步骤包括:根据图像序列检测该人员是否于预设时间内维持固定姿势,若人员在预设时间内维持固定姿势,则判断人员呈现睡眠状态。In one embodiment of the present invention, the step of judging whether the person is in a sleep state includes: detecting whether the person maintains a fixed posture for a preset time according to the image sequence, and if the person maintains a fixed posture for a preset time, then judge whether the person is in a sleep state. Show sleep state.

在本发明的一实施例中,判断人员是否呈现睡眠状态的步骤还包括:检测图像序列的脸部物件,以在检测到在预设时间内人员的头部并未转动的情况下,判定人员呈现睡眠状态。In an embodiment of the present invention, the step of judging whether the person is in a sleep state further includes: detecting facial objects in the image sequence, so as to judge whether the person's head does not turn within a preset time. Show sleep state.

在本发明的一实施例中,当检测到人员的头部向下低时,判定人员呈现睡眠状态。In an embodiment of the present invention, when it is detected that the person's head is lowered downward, it is determined that the person is in a sleep state.

在本发明的一实施例中,其中判断人员是否呈现睡眠状态的步骤还包括:分析图像序列判断人员的眼睛是否为闭眼状态;以及倘若人员的眼睛为闭眼状态,则判断人员呈现睡眠状态。In an embodiment of the present invention, the step of judging whether the person is in a sleep state further includes: analyzing the image sequence to judge whether the person's eyes are in a closed state; and if the person's eyes are in a closed state, then judging that the person is in a sleep state .

在本发明的一实施例中,其中分析图像序列,以判断人员的眼睛是否属于闭眼状态的步骤包括:对图像序列执行人脸识别程序,以在图像序列中获得脸部物件;执行眼部搜寻程序,以在脸部物件中获得眼部区域;以及根据眼部区域的尺寸判断眼睛是否为闭眼状态。In an embodiment of the present invention, the step of analyzing the image sequence to determine whether the person's eyes are closed eyes includes: executing a face recognition program on the image sequence to obtain facial objects in the image sequence; A search procedure is used to obtain the eye area in the face object; and it is judged whether the eyes are closed according to the size of the eye area.

在本发明的一实施例中,其中在产生提醒信号的步骤之后,还包括:分析图像序列的脸部特征信息,以判断人员是否注视于指定方向;以及倘若人员未注视于指定方向,持续驱使警示单元发出提醒信号,直至检测到人员注视于指定方向。In an embodiment of the present invention, after the step of generating the reminder signal, it further includes: analyzing the facial feature information of the image sequence to determine whether the person is gazing at the designated direction; and if the person is not gazing at the designated direction, continuously driving The warning unit sends out a warning signal until a person is detected looking at a designated direction.

在本发明的一实施例中,其中提醒信号包括振动警示、光源警示或音源警示。In an embodiment of the present invention, the reminder signal includes vibration warning, light source warning or sound source warning.

本发明另提出一种守卫提醒装置,其包括警示单元、图像获取单元、存储单元以及处理单元。警示单元设置于平台内。图像获取单元面向平台并且以预设角度的方式获取站立于平台上方的人员的图像序列。存储单元具有图像处理模块。处理单元耦接至警示单元、存储单元以及图像获取单元之间。处理单元执行图像处理模块来分析图像序列,以检测人员是否呈现睡眠状态。若人员呈现睡眠状态,则处理单元传送控制信号至警示单元,使警示单元产生提醒信号来警示人员。The present invention further provides a guard reminding device, which includes a warning unit, an image acquisition unit, a storage unit and a processing unit. The warning unit is arranged in the platform. The image acquisition unit faces the platform and acquires an image sequence of a person standing on the platform at a preset angle. The storage unit has an image processing module. The processing unit is coupled between the warning unit, the storage unit and the image acquisition unit. The processing unit executes the image processing module to analyze the image sequence to detect whether the person is in a sleep state. If the person is in a sleeping state, the processing unit sends a control signal to the warning unit, so that the warning unit generates a reminder signal to warn the person.

本发明另提出一种守卫提醒系统,其包括平台、警示单元、图像获取单元以及远端监控主机。平台供人员站立于其上。警示单元设置于平台内。图像获取单元面向平台并且以预设角度的方式获取人员的图像序列。远端监控主机耦合于警示单元与图像获取单元之间,接收并根据自图像获取单元的图像序列,以检测人员是否呈现睡眠状态。若人员呈现睡眠状态,则远端监控主机传送控制信号至警示单元,使警示单元产生提醒信号来警示人员。The present invention also proposes a guard reminder system, which includes a platform, a warning unit, an image acquisition unit and a remote monitoring host. A platform for a person to stand on. The warning unit is arranged in the platform. The image acquisition unit faces the platform and acquires the image sequence of the person at a preset angle. The remote monitoring host is coupled between the warning unit and the image acquisition unit, receives and according to the image sequence from the image acquisition unit, to detect whether the person is in a sleep state. If the person is in a sleeping state, the remote monitoring host sends a control signal to the warning unit, so that the warning unit generates a reminder signal to warn the person.

基于上述,倘若人员在预设时间内的姿势维持不变,则平台中的警示单元会发出提醒信号来提醒人员,据以防止人员处于瞌睡的状态。Based on the above, if the posture of the person remains unchanged within the preset time, the warning unit in the platform will send a reminder signal to remind the person, so as to prevent the person from falling asleep.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.

附图说明Description of drawings

图1是依照本发明第一实施例的守卫提醒装置的方块图;Fig. 1 is a block diagram of a guard reminding device according to a first embodiment of the present invention;

图2是依照本发明第一实施例的守卫提醒装置的安装示意图;Fig. 2 is a schematic diagram of installation of a guard reminding device according to the first embodiment of the present invention;

图3A是依照本发明第一实施例的守卫提醒方法的方法流程图;Fig. 3A is a method flowchart of a guard reminding method according to the first embodiment of the present invention;

图3B是依照本发明第一实施例的图像处理模块的示意图;3B is a schematic diagram of an image processing module according to the first embodiment of the present invention;

图4是依照本发明第二实施例的图像处理模块的示意图;4 is a schematic diagram of an image processing module according to a second embodiment of the present invention;

图5是依照本发明第二实施例的守卫提醒方法的方法流程图;Fig. 5 is a method flowchart of a guard reminding method according to a second embodiment of the present invention;

图6是依照本发明第二实施例的头部转动的示意图;Fig. 6 is a schematic diagram of head rotation according to a second embodiment of the present invention;

图7是依照本发明第三实施例的图像处理模块的示意图;7 is a schematic diagram of an image processing module according to a third embodiment of the present invention;

图8是依照本发明第三实施例的守卫提醒方法的方法流程图;Fig. 8 is a method flowchart of a guard reminding method according to a third embodiment of the present invention;

图9是依照本发明第三实施例的眼部区域的示意图;Fig. 9 is a schematic diagram of an eye region according to a third embodiment of the present invention;

图10是依照本发明第四实施例的图像处理模块的示意图;10 is a schematic diagram of an image processing module according to a fourth embodiment of the present invention;

图11是依照本发明第四实施例的守卫提醒方法的方法流程图;Fig. 11 is a method flowchart of a guard reminding method according to a fourth embodiment of the present invention;

图12是依照本发明第五实施例的守卫提醒系统的方块图。FIG. 12 is a block diagram of a guard reminder system according to a fifth embodiment of the present invention.

附图标记说明:Explanation of reference signs:

10:人员;10: personnel;

100:守卫提醒装置;100: guard reminder device;

110、1210:警示单元;110, 1210: warning unit;

120、1220:图像获取单元;120, 1220: image acquisition unit;

1230:远端监控主机;1230: remote monitoring host;

130:存储单元;130: storage unit;

132:数据库;132: database;

134:图像处理模块;134: image processing module;

140:处理单元;140: processing unit;

302:行为检测模块;302: behavior detection module;

402、702、1002:人脸检测模块;402, 702, 1002: face detection module;

404:面向检测模块;404: facing the detection module;

610:头部;610: head;

704:闭眼检测模块;704: Closed eyes detection module;

902:眼部区域;902: eye area;

1004:视线检测模块;1004: sight detection module;

θ:预设角度;θ: preset angle;

d1:第一方向;d1: the first direction;

d2:第二方向d2: second direction

I:图像;I: image;

L:水平线;L: horizontal line;

N1:第一中心点;N1: first central point;

N2:第二中心点;N2: second central point;

P:平台;P: platform;

R:参考点;R: reference point;

S302~S306、S502~S510、S802~S808、S1102~S1110:守卫提醒方法的各步骤。S302-S306, S502-S510, S802-S808, S1102-S1110: each step of the guard reminding method.

具体实施方式Detailed ways

对于站岗的哨兵或执勤人员,倘若可对其站岗状态进行即时监控,并在哨兵或执勤人员瞌睡或恍神的时候发出提醒,势必可更加确保哨兵或执勤人员勤守岗位。本发明便是基于上述观点而提出的守卫提醒方法、守卫提醒装置、守卫提醒系统与计算机程序产品。为了使本发明的内容更为明了,以下特举实施例作为本发明确实能够据以实施的范例。For the sentry or duty personnel on guard, if the status of the sentry can be monitored in real time, and a reminder is issued when the sentry or duty personnel are drowsy or in a daze, it is bound to ensure that the sentry or duty personnel are on duty. The present invention is a guard reminder method, a guard reminder device, a guard reminder system, and a computer program product based on the above viewpoints. In order to make the content of the present invention clearer, the following specific examples are given as examples in which the present invention can actually be implemented.

第一实施例first embodiment

图1是依照本发明第一实施例的守卫提醒装置的方块图。请参照图1,守卫提醒装置100包括警示单元110、图像获取单元120、存储单元130以及处理单元140。处理单元140耦接至警示单元110、图像获取单元120及存储单元130。处理单元140利用图像获取单元120来监控人员的清醒状态,据以决定是否驱动警示单元110发出提醒信号来提醒人员,以防止人员打瞌睡。在本实施例中,警示单元110、存储单元130以及处理单元140设置于一平台内,图像获取单元120设置于平台的周围。下面举一例来说明守卫提醒装置100的安装。FIG. 1 is a block diagram of a guard reminding device according to a first embodiment of the present invention. Referring to FIG. 1 , the guard reminder device 100 includes a warning unit 110 , an image acquisition unit 120 , a storage unit 130 and a processing unit 140 . The processing unit 140 is coupled to the warning unit 110 , the image acquisition unit 120 and the storage unit 130 . The processing unit 140 utilizes the image acquisition unit 120 to monitor the waking state of the person, so as to determine whether to drive the alarm unit 110 to send a reminder signal to remind the person, so as to prevent the person from falling asleep. In this embodiment, the warning unit 110 , the storage unit 130 and the processing unit 140 are arranged in a platform, and the image acquisition unit 120 is arranged around the platform. An example is given below to illustrate the installation of the guard reminding device 100 .

图2是依照本发明第一实施例的守卫提醒装置的安装示意图。请参照图2,警示单元110、存储单元130以及处理单元140设置于平台P内,其中,图像获取单元120的镜头面向平台P并且以一个预设角度获取图像序列,例如,图像获取单元120会以与水平线L相夹预设角度θ的方式面向上方而设置,以获取站立于平台P上方的人员10的图像序列。处理单元140与图像获取单元120之间的数据传输可通过无线传输或有线传输来传输图像序列。Fig. 2 is a schematic diagram of installation of the guard reminding device according to the first embodiment of the present invention. Please refer to FIG. 2, the warning unit 110, the storage unit 130 and the processing unit 140 are arranged in the platform P, wherein the lens of the image acquisition unit 120 faces the platform P and acquires an image sequence at a preset angle, for example, the image acquisition unit 120 will It is set facing upwards with a preset angle θ between it and the horizontal line L, so as to acquire an image sequence of the person 10 standing on the platform P. The data transmission between the processing unit 140 and the image acquisition unit 120 can transmit the image sequence through wireless transmission or wired transmission.

警示单元110包含但不限于振动警示、光源警示或音源警示装置,而其发出的提醒信号例如是光源警示、振动警示或音源警示,藉以来提醒平台P上的人员10。然,本实施例并不限于此,只要是可发出具有提醒作用的信号的装置即可用来做为警示单元110。The warning unit 110 includes but not limited to vibration warning, light source warning or sound source warning devices, and the warning signal it sends out is, for example, light source warning, vibration warning or sound source warning, so as to remind the personnel 10 on the platform P. However, the present embodiment is not limited thereto, and any device capable of sending out a warning signal can be used as the warning unit 110 .

图像获取单元120用来获取人员10的图像序列,即,连续获取多张图像。图像获取单元120例如是采用电荷耦合元件(Chargecoupleddevice,简称CCD)镜头、互补式金属氧化物半导体晶体管(Complementarymetaloxidesemiconductortransistors,简称CMOS)镜头、或红外线镜头的摄像机、照相机,但不限于此。The image acquisition unit 120 is used to acquire an image sequence of the person 10 , that is, to acquire multiple images continuously. The image acquisition unit 120 is, for example, a video camera or a camera using a Charge Coupled Device (CCD) lens, a Complementary Metal Oxide Semiconductor Transistor (CMOS) lens, or an infrared lens, but is not limited thereto.

存储单元130包括数据库132以及图像处理模块134。数据库132用以存储图像获取单元120所获得的图像序列。图像处理模块134例如为一应用程序,由处理单元140来执行此图像处理模块134以实现分析人员10的姿势或局部区域的变化。存储单元130例如为非易失性存储器(Non-volatilememory)、随机存取存储器(RandomAccessMemory,RAM)或硬盘等。上述仅为举例说明,并不以此为限。The storage unit 130 includes a database 132 and an image processing module 134 . The database 132 is used to store the image sequences obtained by the image acquisition unit 120 . The image processing module 134 is, for example, an application program. The image processing module 134 is executed by the processing unit 140 to realize the analysis of the posture or the change of the local area of the person 10 . The storage unit 130 is, for example, a non-volatile memory (Non-volatile memory), a random access memory (Random Access Memory, RAM), or a hard disk. The above are examples only and not limited thereto.

处理单元140耦接至警示单元110、图像获取单元120以及存储单元130,并控制守卫提醒装置100的整体运作。具体而言,处理单元140会执行图像处理模块134来分析图像序列,并判断人员10是否于预设时间内维持同样的姿势,据以判断是否驱使警示单元110发出提醒信号。处理单元140包括中央处理单元(CentralProcessingUnit,简称CPU)或微处理器(microprocessor)等,但不限于此。The processing unit 140 is coupled to the warning unit 110 , the image acquisition unit 120 and the storage unit 130 , and controls the overall operation of the guard reminding device 100 . Specifically, the processing unit 140 will execute the image processing module 134 to analyze the image sequence, and determine whether the person 10 maintains the same posture within a preset time, so as to determine whether to drive the alarm unit 110 to issue a reminder signal. The processing unit 140 includes a central processing unit (Central Processing Unit, CPU for short) or a microprocessor (microprocessor), but is not limited thereto.

在此,本实施例系利用程序码来实现。即,存储单元130中的图像处理模块134可由一或多个程序码片段所组成,且这些程序码片段包括多个指令,而处理单元140会通过图像处理模块134来执行这些指令,以实现守卫提醒方法的多个步骤。Here, the present embodiment is realized by using program codes. That is, the image processing module 134 in the storage unit 130 may be composed of one or more program code segments, and these program code segments include a plurality of instructions, and the processing unit 140 will execute these instructions through the image processing module 134 to realize the guard Reminds multiple steps of the method.

下面即配合上述守卫提醒装置100详细说明守卫提醒方法的各步骤。图3A是依照本发明第一实施例的守卫提醒方法的方法流程图。请同时参照图1至图3A,于步骤S302,图像获取单元120会获取站立于平台P上方的人员10的图像序列。举例来说,图像获取单元120与地面的水平线L所相夹的预设角度θ为45度,但不限于此,此预设角度θ的大小可对应人员的身高而调整。In the following, each step of the guard reminding method will be described in detail in conjunction with the above-mentioned guard reminding device 100 . FIG. 3A is a flow chart of a guard reminding method according to the first embodiment of the present invention. Please refer to FIG. 1 to FIG. 3A at the same time. In step S302 , the image acquisition unit 120 acquires an image sequence of the person 10 standing on the platform P. Referring to FIG. For example, the preset angle θ between the image acquisition unit 120 and the horizontal line L of the ground is 45 degrees, but not limited thereto, and the preset angle θ can be adjusted according to the height of the person.

于步骤S304,处理单元140会执行图像处理模块134来分析图像序列,以判断人员10是否呈现睡眠状态。由于一般当人员10在瞌睡中时会维持同样的姿势,因此处理单元140可根据人员10的姿势是否维持相同与否,来判断人员10是否在睡眠。举例而言,图像处理模块134可检测人员10是否于一个预设时间内维持固定姿势,来判断人员10是否呈现睡眠状态。In step S304 , the processing unit 140 executes the image processing module 134 to analyze the image sequence to determine whether the person 10 is in a sleep state. Since the person 10 generally maintains the same posture when dozing off, the processing unit 140 can determine whether the person 10 is sleeping according to whether the person 10 maintains the same posture or not. For example, the image processing module 134 can detect whether the person 10 maintains a fixed posture for a preset time to determine whether the person 10 is in a sleep state.

举例来说,图3B是依照本发明第一实施例的图像处理模块的示意图,如图3B所示,图像处理模块134可包括行为检测模块302,用以判断人员10是否于预设时间内维持固定姿势。具体来说,行为检测模块302可自图像序列中取得有关人员的多个特征点,并根据这些特征点在预设时间内的变化来判断人员10是否维持固定姿势。例如,行为检测模块302可比较预设时间内先后两张图像中特征点的分布差异,并判断此分布差异是否小于一个预设值。倘若此分布差异小于预设值,也就是先后两张图像中人员10的图像相似,则行为检测模块302会判断人员10在预设时间内维持固定姿势。倘若先后两张图像中特征点的分布差异非小于此预设值,也就是先后两张图像中人员10的图像并非相似,则行为检测模块302会判断人员10在预设时间内有移动。据此,若人员10在预设时间内维持固定姿势,则处理单元140可根据行为检测模块302判断人员10是呈现睡眠状态。反之,若人员10在预设时间内有移动时,例如人员10的头部、四肢、脸部中的眼睛或其他区域非维持固定姿势,则表示人员不是在瞌睡,因此处理单元140可根据行为检测模块302判断人员10并非呈现睡眠状态。For example, FIG. 3B is a schematic diagram of an image processing module according to the first embodiment of the present invention. As shown in FIG. 3B , the image processing module 134 may include a behavior detection module 302 for judging whether the person 10 maintains the behavior within a preset time. Fixed posture. Specifically, the behavior detection module 302 can obtain a plurality of feature points of the relevant person from the image sequence, and judge whether the person 10 maintains a fixed posture according to changes of these feature points within a preset time. For example, the behavior detection module 302 can compare the distribution difference of feature points in two successive images within a preset time, and determine whether the distribution difference is smaller than a preset value. If the distribution difference is smaller than the preset value, that is, the images of the person 10 in the two successive images are similar, the behavior detection module 302 will determine that the person 10 maintains a fixed posture for a preset time. If the distribution difference of the feature points in the two successive images is not less than the preset value, that is, the images of the person 10 in the two successive images are not similar, the behavior detection module 302 will determine that the person 10 has moved within the preset time. Accordingly, if the person 10 maintains a fixed posture for a preset time, the processing unit 140 can determine that the person 10 is in a sleep state according to the behavior detection module 302 . Conversely, if the person 10 moves within the preset time, for example, the head, limbs, eyes or other areas of the person 10 do not maintain a fixed posture, it means that the person is not dozing off, so the processing unit 140 can The detection module 302 determines that the person 10 is not in a sleep state.

返回图3A,倘若人员10呈现睡眠状态,则如步骤S306所示,处理单元140会驱使警示单元110发出提醒信号以警示人员10。或者,处理单元140也可发出预警信号至一个远端监控主机,以通过远端监控主机发出提醒信号来警示人员10。如此一来,当人员10在瞌睡时,则平台P中的警示单元110会发出振动信号或声音信号等提醒信号来提醒人员10,让人员10得以保持在清醒状态。Returning to FIG. 3A , if the person 10 is in a sleeping state, as shown in step S306 , the processing unit 140 will drive the warning unit 110 to send out a reminder signal to warn the person 10 . Alternatively, the processing unit 140 can also send an early warning signal to a remote monitoring host, so as to alert the personnel 10 by sending a reminder signal from the remote monitoring host. In this way, when the person 10 is dozing off, the warning unit 110 in the platform P will send a reminder signal such as a vibration signal or a sound signal to remind the person 10, so that the person 10 can be kept awake.

倘若人员10非呈现睡眠状态,则图像获取单元120会继续获取站立于平台P上方的人员10的图像序列(步骤S302),也就是此时守卫提醒装置100不会驱使警示单元110来提醒人员10。If the person 10 is not in a sleep state, the image acquisition unit 120 will continue to acquire the image sequence of the person 10 standing above the platform P (step S302), that is, the guard reminding device 100 will not drive the alarm unit 110 to remind the person 10 at this time. .

上述处理单元140执行图像处理模块134来分析图像序列,以判断人员10是否于预设时间内维持同样的姿势时,处理单元140还会根据人员10头部的转动与否来进行判断。由于当人员10清醒时,其头部会左右摆动以巡视周围环境,因此通过头部的转动与否来判断人员10是否维持同样的姿势,可快速检测人员10是否在瞌睡。下面再举一实施例来进行说明。The processing unit 140 executes the image processing module 134 to analyze the image sequence to determine whether the person 10 maintains the same posture within a preset time, and the processing unit 140 also judges according to whether the head of the person 10 is turning or not. Because when the person 10 is awake, his head will swing from side to side to check the surrounding environment, so whether the person 10 maintains the same posture can be judged by whether the head turns or not, and whether the person 10 is dozing off can be quickly detected. Another example will be given below for illustration.

第二实施例second embodiment

图4是依照本发明第二实施例的图像处理模块的示意图。请参照图4,图像处理模块134还包括人脸检测模块402及面向检测模块404。人脸检测模块402用以识别图像序列中的脸部物件,而面向检测模块404会根据脸部物件的变化,以检测头部的移动状态。FIG. 4 is a schematic diagram of an image processing module according to a second embodiment of the present invention. Please refer to FIG. 4 , the image processing module 134 further includes a face detection module 402 and an orientation detection module 404 . The face detection module 402 is used to identify facial objects in the image sequence, and the orientation detection module 404 detects the movement state of the head according to the changes of the facial objects.

图5是依照本发明第二实施例的守卫提醒方法的方法流程图。以下配合图1的守卫提醒装置100来进行说明。请同时参照图1、图4及图5,于步骤S502,图像获取单元120会获取站立于平台P上方的人员10的图像序列。Fig. 5 is a flow chart of a guard reminding method according to the second embodiment of the present invention. The following description will be made in conjunction with the guard reminding device 100 in FIG. 1 . Please refer to FIG. 1 , FIG. 4 and FIG. 5 at the same time. In step S502 , the image acquisition unit 120 acquires an image sequence of the person 10 standing on the platform P. Referring to FIG.

处理单元140自图像获取单元120接收图像序列之后,于步骤S504,处理单元140会执行图像处理模块134来分析图像序列。其中,人脸检测模块402会对图像序列执行人脸识别程序,以在图像序列中获得脸部物件,并分析脸部物件的变化,而面向检测模块404会依据图像序列中的脸部物件的变化,检测人员10的头部是否有转动。After the processing unit 140 receives the image sequence from the image acquisition unit 120 , in step S504 , the processing unit 140 executes the image processing module 134 to analyze the image sequence. Among them, the face detection module 402 will execute the face recognition program on the image sequence to obtain facial objects in the image sequence, and analyze the changes of the facial objects, and the orientation detection module 404 will be based on the facial object in the image sequence. change, and detect whether the head of the person 10 turns.

详细而言,人脸检测模块402可利用AdaBoost算法或其他现有的人脸检测算法(如,利用Haar-like特征来进行人脸识别动作)来获得各图像中的脸部物件。此外,人脸检测模块402还可在脸部物件中搜寻鼻孔区域,即,两个鼻孔的所在位置,据以获得鼻孔位置信息,例如为两个鼻孔的第一中心点与第二中心点。之后,面向检测模块404可基于鼻孔位置信息来判断头部是否转动。In detail, the face detection module 402 can use the AdaBoost algorithm or other existing face detection algorithms (eg, use Haar-like features to perform face recognition actions) to obtain the facial objects in each image. In addition, the face detection module 402 can also search for the nostril area in the face object, that is, the positions of the two nostrils, and obtain the nostril position information, such as the first center point and the second center point of the two nostrils. Afterwards, the facing detection module 404 may determine whether the head turns based on the nostril position information.

举例来说,图6是依照本发明第二实施例的头部转动的示意图。请参照图4及图6,人脸检测模块402识别出脸部物件(如图像I所示)后,面向检测模块404可利用两个鼻孔的第一中心点N1与第二中心点N2来判断图像中的头部610是否向第一方向d1转动或向第二方向d2转动。在此,以人员10的方向而言,将向右方向视为第一方向d1,将向左方向视为第二方向d2。具体而言,面向检测模块404可将第一中心点N1与第二中心点N2与参考点R进行比对,通过第一中心点N1与参考点R之间的位置关系以及第二中心点N2与参考点R之间的位置关系,判断头部610往哪一方向转动。当然,面向检测模块404也可利用第一中心点N1或第二中心点N2来进行低头检测。例如,面向检测模块404可将第一中心点N1或第二中心点N2其中之一与参考点R进行比对,以判断第一中心点N1或第二中心点N2是否位于参考点R的下方,且当第一中心点N1或第二中心点N2位于参考点R的下方时,面向检测模块404可判断头部610往下低。For example, FIG. 6 is a schematic diagram of head rotation according to the second embodiment of the present invention. Please refer to FIG. 4 and FIG. 6. After the face detection module 402 recognizes the facial object (as shown in image I), the facing detection module 404 can use the first center point N1 and the second center point N2 of the two nostrils to determine Whether the head 610 in the image turns to the first direction d1 or turns to the second direction d2. Here, in terms of the direction of the person 10, the right direction is regarded as the first direction d1, and the left direction is regarded as the second direction d2. Specifically, the facing detection module 404 can compare the first center point N1 and the second center point N2 with the reference point R, and through the positional relationship between the first center point N1 and the reference point R and the second center point N2 Based on the positional relationship with the reference point R, it is determined in which direction the head 610 turns. Of course, the facing detection module 404 can also use the first center point N1 or the second center point N2 to perform head-down detection. For example, the facing detection module 404 can compare one of the first central point N1 or the second central point N2 with the reference point R to determine whether the first central point N1 or the second central point N2 is located below the reference point R , and when the first central point N1 or the second central point N2 is located below the reference point R, the facing detection module 404 can determine that the head 610 is lowered.

如此一来,处理单元140可根据面向检测模块404检测的结果,判断人员10是否于预设时间内维持同样的姿势。In this way, the processing unit 140 can determine whether the person 10 maintains the same posture within a preset time according to the detection result of the facing detection module 404 .

返回图5,在面向检测模块404检测到在预设时间内人员10的头部并未转动的情况下,如步骤S506所示,处理单元140会判定人员10在预设时间内为维持同样的姿势,并且于步骤S508,处理单元140会驱使警示单元110发出提醒信号来提醒人员。换言之,由于人员10在瞌睡时,其头部不会转动,因此当面向检测模块404在预设时间内并未检测到人员10的头部转动时,处理单元140会将人员10视为在瞌睡,进而通过警示单元110使得人员保持清醒。Returning to FIG. 5, when the facing detection module 404 detects that the head of the person 10 has not turned within the preset time, as shown in step S506, the processing unit 140 will determine that the person 10 has not maintained the same head within the preset time. posture, and in step S508, the processing unit 140 will drive the alarm unit 110 to send out a reminder signal to remind personnel. In other words, since the head of the person 10 does not turn when he is dozing off, when the facing detection module 404 does not detect the head turning of the person 10 within a preset time, the processing unit 140 will regard the person 10 as dozing off , and then keep the personnel awake through the warning unit 110 .

倘若在预设时间内面向检测模块404检测到人员10的头部有转动,则如步骤S510所示,处理单元140会判定人员在预设时间内并非维持同样的姿势,并且于步骤S502,图像获取单元120会继续获取站立于平台P上方的人员10的图像序列。也就是此时处理单元140会将人员10视为处于清醒状态,因此不会通过警示单元110来提醒人员10,且会继续通过图像获取单元120来监控人员10。If the face detection module 404 detects that the head of the person 10 has turned within the preset time, as shown in step S510, the processing unit 140 will determine that the person does not maintain the same posture within the preset time, and in step S502, the image The acquisition unit 120 will continue to acquire the sequence of images of the person 10 standing on the platform P. That is, at this time, the processing unit 140 will regard the person 10 as awake, so the person 10 will not be reminded by the warning unit 110 , and the person 10 will continue to be monitored by the image acquisition unit 120 .

上述倘若人员10于预设时间内维持同样的姿势,处理单元140还会根据人员10的眼睛的开阖与否,更精确判断人员10是否在瞌睡,据以决定是否驱使警示单元110发出提醒信号。下面再举一实施例来进行说明。As mentioned above, if the person 10 maintains the same posture within the preset time, the processing unit 140 will also judge more accurately whether the person 10 is dozing off according to whether the person 10's eyes are opened or closed, and then decide whether to drive the warning unit 110 to send a reminder signal . Another example is given below for illustration.

第三实施例third embodiment

图7是依照本发明第三实施例的图像处理模块的示意图。请参照图7,图像处理模块134包括人脸检测模块702以及闭眼检测模块704。其中,人脸检测模块702与第二实施例的人脸检测模块402相似,故于此不再赘述。闭眼检测模块704用以对脸部物件执行眼部搜寻程序,以判断眼睛是否为闭眼状态。FIG. 7 is a schematic diagram of an image processing module according to a third embodiment of the present invention. Please refer to FIG. 7 , the image processing module 134 includes a face detection module 702 and a closed-eye detection module 704 . Wherein, the face detection module 702 is similar to the face detection module 402 of the second embodiment, so details are omitted here. The eye-closed detection module 704 is used for executing an eye search program on the face object to determine whether the eyes are closed.

图8是依照本发明第三实施例的守卫提醒方法的方法流程图。以下仍配合图1的守卫提醒装置100来进行说明。请同时参照图1、图7及图8,于步骤S802,图像获取单元120会获取站立于平台P上方的人员10的图像序列。于步骤S804,处理单元140会执行图像处理模块134来分析图像序列,以判断人员10是否于预设时间内维持同样的姿势。Fig. 8 is a method flowchart of a guard reminding method according to a third embodiment of the present invention. The following will be described in conjunction with the guard reminding device 100 in FIG. 1 . Please refer to FIG. 1 , FIG. 7 and FIG. 8 at the same time. In step S802 , the image acquisition unit 120 acquires an image sequence of the person 10 standing on the platform P. Referring to FIG. In step S804 , the processing unit 140 executes the image processing module 134 to analyze the image sequence to determine whether the person 10 maintains the same posture within a preset time.

与前述实施例不同的是,倘若人员10于预设时间内维持同样的姿势,图像处理模块134还会进一步去判断人员10的眼睛是否为闭眼状态(步骤S806)。举例来说,人脸检测模块702会对图像序列执行人脸识别程序,以在图像序列中获得脸部物件,而闭眼检测模块704会对脸部物件执行眼部搜寻程序,以在脸部物件中获得眼部区域,进而根据眼部区域的尺寸判断眼睛是否为闭眼状态。Different from the foregoing embodiments, if the person 10 maintains the same posture within a preset time, the image processing module 134 will further determine whether the eyes of the person 10 are closed (step S806 ). For example, the face detection module 702 will perform a face recognition program on the image sequence to obtain facial objects in the image sequence, and the closed-eye detection module 704 will perform an eye search program on the facial objects to obtain facial objects in the image sequence. Obtain the eye area from the object, and then judge whether the eyes are closed according to the size of the eye area.

详细而言,人脸检测模块702获得脸部物件之后,可进一步在脸部物件中搜寻鼻孔区域,以获得鼻孔位置信息。接着,闭眼检测模块704可依据鼻孔位置信息来预估眼部搜寻框,以在眼部搜寻框内检测眼部区域。也就是说,相较于眼睛,鼻孔在图像中更容易识别,因此,先找出鼻孔之后,再往上估算出一眼部搜寻框,以在眼部搜寻框内找出眼部区域,藉此缩小眼部搜寻范围。In detail, after the face detection module 702 obtains the face object, it can further search the nostril area in the face object to obtain the nostril position information. Next, the closed-eye detection module 704 can estimate the eye search frame according to the nostril position information, so as to detect the eye region within the eye search frame. That is to say, the nostrils are easier to identify in the image than the eyes. Therefore, after the nostrils are found first, the eye search frame is estimated upwards to find the eye area in the eye search frame. This narrows the eye search range.

更进一步而言,闭眼检测模块704执行眼部搜寻程序而取出眼部区域之后,调整眼部区域的对比,而获得加强图像。接着再对加强图像依序进行去杂点、边缘锐利化、二值化及再次边缘锐利化等处理,以获得如图9所示的眼部区域902的图像。图9是依照本发明第三实施例的眼部区域的示意图。Furthermore, after the eye-closed detection module 704 executes the eye search program to extract the eye region, the contrast of the eye region is adjusted to obtain an enhanced image. Next, denoising, edge sharpening, binarization, and edge sharpening are sequentially performed on the enhanced image to obtain an image of the eye region 902 as shown in FIG. 9 . Fig. 9 is a schematic diagram of an eye region according to a third embodiment of the present invention.

接下来,闭眼检测模块704可基于眼部区域902的尺寸来判断眼睛是否闭上,藉此而获得眼部开闭信息。例如,当眼部区域902的高度小于高度门槛值(例如,高度门槛值的范围界于5~7个像素),且眼部区域902的宽度大于宽度门槛值(例如,宽度门槛值的范围界于60~80个像素)时,判定眼睛目前处于闭眼状态。若不符合上述条件,则判定眼睛目前处于睁眼状态。Next, the closed eye detection module 704 can determine whether the eyes are closed based on the size of the eye area 902 , thereby obtaining eye opening and closing information. For example, when the height of the eye region 902 is smaller than the height threshold (for example, the range of the height threshold is within 5 to 7 pixels), and the width of the eye region 902 is greater than the width threshold (for example, the range of the width threshold is within At 60-80 pixels), it is determined that the eyes are currently closed. If the above conditions are not met, it is determined that the eyes are currently in an open state.

返回图8,在人员10的眼睛为闭眼状态的情况下,如步骤S808所示,处理单元140会驱使警示单元110发出提醒信号。在本实施例中,闭眼检测模块704还会继续判断人员10的眼睛是否仍为闭眼状态(如步骤S806所示),而在闭眼检测模块704检测到人员的眼睛为睁眼状态之前,处理单元140仍会持续驱使警示单元110发出提醒信号。换言之,直到在闭眼检测模块704检测到人员10的眼睛为非闭眼状态,也就是人员10的眼睛为睁眼状态之后,处理单元140将会停止驱使警示单元110发出提醒信号,且于步骤S802,图像获取单元120会继续获取人员10的图像序列。Returning to FIG. 8 , when the eyes of the person 10 are closed, as shown in step S808 , the processing unit 140 will drive the warning unit 110 to send out a warning signal. In this embodiment, the closed-eye detection module 704 will continue to judge whether the eyes of the person 10 are still in the closed-eye state (as shown in step S806), and before the closed-eye detection module 704 detects that the personnel's eyes are in the open-eye state , the processing unit 140 will continue to drive the warning unit 110 to send out a reminder signal. In other words, until the eye-closed detection module 704 detects that the eyes of the person 10 are in a non-closed state, that is, the eyes of the person 10 are in an open state, the processing unit 140 will stop driving the warning unit 110 to send a reminder signal, and in step S802, the image acquisition unit 120 continues to acquire the image sequence of the person 10 .

值得一提的是,上述警示单元110所发出的提醒信号是用以通知人员10观看一个指定方向的信号。例如,通过语音信号来通知人员去观看图像获取单元120,以确保人员10的眼睛并非处于闭眼状态。然,也可以振动信号来提醒人员观看指定方向。下面再举一实施例来进行说明。It is worth mentioning that the reminder signal sent by the warning unit 110 is a signal for notifying the personnel 10 to watch a designated direction. For example, a voice signal is used to notify the person to watch the image acquisition unit 120 to ensure that the eyes of the person 10 are not closed. Of course, a vibration signal can also be used to remind personnel to look in a designated direction. Another example is given below for illustration.

第四实施例Fourth embodiment

图10是依照本发明第四实施例的图像处理模块的示意图。请参照图10,图像处理模块134包括人脸检测模块1002以及视线检测模块1004。其中,人脸检测模块1002与第二实施例的人脸检测模块402相似,故于此不再赘述。视线检测模块1004用以分析脸部物件的脸部特征信息,以判断人员注视的方向。FIG. 10 is a schematic diagram of an image processing module according to a fourth embodiment of the present invention. Referring to FIG. 10 , the image processing module 134 includes a face detection module 1002 and a line of sight detection module 1004 . Wherein, the face detection module 1002 is similar to the face detection module 402 of the second embodiment, so details will not be repeated here. The line of sight detection module 1004 is used to analyze the facial feature information of the facial object to determine the gaze direction of the person.

图11是依照本发明第四实施例的守卫提醒方法的方法流程图。以下仍配合图1的守卫提醒装置100来进行说明。请同时参照图1、图10及图11,于步骤S1102,图像获取单元120会获取站立于平台P上方的人员10的图像序列。于步骤S1104,处理单元140会执行图像处理模块134来分析图像序列,以判断人员10是否于预设时间内维持同样的姿势。倘若人员10改变姿势,则返回步骤S1102,图像获取单元120继续获取人员10的图像序列。反之,倘若人员10于预设时间内维持同样的姿势,则如步骤S1106所示,处理单元140会驱使警示单元110发出提醒信号。Fig. 11 is a flow chart of a guard reminding method according to a fourth embodiment of the present invention. The following will be described in conjunction with the guard reminding device 100 in FIG. 1 . Please refer to FIG. 1 , FIG. 10 and FIG. 11 at the same time. In step S1102 , the image acquisition unit 120 acquires an image sequence of the person 10 standing on the platform P. Referring to FIG. In step S1104 , the processing unit 140 executes the image processing module 134 to analyze the image sequence to determine whether the person 10 maintains the same posture within a preset time. If the person 10 changes posture, return to step S1102, and the image acquisition unit 120 continues to acquire the image sequence of the person 10. On the contrary, if the person 10 maintains the same posture within the preset time, as shown in step S1106 , the processing unit 140 will drive the alarm unit 110 to send out a reminder signal.

与前述实施例不同的是,警示单元110所发出的提醒信号是用以要求人员10注视指定方向。例如,通过警示单元110来发出语音信号,以通知人员10注视图像获取单元120或其他例如为向上、向下等指定方向。或者,通过警示单元110发出振动信号,使得人员10意识到要通过注视于指定方向来解除振动信号。Different from the foregoing embodiments, the warning signal sent by the warning unit 110 is used to require the person 10 to look at a designated direction. For example, a voice signal is sent out through the warning unit 110 to notify the person 10 to look at the image acquisition unit 120 or other designated directions such as upwards, downwards, etc. Alternatively, the warning unit 110 sends out a vibration signal, so that the person 10 realizes that the vibration signal should be released by gazing at a designated direction.

接着,在步骤S1108中,图像处理模块134会分析图像序列的脸部特征信息,以判断人员10是否注视于指定方向。例如,由人脸检测模块1002来找出图像序列中的脸部物件,使得视线检测模块1004能够分析脸部物件的脸部特征信息,以判断人员10注视的方向。举例来说,视线检测模块1004自脸部物件找到眼部区域,进而追踪瞳孔位置的移动,以计算眼球移动坐标。藉此,视线检测模块1004可依据眼球移动坐标来获得人员10目前的注视方向。Next, in step S1108 , the image processing module 134 analyzes the facial feature information of the image sequence to determine whether the person 10 is looking at a specified direction. For example, the facial object in the image sequence is found by the face detection module 1002 , so that the gaze detection module 1004 can analyze the facial feature information of the facial object to determine the gaze direction of the person 10 . For example, the line of sight detection module 1004 finds the eye area from the facial object, and then tracks the movement of the pupil position to calculate the eyeball movement coordinates. In this way, the gaze detection module 1004 can obtain the current gaze direction of the person 10 according to the eyeball movement coordinates.

倘若人员10未注视于指定方向,则如步骤S1106所示,处理单元140会持续驱使警示单元110发出提醒信号。倘若视线检测模块1004检测到人员10注视于指定方向,则如步骤S1110所示,处理单元140会使得警示单元110停止发出提醒信号。换言之,在人员10未注视于指定方向的情况下,处理单元140会持续驱使警示单元110发出提醒信号,直至视线检测模块1004检测到人员注视于指定方向时,处理单元140会使警示单元110停止发出提醒信号。如此一来,为了避免警示单元110发出提醒信号后人员10仍在瞌睡,通过判断人员10是否注视于指定方向,可更加确保人员10回到清醒状态。If the person 10 is not looking at the designated direction, as shown in step S1106 , the processing unit 140 will continue to drive the warning unit 110 to send out a warning signal. If the line of sight detection module 1004 detects that the person 10 is gazing at a specified direction, as shown in step S1110 , the processing unit 140 will make the warning unit 110 stop sending out the warning signal. In other words, when the person 10 is not looking at the specified direction, the processing unit 140 will continue to drive the warning unit 110 to send out a reminder signal until the line of sight detection module 1004 detects that the person is looking at the specified direction, and the processing unit 140 will stop the warning unit 110 Send a reminder signal. In this way, in order to prevent the person 10 from still dozing off after the alarm unit 110 sends out a reminder signal, by judging whether the person 10 is looking at a designated direction, it can be more ensured that the person 10 returns to the awake state.

第五实施例fifth embodiment

上述的守卫提醒方法也可通过守卫提醒系统来实现。图12是依照本发明第五实施例的守卫提醒系统的方块图。请参照图12,守卫提醒系统包括平台P、警示单元1210、图像获取单元1220以及远端监控主机1230,其中远端监控主机1230耦合于警示单元1210与图像获取单元1220之间。在此,平台P、警示单元1210及图像获取单元1220与第一实施例中的平台P、警示单元110及图像获取单元120的功用相同或相似,故于此不再赘述。The above-mentioned guard reminding method can also be realized by a guard reminding system. FIG. 12 is a block diagram of a guard reminder system according to a fifth embodiment of the present invention. Please refer to FIG. 12 , the guard reminder system includes a platform P, a warning unit 1210 , an image acquisition unit 1220 and a remote monitoring host 1230 , wherein the remote monitoring host 1230 is coupled between the warning unit 1210 and the image acquisition unit 1220 . Here, the functions of the platform P, the warning unit 1210 and the image acquisition unit 1220 are the same or similar to those of the platform P, the warning unit 110 and the image acquisition unit 120 in the first embodiment, so details are not repeated here.

与前述实施例不同的是,本实施例可利用远端监控主机1230来实现守卫提醒方法,其中远端监控主机1230具有存储单元以及处理单元,其中存储单元具有图像处理模块,而处理单元会通过图像处理模块来执行守卫提醒方法的各步骤。在此,存储单元以及处理单元与上述实施例的功能相同或相似。Different from the foregoing embodiments, this embodiment can use the remote monitoring host 1230 to implement the guard reminder method, wherein the remote monitoring host 1230 has a storage unit and a processing unit, wherein the storage unit has an image processing module, and the processing unit will pass The image processing module is used to execute each step of the guard reminding method. Here, the functions of the storage unit and the processing unit are the same as or similar to those of the above-mentioned embodiments.

如此一来,远端监控主机1230会接收并根据自图像获取单元1220的图像序列,以检测人员10是否呈现睡眠状态。并且,若人员10呈现睡眠状态,则远端监控主机1230会传送控制信号至警示单元1210,使警示单元1210产生提醒信号来警示人员10。此外,远端监控主机1230也可根据内部存储的行为检测模块、人脸检测模块、面向检测模块、视线检测模块以及闭眼检测模块,来判断人员10是否维持固定姿势、判断人员10是否呈现闭眼状态、判断人员10的头部是否转动或低头,以及判断人员10是否注视于指定方向,藉以判断人员10是否在瞌睡,以及产生提醒信号让人员10清醒,而其中关于守卫提醒方法的详细步骤可参考前述实施例,故于此也不再赘述。In this way, the remote monitoring host 1230 receives and according to the image sequence from the image acquisition unit 1220 , detects whether the person 10 is in a sleeping state. Moreover, if the person 10 is in a sleeping state, the remote monitoring host 1230 will send a control signal to the warning unit 1210 to make the warning unit 1210 generate a reminder signal to warn the person 10 . In addition, the remote monitoring host 1230 can also judge whether the person 10 maintains a fixed posture and whether the person 10 is closed or not according to the internally stored behavior detection module, face detection module, orientation detection module, line of sight detection module and eye-closed detection module. Eye state, judging whether the head of the person 10 turns or lowers his head, and judging whether the person 10 is staring at the designated direction, so as to judge whether the person 10 is dozing off, and generate a reminder signal to keep the person 10 awake, and the detailed steps of the guard reminder method Reference can be made to the above-mentioned embodiments, so details are not repeated here.

第六实施例Sixth embodiment

本发明另提供一种计算机程序产品,此计算机程序产品包括计算机可读取记录媒体。计算机可读取记录媒体记录数个程序指令。这些程序指令在载入电子装置并执行之后,便可完成上述守卫提醒方法的各步骤,同时使得电子装置实现上述实施例所说明的功能。其中,计算机可读取记录媒体可以是只读存储器、随机存取存储器、磁带、软磁盘、硬盘、光碟片以及传输媒体等等。在其他实施例中,计算机程序产品也可经由网络直接传输提供,在此并不限制其范围。The present invention further provides a computer program product, which includes a computer-readable recording medium. A computer-readable recording medium records several program instructions. After these program instructions are loaded into the electronic device and executed, the steps of the above-mentioned guard reminder method can be completed, and at the same time, the electronic device can realize the functions described in the above-mentioned embodiments. Wherein, the computer-readable recording medium may be a read-only memory, a random access memory, a magnetic tape, a floppy disk, a hard disk, an optical disc, transmission media, and the like. In other embodiments, the computer program product may also be provided directly via a network, and the scope thereof is not limited here.

综上所述,在守卫提醒方法、守卫提醒装置、守卫提醒系统与计算机程序产品中,守卫提醒装置会检测人员的姿势在预设时间内是否有变化。倘若人员在预设时间内的姿势维持不变,则平台中的警示单元会发出提醒信号来提醒人员,据以防止人员处于瞌睡的状态。此外,警示单元还可持续发出提醒信号,直到人员的姿势有改变或人员注视指定方向,藉此,可确保人员回到清醒状态。如此一来,守卫提醒装置可即时地监控站立于平台上的人员的状态,且当人员在瞌睡时或恍神的时候,守卫提醒装置可快速的提醒人员,藉以防止人员瞌睡并让人员保持清醒。To sum up, in the guard reminding method, guard reminding device, guard reminding system and computer program product, the guard reminding device will detect whether the person's posture changes within a preset time. If the posture of the person remains unchanged within the preset time, the warning unit in the platform will send out a reminder signal to remind the person, so as to prevent the person from falling asleep. In addition, the alarm unit can continue to send out a reminder signal until the person's posture changes or the person looks at the specified direction, thereby ensuring that the person returns to the awake state. In this way, the guard reminder device can monitor the status of the person standing on the platform in real time, and when the person is dozing off or in a daze, the guard reminder device can quickly remind the person, so as to prevent the person from falling asleep and keep the person awake .

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (19)

1.一种守卫提醒方法,其特征在于,包括:1. A guard reminding method is characterized in that, comprising: 通过一图像获取单元,获取站立于一平台上方的一人员的一图像序列,其中该图像获取单元面向该平台并且以一预设角度获取该图像序列;acquiring an image sequence of a person standing above a platform by an image acquisition unit, wherein the image acquisition unit faces the platform and acquires the image sequence at a preset angle; 分析该图像序列,以判断该人员是否呈现一睡眠状态;以及analyzing the image sequence to determine whether the person exhibits a sleep state; and 当该人员呈现该睡眠状态时,产生一提醒信号,以警示该人员。When the person is in the sleeping state, a reminder signal is generated to warn the person. 2.根据权利要求1所述的守卫提醒方法,其特征在于,当该人员呈现该睡眠状态时,则发出一预警信号至一远端监控主机。2. The guard reminding method according to claim 1, wherein when the person is in the sleep state, an early warning signal is sent to a remote monitoring host. 3.根据权利要求1所述的守卫提醒方法,其特征在于,判断该人员是否呈现该睡眠状态的步骤包括:3. The guard reminding method according to claim 1, wherein the step of judging whether the person presents the sleep state comprises: 根据该图像序列检测该人员是否于一预设时间内维持一固定姿势,若该人员在该预设时间内维持该固定姿势,则判断该人员呈现该睡眠状态。According to the image sequence, it is detected whether the person maintains a fixed posture within a preset time, and if the person maintains the fixed posture within the preset time, it is determined that the person is in the sleep state. 4.根据权利要求1所述的守卫提醒方法,其特征在于,判断该人员是否呈现该睡眠状态的步骤包括:4. The guard reminding method according to claim 1, wherein the step of judging whether the person presents the sleep state comprises: 检测该图像序列的一脸部物件,以在检测到在该预设时间内该人员的一头部并未转动的情况下,判定该人员呈现该睡眠状态;以及Detecting a facial object of the image sequence to determine that the person is in the sleep state if a head of the person is detected not to be turned within the preset time; and 当检测到该人员的该头部向下低时,判定该人员呈现该睡眠状态。When it is detected that the head of the person is lowered downward, it is determined that the person is in the sleep state. 5.根据权利要求1所述的守卫提醒方法,其特征在于,判断该人员是否呈现该睡眠状态的步骤还包括:5. The guard reminding method according to claim 1, wherein the step of judging whether the person presents the sleep state also includes: 对该图像序列执行一人脸识别程序,以在该图像序列中获得一脸部物件;executing a face recognition program on the image sequence to obtain a facial object in the image sequence; 执行一眼部搜寻程序,以在该脸部物件中获得一眼部区域;Execute an eye search procedure to obtain an eye area in the face object; 根据该眼部区域的尺寸判断该眼睛是否为该闭眼状态;以及judging whether the eye is in the closed eye state based on the size of the eye area; and 倘若该人员的眼睛为该闭眼状态,则判断该人员呈现睡眠状态。If the eyes of the person are in the eye-closed state, it is judged that the person is in a sleep state. 6.根据权利要求1所述的守卫提醒方法,其特征在于,在产生该提醒信号的步骤之后,包括:6. The guard reminder method according to claim 1, characterized in that, after the step of generating the reminder signal, comprising: 分析该图像序列的一脸部特征信息,以判断该人员是否注视于一指定方向;以及Analyzing a facial feature information of the image sequence to determine whether the person is looking at a specified direction; and 倘若该人员未注视于该指定方向,持续驱使该警示单元发出该提醒信号,直至检测到该人员注视于该指定方向。If the person is not gazing at the designated direction, the warning unit is continuously driven to send out the reminder signal until it is detected that the person is gazing at the designated direction. 7.根据权利要求1所述的守卫提醒方法,其特征在于,该提醒信号包括一振动警示、一光源警示或一音源警示。7. The guard reminder method according to claim 1, wherein the reminder signal includes a vibration warning, a light source warning or a sound source warning. 8.一种守卫提醒装置,其特征在于,包括:8. A guard reminding device, characterized in that it comprises: 一警示单元,设置于一平台内;a warning unit, set in a platform; 一图像获取单元,面向该平台并且以一预设角度的方式获取站立于该平台上方的一人员的一图像序列;an image acquisition unit facing the platform and acquiring an image sequence of a person standing above the platform at a preset angle; 一存储单元,具有一图像处理模块;以及a storage unit having an image processing module; and 一处理单元,耦接至该警示单元、该存储单元以及该图像获取单元之间,该处理单元执行该图像处理模块来分析该图像序列,以检测该人员是否呈现一睡眠状态;A processing unit, coupled between the warning unit, the storage unit and the image acquisition unit, the processing unit executes the image processing module to analyze the image sequence to detect whether the person is in a sleep state; 其中若该人员呈现该睡眠状态,则该处理单元传送一控制信号至该警示单元,使该警示单元产生一提醒信号,警示该人员。If the person is in the sleep state, the processing unit sends a control signal to the warning unit, so that the warning unit generates a reminder signal to warn the person. 9.根据权利要求8所述的守卫提醒装置,其特征在于,若该人员呈现该睡眠状态,则该处理单元发出一预警信号至一远端监控主机。9. The guard reminding device according to claim 8, wherein if the person is in the sleep state, the processing unit sends an early warning signal to a remote monitoring host. 10.根据权利要求8所述的守卫提醒装置,其特征在于,该图像处理模块包括:10. The guard reminding device according to claim 8, wherein the image processing module comprises: 一行为检测模块,根据该图像序列检测该人员是否于一预设时间内维持一固定姿势,若该人员在该预设时间内维持该固定姿势,则判断该人员呈现该睡眠状态。A behavior detection module detects whether the person maintains a fixed posture within a preset time according to the image sequence. If the person maintains the fixed posture within the preset time, it is judged that the person is in the sleep state. 11.根据权利要求8所述的守卫提醒装置,其特征在于,该图像处理模块包括:11. The guard reminding device according to claim 8, wherein the image processing module comprises: 一人脸检测模块,检测该图像序列中的一脸部物件;A human face detection module, which detects a facial object in the image sequence; 一面向检测模块,依据该图像序列中的该脸部物件,检测该人员的一头部是否有转动,当检测到在该预设时间内该人员的一头部并未转动的情况下,该处理单元判定该人员呈现该睡眠状态,其中,当该面向检测模块检测到该人员的该头部向下低时,该处理单元判定该人员呈现该睡眠状态;以及A face detection module, according to the facial object in the image sequence, detects whether the head of the person has turned, and when it is detected that the head of the person does not turn within the preset time, the The processing unit determines that the person is in the sleeping state, wherein, when the facing detection module detects that the head of the person is lowered downward, the processing unit determines that the person is in the sleeping state; and 一视线检测模块,分析该脸部物件的一脸部特征信息,以判断该人员是否注视于一指定方向,以在该人员未注视于该指定方向的情况下,判断该人员呈现该睡眠状态,并使该警示单元持续发出该提醒信号,直至检测到该人员注视于该指定方向。a line-of-sight detection module, which analyzes a facial feature information of the facial object to determine whether the person is gazing in a specified direction, and to determine whether the person is in the sleeping state if the person is not gazing in the specified direction, And make the warning unit continue to send out the warning signal until it is detected that the person is staring at the designated direction. 12.根据权利要求8所述的守卫提醒装置,其特征在于,该图像处理模块包括:12. The guard reminding device according to claim 8, wherein the image processing module comprises: 一人脸检测模块,检测该图像序列中的一脸部物件;A human face detection module, which detects a facial object in the image sequence; 一闭眼检测模块,对该脸部物件执行一眼部搜寻程序,以在该脸部物件中获得一眼部区域,进而根据该眼部区域的尺寸判断该眼睛是否为该闭眼状态,当该眼睛为闭眼状态时,判断该人员呈现睡眠状态。A closed-eye detection module, which executes an eye search program on the face object to obtain an eye area in the face object, and then judges whether the eye is in the closed-eye state according to the size of the eye area. When the eyes are closed, it is determined that the person is in a sleep state. 13.根据权利要求8所述的守卫提醒装置,其特征在于,该提醒信号包括一振动警示、一光源警示或一音源警示。13. The guard reminder device according to claim 8, wherein the reminder signal includes a vibration warning, a light source warning or a sound source warning. 14.一种守卫提醒系统,其特征在于,包括:14. A guard reminder system, characterized in that it comprises: 一平台,供一人员站立于其上;a platform on which a person stands; 一警示单元,设置于该平台内;a warning unit, set in the platform; 一图像获取单元,面向该平台并且以一预设角度的方式获取该人员的一图像序列;以及an image acquisition unit facing the platform and acquiring an image sequence of the person at a preset angle; and 一远端监控主机,耦合于该警示单元与该图像获取单元之间,接收并根据自该图像获取单元的该图像序列,以检测该人员是否呈现一睡眠状态;A remote monitoring host, coupled between the warning unit and the image acquisition unit, receives and according to the image sequence from the image acquisition unit, to detect whether the person is in a sleep state; 其中若该人员呈现该睡眠状态,则该远端监控主机传送一控制信号至该警示单元,使该警示单元产生一提醒信号,警示该人员。Wherein, if the person is in the sleep state, the remote monitoring host sends a control signal to the warning unit, so that the warning unit generates a reminder signal to warn the person. 15.根据权利要求14所述的守卫提醒系统,其特征在于,该远端监控主机包括:15. The guard reminder system according to claim 14, wherein the remote monitoring host includes: 一存储单元,具有一图像处理模块;以及a storage unit having an image processing module; and 一处理单元,耦合至该存储单元,该处理单元执行该图像处理模块来分析该图像序列,以判断该人员是否呈现该睡眠状态,若该人员呈现该睡眠状态,则传送该控制信号至该警示单元。A processing unit, coupled to the storage unit, the processing unit executes the image processing module to analyze the image sequence to determine whether the person is in the sleep state, and if the person is in the sleep state, then transmit the control signal to the alarm unit. 16.根据权利要求15所述的守卫提醒系统,其特征在于,该图像处理模块包括:16. The guard reminder system according to claim 15, wherein the image processing module comprises: 一行为检测模块,根据该图像序列检测该人员是否于一预设时间内维持一固定姿势,若该人员在该预设时间内维持该固定姿势,则判断该人员呈现该睡眠状态。A behavior detection module detects whether the person maintains a fixed posture within a preset time according to the image sequence. If the person maintains the fixed posture within the preset time, it is judged that the person is in the sleep state. 17.根据权利要求16所述的守卫提醒系统,其特征在于,该图像处理模块包括:17. The guard reminding system according to claim 16, wherein the image processing module comprises: 一人脸检测模块,检测该图像序列中的一脸部物件;A human face detection module, which detects a facial object in the image sequence; 一面向检测模块,依据该图像序列中的该脸部物件,检测该人员的头部是否有转动,当在一预设时间内该人员的头部并未转动的情况下,该处理单元判断该人员呈现该睡眠状态,其中,当该面向检测模块检测到该人员的该头部向下低时,该处理单元判定该人员呈现该睡眠状态;以及A face detection module detects whether the head of the person has turned according to the facial object in the image sequence, and if the head of the person does not turn within a preset time, the processing unit judges whether the head of the person has turned The person is in the sleeping state, wherein, when the facing detection module detects that the head of the person is lowered downward, the processing unit determines that the person is in the sleeping state; and 一视线检测模块,分析该脸部物件的一脸部特征信息,以判断该人员是否注视于一指定方向,当该人员未注视于该指定方向的情况下,判断该人员呈现该睡眠状态,并使该警示单元持续发出该提醒信号,直至检测到该人员注视于该指定方向。a line-of-sight detection module, analyzing a facial feature information of the facial object to determine whether the person is looking at a specified direction; if the person is not looking at the specified direction, it is determined that the person is in the sleeping state, and The warning unit is made to continuously send out the warning signal until it is detected that the person gazes at the designated direction. 18.根据权利要求16所述的守卫提醒系统,其特征在于,该图像处理模块包括:18. The guard reminding system according to claim 16, wherein the image processing module comprises: 一人脸检测模块,检测该图像序列中的一脸部物件;A human face detection module, which detects a facial object in the image sequence; 一闭眼检测模块,对该脸部物件执行一眼部搜寻程序,以在该脸部物件中获得一眼部区域,进而根据该眼部区域的尺寸判断该眼睛是否为该闭眼状态,当该眼睛为闭眼状态时,判断该人员呈现睡眠状态。A closed-eye detection module, which executes an eye search program on the face object to obtain an eye area in the face object, and then judges whether the eye is in the closed-eye state according to the size of the eye area. When the eyes are closed, it is determined that the person is in a sleep state. 19.根据权利要求14所述的守卫提醒系统,其特征在于,该警示信号包括一振动警示、光源警示或音源警示。19. The guard reminder system according to claim 14, wherein the warning signal includes a vibration warning, a light source warning or a sound source warning.
CN201410364471.0A 2014-05-30 2014-07-29 Guard reminding method, reminding device and reminding system Pending CN105138947A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW103119035A TW201545130A (en) 2014-05-30 2014-05-30 Reminding method for guard and reminding apparatus, reminding system and computer program product thereof
TW103119035 2014-05-30

Publications (1)

Publication Number Publication Date
CN105138947A true CN105138947A (en) 2015-12-09

Family

ID=54724291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410364471.0A Pending CN105138947A (en) 2014-05-30 2014-07-29 Guard reminding method, reminding device and reminding system

Country Status (2)

Country Link
CN (1) CN105138947A (en)
TW (1) TW201545130A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492620A (en) * 2018-12-18 2019-03-19 广东中安金狮科创有限公司 Monitoring device and its control device, post monitoring method and readable storage medium storing program for executing
CN110059666A (en) * 2019-04-29 2019-07-26 北京市商汤科技开发有限公司 A kind of attention detection method and device
CN110349284A (en) * 2019-07-03 2019-10-18 浙江好得电气有限公司 Plateau high-pressure PT cabinet with transformer casing overhauls monitoring method, device
CN111990976A (en) * 2020-07-22 2020-11-27 五八到家有限公司 Monitoring method, device, equipment and storage medium
CN112016363A (en) * 2019-05-30 2020-12-01 富泰华工业(深圳)有限公司 Personnel monitoring method, device, computer device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243015B1 (en) * 1999-06-17 2001-06-05 Hyundai Motor Company Driver's drowsiness detection method of drowsy driving warning system
CN101196993A (en) * 2006-12-06 2008-06-11 爱信精机株式会社 Device, method and program for detecting eye
CN101574261A (en) * 2009-06-18 2009-11-11 金会庆 Remote monitoring early warning device for driving fatigue
CN102034334A (en) * 2009-09-28 2011-04-27 财团法人车辆研究测试中心 Driver monitoring method and monitoring system thereof
CN102752458A (en) * 2012-07-19 2012-10-24 北京理工大学 Driver fatigue detection mobile phone and unit
CN103680064A (en) * 2012-09-24 2014-03-26 由田新技股份有限公司 Doze reminding device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243015B1 (en) * 1999-06-17 2001-06-05 Hyundai Motor Company Driver's drowsiness detection method of drowsy driving warning system
CN101196993A (en) * 2006-12-06 2008-06-11 爱信精机株式会社 Device, method and program for detecting eye
CN101574261A (en) * 2009-06-18 2009-11-11 金会庆 Remote monitoring early warning device for driving fatigue
CN102034334A (en) * 2009-09-28 2011-04-27 财团法人车辆研究测试中心 Driver monitoring method and monitoring system thereof
CN102752458A (en) * 2012-07-19 2012-10-24 北京理工大学 Driver fatigue detection mobile phone and unit
CN103680064A (en) * 2012-09-24 2014-03-26 由田新技股份有限公司 Doze reminding device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492620A (en) * 2018-12-18 2019-03-19 广东中安金狮科创有限公司 Monitoring device and its control device, post monitoring method and readable storage medium storing program for executing
CN110059666A (en) * 2019-04-29 2019-07-26 北京市商汤科技开发有限公司 A kind of attention detection method and device
CN112016363A (en) * 2019-05-30 2020-12-01 富泰华工业(深圳)有限公司 Personnel monitoring method, device, computer device and readable storage medium
CN110349284A (en) * 2019-07-03 2019-10-18 浙江好得电气有限公司 Plateau high-pressure PT cabinet with transformer casing overhauls monitoring method, device
CN111990976A (en) * 2020-07-22 2020-11-27 五八到家有限公司 Monitoring method, device, equipment and storage medium

Also Published As

Publication number Publication date
TW201545130A (en) 2015-12-01

Similar Documents

Publication Publication Date Title
Hossain et al. IOT based real-time drowsy driving detection system for the prevention of road accidents
WO2019028798A1 (en) Method and device for monitoring driving condition, and electronic device
CN105138947A (en) Guard reminding method, reminding device and reminding system
CN102018519B (en) Personnel concentration monitoring system
TWI533239B (en) Distant facial monitoring system, method, computer readable medium, and computer program products
Anjali et al. Real-time nonintrusive monitoring and detection of eye blinking in view of accident prevention due to drowsiness
CN104571487A (en) Monitoring method, device and system
JP7575397B2 (en) Driver abnormality response system, driver abnormality response method, and program
Kannan et al. Driver drowsiness detection and alert system
Shan et al. IoT and computer vision based driver safety monitoring system with risk prediction
Himaswi et al. Deep Learning-Based Drowsiness Detection System Using IoT
KR20150106986A (en) System for detecting drowsiness based on server and the method thereof
Khan et al. Human Drowsiness Detection System
Kawtikwar et al. Eyes on the road: a machine learning-based fatigue detection system for safer driving
Rajput et al. Accident prevention using drowsiness detection
Peddarapu et al. Raspberry pi-based driver drowsiness detection
Samiappan et al. Comprehensive analysis on drowsiness detection of drivers using facial analysis
Gulhane et al. Intelligent fatigue detection and automatic vehicle control system
Ooppakaew et al. Drowsiness detection using Raspberry Pi for EVs and smart cars
Raghavi et al. Fatigue and Sluggishness Detection Using Machine Learning: A Haar Algorithmic Approach
Mary AI POWERED DRIVER DROWSINESS DETECTION USING ADVANCED DEEP LEARNING TECHNIQUES
Nalavade et al. Enhancing Road Safety: An Intelligent Drowsiness Detection System Based on Deep Neural Networks
Ahmad et al. Driver Drowsiness Detection System Using Image Recognition
Swetha et al. Vehicle Accident Prevention System Using Artificial Intelligence
Shaik Drowsiness Detection using DCCNN Algorithm.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151209

WD01 Invention patent application deemed withdrawn after publication