Electronic device for determining use of drugs and operating method thereof

The electronic device uses AI-driven neural networks to analyze eye-related images for drug detection, overcoming the limitations of current methods by providing efficient and immediate drug identification, thus addressing the challenge of new drug emergence.

WO2024177185A1PCT designated stage expired Publication Date: 2024-08-29VISUWORKS INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2023/002843
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2023-03-02
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Current drug detection methods, such as urine test kits, are inadequate for identifying new drugs due to their limited detection capabilities and the rapid emergence of new substances, necessitating a technology that can continuously detect a wide range of drugs.

Method used

An electronic device utilizing an artificial intelligence neural network model that analyzes fundus photographs, retinal tomography images, and eye photos to determine drug administration, leveraging machine learning models trained on extensive datasets to provide accurate and immediate drug detection.

Benefits of technology

This approach saves human and social costs, reduces testing time, and enables immediate response to new drugs by providing a comprehensive drug detection strategy through fundus photographs, retinal tomography, and eye images, effectively addressing the limitations of existing detection methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023002843_29082024_PF_FP_ABST
    Figure KR2023002843_29082024_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device for determining the use of drugs, according to an embodiment of the present invention, comprises: a memory; and a processor connected to the memory and configured to execute commands included in the memory, wherein the processor may: collect basic information about a subject, first target data about the subject, second target data about the subject, and third target data about the subject; extract a first result value as output data from a first machine learning model by using the first target data as input data for the first machine learning model; extract a second result value as output data from a second machine learning model by using the second target data as input data for the second machine learning model; extract a third result value as output data from a third machine learning model by using the third target data as input data for the third machine learning model; and determine, on the basis of the first result value, the second result value, and the third result value, whether the subject has taken drugs.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device for determining whether or not a person is taking drugs and its operating method

[0001] The present invention relates to an electronic device for predicting whether a person is taking a drug and a method of operating the same.

[0002] Narcotics are substances characterized by a compulsive desire to use, a tendency for the amount of drug used to increase over time, and the proneness to withdrawal symptoms. Narcotics are substances that act on the central nervous system, either increasing or suppressing its function, and are designated as regulated by relevant laws and regulations due to physical or psychological dependence. Narcotics include opium poppy, opium, coca leaves, and their derivatives, and are substances that are prone to physical and psychological dependence.

[0003] Today, the term "drug-free" in Korea is a thing of the past. The United Nations (UN) designates a country as drug-free when there are fewer than 20 drug offenders per 100,000 people. However, Korea surpassed this figure in 2016, and the number of drug offenders continues to steadily increase each year.

[0004] Traditionally, police and others have used urine test kits to quickly determine drug use for rapid investigations. However, this method can detect only 22 substances, a remarkably small number considering the increasing number of new drugs. Detecting new drugs poses minimal technical challenges. This is because the technology to identify specific substances can be applied to equipment such as mass spectrometers. Once identified, new drug substances can be added to detection kits, such as personal urine test kits, for detection. The problem is that the distribution cycle of new drugs is so short that new ones appear before anyone knows it, even after a detection kit is developed.

[0005] To address these issues, technologies that can cope with new drugs and can be used continuously for drug detection are needed.

[0006] According to the present invention, the purpose is to provide an electronic device and an operating method thereof for determining whether a subject is taking drugs by utilizing an artificial intelligence neural network model built based on a fundus photograph of the subject, etc.

[0007] An electronic device for determining whether a subject has taken a drug, according to one embodiment of the present invention, comprises: a memory; and a processor connected to the memory and configured to execute commands included in the memory, wherein the processor collects basic information of a subject, first target data of the subject, second target data of the subject, and third target data of the subject, extracts a first result value as output data of the first machine learning model using the first target data as input data of the first machine learning model, extracts a second result value as output data of the second machine learning model using the second target data as input data of the second machine learning model, extracts a third result value as output data of the third machine learning model using the third target data as input data of the third machine learning model, and determines whether the subject has taken a drug based on the first result value, the second result value, and the third result value.

[0008] According to an embodiment of the present invention, the first target data may include information about a fundus photograph of the subject, the second target data may include information about a retinal tomography photograph of the subject, and the third target data may include information about an ocular photograph of the subject.

[0009] According to an embodiment of the present invention, the processor collects first training data, processes a first training data set based on the first training data, constructs the first machine learning model based on the first training data set, and determines the performance of the first machine learning model at a preset interval, and the first training data may include information on fundus photographs of a plurality of subjects.

[0010] According to an embodiment of the present invention, the processor collects second training data, processes a second training data set based on the second training data, constructs the second machine learning model based on the second training data set, and determines the performance of the second machine learning model at a preset interval. The second training data may include information on retinal tomography images of a plurality of subjects.

[0011] According to an embodiment of the present invention, the processor collects third training data, processes a third training data set based on the third training data, constructs the third machine learning model based on the second training data set, and determines the performance of the third machine learning model at a preset interval. The third training data may include information on eye photographs of a plurality of subjects.

[0012] An operating method of an electronic device for determining whether a subject has taken a drug according to an embodiment of the present invention may include the steps of collecting basic information of a subject, first target data of the subject, second target data of the subject, and third target data of the subject; extracting a first result value as output data of the first machine learning model using the first target data as input data for a first machine learning model; extracting a second result value as output data of the third machine learning model using the second target data as input data for a second machine learning model; extracting a third result value as output data of the third machine learning model using the third target data as input data for a third machine learning model; and determining whether the subject has taken a drug based on the first result value, the second result value, and the third result value.

[0013] According to an embodiment of the present invention, the first target data may include information about a fundus photograph of the subject, the second target data may include information about a retinal tomography photograph of the subject, and the third target data may include information about an ocular photograph of the subject.

[0014] According to an embodiment of the present invention, the method further comprises the steps of: collecting first training data; processing a first training data set based on the first training data; constructing the first machine learning model based on the first training data set; and evaluating the performance of the first machine learning model at a preset interval, wherein the first training data may include information on fundus photographs of a plurality of subjects.

