Control method, device and recording medium of lesion judgment system obtained by real-time image

The lesion judgment system through real-time image acquisition and artificial intelligence analysis solves the problem of low accuracy of naked eye observation in the diagnosis of gastric cancer and gastric vegetations, improves diagnostic accuracy and surgical efficiency, and reduces the risk of missing lesions.

CN116745861BActive Publication Date: 2024-10-11HALLYM UNIV IND -ACADEMIC COOP GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280009042.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-01-11
Filing Date
2022-01-05
Publication Date
2024-10-11
Estimated Expiration
2042-01-05

Smart Images

  • Figure CN116745861B_ABST
    Figure CN116745861B_ABST
Patent Text Reader

Abstract

A control method for a lesion judgment system obtained by real-time imaging is provided. The control method comprises: a step in which an endoscopic device obtains a gastric endoscopic image; a step in which the endoscopic device transmits the obtained gastric endoscopic image to a server; a step in which the server inputs the gastric endoscopic image into a first artificial intelligence model to judge the lesion contained in the gastric endoscopic image; a step in which the server obtains an image containing the lesion and transmits it to a database of the server when judging that there is a lesion in the gastric endoscopic image; a step in which the server inputs the image into a second artificial intelligence model to judge the type of lesion contained in the image; and a step in which a display device displays a UI for indicating the location of the lesion in the gastric endoscopic image when judging that there is a lesion in the gastric endoscopic image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a control method, device and recording medium of a lesion judgment system obtained through real-time images, and in particular to an endoscopic inspection judgment auxiliary device and method that uses deep learning to automatically discover and judge lesions in actual upper gastrointestinal endoscopic inspection images and provide gastric wall infiltration depth information. Background Art

[0002] South Korea has one of the highest rates of gastric cancer in the world, and upper gastrointestinal endoscopy is widely used to diagnose gastric cancer and gastric neoplasms, which are its precursor lesions. If the endoscopist finds a suspected lesion by naked eye observation during the examination, the pathological tissue is read by the endoscope forceps to diagnose gastric neoplasms including gastric cancer. In addition, tissue examination is also performed to confirm that lesions that are difficult to identify with the naked eye are not cancer or neoplasms.

[0003] However, the agreement rate between visual observation and tissue examination is low (cases where the endoscopist's visual inference and actual judgment are inconsistent), and the difference rate between the initial diagnosis by tissue examination (only a part of the entire lesion is examined) and the final pathological diagnosis of the entire tissue after surgery and endoscopic resection is reported to be 20% to 60%, depending on the doctor's experience and skills. Therefore, the low initial judgment rate leads to changes in treatment policies or confusion in predicting patient prognosis. In addition, if lesions are not found and missed during endoscopic examination, it will directly affect the patient's prognosis, and therefore, it is reported that the phenomenon of professional burnout among Korean gastrointestinal endoscopists is serious. The possibility of missing lesions due to physical difficulties in detailed examinations or highly concentrated examinations has also been continuously raised. That is, there is an unmet medical need for the discovery and visual judgment of gastric neoplasms.

[0004] In addition to judgment, it is necessary to predict the depth of lesion invasion to determine the treatment plan for gastric cancer or gastric neoplasm. This is mainly judged by the doctor's naked eye observation and endoscopic ultrasound and other examinations. Gastric cancer or gastric neoplasm can only be treated with endoscopic resection if it is confined to the mucosa or the submucosal invasion depth is less than 500μm.

[0005] However, the accuracy of visual observation varies among endoscopists, and it is reported that the prediction degree of submucosal invasion by endoscopic ultrasound is only about 72-84% even for the most highly skilled experts. Therefore, there is an unmet medical need for the determination of the depth of gastric wall invasion of gastric cancer and gastric neoplasms, because if the cancer is ultimately diagnosed as having deep submucosal invasion after endoscopic resection, an additional gastrectomy is required.

[0006] The background art of the present invention is disclosed in Korean Registered Patent Publication No. 10-2168485. Summary of the invention

[0007] Problem that the invention aims to solve

[0008] The technical problem to be solved by the present invention is to provide a control method, device and recording medium for a lesion judgment system obtained through real-time images.

[0009] The problems to be solved by the present invention are not limited to the above contents, and other problems not mentioned will become more apparent to those skilled in the art from the following description.

[0010] Solutions to the problem

[0011] To solve the above-mentioned problem, a control method of a lesion judgment system obtained through real-time images according to one aspect of the present invention includes: a step in which an endoscopic device obtains a gastric endoscopic image; a step in which the endoscopic device transmits the obtained gastric endoscopic image to a server; a step in which the server inputs the gastric endoscopic image into a first artificial intelligence model to judge the lesion contained in the gastric endoscopic image; a step in which the server obtains an image containing the lesion and transmits it to a database of the server when it is judged that there is a lesion in the gastric endoscopic image; a step in which the server inputs the image into a second artificial intelligence model to judge the type of lesion contained in the image; and a step in which a display device displays a UI for indicating the location of the lesion in the gastric endoscopic image when it is judged that there is a lesion in the gastric endoscopic image.

[0012] At this time, the step of determining the lesion includes: when using the endoscopic device to capture real-time images, if a command to read the image is received from a doctor, the server obtains multiple images of the image before a preset time from the moment the image reading command is input; the server inputs the multiple images into the second artificial intelligence model to determine whether the multiple images contain lesions and the type of lesions; when the server determines that the multiple images contain lesions, the server determines whether the real-time image contains the lesion; and when the lesion is contained, the display device displays a UI for indicating the location of the lesion in the real-time image.

[0013] At this time, the control method includes: when the endoscopic image is input into the first artificial intelligence model, the server determines whether the image is a gastroendoscopic image; and when the image is not a gastroendoscopic image, the display device displays a UI for inputting new patient information.

[0014] At this time, the step of determining whether the image is a gastroendoscopic image includes: a step in which the server obtains data corresponding to the average brightness of the endoscope room in which the endoscope image was taken; and a step in which the server determines whether the endoscope device is located outside the human body based on the data.

[0015] At this time, the step of determining the type of lesion included in the image includes: the server determining whether bleeding occurs due to tissue examination; and if it is determined that bleeding occurs, not performing lesion determination on the location where the bleeding occurs.

[0016] At this time, the control method includes: a step in which the server divides the endoscopic image into multiple frames; and when a lesion is determined in more than a predetermined number of consecutive frames among the multiple frames, the server determines that the lesions corresponding to the consecutive frames are the same lesion.

[0017] At this time, the step of displaying the UI includes: a step of displaying a first icon for inputting patient information, a second icon for viewing an image containing a judged lesion, a third icon for viewing an inspection result image, a fourth icon for changing a set value, and a fifth icon for returning to a real-time image; a step of displaying a first UI for inputting a patient name, a patient medical record number, a gender, and a year of birth if a user command to the first icon is input; a step of displaying a second UI for displaying a list of images containing lesions if a user command to the second icon is input; a step of displaying a third UI for displaying a list of judgment results of different lesions if a user command to the third icon is input; a step of displaying a fourth UI for changing a set value if a user command is input through the fourth icon; and a step of displaying a fifth UI for displaying a real-time image if a user command is input through the fifth icon; and a step of displaying a UI corresponding to the first user command in the first layer if a first user command to one of the first icon, the second icon, the third icon, and the fourth icon is input during display of the fifth UI.

[0018] At this time, the step of judging the lesion contained in the gastric endoscopic image includes: the step of judging whether the judged lesion is a lesion requiring real-time surgery; if the judged lesion is a lesion requiring real-time surgery, the step of calculating the difference between the time of receiving the gastric endoscopic device from the endoscopic device and the time of judging the lesion contained in the gastric endoscopic image; and if the difference is greater than a preset value, the step of displaying information about the lesion requiring surgery and the difference in the fifth UI.

[0019] Other details of the present invention will become more apparent from the following detailed description and accompanying drawings.

[0020] Effects of the Invention

[0021] According to the various embodiments described above, the accuracy of gastrointestinal endoscopic imaging and surgery can be improved by performing lesion judgment using an artificial intelligence model in real time.

[0022] The effects of the present invention are not limited to the above-mentioned effects, and other effects not mentioned will become more apparent to those skilled in the art through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a system diagram according to an embodiment of the present invention.

[0024] Figure 2 and Figure 3 An example diagram for illustrating a preprocessing method of an artificial intelligence model according to an embodiment of the present invention.

[0025] Figures 4 to 6 FIG. 4 is an exemplary diagram for illustrating a method for displaying a UI screen according to an embodiment of the present invention.

[0026] Figure 7 FIG. 1 is a flow chart according to an embodiment of the present invention.

[0027] Figure 8 is a structural diagram of a device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The advantages, features and methods of the present invention will become clear in conjunction with the accompanying drawings and the embodiments to be described in detail. However, the present invention is not limited to the following embodiments and can be implemented in various forms. The purpose of this embodiment is to better illustrate the present invention and to help those skilled in the art to understand the present invention. The present invention is only limited by the claims.

[0029] The terms used in this specification are used to illustrate the embodiments, rather than to limit the present invention. In this specification, the singular may also refer to the plural unless otherwise specified. "Comprises" and / or "comprising" used in the specification do not exclude the existence or addition of one or more other components involved. In this specification, the same figure marks refer to the same components, and "and / or" includes all combinations of the components involved and more than one. For ease of explanation, "first", "second" and the like are used to represent various components, but these components are not limited by the terms. The purpose of these terms is only to distinguish one component from another. Therefore, the first constituent component in the volume below may also be the second constituent component within the technical concept of the present invention.

[0030] Unless otherwise defined, all terms (technical and scientific terms) used in this specification have the meanings commonly understood by those skilled in the art. In addition, generally used terms defined in dictionaries should not be overstated unless otherwise clearly defined.

[0031] The term "unit" or "module" used in the specification refers to an element of software, FPGA or ASIC hardware, and the "unit" or "module" performs a certain function. However, the "unit" or "module" is not limited to software or hardware. The "unit" or "module" can be configured to be located in an addressable storage medium, or it can be configured to execute one or more processes. Therefore, as an example, the "unit" or "module" includes software elements, object-oriented software elements, class elements and task elements, processes, functions, attributes, procedures, subroutines, program code segments, drivers, firmware, microcodes, circuits, data, databases, data structures, tables, arrays and variables. The functions provided in the elements and "units" or "modules" can be combined into a smaller number of elements and "units" or "modules", or further separated into additional elements and "units" or "modules".

[0032] As shown in the figures, spatially relative terms "below", "beneath", "lower", "above", "upper", etc. are used to easily describe the relationship between the components in the figures. Spatially relative terms should be understood to include different orientations of the components when in use or operation in addition to the orientation shown in the drawings. For example, if the components illustrated in the drawings are flipped, the components described as "below" or "beneath" other components will be located "above" other components. Therefore, the exemplary term "below" can include both lower and upper directions. Components can also be oriented in other directions, so spatially relative terms can be interpreted according to their orientation.

[0033] In this specification, a computer may be understood as any type of hardware device including at least one processor, and according to different embodiments, may also include a software configuration running on the hardware device. For example, a computer may be understood to include but not limited to a smartphone, a tablet computer, a desktop computer, a laptop computer, and a user client and application programs driven in each device.

[0034] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0035] Although each step described in this specification is described as being executed by a computer, the subject of each step is not limited thereto, and according to different embodiments, at least a portion of each step may be executed by a different device.

