CN111768520B - Target detection device and method - Google Patents

Target detection device and method Download PDF

Info

Publication number
CN111768520B
CN111768520B CN202010500296.9A CN202010500296A CN111768520B CN 111768520 B CN111768520 B CN 111768520B CN 202010500296 A CN202010500296 A CN 202010500296A CN 111768520 B CN111768520 B CN 111768520B
Authority
CN
China
Prior art keywords
sub
target
area
region
passed
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
Application number
CN202010500296.9A
Other languages
Chinese (zh)
Other versions
CN111768520A (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.)
Standing Beijing Technology Co ltd
Original Assignee
Standing Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Standing Beijing Technology Co ltd filed Critical Standing Beijing Technology Co ltd
Priority to CN202010500296.9A priority Critical patent/CN111768520B/en
Publication of CN111768520A publication Critical patent/CN111768520A/en
Application granted granted Critical
Publication of CN111768520B publication Critical patent/CN111768520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/0022Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
    • G01J5/0025Living bodies

Abstract

The utility model relates to a target detection device and a method, the device comprises a processor and an infrared array sensor, wherein the infrared array sensor is used for collecting the area temperature of each subarea in a detection area; a processor is connected to the infrared array sensor, the processor configured to: determining a temperature difference between the zone temperature and the ambient temperature of each sub-zone; determining a second target identifier of each sub-region in the current detection period according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection period; determining whether a passed target exists according to the first target identifier and the second target identifier, wherein the passed target comprises one or more targets; determining a passing direction of the passed object according to an appearance area and a departure area of the passed object in a detection area under the condition that the passed object exists; and sending the target passing information to the server. The embodiment of the disclosure can improve the detection efficiency and accuracy.

Description