[0015] According to an embodiment of the present invention, the method further comprises the steps of: collecting second training data; processing a second training data set based on the second training data; constructing the second machine learning model based on the second training data set; and evaluating the performance of the second machine learning model at a preset interval, wherein the second training data may include information on retinal tomography images of a plurality of subjects.

[0016] According to an embodiment of the present invention, the method further includes: collecting third training data; processing a third training data set based on the third training data; constructing a third machine learning model based on the third training data set; and evaluating performance of the third machine learning model at a preset interval, wherein the third training data may include information on eye photographs of a plurality of subjects.

[0017] According to the electronic device for determining whether a person has taken a drug and its operating method of the present invention, it is possible to determine whether a person has taken a drug and the amount of drug taken through fundus photographs of the subject, thereby saving human and social costs and time, and providing a drug detection strategy that can immediately respond to new drugs.

[0018] In order to more fully understand the drawings cited in the detailed description of the present invention, a brief description of each drawing is provided.

[0019] FIG. 1 is a diagram of a drug administration determination system according to one embodiment of the present invention.

[0020] FIG. 2 is a block diagram showing the configuration of an electronic device according to one embodiment of the present invention.

[0021] Figure 3 is a flowchart showing the operation of an electronic device according to one embodiment of the present invention.

[0022] Figure 4 is a conceptual diagram illustrating the operation of an electronic device according to one embodiment of the present invention.

[0023] FIG. 5A is a conceptual diagram illustrating the operation of an electronic device according to one embodiment of the present invention.

[0024] FIG. 5b is a conceptual diagram illustrating the operation of an electronic device according to one embodiment of the present invention.

[0025] FIG. 5c is a conceptual diagram illustrating the operation of an electronic device according to one embodiment of the present invention.

[0026] FIG. 6A is a flowchart showing the operation of an electronic device according to one embodiment of the present invention.

[0027] FIG. 6b is a flowchart showing the operation of an electronic device according to one embodiment of the present invention.

[0028] FIG. 6c and FIG. 6d are conceptual diagrams showing the operation of an electronic device according to an embodiment of the present invention.

[0029] Figure 7a is a flowchart showing the operation of an electronic device according to one embodiment of the present invention.

[0030] Figure 7b is a conceptual diagram illustrating the operation of an electronic device according to one embodiment of the present invention.

[0031] Figure 7c is a flowchart showing the operation of an electronic device according to one embodiment of the present invention.

[0032] FIG. 8a is a flowchart showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0033] Figure 8b is a conceptual diagram illustrating the operation of an electronic device according to one embodiment of the present invention.

[0034] Figures 9a to 9c are flowcharts showing the operation of an electronic device for determining whether or not to administer a drug according to one embodiment of the present invention.

[0035] FIG. 10 is a block diagram showing the hardware configuration of an electronic device for determining whether or not to administer drugs according to one embodiment of the present invention.

[0036] Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. It should be understood that the present invention is not limited to specific embodiments, but rather encompasses various modifications, equivalents, and / or alternatives of the embodiments of the present invention. In connection with the description of the drawings, similar reference numerals may be used for similar components.

[0037] In this document, the expressions “has”, “may have”, “includes”, or “may include” indicate the presence of a feature (e.g., a number, function, operation, or component such as a part), but do not exclude the presence of additional features.

[0038] In this document, the expressions "A or B," "at least one of A and / or B," or "one or more of A and / or B" can include all possible combinations of the listed items. For example, "A or B," "at least one of A and B," or "at least one of A or B" can all refer to cases where (1) at least one A is included, (2) at least one B is included, or (3) at least one A and at least one B are included.

[0039] The terms "first," "second," "first," or "second" used herein may describe various components, regardless of order and / or importance, and are used only to distinguish one component from another, without limiting the components. For example, without departing from the scope of the rights set forth in this document, the first component may be renamed the second component, and similarly, the second component may be renamed the first component.

[0040] The expression "configured to" as used herein can be used interchangeably with, for example, "suitable for", "having the capacity to", "designed to", "adapted to", "made to", or "capable of". The term "configured to" does not necessarily mean "specifically designed to".

[0041] In this document, the words "command", "instruction", "control information", "message", "information", "data", "packet", "data packet", "intent" and / or "signal" transmitted and received between the first electronic device(s) and the second electronic device(s) may include or refer to human-perceivable ideas or specific electrical expressions (e.g., digital codes / analog physical quantities) regardless of their expressions. It will be apparent to those skilled in the art to which the invention disclosed in this document pertains that the exemplary expressions listed above may be interpreted in various ways depending on the context in which they are used. In this document, "is greater than B" not only simply means "is greater than B" but also includes the meaning of "is equal to or greater than B."

[0042] The terms used in this document are used only to describe specific embodiments and may not be intended to limit the scope of other embodiments. The singular expression may include the plural expression unless the context clearly indicates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by those of ordinary skill in the art described in this document. Terms defined in general dictionaries among the terms used in this document may be interpreted as having the same or similar meaning in the context of the relevant technology, and shall not be interpreted in an idealized or overly formal sense unless explicitly defined in this document. In some cases, even if a term is defined in this document, it cannot be interpreted to exclude the embodiments of this document.

[0043] FIG. 1 is a diagram of a drug administration determination system according to one embodiment of the present invention.

[0044] Referring to FIG. 1, an electronic device (150) according to one embodiment of the present invention can communicate with another external electronic device via a network.

[0045] For reference, the electronic device (150) may be implemented as a computer capable of connecting to a remote server or terminal via a network. For example, the computer may include a notebook, desktop, or laptop equipped with a web browser. Additionally, the electronic device (150) may be implemented as a terminal capable of connecting to a remote server or terminal via a network. For example, the electronic device (150) is a wireless communication device that ensures portability and mobility, and may include all types of handheld-based wireless communication devices such as navigation, PCS (Personal Communication System), GSM (Global System for Mobile communication), PDC (Personal Digital Cellular), PHS (Personal Handphone System), PDA (Personal Digital Assistant), IMT (International Mobile Telecommunication)-2000, CDMA (Code Division Multiple Access)-2000, W-CDMA (W-Code Division Multiple Access), Wibro (Wireless Broadband Internet) terminals, smartphones, smartpads, tablet PCs, etc.

