A method and terminal device for detecting abnormal personnel
Through the interaction between the first user terminal and the server, combined with fuzzy mathematical theory and data under different light intensities, the second user terminal can quickly determine whether a drug suspect is a suspect, solving the problem of rapid screening in non-medical institutions in the existing technology. For the problem of checking drug abuse suspects, real-time and easy-to-use detection results are achieved in crowded places.
Patent Information
- Application Number
- CN201910703661.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-07-31
AI Technical Summary
Existing technology is difficult to quickly screen drug abuse suspects in settings other than medical institutions, and the operation is complex, making it difficult to detect in real time in crowded settings.
Through the interaction between the first user terminal and the server, a reference table is generated and updated. The second user terminal collects image information and determines whether he is a drug suspect based on the reference table. It uses fuzzy mathematical theory to calculate the ratio of the pupil to the iris, combined with different light intensities. Make judgments based on the data below.
It realizes fast, real-time and easy-to-use detection of drug-suspecting suspects in crowded places, improves the accuracy and ease of use of detection, and is suitable for environments with poor communication quality.
Smart Images

Figure CN112307839B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a method and terminal device for detecting abnormal personnel. Background Art
[0002] Since drugs can quickly excite the parasympathetic nerves that control pupil changes, people's pupils usually undergo obvious changes after taking drugs. Based on this rule and the measurement results of relevant pupil measurement equipment (such as pupil ruler, pupillometer or pupilometer), drug suspects can be screened out from the crowd.
[0003] However, the above-mentioned devices are either stored in medical institutions or are complicated to operate, making it difficult to quickly screen out drug suspects in crowded places other than medical institutions.
[0004] Therefore, it is necessary to propose a new technical solution to solve the above-mentioned technical problems. Summary of the invention
[0005] In view of this, an embodiment of the present application provides a method and terminal device for detecting abnormal persons, which can enable a second user terminal to quickly determine whether the person to be detected is an abnormal person who takes drugs based on an acquired reference table and collected image information.
[0006] A first aspect of an embodiment of the present application provides a method for detecting abnormal persons, which is applied to a system consisting of a first user terminal, a server, and a second user terminal. The method includes:
[0007] The first user terminal sends a reference table for assisting in determining the pupil state of the subject to the server;
[0008] The second user terminal collects image information of the detected person;
[0009] The second user terminal obtains the reference table through the server;
[0010] The second user terminal determines whether the detected person is an abnormal person based on the collected image information and the obtained reference table.
[0011] In one embodiment, the method further comprises:
[0012] The second user terminal sends the current determination result to the server;
[0013] The server updates the reference table according to the received judgment result.
[0014] In one embodiment, the first user terminal generates the reference table according to fuzzy mathematics theory.
[0015] A second aspect of an embodiment of the present application provides a method for detecting an abnormal person, which is applied to a second user terminal, and the method includes:
[0016] The second user terminal collects image information of the detected person;
[0017] The second user terminal obtains a reference table for assisting in determining the pupil state of the subject;
[0018] The second user terminal determines whether the detected person is an abnormal person based on the collected image information and the obtained reference table.
[0019] In one embodiment, the second user terminal collecting image information of the detected person includes:
[0020] The second user terminal collects first image information of the detected person under a first light intensity;
[0021] The second user terminal collects second image information of the detected person under a second light intensity;
[0022] The second user terminal collects third image information of the detected person under a third light intensity.
[0023] In one embodiment, the second user terminal determines whether the detected person is an abnormal person according to the collected image information and the obtained reference table, including:
[0024] The second user terminal extracts first eye information, second eye information and third eye information from the collected first image information, second image information and third image information respectively;
[0025] The second user terminal calculates the ratio of the pupil to the iris of the subject under the first illumination intensity, the second illumination intensity, and the third illumination intensity, respectively, according to the extracted first eye information, the second eye information, and the third eye information;
[0026] The second user terminal determines whether the detected person is an abnormal person based on the calculated ratio and the obtained reference table.
[0027] In one embodiment, the second user terminal determines whether the detected person is an abnormal person according to the calculated ratio and the obtained reference table, including:
[0028] The second user terminal searches for the reason causing the abnormality of the pupil of the detected person according to the calculated ratio and the obtained reference table;
[0029] The second user terminal determines whether the detected person is an abnormal person according to the found reason.
[0030] In one embodiment, the second user terminal comprises an infrared light source.
[0031] In one embodiment, the method further comprises:
[0032] The second user terminal sends the current determination result to the server to instruct the server to update the reference table according to the received determination result.
[0033] A third aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method mentioned in the second aspect when executing the computer program.
[0034] The beneficial effect of the embodiment of the present application compared with the prior art is: in this embodiment, the first user terminal sends a reference table for assisting in determining the pupil state of the person being detected to the server, the second user terminal collects image information of the person being detected, the second user terminal obtains the reference table through the server, and the second user terminal determines whether the person being detected is an abnormal person based on the collected image information and the obtained reference table. Compared with the prior art, the present application, through the interaction between the first user terminal, the server and the second user terminal, can enable the second user terminal to quickly determine whether the person to be detected is an abnormal person who takes drugs based on the acquired reference table and the collected image information in crowded places other than medical institutions, thereby ensuring the real-time and simplicity of detection, and having strong ease of use and practicality; the present application also provides a specific implementation method for applying the abnormal person detection method to the second user terminal, and can quickly identify drug suspects by relying on the data processing capability of the second user terminal itself in crowded places other than medical institutions with poor communication quality; the present application also provides a specific implementation method for the second user terminal to collect image information of the person to be detected and determine whether the person to be detected is an abnormal person, and can accurately determine whether the person to be detected is a drug suspect based on the ratio of the pupil to the iris of the person to be detected under different light intensities. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0036] Figure 1-a A flowchart of a method for detecting abnormal persons provided in Example 1 of the present application;
[0037] Figure 1-b A schematic diagram of a system provided in Example 1 of the present application;
[0038] Figure 1-c A schematic diagram of a drug detection application installed on a second user terminal provided in Embodiment 1 of the present application;
[0039] Figure 2 A flowchart of a method for detecting abnormal persons provided in Embodiment 2 of the present application;
[0040] Figure 3 A flowchart of a method for detecting abnormal persons provided in Embodiment 3 of the present application;
[0041] Figure 4 A schematic diagram of the structure of an abnormal person detection device provided in Example 4 of the present application;
[0042] Figure 5 This is a schematic diagram of the structure of the terminal device provided in Example 5 of the present application. DETAILED DESCRIPTION
[0043] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0044] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0045] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0046] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0047] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0048] It should be understood that the size of the serial numbers of the steps in this embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0049] It should be noted that the descriptions such as “first” and “second” in this embodiment are used to distinguish different areas, modules, etc., and do not represent a sequence, nor do they limit “first” and “second” to different types.
[0050] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0051] Embodiment 1
[0052] Figure 1-a is a flow chart of a method for detecting abnormal persons provided in Example 1 of the present application. The method can be applied to Figure 1-b In the system consisting of the first user terminal, the server and the second user terminal shown, the method may include the following steps:
[0053] S101: The first user terminal sends a reference table for assisting in determining the pupil state of the subject to the server.
[0054] Among them, the method for detecting abnormal persons can be applied to detecting suspected drug addicts in airports, railways, forests, mines or border ports; the abnormality refers to an abnormal pupil of a person, such as pupil dilation or pupil constriction; the abnormal person refers to a person with abnormal pupils, such as a person whose pupils are constricted due to drug use, and the drugs include but are not limited to opium, heroin, methamphetamine (ice), morphine, marijuana, cocaine and other narcotic drugs and psychotropic drugs that can cause addiction and are regulated by the state; the detected person refers to a person detected by the second user terminal; the reference table contains information on reference persons whose pupils are in an abnormal state collected by the first user terminal.
[0055] In one embodiment, the reference person may be tested by conventional testing means (such as blood test, urine test and / or hair test).
[0056] Since the size of a person's pupil is actually a relatively vague concept, in one embodiment, the first user terminal can generate a reference table as shown in Table 1 below based on fuzzy mathematics theory, wherein the fuzzy mathematics is also called Fuzzy mathematics, which is a mathematical theory and method for studying and processing fuzzy phenomena; the reference table includes two parts: the ratio of pupil to iris under different light intensities and the corresponding reasons, the ratio of pupil to iris under different light intensities includes the ratio of pupil to iris when the light intensity is equal to a threshold, the ratio of pupil to iris when the light intensity is higher than the threshold, and the ratio of pupil to iris when the light intensity is less than the threshold, and the corresponding reasons include drug use and other reasons, such as congenital blindness, excessive drinking, central nervous system abnormalities, morphine, cocaine or heroin used, etc.
[0057] Table 1
[0058] Heterochromia discrimination table
[0059]
[0060] It should be understood that if the number under the cause column on the right side of the above Table 1 is larger, it indicates that the cause is most likely to cause the pupil abnormality of the subject. For example, when the maximum number under the morphine column among the causes corresponding to the three intervals in the fourth row is 16, it indicates that the corresponding cause of the abnormality is most likely to be morphine inhalation.
[0061] In one embodiment, the first user terminal may be any one or more of a desktop computer, a laptop computer, or a tablet computer, and the number thereof should be no less than one.
[0062] In one embodiment, the server may store the reference table locally after receiving it.
[0063] In one embodiment, the server is further used to authenticate the identities of the first user terminal and the second user terminal, and the persons using the first user terminal and the persons using the second user terminal.
[0064] S102: The second user terminal collects image information of the detected person.
[0065] The image information should at least include the facial image information of the detected person.
[0066] In one embodiment, the second user terminal may be a number of smart phones with a camera function.
[0067] In one embodiment, a smart phone with a higher resolution may be selected to collect the image information.
[0068] In one embodiment, the second user terminal may authenticate the identity of the detected person based on the collected image information, so that when the identity of the detected person is abnormal, the detected person is directly determined as a person with an abnormal identity.
[0069] In one embodiment, the second user terminal should be pre-installed with the following Figure 1-c Specialized drug detection applications shown.
[0070] In one embodiment, the second user terminal collects image information of the detected person under different light intensities.
[0071] S103: The second user terminal obtains the reference table through the server.
[0072] The obtaining includes the second user terminal actively downloading the reference table from the server and the second user terminal passively receiving the reference table regularly pushed by the server.
[0073] In one embodiment, the second user terminal may locally store the acquired reference table.
[0074] S104: The second user terminal determines whether the detected person is an abnormal person according to the collected image information and the obtained reference table.
[0075] In one embodiment, the second user terminal sends the current determination result to the server to instruct the server to update the reference table after receiving the determination result.
[0076] In one embodiment, the second user terminal may send the result of the judgment to the server only when it is "yes".
[0077] In one embodiment, in order to improve the accuracy of judgment, the server may, after receiving the judgment result, first send the judgment result to the first user terminal to instruct the first user terminal to use conventional technical means to re-detect the abnormal person after receiving the judgment result, and return the detection result to the server to instruct the server to update the reference table when the detection results of the first user terminal and the second user terminal are consistent.
[0078] In one embodiment, the second user terminal updates the reference table by updating the number of people corresponding to the cause of the abnormality when the pupil-iris ratio of the abnormal person is within a certain interval range in the reference table.
[0079] Table 2
[0080] Table of heterochromia of testing institutions
[0081]
[0082] In one embodiment, when the detection results of the first user terminal and the second user terminal for the detected person D are both that the person has taken morphine, the original reference table 1 can be updated to generate the above table 2. At this time, the number of people whose pupil-to-iris ratio falls within the range of 0-0.49 due to taking morphine will increase by 1, from the original 16 people to the current 17 people.
[0083] It should be understood that the reference table finally generated after numerous updates will be a reference table with high credibility as shown in Table 3 below, which is generated based on massive data.
[0084] Table 3
[0085] Heterochromia discrimination table
[0086]
[0087] As can be seen from the above, the embodiment of the present application, through the interaction between the first user terminal, the server and the second user terminal, can enable the second user terminal to quickly determine whether the person to be detected is an abnormal person who takes drugs based on the acquired reference table and the collected image information in other crowded places other than medical institutions, thereby ensuring the real-time and simplicity of detection, and having strong ease of use and practicality.
[0088] Embodiment 2
[0089] Figure 2 A flow chart of a method for detecting abnormal persons provided in Embodiment 2 of the present application is applied to a second user terminal. The method may include the following steps:
[0090] S201: The second user terminal collects image information of the detected person.
[0091] The image information should at least include the facial image information of the detected person.
[0092] In one embodiment, the second user terminal may be a number of smart phones with a camera function.
[0093] In one embodiment, a smart phone with a higher resolution may be selected to collect the image information.
[0094] In one embodiment, the second user terminal may authenticate the identity of the detected person based on the collected image information, so that when the identity of the detected person is abnormal, the detected person is directly determined as a person with an abnormal identity.
[0095] In one embodiment, the second user terminal should be pre-installed with the following Figure 1-c Specialized drug detection applications shown.
[0096] In one embodiment, the second user terminal further includes a compensation light source, such as an infrared light source, for collecting the image information in an environment with low light intensity.
[0097] In one embodiment, the second user terminal can process the collected image information, such as extracting eye information, and performing noise reduction, grayscale processing, exposure adjustment, image enhancement, image sharpening and / or normalization processing on the extracted eye information.
[0098] In one embodiment, the second user terminal collects image information of the detected person under different light intensities.
[0099] S202: The second user terminal obtains a reference table for assisting in determining the pupil state of the subject.
[0100] The obtaining includes the second user terminal actively downloading the reference table from the server and the second user terminal passively receiving the reference table regularly pushed by the server.
[0101] In one embodiment, the second user terminal may locally store the acquired reference table.
[0102] S203: The second user terminal determines whether the detected person is an abnormal person according to the collected image information and the obtained reference table.
[0103] In one embodiment, the second user terminal sends the current judgment result to the server to instruct the server to update the reference table according to the received judgment result.
[0104] In one embodiment, the second user terminal may execute a preset alarm operation when the detected person is an abnormal person, such as issuing an alarm through the audio system on the mobile phone.
[0105] As can be seen from the above, Example 2 of the present application provides a specific implementation method for applying the abnormal person detection method on the second user terminal. It can be used in other crowded places other than medical institutions to quickly identify drug suspects by relying on the data processing capabilities of the second user terminal itself, and has strong ease of use and practicality.
[0106] Embodiment 3
[0107] Figure 3The flowchart of the method for abnormal person detection provided in the third embodiment of the present invention is a further refinement and explanation of steps S201 and S203 in the second embodiment. The method may include the following steps:
[0108] S301: The second user terminal collects first image information of the detected person under a first light intensity, the second user terminal collects second image information of the detected person under a second light intensity, and the second user terminal collects third image information of the detected person under a third light intensity.
[0109] The first illumination intensity, the second illumination intensity and the third illumination intensity are three different illumination intensities respectively.
[0110] In order to reduce the interference of other factors on image acquisition, such as shooting distance, in one embodiment, the first image information, the second image information and the third image information can be respectively acquired when the distance between the second user terminal and the detected person remains unchanged.
[0111] In one embodiment, the first light intensity is less than the second light intensity and the second light intensity is less than the third light intensity, such as the first light intensity is the light intensity in weak light or no light, the second light intensity is the light intensity in light, and the third light intensity is the light intensity in strong light.
[0112] In one embodiment, when the first light intensity is less than the second light intensity and the second light intensity is less than the third light intensity, the first image information can be collected by turning on the infrared light source on the second user terminal and turning off the LED light source on the second user terminal, the second image information can be collected by turning on the LED light source on the second user terminal and turning off the infrared light source on the second user terminal, and the third image information can be collected by simultaneously turning on the infrared light source and the LED light source on the second user terminal.
[0113] In one embodiment, in order to improve the accuracy of determining whether the person being detected is an abnormal person, image information under a variety of light intensities may be collected, for example, the image information may be collected under no light, weak light, light, normal, slightly strong, and strongest light respectively.
[0114] In one embodiment, the first image information, the second image information and the third image information collected may be processed respectively with reference to the processing method described in the above step S201.
[0115] S302: The second user terminal obtains a reference table for assisting in determining the pupil state of the subject.
[0116] The above step S302 is the same as step S202 in the second embodiment. The specific implementation process can refer to the description of step S202 and will not be repeated here.
[0117] S303: The second user terminal extracts first eye information, second eye information and third eye information from the collected first image information, second image information and third image information respectively, and calculates the ratio of the pupil to the iris of the detected person under the first light intensity, the second light intensity and the third light intensity according to the extracted first eye information, the second eye information and the third eye information respectively, and the second user terminal determines whether the detected person is an abnormal person according to the calculated ratio and the obtained reference table.
[0118] In one embodiment, the eye information includes a pupil and an iris.
[0119] In one embodiment, the pupil-to-iris ratio may be a ratio of the diameters of the pupil and the iris, or a ratio of the areas of the pupil and the iris.
[0120] In one embodiment, pixels may be selected as units to unify the length units or area units of the pupil and the iris.
[0121] In one embodiment, the second user terminal may determine whether the detected person is an abnormal person according to the calculated ratio and the obtained reference table, including:
[0122] The second user terminal searches for the cause of the abnormal pupil of the detected person based on the calculated ratio and the obtained reference table, and determines whether the detected person is an abnormal person based on the searched cause.
[0123] It should be understood that, since the causes of abnormal pupils in normal people include other reasons besides drugs, such as congenital blindness or alcohol, it is necessary to determine whether the person being tested is a drug suspect as described in this application based on the specific cause of the abnormality.
[0124] Taking a specific application scenario as an example for explanation and description, assuming that the current identity of the detected person is D, the first image information, the second image information and the third image information related to the detected person D are first collected respectively according to the method of the above step S301, and after obtaining the reference table shown in the above Table 1 according to the method of the above step S302, when the pupil-to-iris ratio of the detected person D under the first light intensity is 0.3, and the pupil-to-iris ratio under the second light intensity is 0.2, and the pupil-to-iris ratio under the third light intensity is 0.18, first by querying the interval range corresponding to each column in Table 1, it can be known that the pupil-to-iris ratio of the detected person D under the first light intensity is 0.3 and falls within the interval range of 0-0.49 shown in the fourth row and fourth column of the table, and the pupil-to-iris ratio of the detected person D under the second light intensity is 0.2 and falls within the interval range of 0-0. Within the range of 0.11-0.2 shown in the third column of the fifth row of the table, the pupil-to-iris ratio of 0.18 for subject D under the third light intensity falls within the range of 0.16-0.25 shown in the second column of the fifth row of the table. After comprehensively considering the causes of abnormalities in each row, it can be seen that when the pupil-to-iris ratio under the first light intensity falls within the range of 0-0.49, the corresponding cause of abnormalities is most likely morphine; when the pupil-to-iris ratio under the second light intensity falls within the range of 0.11-0.2, the corresponding cause of abnormalities is most likely morphine; when the pupil-to-iris ratio under the third light intensity falls within the range of 0.16-0.25, the corresponding cause of abnormalities is most likely morphine. Therefore, comprehensively considering the causes of abnormalities under the above three light intensities, it can be seen that the most likely cause of pupil abnormality of subject D is morphine.
[0125] As can be seen from the above, compared with Example 2, Example 3 of the present application provides a specific implementation method for the second user terminal to collect image information of the person being detected and determine whether the person being detected is an abnormal person. It can accurately determine whether the person being detected is a drug suspect based on the ratio of the pupil to the iris of the person being detected under different light intensities, and has strong ease of use and practicality.
[0126] Embodiment 4
[0127] Figure 4 This is a schematic diagram of the structure of the device for abnormal person detection provided in Example 4 of the present application. For the sake of ease of explanation, only the parts related to the example of the present application are shown.
[0128] The abnormal person detection device may be a software unit, a hardware unit, or a combination of software and hardware, which is built into the terminal device, or may be integrated into the terminal device as an independent pendant.
[0129] The device for detecting abnormal persons comprises:
[0130] The acquisition module 41 is used for the second user terminal to acquire image information of the detected person;
[0131] An acquisition module 42, configured for the second user terminal to acquire a reference table for assisting in determining the pupil state of the detected person;
[0132] The judgment module 43 is used for the second user terminal to judge whether the detected person is an abnormal person based on the collected image information and the obtained reference table.
[0133] In one embodiment, the acquisition module 41 is specifically used for:
[0134] The second user terminal collects first image information of the detected person under a first light intensity;
[0135] The second user terminal collects second image information of the detected person under a second light intensity;
[0136] The second user terminal collects third image information of the detected person under a third light intensity.
[0137] In one embodiment, the determination module 43 is specifically used for:
[0138] The second user terminal extracts first eye information, second eye information and third eye information from the collected first image information, second image information and third image information respectively;
[0139] The second user terminal calculates the ratio of the pupil to the iris of the subject under the first illumination intensity, the second illumination intensity, and the third illumination intensity, respectively, according to the extracted first eye information, the second eye information, and the third eye information;
[0140] The second user terminal determines whether the detected person is an abnormal person based on the calculated ratio and the obtained reference table.
[0141] In one embodiment, the determination module 43 is further configured to:
[0142] The second user terminal searches for the reason causing the abnormality of the pupil of the detected person according to the calculated ratio and the obtained reference table;
[0143] The second user terminal determines whether the detected person is an abnormal person according to the found reason.
[0144] In one embodiment, the second user terminal comprises an infrared light source.
[0145] In one embodiment, the apparatus further comprises:
[0146] The receiving and sending module is used for the second user terminal to send the current judgment result to the server to instruct the server to update the reference table according to the received judgment result.
[0147] Embodiment 5
[0148] Figure 5 Schematic diagram of the structure of the terminal device provided in Embodiment 5 of the present application. Figure 5 As shown, the terminal device 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. When the processor 50 executes the computer program 52, the steps in the first embodiment of the above method are implemented, such as steps S101 to S104 shown in FIG. 1. Alternatively, the steps in the second embodiment of the above method are implemented, such as Figure 2 Alternatively, the steps in the third embodiment of the method are implemented, for example, Figure 3 When the processor 50 executes the computer program 52, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 4 The functions of modules 41 to 43 are shown.
[0149] Exemplarily, the computer program 52 may be divided into one or more modules / units, which are stored in the memory 51 and executed by the processor 50 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a collection module, an acquisition module, and a judgment module, and the specific functions of each module are as follows:
[0150] A collection module, used for the second user terminal to collect image information of the detected person;
[0151] An acquisition module, used for the second user terminal to acquire a reference table for assisting in determining the pupil state of the detected person;
[0152] A judgment module is used for the second user terminal to judge whether the detected person is an abnormal person based on the collected image information and the obtained reference table.
[0153] The terminal device 5 may be a smart phone under any operating system. The terminal device may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5It is only an example of the terminal device 5 and does not constitute a limitation of the terminal device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include a communication module, a display screen, a camera, etc.
[0154] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0155] The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used to store the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0156] The communication module is used to interact with the server and may be a Bluetooth communication module, a Wi-Fi communication module and / or a cellular communication module (such as a 2G / 3G / 4G / 5G communication module).
[0157] The display screen is used to provide a display function, such as displaying a drug detection application icon installed on the second user terminal.
[0158] The camera is used to collect image information of the detected person in a regular or real-time manner, and may be one or more cameras built into the second user terminal, or may be any other one or more cameras independent of the second user terminal.
[0159] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0160] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0161] Those of ordinary skill in the art will appreciate that the modules, units and / or method steps of the various embodiments described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0162] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0163] 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 solution of this embodiment.
[0164] 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.
[0165] 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 present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0166] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for detecting abnormal persons, It is characterized in that Applied to a system consisting of a first user terminal, a server, and a second user terminal, the method comprises: The first user terminal sends a reference table for assisting in determining the pupil state of the subject to the server; The second user terminal collects image information of the detected person; The second user terminal obtains the reference table through the server; The second user terminal determines whether the detected person is an abnormal person according to the collected image information and the obtained reference table, wherein the abnormality refers to an abnormal pupil of the person; The method further comprises: The second user terminal sends the current determination result to the server; The server updates the reference table according to the received judgment result; the updating of the reference table according to the received judgment result includes: After receiving the judgment result, the server sends the judgment result to the first user terminal to instruct the first user terminal to re-detect the abnormal person after receiving the judgment result, and returns the detection result to the server to instruct the server to update the reference table when the detection results of the first user terminal and the second user terminal are consistent.
2. The method according to claim 1, It is characterized in that The first user terminal generates the reference table according to fuzzy mathematics theory.
3. A method for detecting abnormal persons, It is characterized in that Applied to a second user terminal, the method includes: The second user terminal collects image information of the detected person; The second user terminal obtains a reference table for assisting in determining the pupil state of the subject; The second user terminal determines whether the detected person is an abnormal person according to the collected image information and the obtained reference table, wherein the abnormality refers to an abnormal pupil of the person; The second user terminal sends the judgment result to the server to instruct the server to update the reference table according to the received judgment result; the updating of the reference table according to the received judgment result includes: After receiving the judgment result, the server sends the judgment result to the first user terminal to instruct the first user terminal to re-detect the abnormal person after receiving the judgment result, and returns the detection result to the server to instruct the server to update the reference table when the detection results of the first user terminal and the second user terminal are consistent; the second user terminal sends the judgment result of this time to the server to instruct the server to update the reference table according to the received judgment result.
4. The method according to claim 3, It is characterized in that The second user terminal collecting the image information of the detected person includes: The second user terminal collects first image information of the detected person under a first light intensity; The second user terminal collects second image information of the detected person under a second light intensity; The second user terminal collects third image information of the detected person under a third light intensity.
5. The method according to claim 4, It is characterized in that The second user terminal determines whether the detected person is an abnormal person according to the collected image information and the obtained reference table, including: The second user terminal extracts first eye information, second eye information and third eye information from the collected first image information, second image information and third image information respectively; The second user terminal calculates the ratio of the pupil to the iris of the subject under the first illumination intensity, the second illumination intensity, and the third illumination intensity, respectively, according to the extracted first eye information, the second eye information, and the third eye information; The second user terminal determines whether the detected person is an abnormal person based on the calculated ratio and the obtained reference table.
6. The method according to claim 5, It is characterized in that The second user terminal determines whether the detected person is an abnormal person according to the calculated ratio and the obtained reference table, including: The second user terminal searches for the reason causing the abnormality of the pupil of the detected person according to the calculated ratio and the obtained reference table; The second user terminal determines whether the detected person is an abnormal person according to the found reason.
7. The method according to claim 3, It is characterized in that The second user terminal includes an infrared light source.
8. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 3 to 7 are implemented.
Citation Information
Patent Citations
Iris activity detecting method
CN103955717A
Method, device, terminal equipment and medium for the detection of drug users
CN110013217A
Remote iris autoanalysis method
KR1020040011846A
Method and device for recording pupil response
RU2123797C1