Target detection device and method
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a target detection apparatus and method.
Background
At present, when the number of people entering and exiting a certain place (such as a mall, a room and the like) is measured, two or more infrared or ultrasonic sensors are usually installed in front and at back of a region to be measured, and the passing direction of the people is judged according to the time difference of the detection of the sensors on the people to be measured; or a sensor capable of outputting bidirectional pulse signals is used for determining the direction of the person to be tested passing through the area to be tested by outputting signals with different polarities. The method can only judge the situation that one person passes through the area to be measured in one direction, and the measuring effect is poor.
Disclosure of Invention
In view of this, the present disclosure provides an object detection apparatus and method.
According to an aspect of the present disclosure, there is provided an object detection apparatus, the apparatus comprising a processor and an infrared array sensor,
the infrared array sensor is used for acquiring the area temperature of each subarea in the detection area;
the processor is connected to the infrared array sensor, the processor configured to:
determining a temperature difference between the zone temperature and the ambient temperature of each sub-zone;
determining a second target identifier of each sub-region in the current detection period according to the temperature difference value of each sub-region and a first target identifier of each sub-region in the previous detection period, wherein the first target identifier and the second target identifier are used for representing the identity of a target in each sub-region;
determining whether a passed target exists according to the first target identifier and the second target identifier, wherein the passed target comprises a target identified in the first target identifier but not in the second target identifier, and the passed target comprises one or more targets;
determining a passing direction of the passed target according to an appearance area and a departure area of the passed target in the detection area under the condition that the passed target exists;
and sending target passing information to a server, wherein the target passing information comprises the passed target and the passing direction of the passed target.
In a possible implementation manner, determining the second target identifier of each sub-region in the current detection cycle according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle includes:
for any sub-area, determining that a target exists in the sub-area under the condition that the temperature difference value of the sub-area is greater than or equal to a preset first temperature difference threshold value;
judging whether a target exists in a sub-area adjacent to the sub-area in the previous detection period;
and under the condition that a target exists in a sub-region adjacent to the sub-region in the previous detection period, determining a first target identifier of the adjacent sub-region as a second target identifier of the sub-region in the current detection period.
In a possible implementation manner, determining, according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle, the second target identifier of each sub-region in the current detection cycle further includes:
and under the condition that no target exists in the adjacent subarea of the subarea in the previous detection period, setting different second target marks for the targets in the subarea.
In one possible implementation, the processor is further configured to:
for any sub-area, when the variation value of a plurality of area temperatures of the sub-area in a preset time period is smaller than or equal to a preset second temperature difference threshold value, determining the average value of the plurality of area temperatures as the environment temperature of the sub-area, wherein the second temperature difference threshold value is smaller than or equal to the first temperature difference threshold value.
In a possible implementation manner, the appearance region is a sub-region where the identification of the passed object appears first, and the departure region is a sub-region where the identification of the passed object appears last.
In one possible implementation, the device is mounted above the detection area.
In one possible implementation, the resolution of the infrared array sensor is not lower than 4 × 4.
According to another aspect of the present disclosure, there is provided a target detection method, the method including:
determining the temperature difference between the area temperature and the environment temperature of each subarea according to the area temperature and the environment temperature of each subarea in the detection area;
determining a second target identifier of each sub-region in the current detection period according to the temperature difference value of each sub-region and a first target identifier of each sub-region in the previous detection period, wherein the first target identifier and the second target identifier are used for representing the identity of a target in each sub-region;
determining whether a passed target exists according to the first target identifier and the second target identifier, wherein the passed target comprises a target identified in the first target identifier but not in the second target identifier, and the passed target comprises one or more targets;
determining a passing direction of the passed target according to an appearance area and a leaving area of the passed target in the detection area under the condition that the passed target exists;
and sending target passing information to a server, wherein the target passing information comprises the passed target and the passing direction of the passed target.
In a possible implementation manner, determining the second target identifier of each sub-region in the current detection period according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection period includes:
for any sub-area, determining that a target exists in the sub-area under the condition that the temperature difference value of the sub-area is greater than or equal to a preset first temperature difference threshold value;
judging whether a target exists in a sub-area adjacent to the sub-area in the previous detection period;
and under the condition that a target exists in a sub-region adjacent to the sub-region in the previous detection period, determining a first target identifier of the adjacent sub-region as a second target identifier of the sub-region in the current detection period.
In a possible implementation manner, determining the second target identifier of each sub-region in the current detection cycle according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle, further includes:
and setting different second target marks for the targets in the sub-regions under the condition that no target exists in the sub-regions adjacent to the sub-regions in the previous detection period.
According to the embodiment of the disclosure, the temperature of each sub-area in the detection area can be collected through the infrared array sensor and sent to the processor, the processor determines the second target identification of each sub-area in the current detection period according to the temperature difference between the temperature of each sub-area and the ambient temperature and the first target identification of each sub-area in the previous detection period, then judges whether one or more passing targets exist according to the first target identification and the second target identification, determines the passing direction of the passing targets when the passing targets exist, and reports the passing information of the targets to the server, so that one or more persons passing through the detection area from the same direction or different directions can be detected according to the target identification, and the detection efficiency and accuracy are improved.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a block diagram of an object detection apparatus according to an embodiment of the present disclosure.
Fig. 2a, 2b, 2c, 2d, 2e and 2f show schematic diagrams of application scenarios of the object detection apparatus according to an embodiment of the present disclosure.
Fig. 3 shows a flow diagram of a target detection method according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a block diagram of an object detection apparatus according to an embodiment of the present disclosure. As shown in fig. 1, the apparatus includes a processor 100 and an infrared array sensor 200,
the infrared array sensor 200 is used for collecting the area temperature of each subarea in the detection area;
the processor 100 is connected to the infrared array sensor 200, the processor 100 being configured to:
determining a temperature difference between the zone temperature and the ambient temperature of each sub-zone;
determining a second target identifier of each sub-region in the current detection period according to the temperature difference value of each sub-region and a first target identifier of each sub-region in the previous detection period, wherein the first target identifier and the second target identifier are used for representing the identity of a target in each sub-region;
determining whether there is a passed target based on the first target identifier and the second target identifier, the passed target including targets identified in the first target identifier but not in the second target identifier, the passed target including one or more targets;
determining a passing direction of the passed target according to an appearance area and a departure area of the passed target in the detection area under the condition that the passed target exists;
and sending target passing information to a server, wherein the target passing information comprises the passed target and the passing direction of the passed target.
According to the embodiment of the disclosure, the temperature of each sub-area in the detection area can be collected through the infrared array sensor and sent to the processor, the processor determines the second target identification of each sub-area in the current detection period according to the temperature difference between the temperature of each sub-area and the ambient temperature and the first target identification of each sub-area in the previous detection period, then judges whether one or more passing targets exist according to the first target identification and the second target identification, determines the passing direction of the passing targets when the passing targets exist, and reports the passing information of the targets to the server, so that one or more persons passing through the detection area from the same direction or different directions can be detected according to the target identification, and the detection efficiency and accuracy are improved.
In a possible implementation manner, the target detection device can be used for detecting people who come in and go out places such as markets, office buildings and rooms and the coming in and going out directions of the people, can also be used for detecting people who pass through specific areas such as corridors and passageways and the passing directions of the people, and can also be used for other scenes in which the passing people need to be detected. The present disclosure does not limit application scenarios of the target detection apparatus.
In a possible implementation, the target detection device may be installed above the detection area, at a preset height from the ground. Wherein the preset height can be 2-3.5 meters. The preset height can be set by a person skilled in the art according to practical situations, and the disclosure does not limit the preset height.
For example, when detecting a person who goes in and out of a room, the target detection device may be installed on an upper door frame of a door, with the infrared array sensor directed directly below or obliquely below not more than 30 °.
In a possible implementation manner, the processor of the target detection device may be a central processing unit, a microprocessor, a single chip, or the like, and the disclosure does not limit the type of the processor.
In one possible implementation, the resolution of the infrared array sensor of the target detection device is not lower than 4 × 4. That is, the infrared array sensor may have a resolution of 4 × 4 or higher than 4 × 4 (e.g., 8 × 8). The higher the resolution of the infrared array sensor, the higher the detection accuracy. The resolution of the infrared array sensor can be determined by one skilled in the art based on the actual situation, and the disclosure is not limited thereto.
In a possible implementation manner, the infrared array sensor of the target detection device may divide the detection area into a plurality of sub-areas according to the resolution, periodically collect the area temperature of each sub-area, and send the collected area temperature of each sub-area to the processor for processing. The acquisition period of the zone temperature can be set according to actual conditions, which is not limited by the present disclosure.
For example, when the resolution of the infrared array sensor is 4 × 4 (or 8 × 8), the infrared array sensor may divide the detection area into 16 (or 64) sub-areas, and acquire the area temperature of each sub-area with a period of 0.1 second/time using infrared rays generated by thermal radiation of an object in each sub-area, and transmit the area temperature of each sub-area acquired per period to the processor for processing.
Wherein the number of sub-regions can be determined according to the resolution of the infrared array sensor. The present disclosure does not limit the specific number of sub-regions.
In a possible implementation manner, after the processor receives the area temperature of each sub-area sent by the infrared array sensor, the processor may first determine the ambient temperature of each sub-area. Wherein the ambient temperature is the background temperature of the sub-area.
In one possible implementation, the processor may determine the ambient temperature of each sub-region by: for any sub-area, when the variation value of the plurality of area temperatures of the sub-area within the preset time period is smaller than or equal to the preset second temperature difference threshold value, the average value of the plurality of area temperatures may be determined as the environment temperature of the sub-area.
The second temperature difference threshold is used for determining the environment temperature, and the second temperature difference threshold is smaller than or equal to the first temperature difference threshold used for judging whether a target passes through each sub-area.
In one possible implementation, in determining the ambient temperature of any one of the sub-regions, the processor may first select a plurality of region temperatures of the sub-region within a preset time period (e.g., 5 minutes, 10 minutes); then determining the change values of the plurality of zone temperatures, for example, selecting a maximum value and a minimum value from the plurality of zone temperatures, and determining the difference between the maximum value and the minimum value as the change values of the plurality of zone temperatures; then, the variation values of the temperatures of the plurality of areas are compared with a preset second temperature difference threshold (for example, 1 degree centigrade), when the variation values of the temperatures of the plurality of areas are smaller than or equal to the second temperature difference threshold, an average value of the temperatures of the plurality of areas is calculated, and the average value is determined as the environmental temperature of the sub-area.
It should be understood that, persons skilled in the art may determine the specific values of the second temperature difference threshold and the preset time period according to practical situations, and the disclosure is not limited thereto.
In one possible implementation, the ambient temperature of each sub-region may be different or the same, as each sub-region may have various types of objects present. In the detection process, the ambient temperature of each sub-area is calculated and updated in real time, so that the ambient temperature is kept up to date, and the detection accuracy is improved.
In this embodiment, when the variation values of the temperatures of the multiple regions of the sub-region within the preset time period do not exceed the second temperature difference threshold, the average value of the temperatures of the multiple regions may be determined as the ambient temperature of the sub-region, so that the processor can perform detection according to the ambient temperature.
In a possible implementation manner, after receiving the region temperature of each sub-region in the current detection period, the processor may determine a temperature difference between the region temperature of each sub-region and the ambient temperature according to the region temperature of each sub-region and the ambient temperature. Wherein, the temperature difference is more than or equal to 0, namely the temperature difference = | area temperature-environment temperature |.
In a possible implementation manner, after the temperature difference value of each sub-region is determined, the processor may determine the second target identifier of each sub-region in the current detection period according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection period. For example, the second target identifier of each sub-area in the current detection period may be determined according to the size of the temperature difference and the position of the first target identifier.
Wherein, the first target identification and the second target identification can be used for representing the identity of the target in each subarea and can be represented by at least one of numbers, letters and characters. The identification of different targets appearing in the detection area at the same time is different. The present disclosure does not limit the manner in which the first target identifier and the second target identifier are expressed.
In one possible implementation, the processor may determine whether there is a passed target based on the first target identifier and the second target identifier. Wherein the passed object comprises objects identified in the first object identification and not in the second object identification. That is to say, the processor may compare all first target identifiers in a previous detection period with all second target identifiers in a current detection period, determine an identifier that is in the first target identifiers but not in the second target identifiers, and determine a target corresponding to the identifier as a passed target.
In one possible implementation, the passed goal may include one or more goals. Because the identification of different targets is different, when a plurality of passed targets are provided, the passed targets can be distinguished by the identification.
In one possible implementation, in the case that there is a passed object, the processor may determine, from the first object identifiers of a plurality of detection periods preceding the current detection period, the presence area and the departure area of the passed object in the detection area, according to the identifiers of the passed object.
The appearance region is a sub-region where the mark of the passed target appears for the first time, the detection period where the mark of the passed target appears for the first time can be determined from a plurality of detection periods before the current detection period, and the sub-region where the mark of the passed target in the detection period is located is determined as the appearance region of the passed target; the departure area is a sub-area where the identification of the passed object appears last time, that is, a sub-area where the identification of the passed object is located in the previous detection period.
In one possible implementation, the processor may determine the passing direction of the passed object according to the presence area and the departure area of the passed object in the detection area. Wherein the passing direction can be determined according to the application scene of the target detection device. For example, when people coming in and going out of a room are detected, the passing direction of the people can be entering the room or leaving the room; when the aisle is detected, the passing direction of the aisle can be from one side of the aisle to enter the aisle and from the other side of the aisle to exit the aisle. The direction can be set according to practical conditions, and the disclosure does not limit the direction.
In one possible implementation, when there are a plurality of passed targets, the passing direction of each passed target may be the same or different. For example, when detecting people who come in and go out of a room, assuming that three passed objects are represented as object 1, object 2, and object 3, the passing directions of the three passed objects may be the same (i.e., passing in the same direction): the passing directions of the target 1, the target 2 and the target 3 are all entering the room or all leaving the room; the three passing directions of the passed object may differ: for example, the direction of passage of the object 1 is to enter the room, and the directions of passage of the objects 2 and 3 are to leave the room, and it is considered that the directions of passage of the object 1, the objects 2 and 3 are different, and the directions of passage of the object 2 and the object 3 are the same, where the object 1, the object 2 and the object 3 pass in opposite directions, and the object 2 and the object 3 pass in the same direction.
In one possible implementation manner, according to the appearance area and the departure area of the passed object in the detection area, the movement direction of the passed object is determined firstly, then the object with the movement direction as the passing direction is selected from the passed objects, and is determined as the passed object with the passing direction, wherein the passing direction is the movement direction; and determining the target with the movement direction not being the passing direction as the passed target with no passing direction.
For example, when detecting a person who enters or exits a room, the passing direction may be preset as entering or exiting the room, and the processor may know the position of each sub-area in the detection area relative to the door (inside or outside the door) according to the installation position, and the moving direction of the passed object may include: when the appearance area of the passed object is outside the door and the leaving area is inside the door, the moving direction of the passed object can be determined as entering the room; when the appearance area of the passed target is in the door and the leaving area is out of the door, the moving direction of the passed target can be determined as leaving the room; when the appearance area and the departure area of the passed target are both in doors, the movement direction of the passed target can be determined as the movement in a room; when the appearance area and the departure area of the passed object are both out of the door, the moving direction thereof can be determined as out-of-room movement. The object with the moving direction of entering or leaving the room can be determined as the passed object with the passing direction, and the object with the moving direction of moving in or out of the room can be determined as the passed object without the passing direction.
In one possible implementation, the processor may send the determined target passing information to the server, wherein the target passing information may include passed targets and passing directions of the passed targets. The server may be a detection center, a detection system, etc. connected to the processor. That is, the processor may transmit the detected objects that have passed through the detection area (i.e., passed objects having a passing direction) and their passing directions to the server, so that the server performs analysis, statistics, and the like, for example, the number of objects that have passed through the detection area in accordance with the object passing direction, statistics, and the like.
In one possible implementation, the target passing information may also include a passing time of having passed the target. The processor may determine the acquisition time of the current detection period as a passing time of the passed object, and transmit the passed object and a passing direction of the passed object together with the passing time to the server.
In a possible implementation manner, determining the second target identifier of each sub-region in the current detection cycle according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle may include:
for any sub-area, determining that a target exists in the sub-area under the condition that the temperature difference value of the sub-area is greater than or equal to a preset first temperature difference threshold value;
judging whether a target exists in a sub-area adjacent to the sub-area in the previous detection period;
and under the condition that a target exists in a sub-region adjacent to the sub-region in the previous detection period, determining a first target identifier of the adjacent sub-region as a second target identifier of the sub-region in the current detection period.
In a possible implementation manner, when determining the second target identifier of any sub-region in the current detection period, the relationship between the temperature difference value of the sub-region and a preset first temperature difference threshold (for example, 1 degree celsius) may be first determined, and when the temperature difference value of the sub-region is greater than or equal to the first temperature difference threshold, it may be determined that a target exists in the sub-region; then, it is determined whether a target exists in a sub-region adjacent to the sub-region in a previous detection cycle, that is, it is determined whether the sub-region adjacent to the sub-region exists in the previous detection cycle, and it is determined whether each of the adjacent sub-regions in the previous detection cycle marks the first target identifier.
In a possible implementation manner, when a target exists in a sub-region adjacent to the sub-region in a previous detection cycle, the target existing in the sub-region in the current detection cycle may be considered to be the same as the target in the sub-region adjacent to the sub-region in the previous detection cycle, and a first target identifier of the adjacent sub-region may be determined as a second target identifier of the sub-region in the current detection cycle.
It should be understood that, a person skilled in the art may determine the first temperature difference threshold according to the practical application scenario of the target detection device, and the specific value of the first temperature difference threshold is not limited by the present disclosure.
In this embodiment, when there is a target in any sub-region and there is also a target in an adjacent sub-region of the sub-region in a previous detection period, a first target identifier of the adjacent sub-region in the previous detection period is determined as a second target identifier of the sub-region in the current detection period, so that a position change of the target in the detection region can be detected by the target identifiers of the sub-regions in the adjacent detection period.
In a possible implementation manner, determining, according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle, the second target identifier of each sub-region in the current detection cycle further includes: and under the condition that no target exists in the adjacent subarea of the subarea in the previous detection period, setting different second target marks for the targets in the subarea.
That is, in the case where a target exists in a subregion in the current detection cycle but no target exists in a subregion adjacent to the subregion in the previous detection cycle, the target existing in the subregion in the current detection cycle may be regarded as a new target that first appears in the detection region, and a second target identifier different from the existing identifier in the detection region may be set for the target. In this way, a new target entering the detection area can be determined.
In a possible implementation manner, for any sub-region, in the case that the temperature difference value of the sub-region is smaller than the preset first temperature difference threshold, it may be considered that no target exists in the sub-region, and the sub-region may not be marked, or may be marked as a preset numerical value, for example, a number 0, to indicate that no target exists in the sub-region in the current detection cycle. The present disclosure is not limited to specific values of the preset values.
Fig. 2a, 2b, 2c, 2d, 2e and 2f show schematic diagrams of application scenarios of the object detection apparatus according to an embodiment of the present disclosure.
As shown in fig. 2a, the object detecting device is used for detecting persons entering and exiting a room, the object detecting device is installed on an upper door frame of a door (as shown by a broken line 21 in fig. 2 a), a detection area is divided into an inner area and an outer area, the resolution of the infrared array sensor is 4 × 4, and the detection area 20 is divided into 16 sub-areas. When no target is present in the detection area, the processor marks each sub-area as a preset value of 0.
Fig. 2b shows a schematic representation of the object identification of the respective sub-area when two objects are present in the detection area shown in fig. 2 a. As shown in fig. 2b, the identification of the object in the sub-area with the position (1, 4) is set to 11, and the identification of the object in the sub-area with the position (4, 1) is set to 10.
Fig. 2c is a schematic diagram of the target identifiers of the sub-areas in the detection region of the next detection period of the detection period shown in fig. 2 b. As shown in fig. 2c, the positions of the sub-regions where the target exists are (2, 4), (3, 1), the sub-regions where the target exists all have the target in the adjacent sub-regions of the previous detection cycle, and the target identifications of the sub-regions (2, 4), (3, 1) can be determined as 11, 10, respectively.
And determining that no passing target exists in the current detection period according to the target identification of the current detection period and the target identification of the previous detection period.
Fig. 2d is a schematic diagram of the target identifiers of the sub-areas in the detection area of the next detection period of the detection period shown in fig. 2 c. As shown in fig. 2d, the positions of the sub-regions where the target exists are (3, 4), (2, 1), the sub-regions where the target exists all have the target in the adjacent sub-regions of the previous detection cycle, and the target identifications of the sub-regions (3, 4), (2, 1) can be determined as 11, 10, respectively.
And determining that no passing target exists in the current detection period according to the target identification of the current detection period and the target identification of the previous detection period.
Fig. 2e is a schematic diagram of the target identifiers of the sub-areas in the detection area of the next detection period of the detection period shown in fig. 2 d. As shown in fig. 2e, the positions of the sub-areas where the target exists are (4, 4), (1, 1), (4, 2), that is, three targets exist in the detection area, wherein the target exists in each of the sub-areas (4, 4), (1, 1) in the adjacent sub-area of the previous detection cycle, and the target identifications of the sub-areas (4, 4), (1, 1) can be determined as 11, 10, respectively; the sub-area (4, 2) where the target exists has no target in the adjacent sub-area of the previous detection cycle, and a different target mark 13 is set for the sub-area.
And determining that no passing target exists in the current detection period according to the target identification of the current detection period and the target identification of the previous detection period.
Fig. 2f is a schematic diagram of the target identifiers of the sub-areas in the detection area of the next detection period of the detection period shown in fig. 2 e. As shown in fig. 2f, the position of the sub-region where the target exists is (3, 2), the sub-region where the target exists (3, 2) has the target in the adjacent sub-region of the previous detection cycle, and the target identifications of the sub-regions (3, 2) can be respectively determined to be 13.
Determining that two passing targets exist in the current detection period according to the target identification of the current detection period and the target identification of the previous detection period, wherein the identifications of the two passing targets are respectively 10 and 11; then respectively determining the appearance region and the departure region of the passed target, wherein the appearance region of the passed target, which is marked as 10, is a sub-region (4, 1) outside the door, the departure region is a sub-region (1, 1) inside the door, the appearance region of the passed target, which is marked as 11, is a sub-region (1, 4) inside the door, and the departure region is a sub-region (4, 4) outside the door; from the presence area and the exit area, it can be determined that the passing direction of the passed object identified as 10 is the entering room, and the passing direction of the passed object identified as 11 is the exiting room, that is, the passed object identified as 10 and the passed object identified as 11 pass in opposite directions.
The passed target identified as 10 and its direction of passage (into the room), the passed target identified as 11 and its direction of passage (out of the room) may be sent to the server for analysis, statistics, etc. by the server.
Fig. 3 shows a flow diagram of a target detection method according to an embodiment of the present disclosure. As shown in fig. 3, the target detection method includes:
step S31, determining the temperature difference between the area temperature and the environment temperature of each subarea according to the area temperature and the environment temperature of each subarea in the detection area;
step S32, determining a second target identifier of each sub-area in the current detection period according to the temperature difference value of each sub-area and the first target identifier of each sub-area in the previous detection period, wherein the first target identifier and the second target identifier are used for representing the identity of a target in each sub-area;
step S33, determining whether a passed target exists according to the first target identifier and the second target identifier, wherein the passed target comprises a target identified in the first target identifier but not in the second target identifier, and the passed target comprises one or more targets;
step S34, determining the passing direction of the passed target according to the appearance area and the departure area of the passed target in the detection area under the condition that the passed target exists;
step S35, sending target passing information to a server, wherein the target passing information comprises the passed target and the passing direction of the passed target.
In a possible implementation manner, the appearance region is a sub-region where the identifier of the passed target appears first, and the departure region is a sub-region where the identifier of the passed target appears last
In one possible implementation, step S32 may include: for any sub-area, determining that a target exists in the sub-area under the condition that the temperature difference value of the sub-area is greater than or equal to a preset first temperature difference threshold value; judging whether a target exists in a sub-area adjacent to the sub-area in the previous detection period; and under the condition that a target exists in a sub-region adjacent to the sub-region in the previous detection period, determining a first target identifier of the adjacent sub-region as a second target identifier of the sub-region in the current detection period.
In one possible implementation manner, step S32 may further include: and setting different second target marks for the targets in the sub-regions under the condition that no target exists in the sub-regions adjacent to the sub-regions in the previous detection period.
In one possible implementation, the method further includes: for any sub-area, when the variation value of a plurality of area temperatures of the sub-area in a preset time period is smaller than or equal to a preset second temperature difference threshold value, determining the average value of the plurality of area temperatures as the environment temperature of the sub-area, wherein the second temperature difference threshold value is smaller than or equal to the first temperature difference threshold value.
According to the embodiment of the disclosure, the second target identifier of each sub-area in the current detection period can be determined according to the temperature difference between the area temperature and the environment temperature of each sub-area in the detection region and the first target identifier of each sub-area in the previous detection period, then whether one or more passed targets exist is judged according to the first target identifier and the second target identifier, when the passed targets exist, the passing direction of the passed targets is determined, and target passing information is reported to the server, so that one or more persons passing through the detection region from the same direction or different directions can be detected according to the target identifiers, and the detection efficiency and accuracy are improved.
According to the target detection device disclosed by the embodiment of the disclosure, the calculation amount of the algorithm is small, the processor can be completed by using a single-chip microprocessor, and the cost can be reduced.
According to the object detection device of the embodiment of the disclosure, the object detection device can be installed above an area where people pass through such as a room entrance, a passageway and the like, automatically detects a plurality of people passing through the detection area and the passing direction and the passing time of each person passing through, and sends the passing information (such as the number of the persons passing through, the passing time, the passing direction and the like) of the detected people to a server (such as a detection system) so that the server can perform analysis and statistics.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (5)