[0046] An electronic device (150) according to one embodiment of the present invention may be implemented as a computer device or multiple computer devices that provide commands, code files, content, services, etc. The electronic device (150) may be implemented in the form of a self-manufactured web page or application (APP) produced and operated by an individual or a company.

[0047] According to an embodiment of the present invention, the electronic device (150) can receive input data related to the subject from an external source and determine whether the subject is taking drugs. According to one embodiment of the present invention, the input data may include the subject's age, gender, fundus photographs, ocular photographs, retinal tomography photographs, etc.

[0048] According to an embodiment of the present invention, the electronic device (150) can identify the possibility of drug administration based on input data.

[0049] Figure 2 is a block diagram schematically showing the detailed configuration of the electronic device (150) illustrated in Figure 1.

[0050] As illustrated in FIG. 2, the electronic device (150) may include a bus (210), a display (220), a communication circuit (230), a database (240), a memory (250), an I / O interface (260), and a processor (270). In other embodiments, the electronic device (150) may omit at least one of the above components or additionally include other components.

[0051] For reference, the components (210, 220, 230, 240, 250, 260, 270) of the electronic device (150) illustrated in FIG. 2 are merely exemplary components for explaining a document creation support method according to an embodiment of the present invention. That is, it is clear that the electronic device (150) according to an embodiment of the present invention may additionally include other components in addition to the illustrated components.

[0052] The bus (210) can electrically connect the components (220 to 270) to each other. The bus (210) can include circuitry for communication (e.g., control messages and / or data) between the components (220 to 270).

[0053] The display (220) can display text, images, videos, icons, or symbols that constitute various contents. The display (220) can include a touch screen and can receive touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body.

[0054] For example, the display (220) may include a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a microelectromechanical systems (MEMS) display, or an electronic paper display. The display (220) may be implemented as included in the electronic device (150), or may be implemented separately from the electronic device (150) but operatively connected to the electronic device (150).

[0055] The communication circuit (230) can establish a communication channel between the electronic device (150) and external devices. The communication circuit (230) can access a network (280) through wireless or wired communication and communicate with external devices.

[0056] The database (240) may be implemented on the memory (250) or on a separate storage medium. The database (240) may store all of the contents and details of data transmitted and received with an external device. The data stored in the database (240) may be regularly updated according to a predetermined cycle.

[0057] According to an embodiment of the present invention, the database (240) can store various information input from an external device. For example, the database (240) can store the subject's age, sex, fundus photographs (hereinafter, fundus photographs), eye photographs (hereinafter, eye photographs), and retinal tomography (OCT) photographs (hereinafter, retinal tomography) of the subject. In addition, the database (240) can store images of the fundus (hereinafter, fundus images), eyes (hereinafter, eye images), and retinal tomography (hereinafter, retinal tomography) of the subject.

[0058] According to various embodiments, the data stored in the database (240) may be distributed and stored on a blockchain network to enhance the security of use of the information, as it is sensitive information of the subject. When the database (240) is distributed and stored on a blockchain network, the history of transmission, modification, deletion, addition, etc. of the information contained in the database (240) can be more securely managed on the blockchain network.

[0059] The memory (250) may include volatile and / or non-volatile memory. The memory (250) may store instructions or data related to at least one other component of the electronic device (150). For example, the memory (250) may store instructions that, when executed, cause the processor (270) to perform various operations described herein. For example, the instructions may be included in a package file of an application program.

[0060] The I / O interface (260) can perform a role of transmitting commands or data input from a user or another external device to other components of the electronic device (150). The I / O interface (260) can be implemented in hardware or software, and can be used as a concept encompassing a user interface (UI) and a terminal for communication with other external devices.

[0061] The processor (270) may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor (270) is electrically connected to the memory (250), the display (220), and the communication circuit (230) via the bus (210), and during operation, may execute operations or data processing related to control and / or communication of other components according to commands, programs, or software stored in the memory (250). Therefore, the execution of the commands, application programs, or software may be understood as the operation of the processor (270).

[0062] According to an embodiment of the present invention, the processor (270) may perform data processing, etc. for performing the learning and judgment steps of a model related to the determination of whether or not drug administration is described later. According to an embodiment of the present invention, the processor (270) may perform learning of a model related to the determination of whether or not drug administration is described later, and may generate a result of the determination of whether or not drug administration is determined by utilizing the model related to the determination of whether or not drug administration is described later.

[0063] The network (280) may include at least one of a telecommunications network, a computer network, the Internet, or a telephone network. A wireless communication protocol for accessing the network (280) may use, for example, at least one of LTE (Long-Term Evolution), LTE-A (LTE Advanced), CDMA (Code Division Multiple Access), WCDMA (Wideband CDMA), UMTS (Universal Mobile Telecommunications System), WiBro (Wireless Broadband), GSM (Global System for Mobile communications), or 5G standard communication protocols. However, this is merely exemplary, and various wired and wireless communication technologies applicable in the relevant technical field may be utilized depending on the embodiment to which the present invention is applied.

[0064] In this way, according to an electronic device (150) according to one embodiment of the present invention, it is possible to provide a drug detection strategy that can minimize tests for determining whether or not a drug has been administered, save human, social, and economic costs and test time, and immediately respond to new drugs.

[0065] Figure 3 is a flowchart showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0066] In step S301, the electronic device (150) may collect input data from an external source. The input data may include fundus images, ocular images, retinal tomography images, and the subject's age, gender, etc. Furthermore, the input data may include fundus images, ocular images, retinal tomography images, etc. of the subject. According to various embodiments of the present invention, the electronic device (150) may independently collect input data.

[0067] In step S303, the electronic device (150) can utilize the constructed machine learning model to extract the likelihood of the subject taking drugs. The machine learning model will be described later.

[0068] In step S305, the electronic device (150) can determine whether the subject has taken drugs based on the extracted possibility of taking drugs.