[0036] Figure 1is a system diagram according to an embodiment of the present invention.

[0037] like Figure 1 As shown, the lesion determination system obtained through real-time images may include a server 100 , an endoscope device 200 and a display device 300 .

[0038] In a system according to one embodiment of the present invention, as an example of a network for sharing information between the server 100, the gastroendoscopic device 200 and the display device 300, it may include a 3GPP (3rd Generation Partnership Project) network, an LTE (Long Term Evolution) network, a 5G network, a WIMAX (World Interoperability for Microwave Access) network, a wired or wireless Internet (Internet), a LAN (Local Area Network), a Wireless LAN (Wireless Local Area Network), a WAN (Wide Area Network), a PAN (Personal Area Network), a Bluetooth network, a Wifi network, an NFC (Near Field Communication) network, a satellite broadcasting network, an analog broadcasting network, a DMB (Digital Multimedia Broadcasting) network, etc., but is not limited to this.

[0039] The server 100 is a structure for obtaining images from the endoscope device 200 to determine lesions. The server 100 according to an embodiment of the present invention may include an image acquisition unit, a data generation unit, a preprocessing unit, a learning unit, and a lesion determination unit. However, the structure of the server 100 is not limited to the disclosed content. For example, the server 100 may also include a database for storing information.

[0040] The image acquisition unit can obtain multiple gastric lesion images. The image acquisition unit can receive gastric lesion images from a photographing device provided in the endoscope device 200. The image acquisition unit can obtain gastric lesion images obtained by an endoscopic photographing device (digital camera) used for gastric endoscopic diagnosis and treatment. The image acquisition unit can collect endoscopic white light images of gastric lesions confirmed pathologically. In addition, the image acquisition unit can receive multiple gastric lesion images from image storage devices and database systems of multiple hospitals. The image storage devices of multiple hospitals can be devices that store gastric lesion images obtained when performing gastric endoscopic examinations in multiple hospitals.

[0041] In addition, the image acquisition unit can obtain an image (image) taken by changing any one of the angle, direction and distance of the first area of ​​the stomach of the detection object. The image acquisition unit can obtain a gastric lesion image in JPEG format. The gastric lesion image can be an image with a resolution of 1280x640 pixels and a domain mode of 35 degrees. In addition, the image acquisition unit can obtain an image in which discrete identifier information for each gastric lesion image is extracted. The image acquisition unit can obtain an image in which the lesion is located in the center and the black frame area in the gastric lesion image is removed.

[0042] On the contrary, when the image acquisition unit obtains a low-quality or low-resolution image with out-of-focus, artifacts, sound range, etc. during the image acquisition process, the image acquisition unit may discard the image. In other words, when the image is not suitable for the depth algorithm, the image acquisition unit may discard the image.