1. An object detection device, comprising a processor and an infrared array sensor,
the infrared array sensor is used for acquiring the area temperature of each subarea in the detection area;
the processor is connected to the infrared array sensor, the processor configured to:
determining a temperature difference between the zone temperature and the ambient temperature of each sub-zone;
determining a second target identifier of each sub-area in the current detection period according to the temperature difference value of each sub-area and a first target identifier of each sub-area in the previous detection period, wherein the first target identifier and the second target identifier are used for representing the identity of a target in each sub-area;
determining whether there is a passed target based on the first target identifier and the second target identifier, the passed target including targets identified in the first target identifier but not in the second target identifier, the passed target including one or more targets;
determining a passing direction of the passed target according to an appearance area and a leaving area of the passed target in the detection area under the condition that the passed target exists;
sending target passing information to a server, wherein the target passing information comprises the passed target and the passing direction of the passed target;
the determining the second target identifier of each sub-region in the current detection cycle according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle includes:
for any sub-area, determining that a target exists in the sub-area under the condition that the temperature difference value of the sub-area is greater than or equal to a preset first temperature difference threshold value;
judging whether a target exists in a sub-area adjacent to the sub-area in the previous detection period;
under the condition that a target exists in a sub-region adjacent to the sub-region in a previous detection period, determining a first target identifier of the adjacent sub-region as a second target identifier of the sub-region in the current detection period;
setting different second target identifications for the targets in the sub-regions under the condition that no target exists in the sub-regions adjacent to the sub-regions in the previous detection period;
wherein the processor is further configured to:
for any sub-area, when the variation value of a plurality of area temperatures of the sub-area in a preset time period is less than or equal to a preset second temperature difference threshold value, determining the average value of the plurality of area temperatures as the environment temperature of the sub-area,
wherein the second temperature difference threshold is less than or equal to the first temperature difference threshold.
2. The apparatus of claim 1, wherein the occurrence region is a first-occurring sub-region of the passed object identifier, and the departure region is a last-occurring sub-region of the passed object identifier.
3. The device of claim 1, wherein the device is mounted above the detection zone.
4. The apparatus of claim 1, wherein the infrared array sensor has a resolution of no less than 4 x 4.
5. A method of object detection, the method comprising:
determining the temperature difference between the area temperature and the environment temperature of each subarea according to the area temperature and the environment temperature of each subarea in the detection area;
determining a second target identifier of each sub-area in the current detection period according to the temperature difference value of each sub-area and a first target identifier of each sub-area in the previous detection period, wherein the first target identifier and the second target identifier are used for representing the identity of a target in each sub-area;
determining whether there is a passed target based on the first target identifier and the second target identifier, the passed target including targets identified in the first target identifier but not in the second target identifier, the passed target including one or more targets;
determining a passing direction of the passed target according to an appearance area and a leaving area of the passed target in the detection area under the condition that the passed target exists;
sending target passing information to a server, wherein the target passing information comprises the passed target and the passing direction of the passed target;
the determining the second target identifier of each sub-region in the current detection cycle according to the temperature difference value of each sub-region and the first target identifier of each sub-region in the previous detection cycle includes:
for any sub-area, determining that a target exists in the sub-area under the condition that the temperature difference value of the sub-area is greater than or equal to a preset first temperature difference threshold value;
judging whether a target exists in a sub-area adjacent to the sub-area in the previous detection period;
under the condition that a target exists in a sub-region adjacent to the sub-region in a previous detection period, determining a first target identifier of the adjacent sub-region as a second target identifier of the sub-region in the current detection period;
setting different second target marks for the targets in the sub-areas under the condition that no target exists in the sub-areas adjacent to the sub-areas in the previous detection period;
wherein for any sub-area, when the variation value of a plurality of area temperatures of the sub-area in a preset time period is less than or equal to a preset second temperature difference threshold value, the average value of the plurality of area temperatures is determined as the environment temperature of the sub-area,
wherein the second temperature difference threshold is less than or equal to the first temperature difference threshold.
CN202010500296.9A 2020-06-04 2020-06-04 Target detection device and method Active CN111768520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010500296.9A CN111768520B (en) 2020-06-04 2020-06-04 Target detection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010500296.9A CN111768520B (en) 2020-06-04 2020-06-04 Target detection device and method