[0069] Figure 4 is a conceptual diagram showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0070] A machine learning model according to one embodiment of the present invention may include a neural network for analyzing a fundus photograph (hereinafter, "fundus photograph") of a subject. According to an embodiment of the present invention, the neural network may be composed of a set of interconnected node units. The plurality of nodes may represent a plurality of neurons. According to an embodiment of the present invention, the nodes constituting the neural network may be connected by one or more links. In the neural network, one or more nodes connected by the links may form a relationship between input nodes and output nodes.

[0071] In a relationship between input nodes and output nodes connected through a single link, the value of the data of the output node can be determined according to the data input to the input node. According to an embodiment of the present invention, the link interconnecting the input nodes and the output nodes can have a weight. The weight can be variable. In addition, the neural network according to an embodiment of the present invention can vary the weight by a user or a certain algorithm in order to predict myopia regression. For example, when one or more input nodes are connected to one output node by a link, the output node can determine the output node value based on the values ​​input to the input nodes connected to the corresponding output node and the weight set for the link corresponding to each input node.

[0072] According to an embodiment of the present invention, the performance of a neural network can be determined based on the number of nodes and links within the neural network, the relationships between the nodes and links, and the weight values ​​assigned to each link. For example, if two neural networks exist with the same number of nodes and links but different link weight values, the two neural networks can be recognized as different from each other.

[0073] A neural network can be composed of a set of multiple nodes, and a subset of the nodes constituting the neural network can be referred to as a layer. Some of the nodes constituting the neural network can form a layer based on the distance they form from a specific input node. For example, a set of multiple nodes that are 'n' distances from a specific input node can form an 'n'-layer. The distance from a specific input node refers to the number of links that must be passed through to reach the node from the specific input node. However, this definition of a layer is only an example and is not limited thereto.

[0074] According to one embodiment of the present invention, the number of nodes included in the input layer of the neural network may be the same as the number of nodes included in the output layer. According to another embodiment of the present invention, the number of nodes in the input layer may be different from the number of nodes in the output layer of the neural network.

[0075] A deep neural network (DNN) is a neural network that includes at least one hidden layer in addition to input and output layers. DNNs can be used to identify latent structures in data. For example, DNNs can be used to identify the latent structures of fundus photographs (e.g., whether there are specific patterns, the shape of the retinal nerves, or whether the pigment layer is thin). DNNs may include convolutional neural networks, recurrent neural networks, generative adversarial networks, autoencoders, and deep belief networks (DBNs). However, these are merely examples and are not limiting.

[0076] Neural networks can be trained using at least one of the following methods: supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. Neural network training can be the process of applying information (data) to the neural network to build a specific model for predicting myopia regression.

[0077] Neural networks can be trained based on training data to minimize output errors. Neural networks repeatedly receive training data and, based on the training data, calculate the error between the network output and target data. To reduce this error, neural networks can backpropagate the error from the network's output layer (or output node) to the input layer (or input node), thereby updating the weights of each node in the network.

[0078] In supervised learning, a neural network can use training data (labeled data) with the correct answer for each training data point. In unsupervised learning, the neural network may not have the correct answer for each training data point. For example, training data used in supervised learning for data classification may be data with each category labeled. The neural network can input labeled data and compare the neural network output with the training data labels to calculate the error. In another example, for unsupervised learning for data classification, the neural network can compare the training data, which is the input, with the neural network output and calculate the error. The calculated error can be propagated backwards through the neural network. Through backpropagation, the neural network can update the weights corresponding to the links of each node in each layer of the neural network. The amount of change in the connection weights of each updated node can be determined by the learning rate. The neural network's calculation of the input data and the backpropagation of the error can constitute a learning cycle. The learning rate can be applied differently depending on the number of iterations of the learning cycle of the neural network.

[0079] In neural network learning, the training data can typically be a subset of real-world data (i.e., fundus images to be processed using the trained neural network). Even if the error rate for the training data decreases, it can increase for the real-world data. Overfitting occurs when the model overtrains on the training data, resulting in increased error rates for the real-world data. Overfitting can increase errors in machine learning algorithms.

[0080] An electronic device (150) according to an embodiment of the present invention utilizes methods such as regularization to increase training data, dropout to deactivate some nodes of a network during the learning process, and batch normalization layers to prevent overfitting.

[0081] Figures 5a to 5c are conceptual diagrams illustrating the operation of an electronic device (150) according to an embodiment of the present invention. Figures 5a to 5c are conceptual diagrams illustrating the learning operation of a machine learning model according to an embodiment of the present invention.

[0082] Referring to FIG. 5a, the electronic device (150) can store a plurality of sample data, such as fundus photographs, ocular photographs, and retinal tomography photographs, belonging to a specific domain in a database (240) by classifying them into multiple classes based on preset criteria. For example, the domain may be fundus photographs, the class may be drug administration, and the cluster may be drug administration level. However, this is only one example and is not limited thereto. The sample data may be utilized for machine learning in the future.

[0083] According to an embodiment of the present invention, the electronic device (150) can utilize a data augmentation technique to increase the number of sample data. According to an embodiment of the present invention, the electronic device (150) can secure tens of thousands of new sample data by utilizing sample data stored in the database (240) using cycle-GAN (Generative Adversarial Networks) and data synthesis.

[0084] According to an embodiment of the present invention, the electronic device (150) can perform clustering on the type-specific sample data stored in the database (240) to extract the number of clusters k (k is a natural number) for each class and a feature value corresponding to each sample data. The electronic device (150) can vary the number of learning data k for each type based on the number of clusters k for each type, select k sample data representing each type based on the feature value for each type, and then utilize the selected k sample data for each type as learning data.

[0085] Referring to FIG. 5b, according to an embodiment of the present invention, the electronic device (150) can calculate the difference between sample data classified as type A and sample data classified as type B. The difference between the data can be expressed as a Euclidean distance.

[0086] According to a first example of the present invention, the electronic device (150) can classify data located within a certain Euclidean distance as homogeneous data based on the extracted feature values.

[0087] Referring to FIG. 5c, if the feature values ​​extracted as a result of machine learning include C1, C2, and C3, the electronic device (150) calculates the feature values ​​of the input data (Xinput), and after confirming that the feature value of the input data is closest to the feature value of C3 among C1, C2, and C3, the input data can be classified into a type corresponding to the feature value of C3.

