CN103049748B - Behavior monitoring method and device - Google Patents

Behavior monitoring method and device Download PDF

Info

Publication number
CN103049748B
CN103049748B CN201210592872.2A CN201210592872A CN103049748B CN 103049748 B CN103049748 B CN 103049748B CN 201210592872 A CN201210592872 A CN 201210592872A CN 103049748 B CN103049748 B CN 103049748B
Authority
CN
China
Prior art keywords
image
behavior
hanging oneself
outline
foreground image
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.)
Expired - Fee Related
Application number
CN201210592872.2A
Other languages
Chinese (zh)
Other versions
CN103049748A (en
Inventor
刘忠轩
杨宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
He Jiangtao
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210592872.2A priority Critical patent/CN103049748B/en
Publication of CN103049748A publication Critical patent/CN103049748A/en
Application granted granted Critical
Publication of CN103049748B publication Critical patent/CN103049748B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of behavior monitoring method and device, the method comprises: use frame difference method to extract foreground image from the color RGB image of monitoring; The region that monitored people is corresponding in foreground image is determined in foreground image; In the zone, the image outline of monitored people is searched; The judgment threshold of external matrix corresponding to image outline and default behavior of hanging oneself is used to judge that monitored people there occurs the behavior of hanging oneself.By the present invention, reach the accuracy rate improving monitoring.

Description

Behavior monitoring method and device
Technical field
The present invention relates to image processing field, in particular to a kind of behavior monitoring method and device.
Background technology
In recent years, along with the development of computer vision and image processing techniques, due to its application prospect widely, movement human behavioural analysis has attracted to pay close attention to widely.Moving object behavioural analysis is a research topic interdisciplinary.Main contents relate to the multidisciplinary fields such as computer vision, image procossing, pattern-recognition, artificial intelligence, computer graphics.At present, the visual analysis of people's motion is one of most active research theme in computer vision field, and its core utilizes computer vision technique to detect from image sequence, follows the tracks of, identifies people and carry out understanding to its behavior and describe.
At the prison, the Code in Hazardous Special Locations such as the house of detention, the behavior of hanging oneself is one of extreme behavior the most often occurred.But in these places, personnel under detention is not easy management.Similar this extreme behavior of hanging oneself, pole needs prison guard to set out rapidly to stop.Obviously, manpower cannot meet the real time monitoring to a large amount of camera.Traditional computer cannot realize being analyzed by behavior in video.And rely on manpower also cannot keep warning for a long time, and as easy as rolling off a logly cause carelessness.Therefore, automatic in the urgent need to one, objective, real-time detection system of hanging oneself, reports to the police rapidly to the behavior of hanging oneself in video scene, is convenient to take measures in time.
Watch-dog general at present also cannot be analyzed the behavior in video scene, also just has no way of making a response to this extreme behavior of hanging oneself.The invention provides a kind of based on the multiple method and apparatus detected of hanging oneself detecting son.
Summary of the invention
For the problem cannot being carried out behavior monitoring in correlation technique by video, the invention provides a kind of behavior monitoring method and device, at least to solve this problem.
According to an aspect of the present invention, provide a kind of behavior monitoring method, comprising: use frame difference method to extract foreground image from the color RGB image of monitoring; The region that monitored people is corresponding in described foreground image is determined in described foreground image; In this region, the image outline of described monitored people is searched; The judgment threshold of external matrix corresponding to described image outline and default behavior of hanging oneself is used to judge that monitored people there occurs the behavior of hanging oneself.
Preferably, use frame difference method to extract foreground image from the color RGB image of monitoring to comprise: by the N two field picture image as a setting gathered; N+1 frame is started, present image and described background image are carried out subtraction on three passages of colour; The absolute value of the result of described subtraction is carried out difference image that binaryzation obtains as described foreground image;
Wherein, N be greater than 1 positive integer.
Preferably, in described foreground image, determine that the region of monitored people correspondence in described foreground image comprises: described foreground image is carried out erosion operation; The image obtained after described erosion operation removes isolated point, noise, burr and foot bridge and obtain the first image; Dilation operation is carried out to described first image in the vertical direction and obtains the second image; Described second image determines described region.
Preferably, in this region, the image outline searching described monitored people comprises: carry out described second image to search for according to preset order the point obtaining white; With the point of described white for starting point, all frontier points in the described region at described white point place are carried out mark and obtains one or more described image outline.
Preferably, using before external matrix corresponding to described image outline and the judgment threshold of behavior of hanging oneself preset judge whether monitored people there occurs the behavior of hanging oneself, also comprise the external matrix determining that described image outline is corresponding in the following way: the point sequence corresponding to described image outline scans; Determine that the minimum value in the horizontal direction of the point sequence after described scanning is the X value of described external matrix; Point sequence after described scanning maximal value is in the horizontal direction deducted the minimum value of described horizontal direction difference and 1 and as the width of described external matrix; Determine that the point sequence after described scanning is the Y value of described external matrix in the minimum value of vertical direction; Point sequence after described scanning is deducted in the maximal value of vertical direction the minimum value of described vertical direction difference and 1 and as the length of described external matrix.
Preferably, use the judgment threshold of external matrix corresponding to described image outline and default behavior of hanging oneself to judge that monitored people there occurs the behavior of hanging oneself and comprises: in described external matrix, use SVM monitor head to take on, obtain the height and yardstick takeed on to the end; Judge the height that described head is takeed on and the first judgment threshold that the whether satisfied behavior of hanging oneself preset of yardstick is takeed at head; If judged result is satisfied, then determine to there occurs the behavior of hanging oneself; And/or
Height and the yardstick of face is monitored in described external matrix; Judge whether height and the yardstick of described face meet second judgment threshold of default behavior of hanging oneself at face; If judged result is satisfied, then determine to there occurs the behavior of hanging oneself.
Preferably, said method also comprises: upgrade described foreground image.
Preferably, renewal is carried out to described foreground image and comprises: the pixel value of the pixel value of the non-foreground area of N frame and described foreground image same position is weighted summation, as the foreground image after renewal.
According to a further aspect in the invention, providing a kind of behavior monitoring device, comprising: extraction module, from the color RGB image of monitoring, extracting foreground image for using frame difference method; Determination module, for determining the region that monitored people is corresponding in described foreground image in described foreground image; Search module, in this region, search the image outline of described monitored people; For using the judgment threshold of external matrix corresponding to described image outline and default behavior of hanging oneself, judge module, judges that monitored people there occurs the behavior of hanging oneself.
Preferably, described extraction module comprises: the first processing module, for the N two field picture image as a setting that will gather; Computing module, for being started by N+1 frame, carries out subtraction by present image and described background image on three passages of colour; Second processing module, the absolute value for the result using described subtraction carries out difference image that binaryzation obtains as described foreground image; Wherein, N be greater than 1 positive integer.
By the present invention, adopt and use frame difference method to extract foreground image from the color RGB image of monitoring; The region that monitored people is corresponding in foreground image is determined in foreground image; In the zone, the image outline of monitored people is searched; The judgment threshold of external matrix corresponding to image outline and default behavior of hanging oneself is used to judge that monitored people there occurs the behavior of hanging oneself, solve the problem cannot being carried out behavior monitoring in correlation technique by video, and then reach the effect of the accuracy improving monitoring of hanging oneself.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the behavior monitoring method according to the embodiment of the present invention;
Fig. 2 is the structured flowchart of the behavior monitoring device according to the embodiment of the present invention;
Fig. 3 is the preferred structured flowchart of the behavior monitoring device according to the embodiment of the present invention; And
Fig. 4 is the process flow diagram of the monitoring method of hanging oneself according to the embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Present embodiments provide a kind of behavior monitoring method, Fig. 1 is the process flow diagram of the behavior monitoring method according to the embodiment of the present invention, and the method comprises following step S102 to step S108.
Step S102: use frame difference method to extract foreground image from the color RGB image of monitoring.
Step S104: determine the region that monitored people is corresponding in this foreground image in this foreground image.
Step S106: in this region, searches the image outline of this monitored people.
Step S108: use the judgment threshold of external matrix corresponding to this image outline and default behavior of hanging oneself to judge that monitored people there occurs the behavior of hanging oneself.
Preferably, use frame difference method to extract foreground image from the color RGB image of monitoring to comprise: by the N two field picture image as a setting gathered; N+1 frame is started, present image and described background image are carried out subtraction on three passages of colour; The absolute value of the result of described subtraction is carried out difference image that binaryzation obtains as described foreground image; Wherein, N be greater than 1 positive integer.
Preferably, in described foreground image, determine that the region of monitored people correspondence in described foreground image comprises: described foreground image is carried out erosion operation; The image obtained after described erosion operation removes isolated point, noise, burr and foot bridge and obtain the first image; Dilation operation is carried out to described first image in the vertical direction and obtains the second image; Described second image determines described region.
Preferably, in this region, the image outline searching described monitored people comprises: carry out described second image to search for according to preset order the point obtaining white; With the point of described white for starting point, all frontier points in the described region at described white point place are carried out mark and obtains one or more described image outline.
Preferably, using before external matrix corresponding to described image outline and the judgment threshold of behavior of hanging oneself preset judge whether monitored people there occurs the behavior of hanging oneself, also comprise the external matrix determining that described image outline is corresponding in the following way: the point sequence corresponding to described image outline scans; Determine that the minimum value in the horizontal direction of the point sequence after described scanning is the X value of described external matrix; Point sequence after described scanning maximal value is in the horizontal direction deducted the minimum value of described horizontal direction difference and 1 and as the width of described external matrix; Determine that the point sequence after described scanning is the Y value of described external matrix in the minimum value of vertical direction; Point sequence after described scanning is deducted in the maximal value of vertical direction the minimum value of described vertical direction difference and 1 and as the length of described external matrix.
Preferably, use the judgment threshold of external matrix corresponding to described image outline and default behavior of hanging oneself to judge that monitored people there occurs the behavior of hanging oneself and comprises: in described external matrix, use SVM monitor head to take on, obtain the height and yardstick takeed on to the end; Judge the height that described head is takeed on and the first judgment threshold that the whether satisfied behavior of hanging oneself preset of yardstick is takeed at head; If judged result is satisfied, then determine to there occurs the behavior of hanging oneself; And/or
Height and the yardstick of face is monitored in described external matrix; Judge whether height and the yardstick of described face meet second judgment threshold of default behavior of hanging oneself at face; If judged result is satisfied, then determine to there occurs the behavior of hanging oneself.
Preferably, said method also comprises: upgrade described foreground image.
Preferably, renewal is carried out to described foreground image and comprises: the pixel value of the pixel value of the non-foreground area of N frame and described foreground image same position is weighted summation, as the foreground image after renewal.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
In another embodiment, additionally provide a kind of behavior monitoring software, this software is for performing the technical scheme described in above-described embodiment and preferred embodiment.
In another embodiment, additionally provide a kind of storage medium, store above-mentioned behavior monitoring software in this storage medium, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc.
The embodiment of the present invention additionally provides a kind of behavior monitoring device, the behavior, monitoring device may be used for realizing above-mentioned behavior monitoring method and preferred implementation, to carry out explanation, repeated no more, below the module related in behavior monitoring device had been described.As used below, term " module " can realize the software of predetermined function and/or the combination of hardware.Although the system and method described by following examples preferably realizes with software, hardware, or the realization of the combination of software and hardware also may and conceived.
Fig. 2 is the structured flowchart of the behavior monitoring device according to the embodiment of the present invention, and as shown in Figure 2, this device comprises: extraction module 22, determination module 24, search module 26 and judge module 28, is described in detail below to said structure.
Extraction module 22, extracts foreground image for using frame difference method from the color RGB image of monitoring; Determination module 24, for determining the region that monitored people is corresponding in this foreground image in this foreground image; Search module 26, in this region, search the image outline of this monitored people; For using the judgment threshold of external matrix corresponding to this image outline and default behavior of hanging oneself, judge module 28, judges that monitored people there occurs the behavior of hanging oneself.
Fig. 3 is the preferred structured flowchart of the behavior monitoring device according to the embodiment of the present invention, and extraction module 22 comprises: the first processing module 222, for the N two field picture image as a setting that will gather; Computing module 224, for being started by N+1 frame, carries out subtraction by present image and this background image on three passages of colour; Second processing module 226, the absolute value for the result using this subtraction carries out difference image that binaryzation obtains as this foreground image; Wherein, N be greater than 1 positive integer.
Be described below in conjunction with preferred embodiment, following preferred embodiment combines above-described embodiment and preferred implementation.
Preferred embodiment one
This preferred embodiment provides a kind of method that identification is hung oneself, and the method comprises the steps that S202 is to step S208.
Step S202: on RGB image, utilizes frame difference method to extract prospect.
Step S204: for the prospect morphological method process extracted.Remove isolated point, burr and unwanted foot bridge (being namely communicated with the point in two pieces of regions), and fill and lead up lakelet (i.e. aperture), make gap up, by the joint area at the place of people total position and shape invariance together.
Step S206: for the region at people place, searches its profile.Its boundary rectangle is calculated for profile.
Step S208: use svm head to take in boundary rectangle and detect sub-detection head shoulder, use the cascade adaboos detection of classifier face based on Haarg feature simultaneously.Finally according to height and the yardstick of head shoulder, the height of face and yardstick, and the height of boundary rectangle lower limb, whether comprehensive descision there occurs the behavior of hanging oneself.Preferably, wherein any one detects son and detects to hang oneself and all report to the police.
Preferably, for the background used in foreground detection, adjustable threshold value is used to upgrade the background of non-foreground area.
As a preferably embodiment, this frame difference method also comprises: after camera collection image stabilization, use the first two field picture image as a setting.From the second two field picture, each two field picture and background do difference on three passages of colour.To each pixel, if the maximal value of the difference result on these three passages is greater than a certain threshold value, then the value assignment on gray level image this put is 255.Otherwise assignment is 0.
As another preferably embodiment, this morphological method also comprises: first carry out erosion operation to the bianry image that frame difference method generates, remove isolated point, burr, and foot bridge.Because the image in the vertical direction obtained is very easy to produce fracture, so use larger structure on vertical direction to carry out dilation operation to image afterwards, make gap up, and fill and lead up lakelet, by the joint area at people place together.
In order to improve the precision of searching, when implementing, searching of profile can be carried out in the following way: by the bianry image after handled by above-mentioned waveforms method from top to bottom, from left to right carry out automatic search, until find first white point.With this point as starting point, all frontier points of the foreground area at this place are marked.After having marked a profile, preserve each gauge point found, and continued search from last gauge point, find next profile.
When implementing, boundary rectangle can be calculated in the following way: the point sequence representing a certain profile is scanned, get the x value of minimum value as boundary rectangle of wherein horizontal direction, the maximal value of getting horizontal direction deducts horizontal direction minimum value and adds one as the width of rectangle.Vertical direction is similar.
When implementing, in order to improve the accuracy of head shoulder monitoring, head shoulder can be carried out in the following way and detect: what off-line used size identical comprises the positive samples pictures of head shoulder and do not comprise head and bear samples pictures, trains svm sorter.The sorter that online use trains, carries out head shoulder to circumscribed rectangular region and detects.
When implementing, in order to improve the accuracy of face monitoring, the monitoring of face can be carried out in the following way: off-line uses the adaboost sorter of the positive samples pictures comprising face and the positive samples pictures training cascade not comprising face.The facial image of the detection of classifier circumscribed rectangular region that online use trains.
When implementing, in order to improve the precision of warning, comprehensive descision can be carried out in the following way and whether there occurs the behavior of hanging oneself: going out many lines of stumbling according to the location position that floor in video is sitting in.Boundary rectangle length and width size and ratio being met to human body calculates, and under some special screnes, when this boundary rectangle appears at the top certain distance of line of stumbling completely, being then likely hanging is on the implementation.After some frames, the state of this rectangle is still hung oneself state, then produce warning at once.The height simultaneously detecting shoulder or face to the end under different yardsticks, higher than a certain threshold value, also produces warning at once.
When implementing, the renewal of background can be carried out in several ways, such as: background image is divided into two parts, foreground area and non-foreground area.Only non-foreground area is done and upgrade.The way upgraded be the pixel value of the non-foreground area using previous frame image in the pixel value weighted sum of background same position, as the pixel value of relevant position in new background.
By the scheme of above-described embodiment, first background subtraction is utilized to extract the moving region of human body in the foreground detection stage, then by searching profile and calculating the rectangular area that the means such as boundary rectangle calculate human body place.Position calculation human body finally by boundary rectangle departs from the time on ground, produce corresponding warning, and remove other abnormal interference by the characteristic information of boundary rectangle, adopt svm head shoulder to detect son and detect son based on the cascade adaboost of haar feature simultaneously and detect face.When the head shoulder height degree detected or face height are higher than also trigger alarm during a certain threshold value.Effectively can realize the monitoring to the behavior of hanging oneself.
Preferred embodiment two
This preferred embodiment provides a kind of method of behavior of hanging oneself based on the multiple monitoring detecting son, and the method comprises the steps that S302 is to step S306.
Step S302: adopt multiple detection sub-portfolio to detect behavior of hanging oneself.
Step S304: use head shoulder to detect son, Face datection.This step can promote Detection results.
Step S306: merge foreground detection, contours extract, calculates the position residing for judgement human body of the technology effective such as boundary rectangle.
This step, by the line of stumbling set in advance, sets trigger mechanism flexibly, solves the behavioural analysis problem of the behavioral value of hanging oneself of people.
Preferably, can upgrade by preset weights background, effectively can solve the hole problem of prospect and to the light of slowly change, there is certain robustness.
Preferred embodiment three
This preferred embodiment provides a kind of method of behavior of hanging oneself based on the multiple monitoring detecting son, and the method comprises the steps that S402 is to step S416.
Step S402: foreground detection.
In this step, after video camera gathers image stabilization, get the first two field picture image as a setting, from the second frame, by present image in background image simple subtraction take absolute value and binaryzation obtain difference image--d (i, j).
Step S404: Morphological scale-space.
In this step, morphology opening operation is first carried out for difference image and get rid of isolated point, noise, burr and foot bridge.Made up the human region of fracture again by closing operation of mathematical morphology.Then export bianry image as subsequent treatment, because Morphological scale-space is not emphasis of the present invention, therefore to describe not in detail here.
Step S406: search profile.
In this step, adopt the edge following algorithm based on connectedness, obtain the profile extracting pedestrian in whole image sequence.Profile is stored with the form of point sequence.
Step S408: calculate boundary rectangle.
In this step, for the point sequence of an outline found out, to calculate in this sequence minimum value a little in the horizontal and vertical directions and maximal value Xmax, Ymin, Xmax, Ymax.Then the top left co-ordinate of boundary rectangle and wide height are (Xmin, Ymin), width=Xmax-Xmin+1, height=Ymax-Xmin+1.
Step S410: according to pre-set line of stumbling, judges behavior of hanging oneself.
In this step, first a part of undesirable rectangle is filtered according to the size of boundary rectangle calculated and the ratio of width to height.Then judge the lower frame of boundary rectangle whether complete on pre-set line of stumbling or above line of stumbling certain distance.Rule of judgment is then assert in video and be there occurs the behavior of hanging oneself, and reports to the police.
Step S412: hung oneself by the detection of detection head shoulder.In this step, support vector machine method can be used to carry out head shoulder detect.
This step can be realized by following sub-step:
(1) train: choose suitable kernel function, k(xi, xj).
(2) minimize || w||, at ω i(wx i-b)>=1-ξ icondition under.
(3) α of non-zero is only stored iwith corresponding x i(they are support vectors).
(4) image is zoomed to different scale by a certain percentage, under each yardstick, use the window scan image of 8*16 size.And then the image under each window is classified.
(5) classify: for pattern X, use support vector x iwith corresponding weight α icomputational discrimination functional expression the symbol of this function determines that this region is head shoulder.
What the head that last basis detects was takeed on has judged whether that behavior of hanging oneself occurs, and height can by using this according to scene sets itself.
Step S414: detected by Face datection and hang oneself.
In this step, tester is according to scene or use face location in the sub-detected image of Face datection that trained.Wherein Face datection carries out under each multiple dimensioned yardstick.Use high 20 pixels, the window of wide 20 pixels to the image under current scale from left to right, falls down to carry out Face datection from above.The face fusion close to distance under multiple yardstick is the face of a position.When the face detected is higher than a certain threshold value, then there is trigger alarm., wherein threshold value can by user according to scene settings, also can default setting.Owing to can adopt the implementation in correlation technique based on the cascade Adaboost detection face method of HAAR feature, do not repeat them here.
Step S416: context update.
In this step, after carrying out method of difference detection prospect, according to present frame and the foreground area that detects, summation is weighted to the present frame of non-foreground area and background, upgrades background.
It should be noted that, by technique scheme, the technical scheme of the present embodiment is not by the impact of slow illumination variation, and strong for abnormal behaviour antijamming capability, real-time is good, according to scene manual shift parameter, very accurately can detect the behavior of hanging oneself.
Preferred embodiment
Present embodiments provide the process flow diagram that a kind of Fig. 4 is the monitoring method of hanging oneself according to the embodiment of the present invention, as shown in Figure 4, the method comprises following step S502 to step S518.
Step S502: input picture.
Step S504: foreground detection.This step can adopt the embodiment of above preferred embodiment.
Step S506: search profile.
Step S508: calculate boundary rectangle.
Step S510: Face datection.
The monitoring of step S512:SVM head shoulder.
Step S514: judge whether to detect son higher than respective threshold, if judged result is yes, perform step S516, otherwise perform step S518.
Step S516: alert trigger.
Step S518: not alert trigger.
By above-described embodiment, providing a kind of behavior monitoring method and device, by using the mode of Multiple detection sub-portfolio, the behavior of hanging oneself being monitored.Substantially increase the accuracy rate of detection.It should be noted that, these technique effects are not that above-mentioned all embodiments have, and some technique effect is that some preferred implementation just can obtain.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus they storages can be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a behavior monitoring method, is characterized in that comprising:
Frame difference method is used to extract foreground image from the color RGB image of monitoring;
The region that monitored people is corresponding in described foreground image is determined in described foreground image;
In this region, the image outline of described monitored people is searched;
In the external matrix that described image outline is corresponding, use SVM monitor head to take on, obtain the height and yardstick takeed on to the end, judge the height that described head is takeed on and the first judgment threshold that the whether satisfied behavior of hanging oneself preset of yardstick is takeed at head, if judged result is satisfied, then determine to there occurs the behavior of hanging oneself; And/or
In the external matrix that described image outline is corresponding, monitor height and the yardstick of face, judge whether the height of described face and yardstick meet default behavior of hanging oneself at the second judgment threshold of face, if judged result is satisfied, then determine to there occurs the behavior of hanging oneself; And/or
Many lines of stumbling are calibrated according to position, floor in video, judge the whether complete setpoint distance on pre-set line of stumbling or above line of stumbling of the lower frame of the boundary rectangle that described image outline is corresponding, if judged result is satisfied, then determine to there occurs the behavior of hanging oneself.
2. method according to claim 1, is characterized in that, uses frame difference method to extract foreground image from the color RGB image of monitoring and comprises:
By the N two field picture image as a setting gathered;
N+1 frame is started, present image and described background image are carried out subtraction on three passages of colour;
The absolute value of the result of described subtraction is carried out difference image that binaryzation obtains as described foreground image;
Wherein, N be greater than 1 positive integer.
3. method according to claim 1, is characterized in that, determines that the region of monitored people correspondence in described foreground image comprises in described foreground image:
Described foreground image is carried out erosion operation;
The image obtained after described erosion operation removes isolated point, noise, burr and foot bridge and obtain the first image;
Dilation operation is carried out to described first image in the vertical direction and obtains the second image;
Described second image determines described region.
4. method according to claim 3, is characterized in that, in this region, the image outline searching described monitored people comprises:
Described second image is carried out to search for the point obtaining white according to preset order;
With the point of described white for starting point, all frontier points in the described region at described white point place are carried out mark and obtains one or more described image outline.
5. method according to claim 1, it is characterized in that, using before external matrix corresponding to described image outline and the judgment threshold of behavior of hanging oneself preset judge whether monitored people there occurs the behavior of hanging oneself, also comprising the external matrix determining that described image outline is corresponding in the following way:
The point sequence corresponding to described image outline scans;
Determine that the minimum value in the horizontal direction of the point sequence after described scanning is the X value of described external matrix;
Point sequence after described scanning maximal value is in the horizontal direction deducted the minimum value of described horizontal direction difference and 1 and as the width of described external matrix;
Determine that the point sequence after described scanning is the Y value of described external matrix in the minimum value of vertical direction;
Point sequence after described scanning is deducted in the maximal value of vertical direction the minimum value of described vertical direction difference and 1 and as the length of described external matrix.
6. method according to claim 1, is characterized in that, also comprises: upgrade described foreground image.
7. method according to claim 6, is characterized in that, carries out renewal comprise described foreground image:
The pixel value of the pixel value of the non-foreground area of N frame and described foreground image same position is weighted summation, as the foreground image after renewal.
8. a behavior monitoring device, is characterized in that comprising:
Extraction module, extracts foreground image for using frame difference method from the color RGB image of monitoring;
Determination module, for determining the region that monitored people is corresponding in described foreground image in described foreground image;
Search module, in this region, search the image outline of described monitored people;
Judge module, take on for using SVM monitor head in the external matrix that described image outline is corresponding, obtain the height and yardstick takeed on to the end, judge the height that described head is takeed on and the first judgment threshold that the whether satisfied behavior of hanging oneself preset of yardstick is takeed at head, if judged result is satisfied, then determine to there occurs the behavior of hanging oneself; And/or
In the external matrix that described image outline is corresponding, monitor height and the yardstick of face, judge whether the height of described face and yardstick meet default behavior of hanging oneself at the second judgment threshold of face, if judged result is satisfied, then determine to there occurs the behavior of hanging oneself; And/or
Many lines of stumbling are calibrated according to position, floor in video, judge the whether complete setpoint distance on pre-set line of stumbling or above line of stumbling of the lower frame of the boundary rectangle that described image outline is corresponding, if judged result is satisfied, then determine to there occurs the behavior of hanging oneself.
9. device according to claim 8, is characterized in that, described extraction module comprises:
First processing module, for the N two field picture image as a setting that will gather;
Computing module, for being started by N+1 frame, carries out subtraction by present image and described background image on three passages of colour;
Second processing module, the absolute value for the result using described subtraction carries out difference image that binaryzation obtains as described foreground image;
Wherein, N be greater than 1 positive integer.
CN201210592872.2A 2012-12-30 2012-12-30 Behavior monitoring method and device Expired - Fee Related CN103049748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210592872.2A CN103049748B (en) 2012-12-30 2012-12-30 Behavior monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210592872.2A CN103049748B (en) 2012-12-30 2012-12-30 Behavior monitoring method and device

Publications (2)

Publication Number Publication Date
CN103049748A CN103049748A (en) 2013-04-17
CN103049748B true CN103049748B (en) 2015-12-23

Family

ID=48062380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210592872.2A Expired - Fee Related CN103049748B (en) 2012-12-30 2012-12-30 Behavior monitoring method and device

Country Status (1)

Country Link
CN (1) CN103049748B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104900004B (en) * 2014-03-05 2017-12-22 昆山毅达科技电子有限公司 Anti- suicide reporting chain
CN106488133A (en) * 2016-11-17 2017-03-08 维沃移动通信有限公司 A kind of detection method of Moving Objects and mobile terminal
CN108154489A (en) * 2018-01-15 2018-06-12 大峡谷照明系统(苏州)股份有限公司 Image interactive control method and system
CN108764209A (en) * 2018-06-11 2018-11-06 南京邮电大学 A kind of personage's abnormal behaviour automatic testing method based on monitor video
CN111275911B (en) * 2020-01-16 2021-02-26 珠海格力电器股份有限公司 Danger prompting method, equipment and computer readable storage medium
CN113433598A (en) * 2021-08-26 2021-09-24 泰豪信息技术有限公司 Self-constriction behavior monitoring method, device and system applied to prison

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897015A (en) * 2006-05-18 2007-01-17 王海燕 Method and system for inspecting and tracting vehicle based on machine vision
CN102568005A (en) * 2011-12-28 2012-07-11 江苏大学 Moving object detection method based on Gaussian mixture model
CN102663869A (en) * 2012-04-23 2012-09-12 国家消防工程技术研究中心 Indoor fire detection method based on video monitoring platform
CN102722715A (en) * 2012-05-21 2012-10-10 华南理工大学 Tumble detection method based on human body posture state judgment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077969B2 (en) * 2005-12-30 2011-12-13 Telecom Italia S.P.A. Contour finding in segmentation of video sequences
EP1969562B1 (en) * 2005-12-30 2016-11-09 Telecom Italia S.p.A. Edge-guided morphological closing in segmentation of video sequences

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897015A (en) * 2006-05-18 2007-01-17 王海燕 Method and system for inspecting and tracting vehicle based on machine vision
CN102568005A (en) * 2011-12-28 2012-07-11 江苏大学 Moving object detection method based on Gaussian mixture model
CN102663869A (en) * 2012-04-23 2012-09-12 国家消防工程技术研究中心 Indoor fire detection method based on video monitoring platform
CN102722715A (en) * 2012-05-21 2012-10-10 华南理工大学 Tumble detection method based on human body posture state judgment

Also Published As

Publication number Publication date
CN103049748A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN103049748B (en) Behavior monitoring method and device
CA2692424C (en) System and process for detecting, tracking and counting human objects of interest
CN104123544B (en) Anomaly detection method and system based on video analysis
CN105187785B (en) A kind of across bayonet pedestrian's identifying system and method based on choice of dynamical notable feature
US8131012B2 (en) Behavioral recognition system
CN103279737B (en) A kind of behavioral value method of fighting based on space-time interest points
CN106128022B (en) A kind of wisdom gold eyeball identification violent action alarm method
KR101414670B1 (en) Object tracking method in thermal image using online random forest and particle filter
CN106296677B (en) A kind of remnant object detection method of double exposure mask context updates based on double-background model
WO2018056355A1 (en) Monitoring device
EP2335405A2 (en) Pixel-level based micro-feature extraction
CN105046719B (en) A kind of video frequency monitoring method and system
CN102930248A (en) Crowd abnormal behavior detection method based on machine learning
CN104866842B (en) A kind of human body target intrusion detection method
Armanfard et al. TED: A texture-edge descriptor for pedestrian detection in video sequences
CN104159088B (en) A kind of long-distance intelligent vehicle monitoring system and method
Karpagavalli et al. Estimating the density of the people and counting the number of people in a crowd environment for human safety
CN114202646A (en) Infrared image smoking detection method and system based on deep learning
Liang et al. Methods of moving target detection and behavior recognition in intelligent vision monitoring.
CN103093197A (en) Monitoring method and system for recognizing hanging behavior
WO2016019973A1 (en) Method for determining stationary crowds
CN107122732A (en) The quick license plate locating method of high robust under a kind of monitoring scene
CN115731563A (en) Method for identifying falling of remote monitoring personnel
Odetallah et al. Human visual system-based smoking event detection
Deepak et al. Design and utilization of bounding box in human detection and activity identification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HE JIANGTAO

Free format text: FORMER OWNER: XINZHENG ELECTRONIC TECHNOLOGY (BEIJING) CO., LTD.

Effective date: 20131122

Owner name: LIU ZHONGXUAN TONG HUIYONG

Effective date: 20131122

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131122

Address after: 100085, A, block 6A, block 28, information road, Beijing, Haidian District

Applicant after: He Jiangtao

Applicant after: Liu Zhongxuan

Applicant after: Tong Huiyong

Address before: 100085, Beijing, Haidian District on the road to information on the 1st 28 building A-6

Applicant before: Xinzheng Electronic Technology (Beijing) Co., Ltd.

ASS Succession or assignment of patent right

Free format text: FORMER OWNER: LIU ZHONGXUAN TONG HUIYONG

Effective date: 20140409

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20140409

Address after: 100085, A, block 6A, block 28, information road, Beijing, Haidian District

Applicant after: He Jiangtao

Address before: 100085, A, block 6A, block 28, information road, Beijing, Haidian District

Applicant before: He Jiangtao

Applicant before: Liu Zhongxuan

Applicant before: Tong Huiyong

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151223

Termination date: 20191230

CF01 Termination of patent right due to non-payment of annual fee