Publications (2)

Publication Number Publication Date
CN111768520A CN111768520A (en) 2020-10-13
CN111768520B true CN111768520B (en) 2023-01-24

Family

ID=72720121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010500296.9A Active CN111768520B (en) 2020-06-04 2020-06-04 Target detection device and method

Country Status (1)

Country Link
CN (1) CN111768520B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744070A (en) * 2004-09-03 2006-03-08 上海浩孚通信科技有限公司 Public traffic vehicle passenger-flow counting method and system
CN101706976A (en) * 2009-08-26 2010-05-12 深圳市飞瑞斯科技有限公司 Anti-trailing system and device based on number of video viewers
CN102819882A (en) * 2012-07-25 2012-12-12 江苏汉武智能科技有限公司 Identification control system and identification method for passing objects in automatic ticket inspection pedestrian passageway
CN202771193U (en) * 2012-09-07 2013-03-06 淮海工学院 Light-operated bidirectional add-and-subtract counting controller
CN106600777A (en) * 2016-12-09 2017-04-26 济南赛英立德电子科技有限公司 Infrared array number-of-personnel sensor-based counting method and apparatus
CN110709900A (en) * 2017-06-05 2020-01-17 罗伯特·博世有限公司 Measuring flow of people through doorway using easily installed IR array sensors

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0112990D0 (en) * 2001-05-26 2001-07-18 Central Research Lab Ltd Automatic classification and/or counting system
CN102708608A (en) * 2012-06-04 2012-10-03 北京宝盾门业技术有限公司 Security door and security control system thereof
JP5834249B2 (en) * 2013-11-20 2015-12-16 パナソニックIpマネジメント株式会社 Person movement analysis apparatus, person movement analysis system, and person movement analysis method
CN103942850B (en) * 2014-04-24 2015-10-28 中国人民武装警察部队浙江省总队医院 Based on medical personnel's monitoring method on duty of video analysis and RFID technique
CN108919373B (en) * 2018-06-29 2019-12-24 珠海格力电器股份有限公司 Target detection control equipment, target detection control method and device and storage medium
CN108921274A (en) * 2018-07-03 2018-11-30 北京小米移动软件有限公司 Monitoring area number determines method and device
EP3841398A1 (en) * 2018-08-24 2021-06-30 Lutron Technology Company LLC Occupant detection device
CN109460811A (en) * 2018-09-26 2019-03-12 北京文香信息技术有限公司 A kind of passenger flow statistic device and passenger flow statistical method, storage medium
CN109448026A (en) * 2018-11-16 2019-03-08 南京甄视智能科技有限公司 Passenger flow statistical method and system based on head and shoulder detection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744070A (en) * 2004-09-03 2006-03-08 上海浩孚通信科技有限公司 Public traffic vehicle passenger-flow counting method and system
CN101706976A (en) * 2009-08-26 2010-05-12 深圳市飞瑞斯科技有限公司 Anti-trailing system and device based on number of video viewers
CN102819882A (en) * 2012-07-25 2012-12-12 江苏汉武智能科技有限公司 Identification control system and identification method for passing objects in automatic ticket inspection pedestrian passageway
CN202771193U (en) * 2012-09-07 2013-03-06 淮海工学院 Light-operated bidirectional add-and-subtract counting controller
CN106600777A (en) * 2016-12-09 2017-04-26 济南赛英立德电子科技有限公司 Infrared array number-of-personnel sensor-based counting method and apparatus
CN110709900A (en) * 2017-06-05 2020-01-17 罗伯特·博世有限公司 Measuring flow of people through doorway using easily installed IR array sensors