[0088] The electronic device (150) can determine the similarity of sample data as described above and build a machine learning model.

[0089] FIG. 6A is a flowchart illustrating the operation of an electronic device (150) according to an embodiment of the present invention. In particular, FIG. 6A illustrates the operation of an electronic device (150) that constructs a first machine learning model according to an embodiment of the present invention.

[0090] In step S601, the electronic device (150) may collect first training data. According to one embodiment of the present invention, the electronic device (150) may receive the first training data from an external source. According to another embodiment of the present invention, the electronic device (150) may independently collect training data. The first training data for constructing the first machine learning model may be fundus photographs corresponding to each of a plurality of subjects. According to various embodiments of the present invention, the electronic device (150) may collect the first training data by utilizing data augmentation, cycle-GAN, etc. based on the fundus photographs stored in the database (240).

[0091] In step S603, the electronic device (150) may process a first training data set based on the first training data. According to one embodiment of the present invention, the electronic device (150) may classify each first training data into domains, types, and clusters. For example, the domain may be a fundus photograph, the type may be drug administration, and the cluster may be drug administration level. This is merely an example and is not limited thereto. The electronic device (150) may classify sample data into domains, types, and clusters as described above to generate a first training data set.

[0092] In step S605, the electronic device (150) can build a first machine learning model for determining whether a subject is taking drugs using a fundus photograph based on the first training data set.

[0093] In step S607, the electronic device (150) can determine the performance of the first machine learning model. According to an embodiment of the present invention, the electronic device (150) can compare the output data using the first machine learning model with the first training data to calculate an error. The electronic device (150) can periodically calculate the error to determine the performance of the first machine learning model.

[0094] Although not shown in the drawing, the electronic device (150) can update the first machine learning model in a direction that reduces the calculated error.

[0095] Figure 6b is a conceptual diagram showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0096] According to an embodiment of the present invention, the electronic device (150) can extract a value (first result value) determining whether or not a drug has been administered by utilizing a first machine learning model constructed for a fundus photograph (input data).

[0097] FIG. 6c and FIG. 6d are conceptual diagrams showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0098] The electronic device (150) can acquire a fundus photograph of a subject. According to one embodiment of the present invention, the electronic device (150) can perform preprocessing on the acquired fundus photograph so that the acquired fundus photograph can be applied to a first machine learning model.

[0099] For example, referring to FIG. 6c, the electronic device (150) can adjust the color of the acquired fundus photograph, identify the location of retinal blood vessels in the color-adjusted fundus photograph, and identify foreign substances located between retinal blood vessels. In this way, the electronic device (150) can utilize the preprocessed data as training data for the first machine learning model. The first machine learning model can determine whether or not narcotics are administered based on the degree of the foreign substance, and can predict the amount of narcotics administered.

[0100] As another example, referring to FIG. 6D, the electronic device (150) can adjust the color of the acquired fundus photograph. In addition, the electronic device (150) can perform a preprocessing operation to display drusen segmentation on the fundus photograph. In this way, the electronic device (150) can utilize the preprocessed data as training data for the first machine learning model. The first machine learning model can predict macular degeneration or ischemic changes based on the drusen segmentation, and can determine whether to administer narcotics based on the predicted degree of macular degeneration or ischemic changes.

[0101] As described above, according to an embodiment of the present invention, the first machine learning model can determine whether the subject is taking drugs based on the degree of foreign substances located in the retinal blood vessels, macular degeneration, ischemic changes, etc., based on the fundus photograph of the subject, and can predict the amount of drug administration.

[0102] According to an embodiment of the present invention, the electronic device (150) can determine whether a subject is taking drugs by utilizing the first machine learning model.

[0103] For example, when the electronic device (150) receives a fundus photograph of a subject as input data, it can check whether the number of foreign substances identified in the input data exceeds a preset threshold. If the number of foreign substances identified exceeds the preset threshold, the electronic device (150) can determine whether there is macular degeneration or ischemic change in the drusen area of ​​the subject. If it is determined that there is macular degeneration or ischemic change in the drusen area of ​​the subject, the electronic device (150) can determine that the subject has taken drugs.

[0104] On the other hand, if the number of identified foreign substances is less than or equal to a preset threshold, the electronic device (150) can determine that the subject has not taken drugs.

[0105] According to an embodiment of the present invention, the electronic device (150) can output whether or not the subject has taken drugs as a probability by utilizing the first machine learning model.

[0106] According to one embodiment of the present invention, the electronic device (150) can output whether the subject has taken drugs as a polarity (e.g., 'yes' or 'no') by utilizing the first machine learning model.

[0107] FIG. 7A is a flowchart illustrating the operation of an electronic device (150) according to an embodiment of the present invention. In particular, FIG. 7A illustrates the operation of an electronic device (150) that constructs a second machine learning model according to an embodiment of the present invention.

[0108] In step S701, the electronic device (150) may collect second training data. According to one embodiment of the present invention, the electronic device (150) may receive the second training data from an external source. According to another embodiment of the present invention, the electronic device (150) may independently collect training data. The second training data for constructing the second machine learning model may be retinal tomography images corresponding to each of a plurality of subjects. According to various embodiments of the present invention, the electronic device (150) may collect the second training data by utilizing data augmentation, cycle-GAN, etc. based on the retinal tomography images stored in the database (240).

[0109] In step S703, the electronic device (150) may process a second training data set based on the second training data. According to one embodiment of the present invention, the electronic device (150) may classify each second training data into domains, types, and clusters. For example, the domain may be a retinal tomography image, the type may be drug administration, and the cluster may be drug administration level. This is merely an example and is not limited thereto. The electronic device (150) may classify the sample data into domains, types, and clusters as described above to generate a second training data set.

[0110] In step S705, the electronic device (150) can build a second machine learning model for determining whether the subject is taking drugs using a retinal tomography image based on the second training data set.

[0111] In step S707, the electronic device (150) can determine the performance of the second machine learning model. According to an embodiment of the present invention, the electronic device (150) can compare the output data using the second machine learning model with the second training data to calculate an error. The electronic device (150) can periodically calculate the error to determine the performance of the second machine learning model.