[0043] The data generation unit can connect multiple gastric lesion images and patient information to generate a data set. Patient information may include various information such as the gender, age, height, weight, race, nationality, smoking amount, drinking amount, family history, etc. of the object (detection object). In addition, patient information may include clinical information. Clinical information refers to all data used by doctors for specific judgments. In particular, it includes electronic obligation record data such as data composed of gender and age generated during the diagnosis and treatment process, specific treatment or not data, salary application and prescription data. In addition, clinical information may include biological data such as genetic information. Biological data may include personal health information with numerical data such as heart rate, electrocardiogram, exercise volume, oxygen saturation, blood pressure, weight, and diabetes.

[0044] Patient information is data that is input into the fully connected neural network together with the results of the convolutional neural network structure in the learning unit described below. By inputting information other than gastric lesion images into the artificial neural network, the accuracy can be further improved.

[0045] In addition, the data generation unit can generate a learning data set and a verification data set for the deep learning algorithm. The data set is divided into a learning data set required for the learning of the artificial neural network and a verification data set for verifying the progress information of the learning of the artificial neural network to generate a data set. As an example, the data generation unit can randomly classify images for the learning data set and images for the verification data set in the gastric lesion images obtained from the image acquisition unit. In addition, the data generation unit can use the remaining data set after selecting the verification data set as the learning data set. The verification data set can be randomly selected. The ratio of the verification data set and the learning data set can be determined according to a preset reference value. At this time, the preset reference value can be set to a ratio of 10% for the verification data set and a ratio of 90% for the learning data set, but it is not limited.

[0046] The data generation unit generates a data set by distinguishing between a learning data set and a verification data set to prevent overfitting. For example, the learning data set may become overfitting according to the learning characteristics of the neural network structure, and the data generation unit may use the verification data set to prevent the artificial neural network from becoming overfitting.

[0047] At this time, the verification data set can be a data set that does not overlap with the learning data set. Since the verification data is data that is not used to build the artificial neural network, it is data that is first exposed to the artificial neural network during the verification operation. Therefore, the verification data set is a data set suitable for performance evaluation of the artificial neural network when there is a new image (a new image not used for learning) input.

[0048] The preprocessing unit preprocesses the data set so that it can be used in the deep learning algorithm. The preprocessing unit can preprocess the data to improve the recognition performance in the deep learning algorithm and reduce the similarity between the images of the patients. The deep learning algorithm can be composed of two parts: the convolutional neural network structure and the fully-connected neural network structure.

[0049] The artificial intelligence model according to the embodiment of the present invention may be a Modified UNet++ as a deformation model of UNet in which an edge smoothing algorithm is applied to UNet++. At this time, the Backbone of Modified UNet++ may be DenseNet121.

[0050] In addition, if Figure 2 As shown, the artificial intelligence model according to the present invention can be a five-category classification model of advanced gastric cancer, early gastric cancer, high-grade dysplasia, low-grade dysplasia and normal category.

[0051] At this point, the artificial intelligence model can use a) Weight Initialization with ImageNet; b) Augmentation: Horizontal / Vertical Flip, Rotate (-10°~+10°); c) Batch Size: 6; d) Learning Rate: 4e-04; e) Epoch: 100; f) Optimizer: Adam; g) Loss Function: categoricalcrossentropy as parameters.

[0052] As another example, Figure 3 As shown, the artificial intelligence model according to the present invention can be a secondary classification model for mucosa-confined lesions and submucosa-invaded lesions.

[0053] At this time, the artificial intelligence model can use a) Augmentation: Horizontal / Vertical Flip, Rotate (-5°~+5°), Horizontal / Vertical Shift (-10%~+10%), Zoom (0.8~1.2); b) Batch Size: 2; c) Learning Rate: 1.25e-4; d) Epoch: 200; e) Dropout: 0.4; f) Learning Rate Scheduler with 0.97 decay was used as parameters.

[0054] According to various embodiments, the artificial intelligence model according to the present invention may be a four-category classification model of advanced gastric cancer, early gastric cancer, dysplasia, and normal category.

[0055] The preprocessing unit may include an enlarging unit (not shown) for enlarging the image data to increase the data amount of the gastric lesion image.

[0056] According to an embodiment of the present invention, when using a deep learning algorithm including a convolutional neural network, the larger the amount of data, the better the performance. However, compared with other examinations, the number of gastric endoscopic images is quite small, and the amount of gastric lesion image data collected by the image acquisition unit is far from enough for the convolutional neural network. Therefore, the amplification unit (not shown) can perform a data amplification process based on the learning data set. The amplification unit (not shown) can perform a data amplification process using at least one of rotation, flipping, cropping and noise enhancement of the gastric lesion image.

[0057] The preprocessing unit performs a preprocessing process to correspond to a preset reference value. The preset reference value may be a value arbitrarily specified by a user. In addition, the preset reference value may be a value determined based on an average value of the obtained gastric lesion image. The data set passed through the preprocessing unit may be provided to the learning unit.

[0058] The learning unit may construct an artificial neural network by learning by taking the preprocessed data set as input and outputting items related to the gastric lesion classification results.

[0059] According to an embodiment of the present invention, the learning unit may use a deep learning algorithm composed of two parts, namely, a convolutional neural network structure and a fully-connected neural network structure, to output a classification result of gastric lesions. A fully-connected neural network is a neural network characterized by forming two-dimensional connections horizontally and vertically between nodes, and having no connection relationship between nodes in the same layer, and having a connection relationship only between nodes in adjacent layers.

[0060] The learning unit can construct a training model by using the preprocessed learning data set as the input of the convolutional neural network and the output of the convolutional neural network as the input of the fully connected neural network.

[0061] According to an embodiment of the present invention, the convolutional neural network can output a plurality of specific feature patterns of the analyzed gastric lesion image. At this time, the extracted specific feature patterns can be used for final classification in the fully connected neural network.

[0062] Convolutional Neural Networks are a type of neural network mainly used for speech recognition or image recognition. They can process multi-dimensional array data, so they are particularly suitable for multi-dimensional array processing such as color images. Therefore, in the field of image recognition, most of the technologies using deep learning are based on convolutional neural networks.

[0063] Convolutional Neural Network (CNN) processes images by dividing them into multiple pieces rather than single data. This allows the correct performance to be obtained by extracting some of the image's characteristics even if the image is distorted.

[0064] A convolutional neural network can be composed of multiple layers. The elements that constitute each layer can be composed of a convolutional layer, an activation function, a maxpooling layer, and a dropout layer. The convolutional layer acts as a filter called a kernel, so that the operation of partially processing the entire image (or generating a new feature pattern) extracts a new feature pattern of the same size as the image. The convolutional layer can be modified to facilitate processing the value of the feature pattern through the activation function in the feature pattern. The max pooling layer can sample and resize part of the gastric lesion image to reduce the size of the image. Although the convolutional neural network reduces the size of the feature pattern through the convolutional layer and the max pooling layer, multiple feature patterns can be extracted by using the kernel. The dropout layer can be a method of deliberately not considering some weight values ​​for effective training when training the weight values ​​of the convolutional neural network. In addition, the dropout layer is not used when actually testing with a trained model.