Also Published As

Publication number Publication date
CN111768520A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
US11842613B2 (en) System and methods for smart intrusion detection using wireless signals and artificial intelligence
Petersen et al. Establishing an image-based ground truth for validation of sensor data-based room occupancy detection
US5483222A (en) Multiple sensor apparatus and method
CN110501700A (en) A kind of personnel amount method of counting based on millimetre-wave radar
CN111199555A (en) Millimeter wave radar target identification method
CN101569194B (en) Network surveillance system
CN107358778A (en) A kind of fire-alarm of combination KNN algorithms
JPH0954883A (en) Method for detecting approach of known object and device therefor
KR101679597B1 (en) System for managing objects and method thereof
JP4286074B2 (en) Spatial information distribution device
CN106772656A (en) A kind of indoor human body detection method based on infrared sensor array
JPH07324792A (en) Human body recognition apparatus
JP3414634B2 (en) People counting system
CN111768520B (en) Target detection device and method
CN111795716A (en) Pipe gallery maintenance validity judgment method based on city perception microgrid
CN209433517U (en) It is a kind of based on more flame images and the fire identification warning device for combining criterion
KR102168651B1 (en) Body temperature measuring device with thermal sensor and monitoring system therewith
JPH0962822A (en) Human body movement detection device and detection device for number of passing peoples
JPH0933215A (en) Recognition apparatus for movement pattern
CN205959342U (en) Active smog thermodetector and system thereof
CN114495014A (en) Intelligent community management system and control method thereof
JPH09138241A (en) Passage monitoring apparatus and apparatus for monitoring number of staying persons
JP2594842B2 (en) Passenger detection method
JP3701656B2 (en) Moving pattern recognition device
KR102657015B1 (en) people counter having thermal camera and, industrial site fire detecting system therewith

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
GR01 Patent grant
GR01 Patent grant