[0112] Although not shown in the drawing, the electronic device (150) can update the second machine learning model in a direction that reduces the calculated error.

[0113] Figure 7b is a conceptual diagram showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0114] According to an embodiment of the present invention, the electronic device (150) can extract a value (second result value) that determines whether a drug has been administered by utilizing a second machine learning model constructed for a retinal tomography image (input data).

[0115] Figure 7c is a conceptual diagram showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0116] According to an embodiment of the present invention, the electronic device (150) can receive a retinal tomography image of a subject as input data, use a second machine learning model to confirm the presence of a foreign substance and the degree of ischemic change, and determine whether the subject is taking drugs based on the confirmed foreign substance and ischemic change.

[0117] According to an embodiment of the present invention, the electronic device (150) can output whether or not the subject has taken drugs as a probability by utilizing the second machine learning model.

[0118] According to one embodiment of the present invention, the electronic device (150) can output whether the subject has taken drugs as a polarity (e.g., 'yes' or 'no') by utilizing the second machine learning model.

[0119] According to an embodiment of the present invention, the electronic device (150) can identify the location of a foreign substance and the location of macular degeneration (or ischemic change) in a fundus photograph (first input data) to identify a key observation area. For example, the electronic device (150) can identify an area where a foreign substance is distributed above a preset threshold within a preset range as a key observation area. As another example, the electronic device (150) can identify a macular degeneration area as a key observation area.

[0120] The electronic device (150) can trim only the retinal tomography images of the major observation area from the entire retinal tomography image (second input data). The electronic device (150) can use the second machine learning model with the trimmed retinal tomography image as input data to determine whether the subject is taking drugs.

[0121] According to an embodiment of the present invention, the electronic device (150) can determine whether or not the subject is taking drugs by comprehensively considering the first result value and the second result value.

[0122] FIG. 8A is a flowchart illustrating the operation of an electronic device (150) according to one embodiment of the present invention. In particular, FIG. 8A illustrates the operation of an electronic device (150) that constructs a third machine learning model according to an embodiment of the present invention.

[0123] In step S801, the electronic device (150) may collect third training data. According to one embodiment of the present invention, the electronic device (150) may receive the third training data from an external source. According to another embodiment of the present invention, the electronic device (150) may independently collect training data. The second training data for constructing the third machine learning model may be eye photographs corresponding to each of a plurality of subjects. According to various embodiments of the present invention, the electronic device (150) may collect the third training data by utilizing data augmentation, cycle-GAN, etc. based on the eye photographs stored in the database (240).

[0124] For example, the electronic device (150) can determine whether a blood vessel exists in the eye of the subject through the acquired eye photograph. The electronic device (150) can perform data preprocessing, such as color adjustment and image segmentation, on the acquired eye photograph to determine whether a blood vessel exists in the eye of the subject, and can utilize the preprocessed data as third training data. According to an embodiment of the present invention, the third machine learning model can determine whether a drug has been administered based on the formed blood vessel and the age of the subject.

[0125] In step S803, the electronic device (150) may process a third training dataset based on the third training data. According to one embodiment of the present invention, the electronic device (150) may classify each third training data into domains, types, and clusters. For example, the domain may be an eye photograph, the type may be drug administration, and the cluster may be drug administration level. This is merely an example and is not limited thereto. The electronic device (150) may classify the sample data into domains, types, and clusters as described above to generate a third training dataset.

[0126] In step S805, the electronic device (150) can build a third machine learning model for determining whether the subject has taken drugs using an eye photograph based on the third training data set.

[0127] In step S807, the electronic device (150) can determine the performance of the third machine learning model. According to an embodiment of the present invention, the electronic device (150) can compare the output data using the third machine learning model with the third training data to calculate an error. The electronic device (150) can periodically calculate the error to determine the performance of the third machine learning model.

[0128] Although not shown in the drawing, the electronic device (150) can update the third machine learning model in a direction that reduces the calculated error.

[0129] Figure 8b is a conceptual diagram showing the operation of an electronic device (150) according to one embodiment of the present invention.

[0130] According to an embodiment of the present invention, the electronic device (150) can extract a value (third result value) determining whether or not a subject has been administered drugs by utilizing a third machine learning model constructed for an eye photograph (input data). According to various embodiments of the present invention, the electronic device (150) can extract a value (third result value) determining whether or not a subject has been administered drugs by utilizing a third machine learning model constructed for an eye photograph and basic information such as the subject's age and gender.

[0131] According to an embodiment of the present invention, the electronic device (150) can comprehensively consider the first through third result values ​​to determine whether the subject is taking drugs and predict the amount of drug taken. The electronic device (150) can externally provide information on whether the subject is taking drugs and the amount of drug taken.

[0132] In this way, the electronic device (150) according to an embodiment of the present invention can provide a drug detection strategy that can save human and social costs and time by determining whether or not a subject has taken a drug and the amount of drug taken through fundus photographs, etc., and can immediately respond to new drugs.

[0133] Figures 9a to 9c are flowcharts showing the operation of an electronic device (150) for determining whether or not to administer a drug according to one embodiment of the present invention.

[0134] Referring to FIG. 9a, in step S901, the electronic device (150) can obtain first input data. The first input data may include a fundus image, a fundus photograph, or a fundus image of the subject.

[0135] In step S903, the electronic device (150) can extract the number of foreign substances identified in the first input data by utilizing the first machine learning model, and can determine whether the number of extracted foreign substances is greater than a preset threshold.

[0136] If the number of extracted foreign substances is less than the preset threshold ('No' in step S903), in step S907, the electronic device (150) can determine that the subject has not taken drugs.

[0137] On the other hand, if the number of extracted foreign substances is greater than or equal to a preset threshold ('Yes' in step S903), in step S905, the electronic device (150) can use the first machine learning model to determine whether macular degeneration is found in the first input data.

[0138] If macular degeneration is not found ('No' in step S905), in step S907, the electronic device (150) can determine that the subject has not taken any drugs.

[0139] On the other hand, if macular degeneration is found ('Yes' in step S905), the electronic device (150) can continue to perform operation 'A'.

