Association detection method and related equipment and device
By screening objects to be tested that meet distance conditions from the target object within the shooting range, and adjusting the total contact score according to the contact action, correlation detection is achieved, solving the problem of low correlation detection efficiency in the existing technology, and improving epidemic control and Accuracy of personnel screening.
Patent Information
- Application Number
- CN202010526071.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-11
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-06-11
AI Technical Summary
Existing technology is difficult to effectively implement correlation detection, especially in aspects such as epidemic control and personnel investigation, and there is a lack of efficient methods for screening related objects and determining correlation relationships.
By screening the objects under test that meet the preset distance condition from the target object within the shooting range, and determining whether the object under test and the target object meet the preset contact conditions, the object under test is associated with the target object to achieve correlation detection. This method uses a camera device to obtain body temperature or other characteristic information, combines preset conditions and contact actions, and adjusts the total contact score of the object to be measured to evaluate the degree of correlation.
It improves the accuracy and efficiency of correlation detection, can quickly identify objects to be tested that have been in contact with the target object, reduce investigation time, and conduct isolation observation or tracking when necessary.
Smart Images

Figure CN111815496B
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to an association detection method and related equipment and devices. Background Art
[0002] With the advancement and development of science and technology, the detection and management equipment in public places such as communities and stations are constantly improving, and the detection and management methods are gradually developing towards intelligence and systematization to meet the systematic management needs of managers.
[0003] At present, among many systematic management needs, object association detection has attracted widespread attention due to its extremely important application value in epidemic control, personnel screening, etc. In view of this, how to achieve association detection has become an extremely important topic. Summary of the invention
[0004] The main technical problem solved by the present application is to provide an association detection method and related equipment and devices that can realize association detection.
[0005] In order to solve the above problems, the first aspect of the present application provides an association detection method, including: within the shooting range, screening the objects to be tested that meet the preset distance conditions between them and the target object; if the objects to be tested and the target object meet the preset contact conditions, then associating the objects to be tested with the target object.
[0006] In order to solve the above problem, the second aspect of the present application provides an electronic device, including a memory and a processor coupled to each other, the memory stores program instructions, and the processor is used to execute the program instructions to implement the association detection method in the above first aspect.
[0007] In order to solve the above problem, the third aspect of the present application provides a storage device storing program instructions that can be executed by a processor, and the program instructions are used to implement the association detection method in the above first aspect.
[0008] The above scheme screens the objects to be measured that meet the preset distance conditions with the target object within the shooting range. If the objects to be measured and the target object meet the preset contact conditions, the objects to be measured are associated with the target object. In this way, the objects to be measured that are within a certain range of the determined target object and meet the preset contact conditions with the target object can be associated with the target object, thereby realizing associated detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a flowchart of an embodiment of the association detection method of the present application;
[0010] Figure 2 It is a flowchart of another embodiment of the association detection method of the present application;
[0011] Figure 3 It is a flowchart of another embodiment of the association detection method of the present application;
[0012] Figure 4 It is a schematic diagram of the framework of an embodiment of the association detection device of the present application;
[0013] Figure 5 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application;
[0014] Figure 6 It is a schematic diagram of the framework of an embodiment of the storage device of the present application. DETAILED DESCRIPTION
[0015] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification.
[0016] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.
[0017] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. In addition, "many" in this article means two or more than two.
[0018] See also Figure 1 , Figure 1 This is a flow chart of an embodiment of the association detection method of the present application. Specifically, it may include the following steps:
[0019] Step S11: within the shooting range, screen the objects to be measured that meet a preset distance condition with the target object.
[0020] In one implementation scenario, the target object is a person whose body temperature meets the preset temperature condition within the shooting range. The preset temperature condition may include: the body temperature is not within the preset body temperature range. The preset body temperature range may be 36 degrees Celsius to 38 degrees Celsius. It can be set according to the actual situation and is not limited here. In a specific implementation scenario, the camera device may have a thermal imaging function, so that the camera device can obtain the thermal imaging image of the person within the shooting range, thereby obtaining the body temperature of the person within the shooting range, and the person whose body temperature meets the preset temperature condition is taken as the target object. In another specific implementation scenario, a device for measuring body temperature can also be set up near the camera device, so that the person whose body temperature meets the preset temperature condition is taken as the target object, and the information of the target object is transmitted to determine the target object within the shooting range of the camera device. For example, the information of the target object can be transmitted to a processing device (such as a microcomputer, a server, etc.) connected to the camera device, so that the management personnel can determine the target object within the shooting range of the camera device according to the received information of the target object.
[0021] In other implementation scenarios, depending on the specific application scenario, the target object can also be set to a person who meets other preset conditions. For example, the target object can also be a suspect pre-locked by the police; or, the target object can also be a person who meets preset physical characteristics; or, the target object can also be a missing person (such as abducted children, etc.). The specific setting can be based on the actual application and is not limited here.
[0022] In an implementation scenario, the preset distance condition includes: the distance between the camera and the target object is less than or equal to a preset distance threshold (for example, 2 meters, 2.5 meters, 3 meters, etc.), and the preset distance threshold can be set according to the actual situation and is not limited here. In a specific implementation scenario, the camera device can search for the object to be measured that meets the preset distance condition between the camera and the target object in the shooting range according to its own posture, focal length and other parameters. Specifically, the posture of the camera device may include: the installation position of the camera device in the world coordinate system, pitch angle, yaw angle, roll angle, etc., which are not limited here.
[0023] Step S12: Determine whether the object to be detected and the target object meet the preset contact condition, if so, execute step S13, otherwise execute step S14.
[0024] The preset contact conditions can be set according to the actual application situation. For example, the preset contact conditions may include: generating a preset contact action with the target object. The preset contact action may specifically include: shaking hands, talking, and hugging at least one of them. Thus, by judging whether the object to be tested and the target object meet the preset contact conditions, the object to be tested that has come into contact with the target object can be found. For example, taking epidemic control as an example, the target object may be a person with abnormal body temperature (possibly infected with influenza virus, etc.). By finding the object to be tested that meets the preset contact conditions with the target object, these objects to be tested can be continuously tracked later, and if necessary, these objects to be tested can be isolated for observation; or, taking the target object as a suspect pre-locked by the police as an example, by finding the object to be tested that meets the preset contact conditions with the target object, these objects to be tested can be continuously tracked later, which can be beneficial to the search for criminal gangs when the gangs commit crimes. Other application scenarios can be deduced by analogy, and no examples are given here one by one.
[0025] In order to reduce false detection as much as possible and improve the accuracy of associated detection, the preset contact conditions may also include: repeatedly generating preset contact actions with the target object for more than a preset number of times. The preset number of times can be set according to the actual application, for example, 2 times, 3 times, 4 times, etc., which are not limited here, so that the objects to be tested that have repeatedly generated preset contact actions with the target object for more than a preset number of times within the shooting range can be found. For example, taking epidemic control as an example, the target object may be a person with abnormal body temperature (possibly infected with influenza virus, etc.). By finding the objects to be tested that meet the preset contact conditions with the target object, these objects to be tested that have too much contact can be continuously tracked, and if necessary, these objects to be tested can be isolated and observed. Other application scenarios can be deduced by analogy, and examples are not given one by one here.
[0026] Step S13: Associating the object to be tested with the target object.
[0027] If the object to be tested and the target object meet the preset contact conditions, it can be considered that there is a strong correlation between the object to be tested and the target object. For example, taking epidemic control as an example, the target object can be a person with abnormal body temperature (possibly infected with influenza virus, etc.). If the object to be tested and the target object meet the preset contact conditions, it can be considered that the object to be tested has a certain probability of abnormal body temperature (possibly infected with influenza virus, etc.) after a period of time (latent period). Or, taking the target object as a suspect pre-locked by the police as an example, if the object to be tested and the target object meet the preset contact conditions, it can be considered that the object to be tested may have a certain social relationship with the target object (such as a person who knows the case, belongs to the same criminal gang as the target object, etc.). Other application scenarios can be deduced by analogy, and examples are not given one by one here. Therefore, when there is a strong correlation between the object to be tested and the target object, the object to be tested can be associated with the target object, so that when applied to epidemic control, people who have contact with the target object can be quickly found to reduce the investigation time. Specifically, each target object is provided with a corresponding associated object set (such as an associated face library), and the information of the object to be tested (such as face information) can be added to the associated object set of the target object (such as the associated face library). In a specific implementation scenario, before adding the information of the object to be tested to the associated object set of the target object, it can also be detected whether there is an associated object set corresponding to the target object. If so, the information of the object to be tested is directly added to the associated object set of the target object. If not, the associated object set of the target object is created, and the object to be tested is added to the associated object set of the target object. In another specific implementation scenario, the associated object sets of each target object can be stored in a storage terminal such as a server or a cloud platform to achieve data sharing.
[0028] In one implementation scenario, the object to be tested that meets the preset distance condition with the target object within the shooting range may also not meet the preset contact condition with the target object. For example, although the object to be tested meets the preset distance condition with the target object with abnormal body temperature, it does not meet the preset contact condition with the target object (e.g., no preset contact action is made with the target object). Considering that the abnormal body temperature of the target object may be caused by viruses such as influenza, which have a certain degree of transmission in the air, it cannot be completely ruled out that the object to be tested has a strong association with the target object; or, for example, although the object to be tested meets the preset distance condition with the target object locked as a criminal suspect, it does not meet the preset contact condition with the target object (e.g., no preset contact action is made with the target object). Considering that the target object may also transmit information to the object to be tested through covert methods such as eye contact and special codes, it cannot be completely ruled out that the object to be tested has a strong association with the target object. Other application scenarios can be deduced by analogy, and examples are not given one by one here. Therefore, in order to further improve the accuracy of association detection, the following steps can also be performed:
[0029] Step S14: retaining the information of the object to be detected for a preset time period, so as to continue detecting the object to be detected within the preset time period.
[0030] The information of the object to be tested may be the facial information of the object to be tested, or may be the identified identity information of the object to be tested, etc., which is not limited here.
[0031] The preset duration can be one week, half a month, one month, etc., and can be set according to the actual situation, and is not limited here. For example, taking epidemic control as an example, the preset duration can be the incubation period, and other application scenarios can be deduced by analogy, and no examples are given here one by one.
[0032] In an implementation scenario, if within a preset time period, it is detected that the object to be tested meets the preset alarm condition, a first-level alarm message can also be output. Still taking epidemic control as an example, the preset alarm condition may include: the body temperature of the object to be tested meets the preset temperature condition, and the preset temperature condition can be specifically referred to the aforementioned related steps, which will not be repeated here, then it can be considered that the object to be tested has a certain probability of being infected by the target object, and a first-level alarm message can be output at this time to remind the management personnel to pay attention to continuous observation. In a specific implementation scenario, if within a preset time period, a preset number of objects to be tested are detected to meet the preset alarm condition, a second-level alarm message can also be output, and the preset number can be 2, 3, 4, etc., which are not limited here. Still taking epidemic control as an example, the preset alarm condition may include: the body temperature of the object to be tested meets the preset temperature condition, and the preset temperature condition can be specifically referred to the aforementioned related steps, which will not be repeated here, then it can be considered that the object to be tested has a high probability of being infected by the target object, and a second-level alarm message can be output at this time to remind the management personnel to isolate the object to be tested and the target object uniformly when necessary. Other application scenarios can be deduced by analogy, and examples are not given one by one here.
[0033] The above scheme screens the objects to be measured that meet the preset distance conditions with the target object within the shooting range. If the objects to be measured and the target object meet the preset contact conditions, the objects to be measured are associated with the target object. In this way, the objects to be measured that are within a certain range of the determined target object and meet the preset contact conditions with the target object can be associated with the target object, thereby realizing associated detection.
[0034] See also Figure 2 , Figure 2 This is a flowchart of another embodiment of the association detection of the present application. Specifically, it may include the following steps:
[0035] Step S21: within the shooting range, screen the objects to be measured that meet a preset distance condition with the target object.
[0036] For details, please refer to the relevant steps in the aforementioned embodiments.
[0037] Step S22: adjusting the total contact score of the object to be measured based on the distance to the target object and / or the contact action with the target object.
[0038] In one implementation scenario, the initial value of the total contact score of the object to be tested may be set to 0.
[0039] In an implementation scenario, it is possible to detect whether a preset contact action (such as handshake, conversation, hug, etc.) occurs between the object to be tested and the target object. If a preset contact action occurs, the total contact score of the object to be tested is adjusted. In a specific implementation scenario, the first contact score corresponding to the preset contact action generated by the target object can be determined, and the higher the contact degree of the preset contact action, the larger the first contact score, so that the current total contact score of the object to be tested is added to the first contact score, and then the total contact score of the object to be tested is updated. The contact degree of the preset contact action can be set in advance. For example, the contact degree of the hug can be set to be higher than the contact degree of the conversation, and the contact degree of the conversation can be set to be greater than the contact degree of the handshake, which is not limited here; or, the first contact score corresponding to the preset contact action can be set in advance. For example, the first contact score corresponding to the hug can be set to 3 points, the first contact score corresponding to the conversation can be set to 2 points, and the first contact score corresponding to the handshake can be set to 1 point, which is not limited here. In another specific implementation scenario, a preset detection frequency can also be obtained, so as to detect whether a preset contact action is generated according to the preset detection frequency. Specifically, the preset detection frequency can be set according to the actual application. For example, the preset detection frequency can be set to 1 time per minute, 2 times per minute, etc., which is not limited here. Therefore, the detection of whether a preset contact action is generated is performed according to the preset detection frequency, so as to realize the accumulation of the total contact score of the object to be tested, and then the strength of the association between the object to be tested and the target object can be detected more accurately. Taking epidemic control as an example, the accumulation of the total contact score of the object to be tested can more accurately evaluate the dangerous nature of the object to be tested (for example, slight contact, moderate contact, severe contact, etc.). Other application scenarios can be deduced by analogy, and no examples are given here one by one.
[0040] In an implementation scenario, the second contact score of the object to be measured that meets the preset distance condition can be determined, and then the current total contact score of the object to be measured is added to the second contact score to complete the update of the total contact score of the object to be measured. In a specific implementation scenario, the second contact score of the object to be measured can be set to a preset value (such as 1, 2, 3, etc.), so that the total contact score of the object to be measured is uniformly added to the preset value to update the total contact score. In another specific implementation scenario, the second contact score and the distance between the object to be measured and the target object are negatively correlated, that is, the closer the distance is, the larger the second contact score corresponding to the object to be measured is, and the farther the distance is, the smaller the second contact score corresponding to the object to be measured is.
[0041] Step S23: Determine whether the total contact score of the object to be tested meets the preset score condition, if so, execute step S24, otherwise, execute step S25.
[0042] For details, please refer to the relevant steps in the aforementioned embodiments.
[0043] In one implementation scenario, the total contact score of the object to be tested can also be updated in real time on a storage terminal such as a server or a cloud platform so that data can be shared between different camera devices. For example, when the target object exceeds the shooting range of camera device A and enters the shooting range of camera device B, the target object and the object to be tested can be continuously detected within the shooting range of camera device B based on the total contact score accumulated within the shooting range of camera device A to continue to update its total contact score. When the total contact score of the object to be tested meets the preset score condition, the object to be tested is associated with the target object. When the object to be tested is not within the shooting range that can be covered by the system where the camera device is located, if its total contact score still does not meet the preset score condition, the information of the object to be tested (e.g., face information, total contact score, etc.) can be retained for a preset time (e.g., one week, half a month, one month, etc.) to continue to detect the object to be tested within the preset time.
[0044] Step S24: Associating the object to be tested with the target object.
[0045] For details, please refer to the relevant steps in the aforementioned embodiments.
[0046] Step S25: retaining the information of the object to be detected for a preset time period, so as to continue detecting the object to be detected within the preset time period.
[0047] For details, please refer to the relevant steps in the aforementioned embodiments.
[0048] Different from the aforementioned embodiments, the target object is determined within the shooting range of the camera device, and within the shooting range, the objects to be measured that meet the preset distance conditions with the target object are screened, and the total contact score of the object to be measured is adjusted based on the distance between the object to be measured and / or the contact action with the target object. If the total contact score of the object to be measured meets the preset score conditions, the object to be measured is associated with the target object, so that the objects to be measured that are within a certain range of the determined target object and meet the preset score conditions with the total contact score can be associated with the target object, and then the total contact score can be used to quantitatively evaluate the degree of association between the object to be measured and the target object, which can help improve the accuracy of association detection.
[0049] See also Figure 3 , Figure 3 This is a flowchart of another embodiment of association detection. Specifically, it may include the following steps:
[0050] Step S301: obtaining the body temperature of the target object detected by the thermal imaging camera.
[0051] For details, please refer to the relevant steps in the above embodiments.
[0052] Step S302: Determine whether the body temperature of the target object is within a preset normal temperature range, if not, execute step S303.
[0053] The preset normal temperature range can be set according to actual conditions, for example, it can be set to 36.5 degrees to 37.5 degrees, and is not specifically limited here. In an implementation scenario, if the body temperature of the target object is within the preset normal temperature range, the process of the associated detection can be directly terminated.
[0054] Step S303: taking the target object as the center and marking the objects within the pre-configured area range as objects to be detected.
[0055] The area range can be set according to actual conditions. For example, it can be set to within 5 meters, within 7 meters, within 9 meters, etc., and is not limited here.
[0056] Step S304: adding the first preset score to the total contact score of the object to be tested.
[0057] The total contact score of the object to be tested can be initially set to 0 points, and the first preset score can be 1 point, 2 points, 3 points, etc., which are not limited here. For details, please refer to the relevant steps in the above embodiment.
[0058] Step S305: Detect whether a preset contact action occurs between the object to be detected and the target object. If not, execute step S306, otherwise, execute step S307.
[0059] For details, please refer to the relevant steps in the above embodiments.
[0060] Step S306: Re-execute step S305.
[0061] If the preset contact action is not generated between the object to be detected and the target object, in order to improve the accuracy of the association detection, step S305 can be re-executed to re-detect whether the preset contact action is generated between the object to be detected and the target object. In an implementation scenario, a preset detection frequency can be set, and the step of detecting whether the preset contact action is generated between the object to be detected and the target object is performed according to the preset detection frequency. For details, please refer to the relevant steps in the aforementioned embodiment.
[0062] Step S307: determining a second preset score corresponding to the preset contact action generated between the target object and the target object, and adding the second preset score to the total contact score of the object to be detected.
[0063] The second preset score corresponding to the preset contact action can be set according to actual conditions. Specifically, the higher the contact degree of the preset contact action, the greater the second preset score. For example, the second preset score corresponding to a hug can be set to 3 points, the second preset score corresponding to a face-to-face conversation can be set to 2 points, and the second preset score corresponding to a handshake can be set to 1 point. Other situations can be deduced by analogy, and examples are not given one by one here.
[0064] Step S308: Determine whether the total contact score exceeds a preset score threshold, if so, execute step S309.
[0065] If the total contact score exceeds the preset score threshold, it means that the object to be tested is in too close contact with the target object. The preset score threshold can be set according to the actual situation. For details, please refer to the relevant steps in the above embodiment. In an implementation scenario, if the total contact score does not exceed the preset score threshold, the information of the object to be tested can be retained for a preset time period, so as to continue to detect the object to be tested within the preset time period. For details, please refer to the relevant steps in the above embodiment.
[0066] Step S309: Determine whether the associated face library of the target object has not been created, if so, execute step S310, otherwise execute step S311.
[0067] The associated face database of the target object contains face images of the objects to be tested that have close contact with the target object. For details, please refer to the relevant steps in the above embodiments.
[0068] Step S310: Create a face library associated with the target object.
[0069] The associated face database can be created locally or on the server side. For details, please refer to the relevant steps in the aforementioned embodiment, which will not be repeated here.
[0070] Step S311: entering the face image of the object to be tested into the associated face database of the target object.
[0071] Specifically, the face image of the object to be tested can be added to the associated face library of the target object. For details, please refer to the relevant steps in the above embodiment, which will not be repeated here.
[0072] Step S312: End.
[0073] See also Figure 4 , Figure 4 4 is a schematic diagram of a framework of an embodiment of an association detection device 40 of the present application. The association detection device 40 comprises: an object screening module 41 and an object association module 42, wherein the object screening module 41 is used to screen objects to be detected that meet a preset distance condition with the target object within the shooting range; and the object association module 42 is used to associate the object to be detected with the target object when the object to be detected and the target object meet a preset contact condition.
[0074] The above scheme screens the objects to be measured that meet the preset distance conditions with the target object within the shooting range. If the objects to be measured and the target object meet the preset contact conditions, the objects to be measured are associated with the target object. In this way, the objects to be measured that are within a certain range of the determined target object and meet the preset contact conditions with the target object can be associated with the target object, thereby realizing associated detection.
[0075] In some embodiments, the preset contact conditions include: the total contact score of the object to be detected meets the preset score conditions, and the associated detection device 40 also includes a score adjustment module for adjusting the total contact score of the object to be detected based on the distance between the object and the target object and / or the contact action between the object and the target object.
[0076] Different from the aforementioned embodiments, the target object is determined within the shooting range of the camera device, and within the shooting range, the objects to be measured that meet the preset distance conditions with the target object are screened, and the total contact score of the object to be measured is adjusted based on the distance between the object to be measured and / or the contact action with the target object. If the total contact score of the object to be measured meets the preset score conditions, the object to be measured is associated with the target object, so that the objects to be measured that are within a certain range of the determined target object and meet the preset score conditions with the total contact score can be associated with the target object, and then the total contact score can be used to quantitatively evaluate the degree of association between the object to be measured and the target object, which can help improve the accuracy of association detection.
[0077] In some embodiments, the score adjustment module includes a detection submodule for detecting whether a preset contact action occurs between the object to be detected and the target object, and the score adjustment module includes an adjustment submodule for adjusting the total contact score of the object to be detected when the preset contact action occurs.
[0078] In some embodiments, the adjustment submodule includes a score determination unit, which is used to determine a first contact score corresponding to a preset contact action generated between the target object, wherein the higher the contact degree of the preset contact action, the larger the first contact score; and the adjustment submodule score addition unit, which is used to add the current total contact score of the object to be tested to the first contact score.
[0079] In some embodiments, the score adjustment module includes a frequency submodule for acquiring a preset detection frequency to perform detection of whether a preset contact action is generated according to the preset detection frequency.
[0080] Different from the above-mentioned embodiment, by obtaining a preset detection frequency, the detection of whether a preset contact action is generated is performed according to the preset detection frequency, so that the total contact score of the object to be detected can be accumulated, thereby improving the accuracy of the associated detection.
[0081] In some embodiments, the score adjustment module includes a determination submodule, which is used to determine the second contact score of the object to be measured that meets the preset distance condition, and an addition submodule of the score adjustment module, which is used to add the second contact score to the current total contact score of the object to be measured; wherein the second contact score is a preset value, or the second contact score and the distance between the object to be measured and the target object are negatively correlated.
[0082] In some embodiments, the preset score conditions include: the total contact score is greater than a preset score threshold, and / or the preset contact actions include at least one of the following: handshake, conversation, hug.
[0083] In some embodiments, the association detection device 40 also includes an information storage module for retaining the information of the object to be detected for a preset time period when the object to be detected and the target object do not meet the preset contact condition, so as to continue to detect the object to be detected within the preset time period.
[0084] In some embodiments, the association detection device 40 further includes a target determination module, which is used to determine a person whose body temperature within the shooting range meets a preset temperature condition as a target object.
[0085] See also Figure 5 , Figure 5 1 is a schematic diagram of a framework of an embodiment of an electronic device 50 of the present application. The electronic device 50 comprises a memory 51 and a processor 52 coupled to each other, the memory 51 stores program instructions, and the processor 52 is used to execute the program instructions to implement the steps in any of the above-mentioned association detection method embodiments.
[0086] Specifically, the processor 52 is used to control itself and the memory 51 to implement the steps in any of the above-mentioned association detection method embodiments. The processor 52 can also be called a CPU (Central Processing Unit). The processor 52 may be an integrated circuit chip with signal processing capabilities. The processor 52 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 52 can be implemented by multiple integrated circuit chips.
[0087] In this embodiment, the processor 52 is used to screen the objects to be measured that meet the preset distance condition with the target object within the shooting range; the processor 52 is used to associate the object to be measured with the target object if the object to be measured and the target object meet the preset contact condition.
[0088] The above scheme screens the objects to be measured that meet the preset distance conditions with the target object within the shooting range. If the objects to be measured and the target object meet the preset contact conditions, the objects to be measured are associated with the target object. In this way, the objects to be measured that are within a certain range of the determined target object and meet the preset contact conditions with the target object can be associated with the target object, thereby realizing associated detection.
[0089] In some embodiments, the preset contact condition includes: the total contact score of the object to be measured meets the preset score condition, and the processor 52 is used to adjust the total contact score of the object to be measured based on the distance between the object and the target object and / or the contact action between the object and the target object.
[0090] Different from the aforementioned embodiments, the target object is determined within the shooting range of the camera device, and within the shooting range, the objects to be measured that meet the preset distance conditions with the target object are screened, and the total contact score of the object to be measured is adjusted based on the distance between the object to be measured and / or the contact action with the target object. If the total contact score of the object to be measured meets the preset score conditions, the object to be measured is associated with the target object, so that the objects to be measured that are within a certain range of the determined target object and meet the preset score conditions with the total contact score can be associated with the target object, and then the total contact score can be used to quantitatively evaluate the degree of association between the object to be measured and the target object, which can help improve the accuracy of association detection.
[0091] In some embodiments, the processor 52 is used to detect whether a preset contact action occurs between the object to be detected and the target object; the processor 52 is used to adjust the total contact score of the object to be detected when the preset contact action occurs.
[0092] In some embodiments, the processor 52 is used to determine a first contact score corresponding to a preset contact action generated between the target object, wherein the higher the contact degree of the preset contact action, the greater the first contact score; the processor 52 is used to add the current total contact score of the object to be tested to the first contact score.
[0093] In some embodiments, the processor 52 is used to obtain a preset detection frequency to perform detection of whether a preset contact action is generated according to the preset detection frequency.
[0094] Different from the above-mentioned embodiment, by obtaining a preset detection frequency, the detection of whether a preset contact action is generated is performed according to the preset detection frequency, so that the total contact score of the object to be detected can be accumulated, thereby improving the accuracy of the associated detection.
[0095] In some embodiments, the processor 52 is used to determine a second contact score of the object to be detected that meets a preset distance condition; the processor 52 is used to add the second contact score to the current total contact score of the object to be detected.
[0096] In some embodiments, the preset score conditions include: the total contact score is greater than a preset score threshold; and / or the preset contact actions include at least one of the following: shaking hands, talking, hugging.
[0097] In some embodiments, the processor 52 is used to retain the information of the object to be detected for a preset time period if the object to be detected and the target object do not meet the preset contact condition, so as to continue to detect the object to be detected within the preset time period.
[0098] In some embodiments, the processor 52 is used to select people whose body temperatures within the shooting range meet preset temperature conditions as target objects.
[0099] See also Figure 6 , Figure 6 The schematic diagram of the framework of an embodiment of the storage device 60 of the present application. The storage device 60 stores program instructions 601 that can be executed by a processor, and the program instructions 601 are used to implement the steps in any of the above-mentioned association detection method embodiments.
[0100] The above scheme screens the objects to be measured that meet the preset distance conditions with the target object within the shooting range. If the objects to be measured and the target object meet the preset contact conditions, the objects to be measured are associated with the target object. In this way, the objects to be measured that are within a certain range of the determined target object and meet the preset contact conditions with the target object can be associated with the target object, thereby realizing associated detection.
[0101] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0102] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0103] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0104] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
Claims
1. A method for detecting association, It is characterized in that include: Acquire thermal imaging images of people within the shooting range, obtain body temperatures of people within the shooting range, and take people within the shooting range whose body temperatures meet preset temperature conditions as target objects; Within the shooting range, screening the objects to be measured that meet a preset distance condition with the target object; Determine whether the object to be tested meets a preset contact condition with the target object; wherein the preset contact condition at least includes: generating a preset contact action with the target object, or repeatedly generating a preset contact action with the target object for more than a preset number of times; If the object to be tested and the target object satisfy the preset contact condition, indicating that there is a strong correlation between the object to be tested and the target object, the object to be tested is associated with the target object; if the object to be tested and the target object do not satisfy the preset contact condition, the information of the object to be tested is retained for a preset time period to continue detecting the object to be tested within the preset time period.
2. The association detection method according to claim 1, It is characterized in that The preset contact condition further includes: the total contact score of the object to be measured meets the preset score condition; after screening the object to be measured that meets the preset distance condition with the target object within the shooting range, and before determining whether the object to be measured meets the preset contact condition with the target object, the method further includes: Based on the distance between the object and the target object and / or the contact action between the object and the target object, the total contact score of the object to be detected is adjusted.
3. The association detection method according to claim 2, It is characterized in that The adjusting the total contact score of the object to be detected based on the contact action with the target object includes: Detecting whether a preset contact action occurs between the object to be detected and the target object; If so, the total contact score of the object to be tested is adjusted.
4. The association detection method according to claim 3, It is characterized in that The adjusting the total contact score of the object to be tested comprises: Determining a first contact score corresponding to a preset contact action generated between the target object and the target object, wherein the higher the contact degree of the preset contact action, the greater the first contact score; The current total contact score of the object to be tested is added to the first contact score.
5. The association detection method according to claim 3, It is characterized in that Before detecting whether a preset contact action occurs between the object to be detected and the target object, the method further includes: A preset detection frequency is obtained to perform the detection of whether a preset contact action is generated according to the preset detection frequency.
6. The association detection method according to claim 2, It is characterized in that The adjusting the total contact score of the object to be detected based on the distance to the target object comprises: Determining a second contact score of the object to be detected that meets the preset distance condition; Adding the current total contact score of the object to be tested to the second contact score; The second contact score is a preset value, or the second contact score is negatively correlated with the distance between the object to be detected and the target object.
7. The association detection method according to claim 2, It is characterized in that The preset score condition includes: the total contact score is greater than a preset score threshold; And / or, the preset contact action includes at least one of the following: shaking hands, talking, hugging.
8. An electronic device, It is characterized in that It comprises a memory and a processor coupled to each other, the memory stores program instructions, and the processor is used to execute the program instructions to implement the association detection method according to any one of claims 1 to 7.
9. A storage device, It is characterized in that Program instructions that can be executed by a processor are stored, and the program instructions are used to implement the association detection method according to any one of claims 1 to 7.