[0065] The multiple feature patterns extracted from the convolutional neural network can be passed to the fully connected neural network as the next step for classification. The number of layers of the convolutional neural network can be adjusted. The number of layers of the convolutional neural network can be adjusted according to the amount of training data used for model training, thereby building a more stable model.

[0066] In addition, the learning unit can construct a diagnostic (training) model by using the learning data set that has undergone a preprocessing process as the input of the convolutional neural network, and the output of the convolutional neural network and patient information as the input of the fully connected neural network. Different from this, the learning unit can preferentially input the image data that has undergone a preprocessing process into the convolutional neural network, and input the result of the convolutional neural network output into the fully connected neural network. In addition, the learning unit can directly input any extracted feature into the fully connected neural network without passing through the convolutional neural network.

[0067] At this time, the patient information may include various information such as the gender, age, height, weight, race, nationality, smoking amount, drinking amount, family history, etc. of the object (test object). In addition, the patient information may include clinical information. Clinical information refers to all data used by the doctor who makes the judgment for a specific judgment. In particular, it includes electronic obligation record data such as data composed of gender and age generated during the diagnosis and treatment process, specific treatment or not data, salary application and prescription data. In addition, clinical information may include biological data such as genetic information. Biological data may include personal health information with numerical data such as heart rate, electrocardiogram, exercise volume, oxygen saturation, blood pressure, weight, and diabetes.

[0068] Patient information is data that is input into the fully connected neural network together with the results of the convolutional neural network structure in the learning unit. By using patient information as the input of the artificial neural network, the accuracy can be further improved compared to the results derived using only gastric lesion images.

[0069] For example, after learning from clinical information in a learning dataset that cancer is more common in elderly people, when an age of 42 or 79 is input along with image features, if it is difficult to distinguish between cancer and benign lesions in the gastric lesion classification results, the results for elderly patients may be biased toward cancer.

[0070] The learning unit can learn by comparing the error between the result derived from the deep learning algorithm structure (structure composed of convolutional neural network and fully connected neural network) using the training data and the actual result, and gradually increasing the weight value of the neural network structure equivalent to the error. The backpropagation algorithm can be an algorithm that adjusts the weight value from each node to the next node to reduce the error of the result (the difference between the actual value and the result value). The learning unit can learn the neural network using the learning data set and the verification data set and obtain the weight value intermediate variable, thereby deriving the final judgment model.

[0071] After the lesion judgment unit preprocesses the new data set, it performs gastric lesion judgment through an artificial neural network. In other words, the lesion judgment unit can use the final judgment model derived from the learning unit described above to derive the judgment of the new data. The new data can be data containing gastric lesion images that the user wants to judge. The new data set can be a data set generated by connecting the new gastric lesion images with patient information. The new data set can be preprocessed by the preprocessing process of the preprocessing unit 12 into a state that can be used for a deep learning algorithm. Afterwards, the preprocessed new data set is input into the learning unit and the gastric lesion image is judged based on the learning parameters.

[0072] According to one embodiment of the present invention, the lesion judgment unit can classify gastric lesions into at least one of advanced gastric cancer, early gastric cancer, high-grade dysplasia, low-grade dysplasia and non-neoplasm to perform the gastric lesion judgment classification. In addition, the lesion judgment unit can be divided into cancer and non-cancer. In addition, the lesion judgment unit can be divided into two ranges of neoplasms and non-neoplasms to distinguish gastric lesion judgment. The neoplasm classification may include AGC, EGC, HGD and LGD. The non-type range may include lesions such as gastritis, benign ulcers, deformities, polyps, intestinal metaplasia or epithelial tumors.

[0073] In order to classify and judge blurred lesions and reduce side effects caused by unnecessary biopsies or endoscopic resections, the server 100 analyzes images obtained by the endoscopic device 200 and automatically classifies and judges blurred lesions, and performs endoscopic resection surgery in the case of neoplasms (dangerous tumors).

[0074] The endoscope device 200 may be a device used during gastroendoscopic examination. The endoscope device 200 may include an operating unit and a main body. The endoscope device 200 may include a main body inserted into the body and an operating unit provided at the rear end of the main body. The front end of the main body may include a shooting unit for shooting inside the body, an illumination unit for irradiating light to the shooting part, a water jet unit for cleaning the inside of the body for shooting, a suction unit for sucking foreign matter or air in the body, etc., and the main body may be provided with channels corresponding to the multiple units (units). In addition, a biopsy channel may be provided in the insertion part, and the endoscope operator may insert a surgical scalpel through the biopsy channel to collect tissue inside the body. The shooting unit (i.e., camera) provided in the endoscope device 200 for shooting inside the body may be provided with a small camera. The shooting device can obtain white light gastroendoscopic images.

[0075] The photographing unit of the endoscopic device 200 can send or receive the obtained gastric lesion image to the server 100 through the network. The server 100 can generate a control signal for controlling the biopsy unit based on the gastric lesion judgment result. The biopsy unit can be a unit that collects tissue inside the body. The positivity and negativity of the tissue can be determined by collecting tissue inside the body. In addition, cancerous tissue can be removed by collecting tissue inside the body. For example, the server 100 may include an endoscopic device 200 that obtains gastric endoscopic images and collects tissue inside the body. In other words, the gastric endoscopic images obtained in real time from the endoscopic device 200 are used as inputs of the artificial neural network through the learning component, and are distinguished into at least one of the items regarding the gastric lesion judgment result, so that the judgment and prediction of gastric lesions can be realized.

[0076] According to another embodiment of the present invention, the endoscope device 200 can be formed in the form of a capsule. For example, the endoscope device 200 is formed in the form of a capsule and can be inserted into the body of the test object to obtain a gastric endoscopic image. The capsule endoscope device 200 can also provide the location information of the location where the esophagus, stomach, small intestine and large intestine of the test object are summarized. In other words, the capsule endoscope device 200 is located in the body of the test object (patient), and can provide the real-time image (image) to the server 100 through the network. At this time, the capsule endoscope device 200 not only provides a gastric endoscopic image, but also provides the location information of the gastric endoscopic image, so that when the judgment classification result of the server 100 belongs to at least one of advanced gastric cancer, early gastric cancer, high-grade dysplasia, and low-grade dysplasia, in other words, when it belongs to a lung tumor risk tumor, it can enable the user (doctor) to grasp the corresponding lesion location and directly perform resection surgery.

[0077] According to one embodiment of the present invention, the server 100 uses the endoscopic image of gastric lesions obtained in real time in the endoscopic device 200 as the input of an algorithm formed through learning to perform gastric lesion judgment. For suspected lesions of neoplasms, the endoscopic device 200 can remove the corresponding lesions through endoscopic mucosal resection or endoscopic submucosal dissection.

[0078] According to an embodiment of the present invention, the endoscope device 200 can use the operating unit to control the photographing unit. The operating unit can receive an operation input signal from the user so that the position of the target lesion is located within the field of view of the photographing unit. The operating unit can control the position of the photographing unit based on the operation input signal received from the user. In addition, when the field of view of the photographing unit is located at the position of the target lesion, the operating unit can obtain an operation input signal for capturing a corresponding image and generate a signal for capturing a corresponding gastric lesion image.

