CN101521805A - Helmet-site detecting system on construction field and detecting method thereof - Google Patents
Helmet-site detecting system on construction field and detecting method thereof Download PDFInfo
- Publication number
- CN101521805A CN101521805A CN200910024830A CN200910024830A CN101521805A CN 101521805 A CN101521805 A CN 101521805A CN 200910024830 A CN200910024830 A CN 200910024830A CN 200910024830 A CN200910024830 A CN 200910024830A CN 101521805 A CN101521805 A CN 101521805A
- Authority
- CN
- China
- Prior art keywords
- human body
- image
- component
- safety cap
- head
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses a helmet-site detecting system on a construction field and a detecting method thereof. The system comprises a camera and a computer, wherein an image outputted by the camera is an RGB format, the frame per second is larger than 15 fps, and the resolution is 640*480; and the camera is connected with the computer through a LAN/Ethernet port. The detecting method comprises the following steps: (1) processing and segmenting the image with the RGB format to form a human body image; (2) defining a G component of the RGB image of each pixel as G(xi, yi), and summating an X component of the component G(xi, yi) to obtain a one-dimensional component g (yi); (3) calculating the proportional relation of a human body head in an imaging system according to the angle of an imaging camera lens and a human body and determining that the starting point coordinates of the human body head in the Y direction of the one-dimensional component g (yi) is (yS, yE) ; (4) summating g (yi) from yS to yE to obtain g sum; (5) comparing g sum with the G component of the black RGB image; (6) judging that a helmet is not worn if the error is smaller than a set value Epsilon; and (7) judging that the helmet is worn if the error is larger than the set value Epsilon.
Description
Technical field
The present invention relates to a kind of safety cap detection system and method, relate in particular to a kind of intelligent video safety cap detection system and method, belong to technical field of video monitoring.
Background technology
At place workmen's safe wearing caps such as industrial and mining enterprises, construction sites is the necessary security safeguard measure, but the situation that breach of security regulation does not wear a safety helmet happens occasionally, and brings potential safety hazard.Therefore in the construction site situation of wearing of safety cap is monitored very necessaryly, adopting video camera that the situation of wearing of construction site safety cap is monitored is method preferably.If manually video image is monitored the very big defective of existence: consume great amount of manpower, but be subject to the various defectives of manpower, take time and effort and efficient is low but rely on.There are some researches show, when a people observes two monitors, can miss 45% useful information in 10 minutes; Can miss 95% useful information after 22 minutes; Attentiveness is disperseed more when the people observes more a plurality of display simultaneously.A large amount of camera pictures does not have enough manpower monitoring, has influence on the validity of monitoring.Therefore we press for a kind of height intellectuality, can automatically select and extract the feature that the meaning represented is arranged, can guarantee higher video analytic system accuracy, with practical value and software, apply it to the construction site safety cap and wear in the monitoring of situation, to guarantee construction safety.
Summary of the invention
The object of the present invention is to provide a kind of height intellectuality, can automatically select and extract the feature that the meaning represented is arranged, can guarantee higher intelligent video safety cap detection system accuracy, with practical value and method, be applied to the monitoring that construction site safety cap such as construction site is worn situation, to guarantee construction safety.
Purpose of the present invention is achieved by the following technical programs:
The on-the-spot detection system of a kind of construction site safety cap, comprise video camera and computer, the capture direction of described video camera be monitored human body and become angle, video camera output image form is a rgb format, the frame per second of image is greater than 15fps, image resolution ratio is 640 * 480, and video camera is connected by the LAN/Ethernet port with computer.
A kind of construction site safety cap in-situ check and test method, this method utilization intelligent video colorful safety cap detection method is carried out analysis monitoring to video image, comprises the following step:
(1) the rgb format image is carried out motion detection, moving Object Segmentation, single matching treatment, human body image is split, the coordinate that the human body image square is four jiaos is (X
1, Y
1), (X
2, Y
2), (X
3, Y
3), (X
4, Y
4);
(2) the G component that defines the RGB image of each pixel is G (x
i, y
i), with two dimensional component G (x
i, y
i) the X component press following formula summation:
(3) calculate the proportionate relationship of human body head according to the goniometer of imaging lens and human body, determine that human body head is at one dimension component g (y in imaging system
i) in the starting point coordinate of Y direction be (y
S, y
E);
(4) with g (y
i) from y
STo y
ESummation obtains
(5) with g
SumWith the G component of the RGB image of black relatively;
(6) if error less than set point ε, judges that then this human body is not for wearing a safety helmet;
(7) if error greater than set point ε, judges that then this human body wears a safety helmet.
Construction site of the present invention safety cap in-situ check and test method, can also realize that this method comprises the following step by another technical scheme:
(1) the rgb format image is carried out motion detection, moving Object Segmentation, single matching treatment, human body image is split, the coordinate that the human body image square is four jiaos is (X
1, Y
1), (X
2, Y
2), (X
3, Y
3), (X
4, Y
4);
(2), obtain the picture size of safety cap in this position according to the position coordinates of human body in entire image;
(3) the head image square with human body splits, and the coordinate that the head image square is four jiaos is (X
10, Y
10), (X
20, Y
20), (X
3, Y
3), (X
4, Y
4);
(4) define the edge line of human body head;
(5) the pixel pixel value within the edge line of human body head is set at 255;
(6) the human body head figure that step (5) is obtained and the figure of safety cap carry out relatedness computation according to following formula:
x
10≤i
0≤x
20
y
10≤j
0≤y
3
(7) if the degree of correlation greater than the value of defining q, judges that then this human body wears a safety helmet;
(8) if the degree of correlation less than the value of defining q, judges that then this human body does not wear a safety helmet.Requiring on-the-spot employed safety cap is (as colors such as red, green, blues) of non-black,
Compared with prior art, beneficial effect of the present invention is: highly intelligent, and can automatically select and extract and represent the feature of meaning to analyze, be applied to the construction site safety cap and wear in the monitoring of situation, can find the personnel that do not wear a safety helmet real-time and accurately, to guarantee construction safety.
Description of drawings
Fig. 1 is the flow chart of construction site safety cap in-situ check and test method.
Fig. 2 is the flow chart of second kind of construction site safety cap in-situ check and test method.
Fig. 3 is the human figure's image pattern that is partitioned into.
Fig. 4 is human body head image segmentation figure.
Fig. 5 is a human body head image border line chart.
Fig. 6 is that pixel value is set at 255 head figure in the edge line.
Fig. 7 is the figure of safety cap.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Construction site of the present invention safety cap detection system, comprise video camera and computer, the capture direction of described video camera be monitored human body certain angle arranged, video camera output image form is a rgb format, the frame per second of image is greater than 15fps, image resolution ratio is 640 * 480, and video camera is connected by the LAN/Ethernet port with computer.
It is (as colors such as red, green, blues) of non-black that the present invention requires on-the-spot employed safety cap, and utilization intelligent video colorful safety cap detection method is carried out analysis monitoring to video image,
Embodiment one:
First kind of construction site safety cap detection method of the present invention as shown in Figure 1, this method comprises the following step:
(1) the rgb format image is carried out motion detection, moving Object Segmentation, single matching treatment, human body image is split, the coordinate that the human body image square is four jiaos is (X
1, Y
1), (X
2, Y
2), (X
3, Y
3), (X
4, Y
4), as shown in Figure 3;
(2) the G component that defines the RGB image of each pixel is G (x
i, y
i), with two dimensional component G (x
i, y
i) the X component press following formula summation:
(3) calculate the proportionate relationship of human body head according to the goniometer of imaging lens and human body, determine that human body head is at one dimension component g (y in imaging system
i) in the starting point coordinate of Y direction be (y
S, y
E);
(4) with g (y
i) from y
STo y
ESummation obtains
(5) with g
SumWith the G component of the RGB image of black relatively;
(6) if error less than set point ε, judges that then this human body is not for wearing a safety helmet;
(7) if error greater than set point ε, judges that then this human body wears a safety helmet.
Embodiment two:
Second kind of construction site safety cap detection method of the present invention: as shown in Figure 2, this method comprises the following step:
(1) the rgb format image is carried out motion detection, moving Object Segmentation, single matching treatment, human body image is split, the coordinate that the human body image square is four jiaos is (X
1, Y
1), (X
2, Y
2), (X
3, Y
3), (X
4, Y
4), as shown in Figure 3;
(2), obtain the picture size of safety cap, as shown in Figure 7 in this position according to the position coordinates of human body in entire image;
(3) the head image square with human body splits, and the coordinate that the head image square is four jiaos is (X
10, Y
10), (X
20, Y
20), (X
3, Y
3), (X
4, Y
4), as shown in Figure 4;
(4) take out the head image square, define the edge line of human body head, as shown in Figure 5;
(5) the pixel pixel value within the edge line of human body head is set at 255, image becomes black, as shown in Figure 6;
(6) the human body head figure that step (5) is obtained and the figure of safety cap carry out relatedness computation according to following formula:
x
10≤i
0≤x
20
y
10≤j
0≤y
3
(7) if the degree of correlation greater than the value of defining q, judges that then this human body wears a safety helmet;
(8) if the degree of correlation less than the value of defining q, judges that then this human body does not wear a safety helmet.
In addition to the implementation, the present invention can also have other execution modes, and all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop in the protection range of requirement of the present invention.
Claims (3)
1. on-the-spot detection system of construction site safety cap, comprise video camera and computer, it is characterized in that, the capture direction of described video camera be monitored human body and become angle, video camera output image form is a rgb format, the frame per second of image is greater than 15fps, and image resolution ratio is 640 * 480, and video camera is connected by the LAN/Ethernet port with computer.
2. construction site safety cap in-situ check and test method, it is non-black that this method requires safety cap, this method comprises the following step:
(1) the rgb format image is carried out motion detection, moving Object Segmentation, single matching treatment, human body image is split, the coordinate that the human body image square is four jiaos is (X
1, Y
1), (X
2, Y
2), (X
3, Y
3), (X
4, Y
4);
(2) the G component that defines the RGB image of each pixel is G (x
i, y
i), with two dimensional component G (x
i, y
i) the X component press following formula summation:
(3) calculate the proportionate relationship of human body head according to the goniometer of imaging lens and human body, determine that human body head is at one dimension component g (y in imaging system
i) in the starting point coordinate of Y direction be (y
S, y
E);
(4) with g (y
i) from y
STo y
ESummation obtains
(5) with g
SumWith the G component of the RGB image of black relatively;
(6) if error less than set point ε, judges that then this human body is not for wearing a safety helmet;
(7) if error greater than set point ε, judges that then this human body wears a safety helmet.
3, a kind of construction site safety cap in-situ check and test method, it is non-black that this method requires safety cap, this method comprises the following step:
(1) the rgb format image is carried out motion detection, moving Object Segmentation, single matching treatment, human body image is split, the coordinate that the human body image square is four jiaos is (X
1, Y
1), (X
2, Y
2), (X
3, Y
3), (X
4, Y
4);
(2), obtain the picture size of safety cap in this position according to the position coordinates of human body in entire image;
(3) the head image square with human body splits, and the coordinate that the head image square is four jiaos is (X
10, Y
10), (X
20, Y
20), (X
3, Y
3), (X
4, Y
4);
(4) define the edge line of human body head;
(5) the pixel pixel value within the edge line of human body head is set at 255;
(6) the human body head figure that step (5) is obtained and the figure of safety cap carry out relatedness computation according to following formula:
x
10≤i
0≤x
20
y
10≤j
0≤y
3
(7) if the degree of correlation greater than the value of defining q, judges that then this human body wears a safety helmet;
(8) if the degree of correlation less than the value of defining q, judges that then this human body does not wear a safety helmet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910024830A CN101521805A (en) | 2009-02-27 | 2009-02-27 | Helmet-site detecting system on construction field and detecting method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910024830A CN101521805A (en) | 2009-02-27 | 2009-02-27 | Helmet-site detecting system on construction field and detecting method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101521805A true CN101521805A (en) | 2009-09-02 |
Family
ID=41082143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910024830A Pending CN101521805A (en) | 2009-02-27 | 2009-02-27 | Helmet-site detecting system on construction field and detecting method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101521805A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049949A (en) * | 2012-12-10 | 2013-04-17 | 电子科技大学 | Personnel security management system and method in mining areas |
CN106295551A (en) * | 2016-08-05 | 2017-01-04 | 南京理工大学 | A kind of personal security cap wear condition real-time detection method based on video analysis |
CN106372662A (en) * | 2016-08-30 | 2017-02-01 | 腾讯科技(深圳)有限公司 | Helmet wearing detection method and device, camera, and server |
CN108197576A (en) * | 2018-01-08 | 2018-06-22 | 安徽炬视科技有限公司 | Safety cap based on DSP technologies wears detection device and its detection method |
CN111414873A (en) * | 2020-03-26 | 2020-07-14 | 广州粤建三和软件股份有限公司 | Alarm prompting method, device and alarm system based on wearing state of safety helmet |
CN117549330A (en) * | 2024-01-11 | 2024-02-13 | 四川省铁路建设有限公司 | Construction safety monitoring robot system and control method |
-
2009
- 2009-02-27 CN CN200910024830A patent/CN101521805A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049949A (en) * | 2012-12-10 | 2013-04-17 | 电子科技大学 | Personnel security management system and method in mining areas |
CN103049949B (en) * | 2012-12-10 | 2015-04-08 | 电子科技大学 | Personnel security management system and method in mining areas |
CN106295551A (en) * | 2016-08-05 | 2017-01-04 | 南京理工大学 | A kind of personal security cap wear condition real-time detection method based on video analysis |
CN106295551B (en) * | 2016-08-05 | 2019-10-18 | 南京理工大学 | A kind of personnel safety cap wear condition real-time detection method based on video analysis |
CN106372662A (en) * | 2016-08-30 | 2017-02-01 | 腾讯科技(深圳)有限公司 | Helmet wearing detection method and device, camera, and server |
CN108197576A (en) * | 2018-01-08 | 2018-06-22 | 安徽炬视科技有限公司 | Safety cap based on DSP technologies wears detection device and its detection method |
CN108197576B (en) * | 2018-01-08 | 2020-04-17 | 安徽炬视科技有限公司 | Safety helmet wearing detection device based on DSP technology and detection method thereof |
CN111414873A (en) * | 2020-03-26 | 2020-07-14 | 广州粤建三和软件股份有限公司 | Alarm prompting method, device and alarm system based on wearing state of safety helmet |
CN117549330A (en) * | 2024-01-11 | 2024-02-13 | 四川省铁路建设有限公司 | Construction safety monitoring robot system and control method |
CN117549330B (en) * | 2024-01-11 | 2024-03-22 | 四川省铁路建设有限公司 | Construction safety monitoring robot system and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106295551B (en) | A kind of personnel safety cap wear condition real-time detection method based on video analysis | |
CN111191586B (en) | Method and system for inspecting wearing condition of safety helmet of personnel in construction site | |
CN101521805A (en) | Helmet-site detecting system on construction field and detecting method thereof | |
CN105551064B (en) | A kind of method based on characteristics of image estimation windrow volume change | |
CN103258232B (en) | A kind of public place crowd estimate's method based on dual camera | |
CN101739549B (en) | Face detection method and system | |
CN104504369A (en) | Wearing condition detection method for safety helmets | |
CN102131101A (en) | Intelligent video image quality automatic analysis system and method | |
CN101876535A (en) | Method, device and monitoring system for height measurement | |
CN103821126A (en) | Method for monitoring three-dimensional deformation of foundation pit | |
CN110519566B (en) | Belt motion state monitoring method based on video processing | |
CN115527158A (en) | Method and device for detecting abnormal behaviors of personnel based on video monitoring | |
CN110728212B (en) | Road well lid monitoring device and monitoring method based on computer vision | |
CN103425960A (en) | Method for detecting fast-moving objects in video | |
CN102999994A (en) | Flame detection device based on video image analysis | |
CN111612895A (en) | Leaf-shielding-resistant CIM real-time imaging method for detecting abnormal parking of shared bicycle | |
CN103020588B (en) | Based on the flame detecting method of video image analysis | |
JP2018207194A (en) | Working place monitoring system | |
CN108805890A (en) | A kind of arc hammer measurement method based on power transmission line image characteristic point | |
CN103020587A (en) | View analyzing method based on video image analysis | |
KR102150661B1 (en) | Method and Apparatus for Preprocessing Image for Detecting Objects | |
CN109241977A (en) | A kind of camera lens occlusion detection method | |
CN115497242A (en) | Intelligent monitoring system and monitoring method for foreign matter invasion in railway business line construction | |
TWM608616U (en) | Intelligent image security identification system | |
CN111401276B (en) | Safety helmet wearing identification method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20090902 |