[0140] Although not shown in FIG. 9a, according to one embodiment of the present invention, if macular degeneration is found ('Yes' in step S905), the electronic device (150) can determine that the subject has taken drugs.

[0141] In FIG. 9b, the 'A' operation of the electronic device (150) according to an embodiment of the present invention is initiated.

[0142] Referring to FIG. 9b, in step S911, the electronic device (150) can obtain second input data. The second input data may include a retinal tomography image, a retinal tomography photograph, or a retinal tomography image of the subject.

[0143] In step S913, the electronic device (150) can extract the number of foreign substances identified in the second input data by utilizing the second machine learning model, and can determine whether the number of extracted foreign substances is greater than a preset threshold.

[0144] If the number of extracted foreign substances is less than the preset threshold ('No' in step S913), in step S917, the electronic device (150) can determine that the subject has not taken drugs.

[0145] On the other hand, if the number of extracted foreign substances is greater than or equal to a preset threshold ('Yes' in step S913), in step S915, the electronic device (150) can use the second machine learning model to determine whether ischemic changes are found in the second input data.

[0146] If no ischemic changes are found ('No' in step S915), then in step S917, the electronic device (150) can determine that the subject has not taken any drugs.

[0147] On the other hand, if an ischemic change is found ('Yes' in step S915), the electronic device (150) can continue to perform operation 'B'.

[0148] Although not shown in FIG. 9b, according to one embodiment of the present invention, if an ischemic change is found ('Yes' in step S915), the electronic device (150) can determine that the subject has taken a drug.

[0149] In FIG. 9c, the 'B' operation of the electronic device (150) according to an embodiment of the present invention is initiated.

[0150] Referring to FIG. 9c, in step S921, the electronic device (150) may obtain third input data. The third input data may include an eye image, an eye photograph, or an eye image of the subject.

[0151] In step S923, the electronic device (150) can extract the number of blood vessels confirmed in the third input data by utilizing the third machine learning model, and can determine whether the number of extracted blood vessels is greater than a preset threshold.

[0152] If the number of extracted blood vessels is less than a preset threshold ('No' in step S923), in step S927, the electronic device (150) can determine that the subject has not taken drugs.

[0153] On the other hand, if the number of extracted realizations is greater than or equal to a preset threshold ('Yes' in step S923), in step S925, the electronic device (150) can determine that the subject has taken drugs.

[0154] Fig. 10 is a block diagram showing the hardware configuration of an electronic device for determining whether or not to administer a drug according to one embodiment of the present invention.

[0155] A computing system (1000) according to one embodiment disclosed in this document may include an MCU (1010), a memory (1020), an input / output I / F (1030), and a communication I / F (1040).

[0156] The MCU (1010) may be a processor that executes various programs for predicting myopia regression stored in the memory (1020), processes various data through these programs, and performs the functions of the electronic device (150) shown in the aforementioned FIG. 2.

[0157] The memory (1020) can store various programs. In addition, the memory (1020) can store various data received from the client.

[0158] Such memories (1020) may be provided in multiples as needed. The memories (1020) may be volatile memories or non-volatile memories. As volatile memories (1020), RAM, DRAM, SRAM, etc. may be used. As non-volatile memories (1020), ROM, PROM, EAROM, EPROM, EEPROM, flash memories, etc. may be used. The examples of the memories (1020) listed above are merely examples and are not limited to these examples.

[0159] The input / output I / F (1030) can provide an interface that enables data transmission and reception between an input device (not shown) such as a keyboard, mouse, or touch panel, and an output device (not shown) such as a display and the MCU (1010).

[0160] The communication I / F (1040) is a component capable of transmitting and receiving various data with the server, and may be any device capable of supporting wired or wireless communication. For example, various data management programs or various data can be transmitted and received from a separately provided external server via the communication I / F (1040).

[0161] In this way, a computer program according to one embodiment disclosed in this document may be implemented as a module that is recorded in a memory (1020) and processed by an MCU (1010) to perform each function illustrated in FIG. 2, for example.

[0162] Although all components constituting the embodiments of the present invention have been described as being combined or operating in combination, the present invention is not necessarily limited to such embodiments. That is, within the scope of the present invention, all components may be selectively combined and operated one or more times.

[0163] Meanwhile, the various embodiments described herein may be implemented by hardware, middleware, microcode, software, and / or a combination thereof. For example, the various embodiments may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, other electronic units designed to perform the functions presented herein, or a combination thereof.

[0164] Additionally, for example, various embodiments may be embodied or encoded in a computer-readable medium containing instructions. Instructions embodied or encoded in the computer-readable medium may cause a programmable processor or other processor to perform a method when the instructions are executed, for example. The computer-readable medium includes a computer storage medium, which may be any available medium that can be accessed by a computer. For example, such a computer-readable medium may include a RAM, a ROM, an EEPROM, a CD-ROM or other optical disk storage medium, a magnetic disk storage medium, or other magnetic storage devices.

[0165] Such hardware, software, firmware, etc. may be implemented within the same device or within separate devices to support the various operations and functions described herein. Additionally, components, units, modules, components, etc. described as “units” in the present invention may be implemented together or individually as separate but interoperable logic devices. The depiction of different features for modules, units, etc. is intended to highlight different functional embodiments and does not necessarily imply that they must be realized by separate hardware or software components. Rather, the functionality associated with one or more modules or units may be performed by separate hardware or software components, or integrated into common or separate hardware or software components.

[0166] Although operations are depicted in the drawings in a particular order, this should not be construed as requiring that these operations be performed in the particular order depicted, or in any sequential order, or that all depicted operations be performed to achieve the desired results. In certain circumstances, multitasking and parallel processing may be advantageous. Furthermore, the distinction between various components in the embodiments described above should not be construed as requiring such distinction in all embodiments, and it should be understood that the components depicted may generally be integrated together into a single software product or packaged into multiple software products.

[0167] The electronic device, server, or external device according to the various embodiments of the present document described above may include, for example, at least one of a smartphone, a tablet PC, a mobile phone, a video phone, a desktop PC, a laptop PC, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device.

[0168] According to various embodiments, the wearable device may include at least one of an accessory type (e.g., a watch, a ring, a bracelet, an anklet, a necklace, glasses, contact lenses, or a head-mounted device (HMD)), a fabric or clothing-integrated type (e.g., an electronic garment), a body-attached type (e.g., a skin pad or tattoo), or a bio-implant type (e.g., an implantable circuit).

[0169] In some embodiments, the electronic device or external device may be a home appliance. The home appliance may include, for example, at least one of a television, a digital video disk player (DVD player), an audio device, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a set-top box, a home automation control panel, a security control panel, a TV box, a game console, an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.

[0170] In another embodiment, the electronic device, external device, or wearable device may include at least one of various medical devices (e.g., various portable medical measuring devices (such as a blood glucose meter, a heart rate meter, a blood pressure meter, or a body temperature meter), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), a camera, or an ultrasound machine), a navigation device, a satellite navigation system (Global Navigation Satellite System (GNSS)), an event data recorder (EDR), a flight data recorder (FDR), an automobile infotainment device, a home robot, or an internet of things device (e.g., a light bulb, various sensors, an electric or gas meter, a sprinkler device, a fire alarm, a thermostat, a streetlight, an exercise machine, a hot water tank, a heater, a boiler, or the like).

[0171] As described above, the best practice embodiments have been disclosed in the drawings and specifications. While specific terminology has been used herein, it is solely for the purpose of describing the present invention and is not intended to limit the scope of the invention as defined in the claims. Therefore, those skilled in the art will understand that various modifications and equivalent embodiments are possible. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the appended claims.

Claims

1. Memory; and A processor connected to the memory and configured to execute instructions contained in the memory, The above processor Collecting basic information of a subject, first target data of the subject, second target data of the subject, and third target data of the subject, extracting a first result value as output data of the first machine learning model by using the first target data as input data for the first machine learning model, extracting a second result value as output data of the second machine learning model by using the second target data as input data for the second machine learning model, extracting a third result value as output data of the third machine learning model by using the third target data as input data for the third machine learning model, and determining whether the subject is taking drugs based on the first result value, the second result value, and the third result value. An electronic device that determines whether a person has taken drugs.

2. In claim 1, The first target data includes information about the fundus photograph of the subject, the second target data includes information about the retinal tomography photograph of the subject, and the third target data includes information about the eye photograph of the subject. An electronic device that determines whether a person has taken drugs.

3. In claim 1, The above processor Collecting first training data, processing a first training data set based on the first training data, constructing the first machine learning model based on the first training data set, and evaluating the performance of the first machine learning model according to a preset cycle. The above first training data includes information on fundus photographs of multiple subjects. An electronic device that determines whether a person has taken drugs.

4. In claim 1, The above processor Collecting second training data, processing a second training data set based on the second training data, constructing a second machine learning model based on the second training data set, and evaluating the performance of the second machine learning model according to a preset cycle. The above second training data includes information on retinal tomography images of multiple subjects. An electronic device that determines whether a person has taken drugs.

5. In claim 1, The above processor Collecting third training data, processing a third training data set based on the third training data, constructing a third machine learning model based on the second training data set, and evaluating the performance of the third machine learning model according to a preset cycle. The above third training data contains information about eye photographs of multiple subjects. An electronic device that determines whether a person has taken drugs.

6. In the operating method of an electronic device that determines whether or not a drug has been administered, A step of collecting basic information of a subject, first target data of the subject, second target data of the subject, and third target data of the subject; A step of extracting a first result value as output data for the first machine learning model by using the first target data as input data for the first machine learning model; A step of extracting a second result value as output data for the third machine learning model by using the second target data as input data for the second machine learning model; A step of extracting a third result value as output data for the third machine learning model by using the third target data as input data for the third machine learning model; and A step of determining whether the subject has taken drugs based on the first result value, the second result value, and the third result value. An operating method of an electronic device for determining whether a drug has been administered.

7. In claim 6, The first target data includes information about the fundus photograph of the subject, the second target data includes information about the retinal tomography photograph of the subject, and the third target data includes information about the eye photograph of the subject. Method of operation of an electronic device for determining whether or not a person has taken a drug.

8. In claim 6, Step 1: Collecting training data; A step of processing a first training data set based on the first training data; A step of constructing the first machine learning model based on the first training data set; and A step of judging the performance of the first machine learning model according to a preset cycle. Including more, The above first training data includes information on fundus photographs of multiple subjects. Method of operation of an electronic device for determining whether a person has taken a drug.

9. In claim 6, Step 2: Collecting training data; A step of processing a second training data set based on the second training data; A step of constructing the second machine learning model based on the second training data set; and A step of judging the performance of the second machine learning model according to a preset cycle. Including more, The above second training data includes information on retinal tomography images of multiple subjects. Method of operation of an electronic device for determining whether a person has taken a drug.

10. In claim 6, Step 3: Collect training data; A step of processing a third training data set based on the third training data; A step of constructing the third machine learning model based on the third training data set; and A step for judging the performance of the third machine learning model according to a preset cycle. Including more, The above third training data contains information about eye photographs of multiple subjects. Method of operation of an electronic device for determining whether a person has taken a drug.

11. Memory; and A processor connected to the memory and configured to execute instructions contained in the memory, The above processor Obtaining first input data, checking the number of foreign substances corresponding to the first input data and comparing it with a preset threshold, and if the number of foreign substances is greater than or equal to the preset threshold, checking whether macular degeneration corresponding to the first input data is found, and if macular degeneration is found, determining that the subject corresponding to the first input data has taken drugs An electronic device that determines whether a person has taken drugs.

Citation Information

Patent Citations

  • Pupil detection method and device

    CN110393504A

  • Drug addict detection method and device, computer readable storage medium and equipment

    CN114120435A

  • A Folding Type of a Protecting Cap Capable of Absorbing an Impact with a Multi Levels Structure

    KR1020210010000A

  • Manufacturing method for a vapor chamber using powder injection molding

    KR1020210138333A

  • Alternative drop-off fishingway blocks and for eco-friendly ecosystem recovery fishingway

    KR1020240030461A