[0079] According to another embodiment of the present invention, the endoscope device 200 may be a device formed in the form of a capsule. The capsule endoscope device 200 is inserted into the human body of the subject (detection subject) and can be remotely operated. The gastric lesion image obtained from the capsule endoscope device 200 can not only obtain the image of the area that the user wants to capture, but also can obtain the image by converting all the images obtained by video shooting into an image. The capsule endoscope device 200 may include a shooting unit and an operating unit. The shooting unit is inserted into the human body and is controlled inside the human body based on the operation signal of the operating unit.

[0080] The display device 300 may include, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, or a microelectromechanical system (MEMS) display. The display device 300 may display to the user the gastric endoscopic image obtained from the endoscopic device 200 and the gastric lesion judgment information determined by the server 100. The display device 300 may include a touch screen, for example, which may receive a touch, gesture, near point, or hover input using an electronic pen or a part of the user's body. The display device 300 may output the gastric lesion image obtained in the endoscopic device 200. In addition, the display device 300 may output the gastric lesion judgment result.

[0081] According to another embodiment of the present invention, the endoscope device 200 may include an operation unit, a main body, a processor, a lesion position obtaining unit, and a display unit.

[0082] At this time, the endoscope device 200 includes an artificial intelligence model and can perform lesion judgment. Specifically, in order to prevent the time difference generated when the artificial intelligence model judges the lesion from hindering the gastroendoscopic examination, the detection-related algorithms that may hinder the inspector can be executed by the endoscope device 200, and the remaining algorithms related to preprocessing and reading can be executed by the server 100.

[0083] The operating unit is provided at the rear end of the main body and operates based on the user's input information. The operating unit is the part held by the endoscope operator, and can operate the main body inserted into the body of the detection object. In addition, the operating unit can operate the actions of multiple unit devices required for endoscopic surgery housed in the main body. The operating unit may include a rotation processor. The rotation processor may include a part responsible for the function of generating a control signal and the function of providing a rotational force (for example, a motor). The operating unit may include a button for operating the shooting unit (not shown). The button is a button for controlling the position of the shooting unit (not shown), and may be a button for the user to change the position of the main body such as up, down, left, right, forward, and backward.

[0084] The main body is the part inserted into the body of the test object, and can accommodate multiple unit devices. The multiple unit devices may include a shooting unit (not shown) that shoots the body of the test object, an air supply unit that supplies air to the body, a water supply unit that supplies water to the body, an illumination unit that irradiates light to the body, a biopsy unit that collects or treats a part of the tissue in the body, and at least one of a suction unit that sucks air or foreign matter from the body. The biopsy unit may include various medical instruments such as surgical scalpels and needles that collect part of the tissue from the living body. The biopsy unit such as surgical scalpels and needles is inserted into the body through the biopsy channel by the endoscope operator and collects cells in the body.

[0085] The photographing unit (not shown) can accommodate a camera having a size corresponding to the diameter of the main body. The photographing unit (not shown) is provided at the front end of the main body and photographs gastric lesion images, and provides the photographed gastric lesion images to the lesion determination unit and the display unit through the network.

[0086] The processor may generate a control signal for controlling the action of the main body based on the user's input information obtained from the operation unit and the judgment result of the server 100. When the processor receives a certain selection input from the user from the button included in the operation unit, it generates a control signal for controlling the action of the main body corresponding to the corresponding button. For example, when the user inputs a button for advancing the main body, the processor generates a control signal for advancing the main body at a certain speed in the body of the object (patient). The main body may advance in the body of the object (patient) based on the control signal of the processor.

[0087] In addition, the processor may generate a control signal for controlling the action of the photographing unit (not shown). The control signal for controlling the action of the photographing unit (not shown) may be a signal for the photographing unit (not shown) located in the lesion area to capture the image of the gastric lesion. In other words, when the user wishes to obtain an image of the photographing unit (not shown) located in a specific lesion area through the operating unit, the capture button may be clicked. The processor may generate a control signal based on the input information obtained from the operating unit so that the photographing unit (not shown) obtains an image in the corresponding lesion area. The processor may generate a control signal for the photographing unit (not shown) to obtain a specific gastric lesion image from the image being photographed.

[0088] In addition, the processor generates a control signal based on the judgment result of the server 100 to control the action of the biopsy unit that collects a portion of the maximum value of the opposing body. When the judgment result of the server 100 belongs to at least one of advanced gastric cancer, early gastric cancer, high-grade dysplasia, low-grade dysplasia, and the like, the processor generates a control signal to control the action of the biopsy unit to perform resection. The biopsy unit may include various medical instruments such as surgical scalpels and needles that collect part of the tissue from the living body. The biopsy unit such as surgical scalpels and needles is inserted into the body through the biopsy channel by the endoscope operator to collect cells in the body. In addition, the processor generates a control signal based on the user input signal obtained from the operating unit to control the action of the biopsy unit. The action of collecting, resecting, and removing cells in the body can be performed by the user using the operating unit.

[0089] According to an embodiment of the present invention, the lesion position obtaining unit may connect the gastric lesion image and the position information obtained from the photographing unit (not shown) to generate the gastric lesion information. The position information may be the position information of the main body currently located in the body. In other words, when the main body is located at a first location of the stomach of the object (patient) and a gastric lesion image is obtained from the first location, the lesion position obtaining unit may connect the gastric lesion image and the position information to generate the gastric lesion information.

[0090] The lesion position acquisition unit can provide the user (doctor) with the gastric lesion information generated by connecting the obtained gastric lesion image and the position information. By providing the judgment result of the lesion judgment unit 10 and the gastric lesion information of the lesion position acquisition unit to the user through the display unit, when performing an operation to remove (remove) the corresponding lesion, it is prevented from happening that the resection is performed at a location other than the lesion location.

[0091] In addition, the processor may generate a control signal for controlling the position of the biopsy unit when the biopsy unit is not located at the corresponding lesion position, using the position information provided by the lesion position obtaining unit.

[0092] The server 100 generates a control signal to control the biopsy unit to collect or remove cells in the body, thereby completing a faster tissue examination. At the same time, cells that are determined to be cancerous are directly removed during the endoscopic determination process, thereby achieving rapid treatment.

[0093] Next, the operation flow of the present invention will be briefly described based on the contents of the above-mentioned detailed description.

[0094] Specifically, if Figure 7 As shown, in step S110, the endoscope device 200 can obtain a gastric endoscopic image.

[0095] In step S120 , the endoscope device 200 may transmit the obtained gastroscopic image to the server 100 .

[0096] In step S130, the server 100 may input the gastroendoscopic image into the first artificial intelligence model to determine the lesions contained in the gastroendoscopic image.

[0097] As an embodiment, when real-time images are being captured by the endoscope device 200 , if a command to read images is received from a doctor, the server 100 may obtain a plurality of images of images before a preset time from the time when the image reading command is input.

[0098] Specifically, even if the server 100 does not determine that it is a lesion, if the doctor finds a suspicious image, the server 100 can receive an image reading command issued by the doctor.

[0099] At this time, the image reading command may be a voice command. For example, if the doctor issues a voice command "read image", the endoscope device 200 may recognize the command as an image reading command and send a control signal to the server 100 to read the image. As another example, the image reading command may be an action of pressing a preset button included in the endoscope device 200, or an action of touching a specific UI of the display device 300.

[0100] After receiving the image reading command, the server 100 may obtain a plurality of image frames of images before a preset time from the moment when the image reading command is input, and perform lesion determination analysis on these frames.

[0101] As an embodiment, the server 100 may input a plurality of images into a third artificial intelligence model to determine whether the plurality of images contain lesions and the type of lesions.

[0102] At this time, the first artificial intelligence model and the second artificial intelligence model can be lightweight artificial intelligence models for outputting quick results, while the third artificial intelligence model can be an artificial intelligence model for obtaining accurate results. That is, to assist in endoscopic examination in real time, the first artificial intelligence model and the second artificial intelligence model that can produce quick results can be used, and when there is a doctor's image reading order, the third artificial intelligence model that can obtain accurate results although the precise analysis takes a long time can be used.

[0103] Afterwards, when determining whether the multiple images contain lesions, the server 100 may determine whether the real-time image contains lesions.

[0104] When a lesion is included, the server 100 may display a UI for indicating the location of the lesion in the real-time image.

[0105] In step S140 , when the server 100 determines that there is a lesion in the endoscopic image, the server 100 obtains an image containing the lesion and transmits it to the database of the server 100 .

[0106] As an embodiment, as will be described later, an image containing a lesion stored in the database can be viewed in the second UI displayed by the second icon.

[0107] In step S150 , the server 100 may input the image into a second artificial intelligence model to determine the type of lesions contained in the image.

[0108] As an embodiment, the second artificial intelligence model may use the Detection algorithm using YOLO_v3 and EfficientNet. The second artificial intelligence model may identify lesions, remove patient text and light reflections from an image containing lesions, read the lesion type, and display the results in real time on the display device 300 during the inspection process.

[0109] As an embodiment, the server 100 may determine whether the tissue examination causes bleeding.

[0110] Specifically, the server 100 may include a fourth artificial intelligence model for detecting bleeding. In a step before inputting the image to the first artificial intelligence model and the second artificial intelligence model, the server 100 may input the image to the fourth artificial intelligence model.

[0111] If it is determined that bleeding occurs, the server 100 may not perform lesion determination on the location where the bleeding occurs.

[0112] That is, if the fourth artificial intelligence model determines that bleeding occurs in the input image, the server 100 will not input the image into the first artificial intelligence model and the second artificial intelligence model. Instead, the server 100 will input the image into the first artificial intelligence model and the second artificial intelligence model for lesion judgment only when the fourth artificial intelligence model determines that bleeding does not occur in the input image.

[0113] In step S160 , when it is determined that there is a lesion in the endoscopic image, the server 100 may display a UI for indicating the location of the lesion in the endoscopic image. At this time, the UI for indicating the location of the lesion may be displayed by the display device 300 .

[0114] Specifically, if Figure 4 and Figure 5 As shown, a first icon 410 for inputting patient information, a second icon 420 for viewing an image containing a determined lesion, a third icon 430 for viewing an examination result image, a fourth icon 440 for changing a setting value, and a fifth icon 450 for returning to a real-time image can be displayed.

[0115] The first icon 410 is an icon for inputting patient information. Figure 4 As shown, if a user command to the first icon 410 is input, the display device 100 may display a first UI for inputting a patient's name, a patient's medical record number, a gender, and a year of birth.

[0116] Patient information may also be modified during the endoscopy process. Further, when the first UI is displayed on the display device 300, the first icon may be highlighted in a color different from other icons, and the user command may not be input through the first icon.

[0117] In addition, only a part of the plurality of input windows included in the first UI is input. In other words, even if information is not input to all of the plurality of input windows, gastroscopy can be performed.

[0118] At this time, the year of birth can only be entered in digital form such as "1988" or "88", and the year of birth can only be entered in the year before the current time point. Of course, according to various embodiments, the year of birth can only be entered in the year before the preset range starting from the current time point.

[0119] In addition, the year of birth can only be entered within a preset range relative to the current time. For example, if the current time is 2020, based on the preset year (e.g., 200), years before 1820 cannot be entered. If a year of birth out of range is entered, the display device 300 may output a warning message such as "Please confirm your year of birth."

[0120] In addition, if insufficient patient information is entered although an endoscopic examination is in progress or has been completed, the server 100 may index the endoscopic examination performed. At this time, insufficient patient information input may refer to a situation where the patient information cannot be distinguished from other endoscopic examination results. For example, if only the patient's name or birth information is entered, but an endoscopic examination of a patient with the same patient name or birth information has been or is planned, the server 100 may perform indexing to distinguish the same patient data. For example, if the patient information is insufficient, the server 100 may generate a random medical record number to add to the patient information. The random medical record number generated by the server 100 may have a different format than a normally recorded medical record number, or may be displayed in a different color.

[0121] As an embodiment, if a user command is input through the end icon or the cancel icon displayed in the first UI, the display device 300 may display a fifth UI for displaying a real-time image.

[0122] The second icon is used to view images stored in the database of the server 100 .

[0123] If a user command for the second icon is input, the display device 300 may display a second UI for displaying a list of images including lesions.

[0124] As an embodiment, the second icon may display the number of the image list together. If the image list exceeds a preset number (eg, 99), only the preset number (eg, 99) may be displayed together in the second icon.

[0125] The third icon is used to view the examination results of different lesions.

[0126] If a user command for the third icon is input, Figure 6 As shown, the display device 300 may display a third UI for displaying a list of different lesion judgment results.

[0127] The fourth icon is used to change the setting value.

[0128] If a user command is input through the fourth icon, a fourth UI for changing the setting value is displayed.

[0129] The fifth icon is used to return to the live image.

[0130] If a user command is input through the fifth icon, the display device 300 may display a fifth UI for displaying a real-time image.

[0131] As an example, while the fifth UI is displayed, if a first user command to one of the first icon, the second icon, the third icon, and the fourth icon is input, the display device 300 may display a UI corresponding to the first user command in the first layer.

[0132] Even in this case, the server 100 and the display device 300 can detect the image screen in real time. To this end, the first to fourth UIs may be implemented in a layer different from the fifth UI.

[0133] In addition, if Figure 5 As shown, during display of the fifth UI, the display device 300 may display a sixth icon 510 , a seventh icon 520 , an eighth icon 530 , a ninth icon 540 , and a tenth icon 550 .

[0134] If the server 100 is analyzing the lesion, a sixth icon 510 may be generated. When the sixth icon 510 is displayed on the fifth UI, the doctor may determine that there is a suspected part and the server 100 is reading the part.

[0135] The seventh icon 520 is used to display the location and status of the lesion when the server 100 obtains the lesion in the image. The seventh icon may be generated corresponding to the size of the lesion, and may be further displayed in different colors according to the status of the lesion. For example, green represents normal, yellow represents LGD, dark yellow represents HGD, orange represents EGC, and red represents AGC.

[0136] As described above, the eighth icon 530 may be associated with the quantity display of the image list.

[0137] The ninth icon 540 is configured to display the patient information obtained through the first UI. At this time, the patient information may include name, gender, age, and medical history information. If the patient information is not entered, it may be displayed as "-".

[0138] The tenth icon 550 is configured to display the number of lesions determined during endoscopy. As the number of images containing suspected lesions increases, the number of digits displayed in the tenth icon 550 may change.

[0139] At this time, when the fifth UI is displayed, the fifth icon 450 may not be displayed.

[0140] In addition, according to various embodiments of the present invention, the server 100 may determine whether the determined lesion is a lesion requiring real-time surgery.

[0141] Specifically, when performing an endoscopic examination, it is necessary to perform surgery while determining the type of lesion. Therefore, when the server 100 determines the type of lesion, it can also determine whether the determined lesion is an operable lesion.

[0142] Thereafter, if the determined lesion is a lesion requiring real-time surgery, the server 100 may calculate a difference between the time of receiving the endoscopic image from the endoscopic device 200 and the time of determining the lesion included in the endoscopic image.

[0143] If the difference is greater than a preset value, the display device 300 may display information about the lesion requiring surgery based on the difference in the fifth UI.

[0144] That is, when the artificial intelligence model is determining whether an image in an endoscopic image is a lesion, the doctor may skip over an identified area. Therefore, the server 100 can calculate the difference between the time of receiving the endoscopic image from the endoscopic device and the time of determining the lesion contained in the endoscopic image and notify the doctor, thereby enabling the doctor to perform surgery on the lesion in real time during the endoscopic examination.

[0145] In addition, according to various embodiments of the present invention, when an endoscopic image is input to the first artificial intelligence model, the server 100 may determine whether the image is an endoscopic image.

[0146] Thereafter, if the image is not an endoscopic image, the server 100 may display a UI for inputting new patient information.

[0147] Alternatively, if the video is not an endoscopic examination video, the server 100 may determine that the previous endoscopic examination image has ended and the endoscopic examination of a new patient has begun, thereby displaying the image separately from the previously obtained endoscopic images.

[0148] By using the method described above, the server 100 can classify endoscopic images according to patients even if patient information is not input.

[0149] Specifically, the server 100 may extract an image of the esophagus and an image of the tongue in the patient's mouth from the endoscopic image to obtain a class for the non-gastrointestinal part. Further, the server 100 may obtain an image of the inside of the stomach as another class. The server 100 may distinguish each of the other two classes obtained by learning the artificial intelligence algorithm in two steps.

[0150] As an embodiment, even if the server 100 receives a request to read an image, if the requested image is determined to be a non-gastrointestinal part determined by the artificial intelligence algorithm of the above two steps, the lesion determination process may not be performed.

[0151] As another embodiment, the server 100 may obtain data corresponding to the average brightness of the endoscope room in which the endoscopic image is taken, and determine whether the endoscope device 200 is located outside the human body based on the data. Specifically, the server 100 may determine whether the captured image is located outside the human body based on the illumination, saturation, and brightness information of the image obtained by the endoscope device 200. Specifically, the server 100 may obtain the average brightness value of the endoscope room environment, and compare the obtained average brightness value with the brightness value of the image obtained by the endoscope device 200, thereby determining whether the obtained image is located outside the human body. For example, if the image obtained by the endoscope device 200 is included in a specific brightness range, the server 100 determines the image as an image outside the human body and shuts down the artificial intelligence algorithm system.

[0152] According to various embodiments of the present invention as described above, the server 100 can automatically distinguish and identify patients and store the read information in a storage device when starting an endoscopic examination of another patient after an endoscopic examination of one patient is completed, even if the patient name is not input.

[0153] Furthermore, the server 100 can automatically identify and distinguish the esophagus, oral cavity, and external parts of the body connected to the stomach from the endoscopic image without performing artificial intelligence readings on these parts, thereby focusing the resources of the server 100 on the discovery and judgment of gastric lesions.

[0154] In addition, according to another embodiment of the present invention, the server 100 may divide the endoscopic image into a plurality of frames.

[0155] Thereafter, when it is determined that there is a lesion in a predetermined number or more of consecutive frames among the plurality of frames, the server 100 may determine that the lesions corresponding to the consecutive frames are the same lesion.

[0156] Specifically, when the server 100 reads lesions of the same part in multiple image frames included in the endoscopic image, the lesions can be determined as the same lesion. The server 100 can regard the lesion type (e.g., LGD) detected with the highest frequency in the image frames corresponding to the same lesion as the determined lesion.

[0157] In addition, according to another embodiment of the present invention, the server 100 may determine whether bleeding occurs due to tissue examination during the endoscopic examination. If bleeding occurs, the server 100 may not determine it as a lesion. Specifically, the server 100 may learn a plurality of images in which bleeding occurs as learning data to distinguish them from images of gastric lesions.

[0158] As another embodiment, the server 100 may detect and remove various noises in the image other than visible lesions during the endoscopic examination. For example, if a patient's text is detected in the endoscopic image, the server 100 may delete the detected patient text. As another embodiment, if light reflections on the screen caused by the air blown out by the endoscopic instrument and the liquid in the stomach are detected, the server 100 may compensate for the light reflections and not identify them. As another embodiment, the server 100 may pre-store data of a tissue inspection instrument that is configured separately from the endoscopic device 200, so that when the tissue inspection instrument is photographed, the image is excluded from the lesion judgment. As another embodiment, the server 100 may perform color correction on the image taken by the endoscopic device 200.

[0159] For example, the server 100 may use a segmentation artificial intelligence algorithm to identify and delete texts of all patients so that only the input image is read, or the light reflection of the endoscope device 200 may be distinguished by the average brightness value of the digitized image, and if the brightness value is higher or lower than a specific value, the image is not read when the image is requested to be read. Further, when an external instrument such as a tissue inspection instrument is photographed, the external instrument may be identified based on the deformation detection algorithm of YOLO_v3, and the image is controlled not to be read when the image is requested to be read.

[0160] In addition, if Figure 5 As shown, the server 100 may display a seventh icon 520 on the display device 300 to alert the doctor when a lesion detected once by the server 100 reappears in the lesion, thereby preventing the doctor from looking away from the AI ​​device during endoscopic examination or missing the detected lesion. Further, the server 100 may simultaneously generate a computer notification sound when a lesion is detected, and display an icon on the UI of the display device 300, the icon including a color specified for each lesion.

[0161] Specifically, when the RGB matching degree between frames is higher or lower than a specific value, the server 100 may retain the lesion position of the previous frame even if no lesion is detected in the current frame. At this time, the position of the lesion may be displayed as a rectangle in real time, as shown in the seventh icon 520. In addition, when no lesion is detected, the seventh icon 520 may be deleted.

[0162] In addition, in the artificial intelligence model according to the present invention, the Max Overall Accuracy of the fourth category classified as advanced gastric cancer, early gastric cancer, dysplasia and normal category is 89.67%, at this time, the sensitivity is 98.62%, and the specificity is 85.28%; the Max Overall Accuracy of the fifth category classified as advanced gastric cancer, early gastric cancer, high-grade dysplasia, low-grade dysplasia and normal category is 77%, at this time, the sensitivity is 85.56%, and the specificity is 94.17%; the Max Overall Accuracy of the second category classified as mucosa-confined lesions and submucosa-invaded lesions is 89.67%, at this time, the sensitivity is 98.62%, and the specificity is 85.28%. The accuracy is 89.9%. At this time, the sensitivity is 93.13% and the specificity is 89.08%.

[0163] Figure 8 is a structural diagram of a device according to an embodiment.

[0164] The processor 102 may include one or more cores (not shown) and a graphics card (not shown) and / or a connection channel (eg, a bus, etc.) for transmitting and receiving signals with other elements.

[0165] According to one embodiment, the processor 102 executes one or more instructions stored in the memory 104 to perform Figure 7 The method described in .

[0166] For example, the processor 102 executes one or more instructions stored in the memory to obtain new learning data, performs a test on the acquired learning data using the learned model, extracts first learning data whose labeling information accuracy is greater than a specified first benchmark value based on the test result, deletes the extracted first learning data from the new learning data, and relearns the learned model using the new learning data from which the extracted learning data has been deleted.

[0167] In addition, the processor 102 may also include a random access memory (RAM, Random Access Memory, not shown) and a read-only memory (ROM, Read-Only Memory, not shown) for temporarily and / or permanently storing signals (or data) processed inside the processor 102. In addition, the processor 102 may be implemented in the form of a system on chip (SoC, system on chip) including at least one of an image processing unit, a random access memory and a read-only memory.

[0168] The memory 104 may store programs (one or more instructions) for processing and controlling the processor 102. The programs stored in the memory 104 may be divided into a plurality of modules according to their functions.

[0169] The steps of the method or algorithm of the embodiment of the present invention can be directly implemented by hardware, or implemented by a software module implemented by hardware, or implemented by a combination of the above methods. The software module can be resident in RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), Flash Memory, hard disk, removable disk, CD-ROM or any form of computer-readable recording medium known in the technical field of the present invention.

[0170] Elements of the present invention may be implemented as programs (or applications) stored in a medium to be executed in conjunction with a computer as hardware. Elements of the present invention may be executed by software programming or software elements. Similarly, embodiments include various algorithms implemented as a combination of data structures, processes, procedures, or other programming structures, which may be implemented in programming or scripting languages ​​such as C, C++, Java, assemblers, etc. Functional aspects may be implemented by algorithms executed by more than one processor.

[0171] The embodiments are only used to illustrate the present invention and are not intended to limit the present invention. A person skilled in the art should understand that the present invention may be modified, deformed or replaced by equivalents without departing from the spirit and scope of the present invention, which should be included in the scope of the claims of the present invention.

Claims

1. A control method for a lesion judgment system obtained through real-time imaging, characterized in that: The control method of the lesion judgment system obtained by real-time imaging includes: The steps of obtaining gastroendoscopic images by an endoscopic device; The endoscopic device transmits the obtained gastroendoscopic image to a server; The server inputs the gastroendoscopic image into a first artificial intelligence model to determine the lesion contained in the gastroendoscopic image; When the server determines that there is a lesion in the gastroendoscopic image, the server obtains an image containing the lesion and transmits the image to a database of the server; The server inputs the image into a second artificial intelligence model to determine the type of lesions contained in the image; and When it is determined that there is a lesion in the gastroendoscopic image, the display device displays a UI for indicating the location of the lesion in the gastroendoscopic image; The steps of determining the lesion include: When taking a real-time image using the endoscope device, if a command to read the image is received from a doctor, the server obtains a plurality of images of the image from the time when the image reading command is input to a preset time before; The server inputs the plurality of images into the second artificial intelligence model to determine whether the plurality of images contain lesions and the type of lesions; When the server determines that the multiple images contain a lesion, the server determines whether the real-time image contains the lesion; and When the lesion is included, the display device displays a UI for indicating the position of the lesion in the real-time image; The step of determining the type of lesions contained in the image comprises: The server determines whether bleeding occurs due to tissue examination; and If it is determined that the bleeding occurs, no step of determining the lesion at the location where the bleeding occurs is performed.

2. The control method of the lesion judgment system obtained by real-time imaging according to claim 1, characterized in that: The control method of the lesion judgment system obtained by real-time imaging includes: When the endoscopic image is input to the first artificial intelligence model, the server determines whether the image is a gastroendoscopic image; and When the image is not a gastroendoscopic image, the display device displays a UI for inputting new patient information.

3. The control method of the lesion judgment system obtained by real-time imaging according to claim 2, characterized in that: The step of determining whether the image is a gastroendoscopic image comprises: The server obtains data corresponding to the average brightness of the endoscope room in which the endoscope image is taken; and The server determines whether the endoscope device is located outside the human body based on the data.

4. The control method of the lesion judgment system obtained by real-time imaging according to claim 1, characterized in that: The control method comprises: The server divides the endoscopic image into a plurality of frames; and When a lesion is determined in a predetermined number or more of consecutive frames among the plurality of frames, the server determines that the lesions corresponding to the consecutive frames are the same lesion.

5. The control method of the lesion judgment system obtained by real-time imaging according to claim 1, characterized in that: The step of displaying the UI includes: The step of displaying a first icon for inputting patient information, a second icon for viewing an image containing a determined lesion, a third icon for viewing an examination result image, a fourth icon for changing a setting value, and a fifth icon for returning to a real-time image; If a user command for the first icon is input, a step of displaying a first UI for inputting a patient's name, patient medical record number, gender, and year of birth; If a user command for the second icon is input, a step of displaying a second UI for displaying a list of images including lesions; If a user command for the third icon is input, a step of displaying a third UI for displaying a list of different lesion judgment results; If a user command is input through the fourth icon, a fourth UI for changing a setting value is displayed; and If a user command is input through the fifth icon, a step of displaying a fifth UI for displaying a real-time image is performed; and during the display of the fifth UI, if a first user command to one of the first icon, the second icon, the third icon and the fourth icon is input, a step of displaying a UI corresponding to the first user command in the first layer is performed.

6. The control method of the lesion judgment system obtained by real-time imaging according to claim 5, characterized in that: The step of determining the lesion contained in the gastroendoscopic image comprises: The step of determining whether the determined lesion is a lesion requiring real-time surgery; If the determined lesion is a lesion requiring real-time surgery, a step of calculating a difference between a time of receiving the gastric endoscopic image from the endoscopic device and a time of determining the lesion included in the gastric endoscopic image; and If the difference is greater than a preset value, information about the lesion requiring surgery and the steps of the difference are displayed in the fifth UI.

7. A device, characterized in that: The device comprises: a memory for storing one or more instructions; and A processor configured to execute one or more instructions stored in the memory. The processor performs the method of claim 1 by executing the one or more instructions.

8. A recording medium, which is combined with a computer as hardware and stores a computer program, characterized in that: The computer program is read by a computer to execute the method of claim 1 .