CN106600777B - Method of counting and device based on infrared array number sensor - Google Patents
Method of counting and device based on infrared array number sensor Download PDFInfo
- Publication number
- CN106600777B CN106600777B CN201611125413.8A CN201611125413A CN106600777B CN 106600777 B CN106600777 B CN 106600777B CN 201611125413 A CN201611125413 A CN 201611125413A CN 106600777 B CN106600777 B CN 106600777B
- Authority
- CN
- China
- Prior art keywords
- pixel
- personnel
- infrared
- sensor
- point
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/30—Noise filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/103—Static body considered as a whole, e.g. static pedestrian or occupant recognition
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Closed-Circuit Television Systems (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
Method of counting based on infrared array number sensor of the invention, handles the output signal for the infrared sensor array being set to above doorway, identifies the profile generated by human body, and track to the direction of motion of profile;Judge that personnel enter or go out, by the motion profile of profile to realize that disengaging personnel count.Counting device of the present invention, including SCM system and coupled infrared sensor array, pir sensor and power circuit, SCM system obtains the infrared image of detection zone by infrared sensor array, has detected whether personnel by doorway by pir sensor.Method of counting and device of the invention solves the problems, such as that infrared two-way emission type sensor detection accuracy when more people pass through is low, has the advantages that multiple target tracking, accuracy of identification are high, low in energy consumption, due to installation site height, have the advantages that be hardly damaged, beneficial effect is significant, is suitable for the application of popularization.
Description
Technical field
The present invention relates to a kind of personnel's method of counting and devices, more specifically, more particularly to a kind of based on infrared array
The method of counting and device of number sensor.
Background technique
Number sensor is also known as passenger flow counter, is a kind of a kind of sensor that statistician passes through quantity.Various
It is used widely in intelligence control system.Common number sensor mainly has infrared emission and video identification two types.
Infrared two-way emission type number sensor includes transmitting terminal and receiving end, they are separately mounted to the two sides at gate.Transmitting
End generates two infrared-rays, and receiving end is mainly forward-backward counter, and two infrared-rays are blocked when passing through by survey crew
Successive difference determines that personnel pass in and out direction;By the counting to pulse number is blocked, the number of disengaging sensor personnel is calculated
Amount, the two, which combines, achievees the purpose that statistical number of person.This sensor structure is simple, easy for installation, cheap.But number counts
Precision is not high, and when especially more people pass through, personnel are interlaced, and sensor may count into an only people and pass through.It is only used for
The occasion not high to number error requirements.
Video identification number sensor uses image processing techniques, by the various shapes that personnel are entered with video sensing area
State is modeled, and motion target tracking and identification technology are based on, and realizes that passing in and out direction to personnel identifies, and respectively to disengaging
Number realizes accurate statistics.This sensor counting precision is high, but price, needs good hardware and software to realize and identify
Algorithm, while height is required to environmental parameters such as search coverage illumination, it is mainly used for counting number the high occasion of required precision.
A kind of moderate cost is researched and developed, the high number sensor of counting precision is an urgent demand of intelligent control.Take me as I am
Infrared array sensor number sensor.
Summary of the invention
The present invention in order to overcome the shortcomings of the above technical problems, provides a kind of based on infrared array number sensor
Counting method and device.
Method of counting based on infrared array number sensor of the invention, which is characterized in that come by the following method real
It is existing: the output signal for the infrared sensor array being set to above doorway is handled, identifies the profile generated by human body,
And the direction of motion of profile is tracked;Judge that personnel enter or go out, by the motion profile of profile to realize
Disengaging personnel count.
Method of counting based on infrared array number sensor of the invention, which is characterized in that set infrared sensor array
It is set to the top in door, the most lastrow pixel of output image is acquired close to doorway region;Come especially by following steps
It realizes:
A) judges whether there is personnel by doorway, if passed through without personnel, executes step b);If there is personnel pass through,
It thens follow the steps c);B) calculates ambient temperature value, reads the numerical value of infrared sensor array present frame, and by all pixels point
Initial data be scaled true temperature value;Total N frame temperature data by each pixel present frame and its before carry out flat
Mean value computation, ambient temperature value of the obtained average value as each pixel;Execute step a);C) noise reduction process of background,
The numerical value for reading infrared sensor array present frame, is scaled true temperature value for the initial data of all pixels point, and will work as
The temperature value of previous frame subtracts ambient temperature value, obtains the temperature difference of each pixel;If there is temperature difference is more than ± 0.5 DEG C of orphan
Standing statue vegetarian refreshments exists, then resets the temperature difference of respective pixel point;Then the temperature of each pixel is obtained by time filtering again
Difference;Execute step d);D) obtains binary image, by the temperature difference of each pixel and threshold value VthIt is compared, if
More than threshold value VthThen pixel is set to 1, if being lower than threshold value VthThen pixel is set to 0, to obtain the binaryzation of present frame
Image;Execute step e);E) profile polymerization and characteristic point determine, by present frame binary image institute promising 1 pixel click-through
Row spatial clustering is analyzed by the shape to pixel after polymerization, identifies profile existing for expression personnel;By profile
Pixel in the corresponding pixel of geometric center or profile with maximum temperature difference value is labeled as characteristic point, and characteristic point is as wheel
The trace point of exterior feature movement;Execute step f);F) movement and generation of trace point after new frame image occurs, successively passes through step
D) same treatment and e) identifies moving direction of the characteristic point relative to characteristic point in previous frame image in new frame image,
The moving direction is the direction of motion of trace point, completes the mobile or new trace point of trace point and generates;Execute step g);G) with
The judgement that track point removes, with the judgement of the continuous output and trace point motion state of picture frame, for the tracking to have disappeared
Point records time and the position of the appearance of its last time;If trace point last time occur time compared with current time,
It has been more than corresponding threshold Tth, then show that the human body that this characteristic point is tracked has moved out sensor lens range;Execute step
It is rapid h);H) personnel pass in and out judgement and accumulation, if the direction of motion of a trace point is " by the corresponding most lastrow picture in doorway
Vegetarian refreshments enters and is disappeared by the pixel of remaining 3 direction outermost ", then it is judged as that personnel enter, into number plus 1;If
The direction of motion of one trace point is " to be entered by the pixel of 3 direction outermosts of remaining in addition to doorway and corresponded to by doorway
Most lastrow pixel disappear ", then be judged as that personnel are outgoing, outgoing number adds 1.
Method of counting based on infrared array number sensor of the invention judges whether there is personnel through moving into one's husband's household upon marriage in step a)
Mouth is that the signal exported by pir sensor is judged, if the signal of pir sensor output is more than the window door of setting
Limit, then it is assumed that have personnel's process, if be not above, then it is assumed that pass through without personnel.
Method of counting based on infrared array number sensor of the invention, step b) is middle to participate in mean value calculation picture frame
Number is acquired image frame number in 5~20s, time filtering method described in step c) are as follows: seek each picture in present frame
The arithmetic mean of instantaneous value of corresponding pixel points temperature value in vegetarian refreshments temperature value and former frame, the average value of acquisition is as in current frame image
The average value of pixel;Threshold value V described in step d)thSize be inversely proportional with current outside temperature.
Method of counting based on infrared array number sensor of the invention, the infrared sensor array are 8 pixel × 8
Pixel output, in step h), if trace point by 8 pixels in a line at gate enter and from far from gate
Outermost 7 pixels of 8 pixels or two sides in a line disappear, then are judged as that personnel enter;If trace point by
Outermost 7 pixels of 8 pixels or two sides in a line far from gate enter and from close to a line at gate
8 pixels disappear, then be judged as that personnel are outgoing.
Counting device based on infrared array number sensor of the invention, it is characterised in that: including SCM system and
Coupled infrared sensor array, pir sensor and power circuit, pir sensor is through filtering and amplifying circuit and monolithic
Machine system is connected, and power circuit provides stable voltage to the work of each circuit;SCM system is sensed by infrared array
Device obtains the infrared image of detection zone, has detected whether personnel by doorway by pir sensor, the SCM system is also
It is connected with the communication interface circuit for exporting number value signal.
Counting device based on infrared array number sensor of the invention, the SCM system is by model
The chip of STM32F103 forms, and infrared sensor array passes through I2C bus is connected with SCM system, communication interface circuit
Using RS485 communication interface.
The beneficial effects of the present invention are: the method for counting and device of the invention based on infrared array number sensor, leads to
It crosses and the output signal for the infrared sensor array being set to above doorway is handled, identify the profile generated by human body,
And the direction of motion of profile is tracked;Judge that personnel enter or go out, by the motion profile of profile to realize
Disengaging personnel count.Solve the problems, such as that infrared two-way emission type sensor detection accuracy when more people pass through is low, have multiple target with
Track, accuracy of identification are high, advantage low in energy consumption has the advantages that be hardly damaged due to installation site height, and beneficial effect is significant, fits
In application.
The advantages of of the invention method of counting and device based on infrared array number sensor, is embodied in:
1., number sensor be mounted on above gate, will not mutually be blocked when personnel pass through.Sensor can be simultaneously simultaneously
Multiple targets are tracked, so that the number counting precision of sensor, counting precision when especially more people pass through simultaneously is more right than infrared
The formula sensor of penetrating, which has, to be increased substantially;
2., relative to video identification technology, cheap many.There is no illumination requirement to erecting bed, does not have at night
It works as usual in the case where any illumination.Power consumption is also more much lower than video identification;
3., it is easy for installation, without needing respectively to install an equipment in gate two sides as infrared two-way emission type sensor, centre is also
It needs to be connected the two with cable.Array-type sensor only has an equipment, and easy for installation is more.
4., resistance to damage it is strong, sensor array installs 3 meters of height above gate, it is not easy to be destroyed by personnel.Unlike
Infrared emission sensor, mounting height only have 1 meter or so, are easy to by artificial damage.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of 8 × 8 thermopile array infrared sensors;
Fig. 2 is the imaging schematic diagram of infrared sensor array;
The circuit diagram of number sensor Fig. 3 of the invention;
Fig. 4 is the schematic diagram of current frame image;
Fig. 5 is ambient temperature value image;
Fig. 6 human motion and corresponding pixel shifting principle figure.
In figure: 1 silicon substrate camera lens, 2 MEMS sensor chips, 3 digital ASIC chips;4 infrared sensor arrays, 5 PIR are passed
Sensor, 6 filtering and amplifying circuits, 7 SCM systems, 8 communication interface circuits, 9 power circuits.
Specific embodiment
The invention will be further described with embodiment with reference to the accompanying drawing.
It,, can be at both when their temperature is variant in the junction of two kinds of different materials according to Seebeck effect
Electric current is generated in the closed loop circuit of material composition.This phenomenon is widely used in the temperature measurement of thermocouple.
Thermoelectric pile or thermoelectric are made of many thermocouple elements, and each thermocouple element is one by two kinds of differences
The filament of thermo-sensitive material composition.When difference occurs in the temperature at filament both ends, voltage just is produced at filament both ends.Thermal center point set
In in a very thin common uptake zone, i.e. measured zone.And cold node be located at one be connected with surrounding enviroment it is high-quality
It measures on cooling fin.
As shown in Figure 1, the structural schematic diagram of 8 × 8 thermopile array infrared sensors in the present invention is given, by silicon
Base camera lens 1, MEMS sensor chip 2 and digital ASIC chip 3 form, and are a 64 pixel infrared cameras, using one
The compact SMD encapsulation changed, is based on MEMS(MEMS Micro-Electro-Mechanical System) technology.
Infrared sensor array can under the premise of not contacting testee detecting object surface absolute temperature.With list
Point thermopile infrared sensor is compared with pyroelectric sensor, it can not only detect mobile human body and object, additionally it is possible to visit
Appearance and position, the direction of motion and accurate surface temperature of motionless human body and object are surveyed, temperature measurement range is -20 °
C~+100 °C.
As shown in Fig. 2, giving the imaging schematic diagram of infrared sensor array.Infrared sensor array is to detection zone
It realizes the detection of array relative temperature, realizes 2 dimensional region temperature detection by 8 × 8 (64 pixels), supported in short distance
The detection of absolute temperature realizes movement or the detection of stationary state for heat source thermo (especially human body).Using I2C's
Numeral output, convenience and microprocessor communication.
Infrared array sensor has following characteristics: 1., detection heat source (such as: human body) information: the quantity of people, people position
It sets;2., detection temperature information: environmental background temperature, heat source temperature;3., can customize operating mode, obtain optimal use effect
Fruit;4., support parameter adjust function, the parameters such as sensitivity, context update speed can be set.
As shown in figure 3, give the circuit diagram of the number sensor of invention, by SCM system 7 and with its phase
Infrared sensor array 4, pir sensor 5 and the power circuit 9 of connection form, and pir sensor 5 is through filtering and amplifying circuit 6 and list
Piece machine system 7 is connected, and power circuit 9 provides stable voltage to the work of each circuit.SCM system have signal acquisition,
The effect of data operation and control output.SCM system 7 obtains the infrared figure of detection zone by infrared sensor array 4
Picture has detected whether personnel by doorway by pir sensor 5, and SCM system 7 is also connected with for exporting number value signal
Communication interface circuit.Infrared sensor array 4 passes through I2C bus is connected with SCM system 7.
Pir sensor 5 is an aiding sensors, mainly for detection of whether having personnel by sensor detection areas,
The interference for avoiding during switch gate or gate from blowing when opening wide to infrared sensor array.The effect of filtering and amplifying circuit 6 be by
Faint pir sensor output signal, which is amplified to SCM system, can correctly handle required level, at the same filter out high frequency at
Point, prevent the generation of frequency aliasing phenomenon.
SCM system completes entire number treatment process and has selected performance higher since the operand of needs is larger
STM32F103 series.The number value that communication interface circuit is used to will test is transferred in various intelligence systems, uses RS-485
Interface, transport protocol use Modbus-RTU.
Method of counting based on infrared array number sensor of the invention, is realized especially by following steps: being set red
Outer sensor array is set to the top in door, and the most lastrow pixel of output image is acquired close to doorway region;
A) judges whether there is personnel by doorway, if passed through without personnel, executes step b);If there is personnel pass through,
It thens follow the steps c);
If the infrared sensor array used is put for 8 pixels × 8 pixels output, single-chip microcontroller by analog port reading
Pir sensor signal after big, passes through I2C bus is communicated with infrared sensor array, and the temperature for reading 64 pixels is original
Data are simultaneously scaled true temperature data.
In the step, judge whether there is personnel by doorway be by pir sensor export signal judge, if
The signal of pir sensor output is more than the window threshold of setting, then it is assumed that has personnel's process, if be not above, then it is assumed that do not have
There is personnel's process.For example, if the voltage range of amplified pir sensor output signal is 0~5V, the signal of output
More than (2.5 ± 0.5) V, then it is assumed that there is personnel's process;If voltage range is 0~3.3V, the signal exported is more than (1.65
± 0.5) V, then it is assumed that have personnel's process;Window threshold value Vth1, can also be set according to the actual situation.
B) calculates ambient temperature value, reads the numerical value of infrared sensor array present frame, and by the original of all pixels point
Data reduction is true temperature value;Total N frame temperature data by each pixel present frame and its before carry out average value meter
It calculates, ambient temperature value of the obtained average value as each pixel;Execute step a);
In search coverage, it is understood that there may be changeless other infrared heat sources, such as lamps and lanterns.Infrared array sensing simultaneously
Difference when device is due to manufacture, there is also the inconsistent of each pixel background temperature value.Background value is exactly that these immobilize
(or slowly varying with environment temperature), unrelated data are counted with number.
In the step, participating in mean value calculation number of image frames is acquired image frame number in 5~20s;If image
Frequency acquisition is 10 frames/s, then the number of image frames for participating in mean value calculation is 50~200 frames.
As shown in figure 4, the schematic diagram of current frame image is given, wherein different gray values indicates different temperature,
After having carried out mean value calculation, acquired background image is as shown in Figure 5.
C) noise reduction process of background reads the numerical value of infrared sensor array present frame, by the original number of all pixels point
According to being scaled true temperature value, and the temperature value of present frame is subtracted into ambient temperature value, obtains the temperature difference of each pixel;Such as
Fruit is more than ± 0.5 DEG C of isolated pixel point with the presence of temperature difference, then resets the temperature difference of respective pixel point;When then passing through again
Between filtering obtain the temperature difference of each pixel;Execute step d);
The data of infrared sensor array output are other than the temperature data normally detected, also with nominal ± 2 DEG C
Pink noise signal.Just as image shown in Fig. 4, this is to count maximum interference to our number, must first be carried out thus
Noise reduction operation.Common method is filtered using room and time, and space filtering is exactly that each pixel spot noise in frame is utilized to go out
There is the extremely low feature of probability of noise simultaneously in existing randomness, general two neighbor pixels, and temperature difference data will occur is more than
0.5 DEG C of isolated pixel point data is directly reset.Time filtering is exactly to filter the same pixel point temperature difference data of each interframe
Wave thus obtains fluctuating smaller or constant available signal.
Time filtering method can use: seek each pixel temperature value and corresponding pixel points in former frame in present frame
The arithmetic mean of instantaneous value of temperature value, average value of the average value of acquisition as pixel in current frame image.
D) obtains binary image, by the temperature difference of each pixel and threshold value VthIt is compared, if it exceeds thresholding
Value VthThen pixel is set to 1, if being lower than threshold value VthThen pixel is set to 0, to obtain the binary image of present frame;It holds
Row step e);
In the step, threshold value VthSize be inversely proportional with current outside temperature, since extraneous temperature is lower, human body with
The temperature difference of environment is bigger, threshold value VthWhat should be chosen is larger;Extraneous temperature is higher, and the temperature difference of human body and environment is smaller, thresholding
Value VthWhat should be chosen is smaller.
E) profile polymerization and characteristic point determine, by present frame binary image institute promising 1 pixel progress space gather
It closes, is analyzed by the shape to pixel after polymerization, identify profile existing for expression personnel;By the geometric center of profile
Pixel in corresponding pixel or profile with maximum temperature difference value is labeled as characteristic point, and characteristic point is as contour motion
Trace point;Execute step f);
F) movement and generation of trace point, after new frame image occurs, the successively same treatment by step d) and e),
Identify that moving direction of the characteristic point relative to characteristic point in previous frame image in new frame image, the moving direction are to track
The direction of motion of point is completed the mobile or new trace point of trace point and is generated;Execute step g);
G) judgement that trace point removes, with the judgement of the continuous output and trace point motion state of picture frame, for
Trace point through disappearing records time and the position of the appearance of its last time;If trace point last time occur time with
Current time is compared, and has been more than corresponding threshold Tth, then show that the human body that this characteristic point is tracked has moved out sensor mirror
Head range;Execute step h);
Threshold T in the stepthNormally to pass in and out time value set by the speed on doorway according to personnel.
H) personnel pass in and out judgement and accumulation, if the direction of motion of a trace point is " by the corresponding most lastrow in doorway
Pixel enters and is disappeared by the pixel of remaining 3 direction outermost ", then it is judged as that personnel enter, into number plus 1;Such as
The direction of motion of one trace point of fruit is " by the pixel entrance of 3 direction outermosts of remaining in addition to doorway by doorway pair
The most lastrow pixel answered disappears ", then it is judged as that personnel are outgoing, outgoing number adds 1.
If the infrared sensor array used is 8 pixels × 8 pixels output, when trace point corresponds to a line beyond gate
It is outgoing to be judged as personnel for 8 pixels;Trace point is after the corresponding 8 pixels entrance in gate, from other 3 directions
The pixel (far from 8 pixels at gate and 7 pixels of two sides) of outermost disappear, then be judged as personnel into
Enter.From gate, corresponding 8 pixels enter, then outgoing from these pixels, then are judged as that personnel do not enter into;From except gate
Enter for the pixel of 3 direction outermosts, then outgoing from these pixels, is then judged as that personnel do not go out.According to entrance
With the quantity of outgoing trace point, the quantity that personnel pass through just is obtained.
As shown in fig. 6, human motion and corresponding pixel shifting principle figure are given, if it is the installation side of situation 1
Formula, then personnel are entered by the side inside gate, the other side is gone out, and personnel do not go out;If it is situation 2, illustrate personnel by
Enter outdoors greatly, disappears from the other side, show there is personnel's entrance.
Claims (6)
1. a kind of method of counting based on infrared array number sensor, which is characterized in that realize by the following method: to setting
The output signal for the infrared sensor array being placed in above doorway is handled, and identifies the profile generated by human body, and to wheel
The wide direction of motion is tracked;Judge that personnel enter or go out, by the motion profile of profile to realize disengaging people
Member counts;
If infrared sensor array is set to the top in door, the most lastrow pixel of output image is acquired close to doorway area
Domain;It is realized especially by following steps:
A) judges whether there is personnel by doorway, if passed through without personnel, executes step b);If there is personnel pass through, then hold
Row step c);
B) calculates ambient temperature value, reads the numerical value of infrared sensor array present frame, and by the initial data of all pixels point
It is scaled true temperature value;Total N frame temperature data by each pixel present frame and its before carry out mean value calculation, obtain
Ambient temperature value of the average value arrived as each pixel;Execute step a);
C) noise reduction process of background reads the numerical value of infrared sensor array present frame, the initial data of all pixels point is changed
Calculating is true temperature value, and the temperature value of present frame is subtracted ambient temperature value, obtains the temperature difference of each pixel;If there is
Temperature difference is more than that ± 0.5 DEG C of isolated pixel point exists, then resets the temperature difference of respective pixel point;Then it is filtered again by the time
Wave obtains the temperature difference of each pixel;Execute step d);
D) obtains binary image, by the temperature difference of each pixel and threshold value VthIt is compared, if it exceeds threshold value Vth
Then pixel is set to 1, if being lower than threshold value VthThen pixel is set to 0, to obtain the binary image of present frame;Execute step
e);
E) profile polymerization and characteristic point determine, by present frame binary image institute promising 1 pixel progress spatial clustering,
It is analyzed by the shape to pixel after polymerization, identifies profile existing for expression personnel;By the geometric center pair of profile
Pixel in the pixel or profile answered with maximum temperature difference value labeled as characteristic point, characteristic point as contour motion with
Track point;Execute step f);
F) movement and generation of trace point, after new frame image occurs, successively the same treatment by step d) and e), is identified
Moving direction of the characteristic point relative to characteristic point in previous frame image in new frame image out, which is trace point
The direction of motion is completed the mobile or new trace point of trace point and is generated;Execute step g);
G) judgement that trace point removes, with the judgement of the continuous output and trace point motion state of picture frame, for having disappeared
The trace point of mistake records time and the position of the appearance of its last time;If time that trace point last time occurs and current
Time is compared, and has been more than corresponding threshold Tth, then show that the human body that this characteristic point is tracked has moved out sensor lens model
It encloses;Execute step h);
H) personnel pass in and out judgement and accumulation, if the direction of motion of a trace point is " by the corresponding most lastrow pixel in doorway
Point enters and is disappeared by the pixel of remaining 3 direction outermost ", then it is judged as that personnel enter, into number plus 1;If one
The direction of motion of a trace point is " corresponding by doorway by the pixel entrance of 3 direction outermosts of remaining in addition to doorway
Most lastrow pixel disappears ", then it is judged as that personnel are outgoing, outgoing number adds 1.
2. the method for counting according to claim 1 based on infrared array number sensor, it is characterised in that: in step a)
It is that the signal exported by pir sensor judges that personnel, which are judged whether there is, by doorway, if the letter of pir sensor output
Number be more than setting window threshold, then it is assumed that have personnel's process, if be not above, then it is assumed that without personnel pass through.
3. the method for counting according to claim 1 based on infrared array number sensor, it is characterised in that: in step b)
Participating in mean value calculation number of image frames is acquired image frame number in 5~20s, time filtering method described in step c)
Are as follows: the arithmetic mean of instantaneous value of each pixel temperature value and corresponding pixel points temperature value in former frame in present frame is sought, acquisition
Average value of the average value as pixel in current frame image;Threshold value V described in step d)thSize and current outside temperature
It is inversely proportional.
4. the method for counting according to claim 1 based on infrared array number sensor, it is characterised in that: described infrared
Sensor array is that 8 pixels × 8 pixels export, in step h), if trace point is by 8 pixels in a line at gate
Outermost 7 pixels of 8 pixels or two sides into and from a line at separate gate disappear, then judgement is people
Member enters;If trace point enters by outermost 7 pixels of 8 pixels or two sides in a line far from gate,
And 8 pixels from close to a line at gate disappear, then are judged as that personnel are outgoing.
5. a kind of counting device based on the method for counting described in claim 1 based on infrared array number sensor, special
Sign is: including SCM system (7) and coupled infrared sensor array (4), pir sensor (5) and power supply electricity
Road (9), pir sensor are connected through filtering and amplifying circuit (6) with SCM system, and power circuit is provided to the work of each circuit
Stable voltage;SCM system obtains the infrared image of detection zone by infrared sensor array, is examined by pir sensor
Whether have personnel by doorway, the SCM system is also connected with the communication interface circuit for exporting number value signal if surveying
(8).
6. a kind of counting device of the method for counting according to claim 5 based on infrared array number sensor, special
Sign is: the SCM system (7) is made of the chip of model STM32F103, and infrared sensor array (4) passes through I2C
Bus is connected with SCM system, and communication interface circuit (8) uses RS485 communication interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611125413.8A CN106600777B (en) | 2016-12-09 | 2016-12-09 | Method of counting and device based on infrared array number sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611125413.8A CN106600777B (en) | 2016-12-09 | 2016-12-09 | Method of counting and device based on infrared array number sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106600777A CN106600777A (en) | 2017-04-26 |
CN106600777B true CN106600777B (en) | 2019-02-22 |
Family
ID=58597939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611125413.8A Active CN106600777B (en) | 2016-12-09 | 2016-12-09 | Method of counting and device based on infrared array number sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106600777B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11899037B2 (en) | 2020-05-14 | 2024-02-13 | Kaba Gallenschütz GmbH | Method for recognizing sequences of motions and passing recognition system |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358166B (en) * | 2017-06-16 | 2023-05-26 | 华南理工大学 | Escalator entrance passenger flow congestion detection device and passenger flow congestion degree judgment method thereof |
CN108152532B (en) * | 2017-12-29 | 2020-11-27 | 浙江摩根智能技术有限公司 | Method for detecting existence and movement of human body |
CN108388178A (en) * | 2018-03-09 | 2018-08-10 | 昆山翰辉电子科技有限公司 | A kind of full angle infrared identification device |
EP3794498A1 (en) | 2018-05-18 | 2021-03-24 | Essity Hygiene and Health Aktiebolag | Presence and absence detection |
CN108830311A (en) * | 2018-06-01 | 2018-11-16 | 南京邮电大学 | A kind of infrared image photovoltaic array recognition methods based on Adaboost |
CN108875701A (en) * | 2018-07-11 | 2018-11-23 | 温州亿通自动化设备有限公司 | A kind of inlet/outlet passenger number automatic statistics method |
CN109064619A (en) * | 2018-07-22 | 2018-12-21 | 薛永芳 | A kind of multiwindow queuing guide device |
CN109087434A (en) * | 2018-07-22 | 2018-12-25 | 薛永芳 | A kind of queuing guide device of limitation number |
US11107491B2 (en) * | 2018-09-06 | 2021-08-31 | Current Lighting Solutions, Llc | Sensor data array and method of counting occupants |
CN110298433A (en) * | 2019-07-09 | 2019-10-01 | 杭州麦乐克科技股份有限公司 | A kind of indoor human body quantity survey (surveying) device |
SE544624C2 (en) * | 2019-11-04 | 2022-09-27 | Assa Abloy Ab | Setting a people sensor in a power save mode based on a closed signal indicating that a door of a doorway is closed |
CN111158062A (en) * | 2020-01-06 | 2020-05-15 | 杭州涂鸦信息技术有限公司 | Human body existence detection method and system |
CN113612939A (en) * | 2020-04-17 | 2021-11-05 | 上海邦定建筑科技有限公司 | Indoor personnel detection camera based on infrared sensing array |
CN111768520B (en) * | 2020-06-04 | 2023-01-24 | 站坐(北京)科技有限公司 | Target detection device and method |
CN113298025A (en) * | 2021-06-11 | 2021-08-24 | 浙江华消科技有限公司 | Target object determination method and device, storage medium and electronic device |
CN113611012B (en) * | 2021-06-16 | 2023-02-14 | 南京邮电大学 | Non-invasive people number detection method, device and system based on infrared array sensor |
CN113379772B (en) * | 2021-07-06 | 2022-10-11 | 新疆爱华盈通信息技术有限公司 | Mobile temperature measurement method based on background elimination and tracking algorithm in complex environment |
CN114757907B (en) * | 2022-04-06 | 2023-03-10 | 上海擎测机电工程技术有限公司 | Data processing method of infrared sensor |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07318661A (en) * | 1994-05-27 | 1995-12-08 | Matsushita Seiko Co Ltd | Human detection algorithm |
US6081619A (en) * | 1995-07-19 | 2000-06-27 | Matsushita Electric Industrial Co., Ltd. | Movement pattern recognizing apparatus for detecting movements of human bodies and number of passed persons |
CN102739919A (en) * | 2011-04-14 | 2012-10-17 | 江苏中微凌云科技股份有限公司 | Method and equipment for dynamic monitoring |
CN103279791A (en) * | 2013-05-30 | 2013-09-04 | 上海汇纳网络信息科技有限公司 | Pedestrian counting method based on multiple features |
CN103530874A (en) * | 2013-10-09 | 2014-01-22 | 上海大学 | People flow counting method on basis of Kinect |
CN103955980A (en) * | 2014-05-13 | 2014-07-30 | 温州亿通自动化设备有限公司 | Human body model feature based bus passenger flow statistic device and processing method |
CN104658088A (en) * | 2015-01-28 | 2015-05-27 | 四川君逸数码科技发展有限公司 | Novel human body infrared tracking and counting device and implementation method |
-
2016
- 2016-12-09 CN CN201611125413.8A patent/CN106600777B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07318661A (en) * | 1994-05-27 | 1995-12-08 | Matsushita Seiko Co Ltd | Human detection algorithm |
US6081619A (en) * | 1995-07-19 | 2000-06-27 | Matsushita Electric Industrial Co., Ltd. | Movement pattern recognizing apparatus for detecting movements of human bodies and number of passed persons |
CN102739919A (en) * | 2011-04-14 | 2012-10-17 | 江苏中微凌云科技股份有限公司 | Method and equipment for dynamic monitoring |
CN103279791A (en) * | 2013-05-30 | 2013-09-04 | 上海汇纳网络信息科技有限公司 | Pedestrian counting method based on multiple features |
CN103530874A (en) * | 2013-10-09 | 2014-01-22 | 上海大学 | People flow counting method on basis of Kinect |
CN103955980A (en) * | 2014-05-13 | 2014-07-30 | 温州亿通自动化设备有限公司 | Human body model feature based bus passenger flow statistic device and processing method |
CN104658088A (en) * | 2015-01-28 | 2015-05-27 | 四川君逸数码科技发展有限公司 | Novel human body infrared tracking and counting device and implementation method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11899037B2 (en) | 2020-05-14 | 2024-02-13 | Kaba Gallenschütz GmbH | Method for recognizing sequences of motions and passing recognition system |
Also Published As
Publication number | Publication date |
---|---|
CN106600777A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106600777B (en) | Method of counting and device based on infrared array number sensor | |
CN101999888B (en) | Epidemic preventing and controlling system for detecting and searching people with abnormal temperatures | |
US11079482B2 (en) | Presence detection system | |
Benezeth et al. | Towards a sensor for detecting human presence and characterizing activity | |
CN106597463B (en) | Photo-electric proximity sensor and detection method based on dynamic visual sensor chip | |
Scotti et al. | Dual camera intelligent sensor for high definition 360 degrees surveillance | |
CN103168467A (en) | Security camera tracking and monitoring system and method using thermal image coordinates | |
CN110888121B (en) | Target body detection method and device and target body temperature detection method and device | |
US20230046840A1 (en) | Vehicular access control based on virtual inductive loop | |
JP2018067755A (en) | Detection data management device | |
CN106979822A (en) | A kind of infrared imaging crosses consumption malfunction detector | |
US20100296703A1 (en) | Method and device for detecting and classifying moving targets | |
CN102256107B (en) | Automatic tracking system and method thereof for implementing automatic tracking | |
Altaf et al. | Usage of IR sensors in the HVAC systems, vehicle and manufacturing industries: A review | |
Faulkner et al. | Device-free localization using privacy-preserving infrared signatures acquired from thermopiles and machine learning | |
Guan et al. | Study on displacement estimation in low illumination environment through polarized contrast-enhanced optical flow method for polarization navigation applications | |
CN112771534A (en) | Electronic device and object counting method | |
CN102005052A (en) | Occluded human body tracking method based on kernel density estimation | |
US11734834B2 (en) | Systems and methods for detecting movement of at least one non-line-of-sight object | |
CN107274396A (en) | A kind of device of statistical number of person | |
WO2023076831A1 (en) | Extrinsic camera calibration using calibration object | |
CN208002775U (en) | A kind of sleep monitor system | |
Ng | Human localization and activity detection using thermopile sensors | |
Wang et al. | A lightweight people counting approach for smart buildings | |
CN207895648U (en) | Fire source probing apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 250022 Second Floor 201-209, 24 Office Buildings, 24566 Jingshi Road, Huaiyin District, Jinan City, Shandong Province Applicant after: Jinan Sailingde Electronic Information Co., Ltd. Address before: Room 207 on the east side of the second floor of the office building of Jinan Foundry and Forging Research Institute, No. 646 Jingshi Road, Huaiyin District, Jinan City, Shandong Province Applicant before: Jinan Sine-lead Electronic Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |