Specific embodiment
The embodiment of the present application provides a kind of image detection alarm method and device, for timely and effectively finding insider
The abnormal behaviour of member, and warned, it eliminates safe hidden trouble.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
The embodiment of the present application is described in attached drawing.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " or " having " and its any deformation, it is intended that covering is not
Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear
Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set
Standby intrinsic other step or units.
For ease of understanding, the detailed process of the embodiment of the present application is described below, referring to Fig. 1, the application is implemented
One embodiment of image detection alarm method includes: in example
101, the image information of target person in target area is obtained.
The image information of target person in target area is obtained, described image information includes at least the face figure of target person
As information.
It should be noted that by the identification device that target area inlet is arranged in, to the personnel of disengaging target area
Image information is acquired, and is identified.Identification device, which is generally high-resolution camera etc. or other, has acquisition figure
As the device of function, specifically herein without limitation.
It is understood that target area can be production area or other important places, it specifically can be according to practical feelings
Condition is configured;In addition, identification device can also the dressing image to the target person of appearance be acquired, for example, by pre-
The comparison database information set determines whether target person wears the work clothes that meets the requirements, and the dressing image of target person can be confirmation
The information of target person provides auxiliary information.
102, the personal information of target person is determined according to image information.
The personal information of target person is determined according to human face image information, which includes at least character types and ID
Number, mission bit stream can also include other information, specifically herein without limitation.
It should be noted that character types may include the types such as leader, common management personnel, worker, different roles
Type, permission obtained are also different.For example, the permission highest of leader, can enter all areas and be inspected;Common management
Personnel can only enter responsible region and work;Worker can enter to need the production area of operation, specifically, to worker's
Work post is classified, and different production areas can be associated with according to different work posts.For example, welding worker can only enter welding
The production area of project, service worker can enter whole production areas.
It is understood that each staff has unique ID number, which can be associated with other register informations,
For example, mug shot, name, work post, character types, permission etc., when the ID number for recognizing target person according to image information, then
Other information is indexed according to ID number.
103, judge whether the character types of target person are associated with work order.
According to the character types of target person, judge whether the character types of target person are associated with work order.If for example,
Leader is then associated with without work order;If worker either common management personnel, then be associated with work order.If not being associated with, step is executed
Rapid 104, carry out other operations;If association, thens follow the steps 105.
It should be noted that whether different character types are associated with work order, can be configured according to the actual situation, example
Such as, leader and common management personnel do not have work order, and only worker has work order.When character types not other setting types, then tie
Actual conditions are closed to be configured.
104, other operations are carried out.
Carry out other operations.Related personnel is reminded to check etc. specifically, can be, specifically herein without limitation.
105, judge whether target person can enter target area.
If the character types of target person are associated with work order, judge whether target person can enter target according to ID number
Region.If can be to then follow the steps 104;If cannot, then follow the steps 106.
In a kind of feasible embodiment, when the character types for determining target person are worker, target person is target
Worker, and be associated with work order, target worker's authority information is obtained according to the ID number of target worker, whether judges target worker
Target area can be entered.
It is understood that other operations are executed if the character types of target person are not associated with work order, for example, hair
Prompt information is sent, there is personnel's entrance;Alternatively, not doing any prompting, only keep a record.
106, judge that target person whether there is the target work order to match.
If it is determined that target person cannot enter target area, then judge that target person whether there is the target work to match
It is single.If it does not exist, 107 are thened follow the steps;If it exists, 104 are thened follow the steps.
It should be noted that target person, which is likely to be interim call to target area, carries out operation, and the target person
The permission into the target area is had no before member, is not saved the information of the target person in database, is needed the volume of progress at this time
Outer judgement, if there are the target work orders that invocation target personnel enter target area.
It is understood that the handling situations of personnel require typing work order information, work order information includes operating personnel, makees
Industry region and working time.For example, operating personnel includes secure supervisor, the person of getting angry and other work for needing participation live
Personnel;For example, the working time includes the working time applied, delays time etc..Work order information can also include action/
The information such as work post, specifically herein without limitation.Monitoring system needs timing synchronized update data from WorkForm System, guarantees work order
The actual effect of data.
It should also be noted that, if it is determined that target person can then execute other operations, specifically herein into target area
Without limitation.
107, warning note is carried out.
If it is determined that the target work order to match is not present in target person, then warning note is carried out.
It should be noted that can be configured according to the actual situation there are many modes of warning note.For example, according to
Different warning note modes is arranged in the significance level of target area.Specifically, all monitoring areas are classified, according to
Significance level, urgency level etc. use mail respectively, and the mode of wechat, the different stages such as short message notifies responsible person or staff,
Ensure to carry out warning note at the first time.
In the embodiment of the present application, by judge target person appear in target area behavior it is whether reasonable, it is timely and effective
Discovery target person abnormal behaviour, and warned, eliminate the security risk being likely to occur.
Referring to Fig. 2, another embodiment of image detection alarm method includes: in the embodiment of the present application
201, the image information of target person in target area is obtained.
The image information of target person in target area is obtained, described image information includes at least the face figure of target person
As information.
It should be noted that by the identification device that target area inlet is arranged in, to the personnel of disengaging target area
Image information is acquired, and is identified.Identification device, which is generally high-resolution camera etc. or other, has acquisition figure
As the device of function, specifically herein without limitation.
It is understood that target area can be production area or other important places, it specifically can be according to practical feelings
Condition is configured;In addition, identification device can also the dressing image to the target person of appearance be acquired, for example, by pre-
The comparison database information set determines whether target person wears the work clothes that meets the requirements, and the dressing image of target person can be confirmation
The information of target person provides auxiliary information.
202, at the time of record obtains the image information of target person in target area, it is denoted as current time.
At the time of record obtains the image information of target person in target area, when being recorded as current at the time of will acquire
It carves.
It is understood that all different at the time of each acquisition image information, the smallest time difference is away from that can be 1 second, also
It can be other situations, for example, each frame image is 1/12 second as unit of frame, alternatively, each frame image is 1/25 second, tool
Body is herein without limitation.
203, the personal information of target person is determined according to image information.
The personal information of target person is determined according to human face image information, which includes at least character types and ID
Number, mission bit stream can also include other information, specifically herein without limitation.
It should be noted that character types may include the types such as leader, common management personnel, worker, different roles
Type, permission obtained are also different.For example, the permission highest of leader, can enter all areas and be inspected;Common management
Personnel can only enter responsible region and work;Worker can enter to need the production area of operation, specifically, to worker's
Work post is classified, and different production areas can be associated with according to different work posts.For example, welding worker can only enter welding
The production area of project, service worker can enter whole production areas.
It is understood that each staff has unique ID number, which can be associated with other register informations,
For example, mug shot, name, work post, character types, permission etc., when the ID number for recognizing target person according to image information, then
Other information is indexed according to ID number.
204, judge whether the character types of target person are associated with work order.
According to the character types of target person, judge whether the character types of target person are associated with work order.If for example,
Leader is then associated with without work order;If worker either common management personnel, then be associated with work order.If not being associated with, step is executed
Rapid 205, carry out other operations;If association, thens follow the steps 206.
It should be noted that whether different character types are associated with work order, can be configured according to the actual situation, example
Such as, leader and common management personnel do not have work order, and only worker has work order.When character types not other setting types, then tie
Actual conditions are closed to be configured.
205, other operations are carried out.
Carry out other operations.Related personnel is reminded to check etc. specifically, can be, specifically herein without limitation.
206, judge whether target person can enter target area.
If the character types of target person are associated with work order, judge whether target person can enter target according to ID number
Region.If can be to then follow the steps 205;If cannot, then follow the steps 207.
In a kind of feasible embodiment, when the character types for determining target person are worker, target person is target
Worker, and be associated with work order, target worker's authority information is obtained according to the ID number of target worker, whether judges target worker
Target area can be entered.
It is understood that other operations are executed if the character types of target person are not associated with work order, for example, hair
Prompt information is sent, there is personnel's entrance;Alternatively, not doing any prompting, only keep a record.
207, judge that target person whether there is the target work order to match.
If it is determined that target person cannot enter target area, then judge that target person whether there is the target work to match
It is single.If it does not exist, 208 are thened follow the steps;If it exists, 209 are thened follow the steps.
It should be noted that target person, which is likely to be interim call to target area, carries out operation, and the target person
The permission into the target area is had no before member, is not saved the information of the target person in database, is needed the volume of progress at this time
Outer judgement, if there are the target work orders that invocation target personnel enter target area.
It is understood that the handling situations of personnel require typing work order information, work order information includes operating personnel, makees
Industry region and working time.For example, operating personnel includes secure supervisor, the person of getting angry and other work for needing participation live
Personnel;For example, the working time includes the working time applied, delays time etc..Work order information can also include action/
The information such as work post, specifically herein without limitation.Monitoring system needs timing synchronized update data from WorkForm System, guarantees work order
The actual effect of data.
It should also be noted that, if it is determined that target person can then execute other operations, specifically herein into target area
Without limitation.
208, warning note is carried out.
If it is determined that the target work order to match is not present in target person, then warning note is carried out.
It should be noted that can be configured according to the actual situation there are many modes of warning note.For example, according to
Different warning note modes is arranged in the significance level of target area.Specifically, all monitoring areas are classified, according to
Significance level, urgency level etc. use mail respectively, and the mode of wechat, the different stages such as short message notifies responsible person or staff,
Ensure to carry out warning note at the first time.
209, judge within the scope of working region that whether target area records in target work order.
If it is determined that target person has the target work order to match, then judge whether target area records in target work order
Working region within the scope of.
If thening follow the steps 210 within the scope of the working region that target area records in target work order;If target area is not
Within the scope of the working region recorded in target work order, 208 are thened follow the steps.
210, judge current time whether within the working hour in target work order.
Specifically, at the time of judgement obtains the image information of target person in target area, i.e. current time, if in mesh
It marks within the scope of the working hour in work order.If not meeting, 208 are thened follow the steps;If meeting, 205 are thened follow the steps.
It should be noted that needing to record target person in acquisition target area before judging current time
Image information current time M, then extract the working hour (N, M) recorded in current time K and target work order and compared
Compared with.
For example, be 12 points (24 hours systems) in the current time K that target area collects the image information of target person,
If the working time (N, M) recorded in target work order existing for target person is (10,13), i.e., 10 points to 13 points, then can be true
Recognizing current time K is in the working hour range (N, M) of target work order.The working region recorded in target work order is judged simultaneously
With the presence or absence of target area, and if it exists, within the scope of the working region that then determining target area records in target work order.
It is understood that a reporting P can also be arranged, judge whether the value of K meets: N-P≤K≤M+
P, P are set as 30 minutes, and P can also be other numerical value, and P is less than 60 minutes, specifically herein without limitation.
In the embodiment of the present application, by judge target person appear in target area behavior it is whether reasonable, it is timely and effective
Discovery target person abnormal behaviour, and warned, eliminate the security risk being likely to occur.
Image detection alarm method in the embodiment of the present application is described above, below in the embodiment of the present application
Image detection warning device is described, referring to Fig. 3, in the embodiment of the present application image detection warning device one embodiment
Include:
Acquiring unit 301, for obtaining the image information of target person in target area, described image information is included at least
The human face image information of the target person;
Determination unit 302, it is described a for determining the personal information of the target person according to the human face image information
People's information includes at least character types and ID number;
First judging unit 303, for judging whether the character types of the target person are associated with work order;
Second judgment unit 304, if association, for judging whether the target person can enter according to the ID number
The target area;
Third judging unit 305, if cannot, for judging that the target person whether there is the target work to match
It is single;
First alarm unit 306, if it does not exist, then for carrying out warning note.
In the embodiment of the present application, by judge target person appear in target area behavior it is whether reasonable, it is timely and effective
Discovery target person abnormal behaviour, and warned, eliminate the security risk being likely to occur.
Referring to Fig. 4, the another one embodiment of image detection warning device includes: in the embodiment of the present application
Acquiring unit 401, for obtaining the image information of target person in target area, described image information is included at least
The human face image information of the target person;
Determination unit 402, it is described a for determining the personal information of the target person according to the human face image information
People's information includes at least character types and ID number;
First judging unit 403, for judging whether the character types of the target person are associated with work order;
Second judgment unit 404, if association, for judging whether the target person can enter according to the ID number
The target area;
Third judging unit 405, if cannot, for judging that the target person whether there is the target work to match
It is single;
First alarm unit 406, if it does not exist, then for carrying out warning note.
Optionally, second judgment unit 304 can further comprise:
First determining module 4041, for determining the permission region of the target person according to the ID number;
Judgment module, for judging the target area whether in the range of the permission region;
Second determining module 4042, if the target area in the range of permission region, is used for described in determination
Target person can enter the target area.
Optionally, image detection warning device can further include:
4th judging unit 407, the target work order to match if it exists, then for judging whether the target work order meets
It is required that;
Second alarm unit 408, if not meeting, for carrying out warning note.
Optionally, the 4th judging unit 407 is specifically used for:
Judge within the scope of working region that whether target area records in the target work order, while judging to obtain
In target area at the time of the image information of target person whether within the working hour in the target work order.
In the embodiment of the present application, by judge target person appear in target area behavior it is whether reasonable, it is timely and effective
Discovery target person abnormal behaviour, and warned, eliminate the security risk being likely to occur.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present application.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (such as infrared, wireless,
Microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable to deposit
Storage media can be any usable medium that computer can store or include the integrated clothes of one or more usable mediums
The data storage devices such as business device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape),
Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory,
ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.