Drug control device, drug control system, drug management method and recording medium
Through the comparison and update mechanism of the medicine comparison device and system, the problem of low medicine image recognition accuracy is solved, medicine image recognition is realized in multiple directions and conditions, and the recognition accuracy and coverage are improved.
Patent Information
- Application Number
- CN202080067253.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-01
- Filing Date
- 2020-09-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-09-24
AI Technical Summary
In the existing technology, the accuracy of drug image recognition is low, and especially the drug image that is difficult to obtain is difficult to register as the main image, resulting in difficulty in recognition.
Provide a medicine comparison device and system that compares the photographed medicine image with the stored main image, associates and sends identification information, and updates the main image using the undetermined medicine image, including correction based on prescription information and photography and lighting condition information .
It improves the accuracy and coverage of pharmaceutical image recognition, can effectively identify pharmaceutical images in multiple directions and conditions, and reduces the possibility of unrecognized pharmaceuticals.
Smart Images

Figure CN114450677B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a drug control device, a drug control system, a drug management method and a program. Background Art
[0002] Conventionally, various devices for identifying the type of medicine have been proposed or provided, such as an apparatus that captures an image of a medicine to be identified and compares the image of the medicine with a master image of the medicine registered in advance to identify the type of the medicine.
[0003] Patent Document 1 describes a medicine recognition device that compares a medicine image with a main image to identify the medicine. The device described in this document obtains information on the position of the medicine based on the medicine image, and updates the main image when the position of the medicine satisfies a predetermined condition.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: International Publication No. 2018 / 173649 Summary of the invention
[0007] Problem that the invention aims to solve
[0008] The main image is essential to improve the image recognition accuracy of medicines. However, there are more than 8,000 kinds of medicines such as tablets and capsules on the market. For example, there are expensive medicines and other medicines that are difficult to obtain. As a result, it is difficult to obtain medicine images of all medicines and register them as main images.
[0009] The present invention has been made in view of such a situation, and an object of the present invention is to provide a drug control device, a drug control system, a drug management method, and a program that can collect drug images that are candidates for a main image.
[0010] Means used to solve problems
[0011] In order to achieve the above-mentioned object, the following invention aspects are provided.
[0012] The first mode of the drug comparison device comprises: a drug image acquisition unit, which acquires a drug image generated by photographing a drug of a comparison object; a first main image storage unit, which stores the main image of the drug; a comparison unit, which compares the drug image acquired using the drug image acquisition unit with the main image stored in the first main image storage unit; an association unit, which associates the drug image compared using the comparison unit with identification information of the drug image; and a sending unit, which sends the drug image and identification information associated in the association unit to the outside.
[0013] According to the first aspect, the medicine image compared with the main image is associated with the identification information of the medicine image and transmitted to the outside. Thus, the medicine image associated with the identification information can be used as a candidate for the main image.
[0014] The medicine image may include an image extracted from a plurality of captured images of medicines. The medicine image may include a plurality of images captured from a plurality of directions.
[0015] The main image can contain multiple images taken from multiple directions.
[0016] The checking unit may perform monitoring based on prescription information or may perform monitoring without using prescription information.
[0017] According to a second aspect, in the drug comparison device of the first aspect, the association unit may be configured such that the association unit associates the identification information with the drug image determined as unidentifiable by the comparison unit.
[0018] According to the second aspect, identification information can be associated with a drug image that cannot be identified and transmitted to the outside.
[0019] A third aspect may be configured such that, in the drug control device of the second aspect, there is provided an identification information input unit for inputting identification information of an image, and the associating unit associates the identification information of the drug image inputted using the identification information input unit with the drug image.
[0020] According to the third aspect, the input identification information can be associated with the drug image that cannot be identified.
[0021] According to a fourth aspect, in the drug comparison device of the second aspect, the association unit may be configured such that the association unit associates the identification information indicating that determination is impossible with the drug image determined as impossible to be determined by the comparison unit.
[0022] According to the fourth aspect, a drug image determined to be indeterminate to which identification information indicating indeterminate drug image is added can be transmitted to the outside.
[0023] A fifth aspect may be configured such that, in the drug comparison device of any one of the second to fourth aspects, the first main image storage unit updates the main image using the drug image determined as undeterminable in the comparison unit and identification information associated with the drug image.
[0024] According to the fifth aspect, the main image can be updated using the drug image that has become unidentifiable and the identification information associated with the drug image. This makes it possible to perform comparison of drugs that have not been stored in the first main image storage unit.
[0025] A sixth aspect may be configured such that, in the drug control device of any one of the first to fifth aspects, there is provided an imaging condition information acquisition unit for acquiring imaging condition information of the drug image, and the association unit associates the imaging condition information with the drug image.
[0026] According to the sixth aspect, it is possible to utilize the medicine image and the identification information and imaging condition information of the medicine image.
[0027] A seventh aspect may be configured such that, in the drug control device of any one of the first to sixth aspects, there is provided a lighting condition information acquisition unit for acquiring lighting condition information of the drug image, and the association unit associates the lighting condition information with the drug image.
[0028] According to the seventh aspect, it is possible to utilize the medicine image, the identification information of the medicine image, and the lighting condition information.
[0029] According to an eighth aspect, in the drug control device of any one of the first to seventh aspects, the transmitting unit may externally transmit the drug image that is not associated with the identification information in the associating unit.
[0030] According to the eighth aspect, it is possible to transmit a medicine image that is not associated with identification information to the outside.
[0031] According to a ninth aspect, in the drug comparison device of the eighth aspect, the association unit may be configured such that the association of the identification information is disabled for drug images determined as unidentifiable by the comparison unit.
[0032] According to the ninth aspect, it is possible to not associate identification information with a drug image that is determined to be unidentifiable.
[0033] The drug control system of the 10th embodiment comprises: a server device; a second main image storage unit, which stores the main image; and a drug control device, which compares the drug image generated by photographing the drug of the control object with the main image, the drug control device comprising: a drug image acquisition unit, which acquires the drug image; a first main image storage unit, which stores the main image stored in the second main image storage unit; a comparison unit, which compares the drug image acquired using the drug image acquisition unit with the main image stored in the first main image storage unit; an association unit, which associates the drug image compared using the comparison unit with the identification information of the drug image; and a sending unit, which sends the drug image and the identification information associated in the association unit to the server device.
[0034] According to the tenth aspect, the same effects as those of the first aspect can be obtained.
[0035] In the tenth aspect, the same items as those specified in the second to ninth aspects can be appropriately combined. In this case, the structural element responsible for the processing or function specified in the drug control device can be grasped as the structural element of the drug control system responsible for the corresponding processing or function.
[0036] According to an eleventh aspect, in the drug control system of the tenth aspect, the server device updates the main image stored in the second main image storage unit using the drug image transmitted from the transmission unit and the identification information corresponding to the drug image.
[0037] According to the eleventh aspect, the second main image storage unit can be updated using the medicine image to which the identification information is associated.
[0038] According to a twelfth aspect, in the drug control system of the tenth aspect or the eleventh aspect, the server device may be connected to the drug control device via a network in a communicable manner.
[0039] According to the twelfth aspect, a network system including a server device and a drug control device can be constructed.
[0040] The 13th mode of the drug management method includes: a drug image acquisition step, which acquires a drug image generated by photographing a drug of a control object; a comparison step, which compares the drug image acquired in the drug image acquisition step with a main image stored in a first main image storage unit that stores the main image of the drug; an association processing step, which associates the drug image compared in the comparison step with identification information of the drug image; and a sending step, which sends the drug image and identification information associated in the association processing step to the outside.
[0041] According to the thirteenth aspect, the same effects as those of the first aspect can be obtained.
[0042] In the thirteenth aspect, the same items as those specified in the second to ninth aspects, the eleventh aspect, and the twelfth aspect can be appropriately combined. In this case, the structural elements responsible for the processing or functions specified in the drug control device and the drug control system can be grasped as the structural elements of the drug management method responsible for the corresponding processing or functions.
[0043] The program of the 14th method enables the computer to implement the following functions: a drug image acquisition function for acquiring a drug image generated by photographing a drug of a control object; a comparison function for comparing the drug image acquired using the drug image acquisition function with the main image stored in the first main image storage unit that stores the main image of the drug; an association processing function for associating the drug image compared using the comparison function with the identification information of the drug image; and a sending function for sending the drug image and identification information associated using the association processing function to the outside.
[0044] According to the fourteenth aspect, the same effects as those of the first aspect can be obtained.
[0045] In the fourteenth aspect, the same items as those specified in the second to ninth aspects, the eleventh aspect, and the twelfth aspect can be appropriately combined. In this case, the structural elements responsible for the processing or functions specified in the drug control device and the drug control system can be grasped as the structural elements of the program responsible for the corresponding processing or functions.
[0046] Effects of the Invention
[0047] According to the present invention, the medicine image after comparison with the main image is associated with the identification information of the medicine image and transmitted to the outside, thereby making it possible to use the medicine image associated with the identification information as a candidate for the main image. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a perspective view of a drug monitoring device according to an embodiment.
[0049] Figure 2 This is a structural diagram of a drug monitoring system according to an implementation method.
[0050] Figure 3 yes Figure 2 The functional block diagram of the drug monitoring system is shown.
[0051] Figure 4 yes Figure 3 Functional block diagram of the information acquisition unit shown.
[0052] Figure 5 It is a schematic diagram showing a configuration example of an imaging device and a lighting device.
[0053] Figure 6 It is a schematic diagram showing an example of arrangement of a lighting device.
[0054] Figure 7 yes Figure 3 A schematic diagram of the local database is shown.
[0055] Figure 8 yes Figure 3 The functional block diagram of the drug type determination unit shown.
[0056] Fig. 9 This is a diagram for explaining drug testing.
[0057] Fig.10 It is an explanatory diagram showing an example of setting a region of interest.
[0058] Fig.11 This is a diagram illustrating the influence of illumination light.
[0059] Fig.12 This is an illustration of the monitoring result display screen.
[0060] Fig.13 This is an illustration of the audit result correction screen.
[0061] Fig.14 Detailed description of the invention is a flowchart showing the steps of the drug management method. DETAILED DESCRIPTION
[0062] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this specification, the same reference numerals are given to the same components, and repeated descriptions are appropriately omitted.
[0063] [Pharmaceutical monitoring device]
[0064] Figure 1 This is a perspective view of a drug monitoring device according to an embodiment. Figure 1 The drug monitoring device 10 shown performs monitoring on a packaged drug. Specifically, the drug monitoring device 10 automatically determines the type and quantity of the drug, and compares it with the prescription information. The drug monitoring device 10 reports the monitoring result.
[0065] The drug monitoring device 10 includes a main body 12 and a display device 14. The main body 12 includes an insertion port 20 and a discharge port 22. A sub-packaging film encapsulating a packaged drug is inserted into the insertion port 20. A plurality of sub-packaging films connected in a row are inserted into the insertion port 20. The discharge port 22 discharges the sub-packaging film that has completed monitoring. The main body 12 includes a conveying unit that conveys the sub-packaging film from the insertion port 20 to the discharge port 22. In addition, Figure 1 The conveying part is omitted in the figure. The conveying part is marked with reference numeral 18 and Figure 3 Medium picture.
[0066] The display device 14 displays various information applied to the drug monitoring device 10. For example, the display device 14 displays a monitoring result display screen showing the monitoring result. The display device adopts a display device of a touch panel type, and also serves as an operation unit. When inputting various information to the drug monitoring device 10, the operator operates the operation unit. In addition, the drug monitoring device 10 described in the embodiment is equivalent to an example of a drug control device.
[0067] [Pharmaceutical Monitoring System]
[0068] Figure 2 This is a block diagram of a pharmaceutical monitoring system according to an embodiment of the present invention. Figure 2 In the illustrated drug monitoring system 30, a server device 32 and a client system 34 are communicably connected via a network 40. The drug monitoring system 30 may include a plurality of client systems 34.
[0069] The server device 32 manages various information related to drug monitoring performed in the client system 34, and provides various information to the client system 34. The server device 32 can apply cloud computing.
[0070] The client system 34 includes the drug monitoring apparatus 10, a dedicated computer 50, a network interface 52, and a receiving computer 54. The client system 34 is connected to the network 40 via the network interface 52 so as to be communicable.
[0071] The drug monitoring device 10 and the receiving computer 54 of the client system 34 are connected to the network interface 52 via the dedicated computer 50. The client system 34 may also include a storage device such as a hard disk drive. In addition, the storage device is omitted in the figure.
[0072] The network 40 can be a dedicated line, a public line network, or a general communication protocol.
[0073] Figure 3 yes Figure 2 The functional block diagram of the drug monitoring system shown in FIG. Figure 3 omitted in Figure 2 A diagram of a network 40, a dedicated computer 50, and a network interface 52 is shown.
[0074] The drug monitoring device 10 includes a display unit 15, an operation unit 16, and a transport unit 18. The drug monitoring device 10 includes a system control unit. The system control unit centrally controls each unit of the drug monitoring device 10. In addition, illustration of the system control unit is omitted.
[0075] The display unit 15 displays various information of the drug monitoring device 10. The display unit 15 includes Figure 1 The display device 14 and the display control unit are shown. The display control unit converts a signal indicating various information to be displayed on the display device 14 into a display signal, and sends the display signal to the display device 14. In addition, the display control unit is omitted from the illustration.
[0076] The operation unit 16 also serves as Figure 1 The display device 14 is shown. The signal input from the operation unit 16 is converted into a signal sent to each unit using the system control unit. The system control unit sends a signal to each unit based on the information input using the operation unit 16.
[0077] The conveying unit 18 will Figure 1 The packaging film inserted through the insertion port 20 is transported to the discharge port 22. An imaging device and an illumination device are arranged in the transport path of the packaging film. The transport unit 18 includes a transport mechanism and a transport control unit.
[0078] The conveying mechanism supports and conveys the packaging film. The conveying control unit operates the conveying mechanism according to a command signal sent from the system control unit. In addition, the conveying mechanism, the conveying control unit, and the system control unit are omitted from the illustration.
[0079] The drug monitoring device 10 includes an information acquisition unit 60. The information acquisition unit 60 acquires various information used for drug monitoring. The various information may include a camera image of a sub-package film containing multiple drug images, i.e., a sub-package film image, camera condition information, lighting condition information, and prescription information. The drug image refers to an image of each drug extracted from the sub-package film image. In addition, the information acquisition unit 60 will be described in detail later.
[0080] The term “image” in this specification may include image data or an image signal representing an image.
[0081] The drug monitoring device 10 includes a processing unit 61 and a local database 64. The processing unit 61 includes a drug type determination unit 62. The drug type determination unit 62 refers to the local database 64 and determines the type of drug using various information acquired by the usage information acquisition unit 60. The drug type determination unit 62 sends a signal indicating the determination result to the display unit 15. The display unit 15 causes the display device 14 to display the determination result.
[0082] The medicine type determination unit 62 transmits imaging condition information based on the package film image and the medicine image to the information acquisition unit 60. The information acquisition unit 60 receives the imaging condition information transmitted from the medicine type determination unit 62. The imaging condition information will be described in detail later.
[0083] The local database 64 stores the main information of the medicine. The main information includes the medicine name of the medicine, the main image of each medicine, and the attribute information of each medicine. The local database 64 can retrieve the main image and attribute information using the medicine name as an index. In addition, the local database 64 described in the embodiment is equivalent to an example of the first main image storage unit.
[0084] The processing unit 61 includes a determination result correction unit 66. The determination result correction unit 66 adds identification information such as the drug name input by the operator through the operation unit 16 to the drug image determined as undeterminable by the drug type determination unit 62.
[0085] The determination result correction unit 66 may add identification information indicating that determination is impossible to make to the pharmaceutical image determined as impossible to make. The determination result correction unit 66 may not add identification information to the pharmaceutical image determined as impossible to make.
[0086] The determination result correction unit 66 described in the embodiment corresponds to an example of a correlating unit that correlates the drug image with the identification information. The operation unit 16 described in the embodiment corresponds to an example of an identification information input unit. Not adding the identification information described in the embodiment corresponds to an example of not correlating the identification information.
[0087] The drug monitoring device 10 includes a drug information sending unit 68. The drug information sending unit 68 groups a drug image determined to be undeterminable with identification information such as the drug name, imaging condition information, and lighting condition information, and sends the group as drug information to the server device 32. A drug image without identification information is grouped with imaging condition information and lighting condition information, and sent as drug information to the server device 32. The server device 32 described in the embodiment corresponds to an example of the outside of the drug monitoring device 10.
[0088] The imaging condition information includes position information of the medicine image. The position information of the medicine image can be obtained from the packaging film image. The position information of the medicine can be used to correct the distortion of the captured image. The imaging condition information can include configuration information of the medicine. Examples of the configuration information of the medicine include information that the medicine is tilted relative to a specified direction, and information that the medicine is photographed in a state of overlapping with other medicines.
[0089] The lighting condition information can include information such as the direction from which the medicine is illuminated.
[0090] The server device 32 includes a drug information acquisition unit 70, an image processing unit 72, and a master database 74. The drug information acquisition unit 70 acquires drug information transmitted from the drug information transmission unit 68 provided in the drug monitoring device 10. The server device 32 can acquire drug information from a plurality of drug monitoring devices 10. The server device 32 collects information on drugs with the same drug name. The server device 32 updates the master database 74 based on the captured images of the drugs with the same drug name.
[0091] Of the drug images determined to be unidentifiable, drug images without identification information and drug images with identification information indicating unidentifiable are added with identification information such as drug names in the server device 32 and can be used to update the master database 74 .
[0092] The server device 32 includes an image processing unit 72. The image processing unit 72 performs correction processing on the captured images acquired from the drug monitoring device 10 in consideration of the imaging condition information and the lighting condition information. The server device 32 can update the master database 74 using the captured images subjected to the correction processing.
[0093] For example, the image processing unit 72 can enlarge, reduce, rotate, etc. the photographed image of the medicine. The image processing unit 72 can generate a composite photographed image obtained by synthesizing a photographed image when the medicine is illuminated from any one direction and a photographed image when the medicine is illuminated from another direction.
[0094] When performing the synthesis process, it is also possible to exclude from the synthesis process objects the camera images whose imaging condition information and lighting condition information are determined to be inconsistent with other camera images. Camera images captured when the name is entered incorrectly, when overlapping with other medicines, and when captured at an angle where the engraving is difficult to see can be excluded from the synthesis objects.
[0095] The server device 32 can update the master database 74 using the captured image of the medicine processed by the image processing unit 72 .
[0096] The update function of the main database 74 of the server device 32 may be provided in the drug monitoring device 10. That is, the drug monitoring device 10 may temporarily update the local database 64 based on the drug image determined to be indeterminate, using the imaging condition information and the lighting condition information.
[0097] The image processing unit 72 can apply a learning model that learns the relationship between the captured image and the name of the drug determined to be undeterminable by the drug monitoring device 10, and updates the master database 74 based on the learning result.
[0098] The server device 32 regularly updates the master database 74 and regularly distributes the update information of the master database 74 to the drug monitoring device 10. The drug monitoring device 10 updates the local database 64 based on the update information of the master database 74 transmitted from the server device 32.
[0099] The drug monitoring system 30 described in the embodiment corresponds to an example of a drug control system. The master database 74 described in the embodiment corresponds to an example of a second master image storage unit.
[0100] Figure 3 Each unit shown uses the hardware described below and executes a specified program to realize the functions of the drug monitoring system. The hardware of each control unit can apply various processors. As examples of processors, CPU (Central Processing Unit) and GPU (Graphics Processing Unit) are cited. The CPU executes the program and functions as various processing units.
[0101] The CPU is a general-purpose processor. The GPU is a processor dedicated to image processing. The hardware application of the processor is an electronic circuit composed of electronic circuit elements such as semiconductor elements. Each control unit has a ROM that stores programs and a RAM that serves as a work area for various calculations.
[0102] It is also possible to apply two or more processors to one control unit. The two or more processors may be processors of the same type or processors of different types. In addition, it is also possible to apply one processor to multiple control units.
[0103] [Detailed description of the drug monitoring device]
[0104] 〔Information Acquisition Department〕
[0105] Figure 4 yes Figure 3 Functional block diagram of the information acquisition unit shown. The information acquisition unit 60 includes a prescription reader 100, a camera unit 102, and an illumination unit 104. The prescription reader 100 acquires prescription information. The prescription reader 100 can apply an optical character recognition device. The optical character recognition device takes a picture of the prescription and converts information such as the name of the medicine from the prescription image into a character code. The optical character recognition device is sometimes expressed as OCR, which is the abbreviation of Optical Character Recognition.
[0106] The prescription reader 100 transmits the read information of the prescription information to the prescription information acquisition unit 110. The prescription information acquisition unit 110 may include a prescription information storage unit that stores the prescription information.
[0107] The imaging unit 102 includes an imaging device and an imaging control unit. Figure 4 The camera device is omitted in the figure. The reference numerals 150 and 152 are used in Figure 5 The middle figure shows the imaging device. In addition, the imaging control unit is omitted.
[0108] The camera device captures the medicine sealed in the packaging film to generate a packaging film image. Fig. 9 The middle figure shows the sub-packaging film image. The imaging control unit controls the operation of the imaging device. The imaging control unit sends the sub-packaging film image to the imaging image acquisition unit 112. The imaging image acquisition unit 112 may include a sub-packaging film image storage unit for storing the sub-packaging film image.
[0109] The medicine sealed in the packaging film described in the embodiment corresponds to an example of a medicine for reference. The captured image acquisition unit 112 described in the embodiment corresponds to an example of a medicine image acquisition unit.
[0110] The imaging condition information acquisition unit 114 obtains Figure 3 The medicine type determination unit 62 shown acquires imaging condition information including position information of the medicine image in the packaging film image. The imaging condition information acquisition unit 114 may include an imaging condition information storage unit that stores the imaging condition information.
[0111] The lighting unit includes a lighting device and a lighting control unit. Figure 4 The lighting device is omitted in the figure. The reference numerals 160 and the like are used in Figure 5 The middle figure shows an illumination device. In addition, the illustration of the illumination control unit is omitted. The illumination device irradiates illumination light to the packaging film of the imaging object. The illumination control unit controls the operation of the illumination device. The illumination control unit sends the illumination condition information to the illumination condition information acquisition unit 116.
[0112] The lighting condition information acquisition unit 116 acquires the lighting condition information. The lighting condition information acquisition unit 116 may include a lighting condition information storage unit that stores the lighting condition information. The prescription information, the packaged film image, the imaging condition information, and the lighting condition information are sent to the Figure 3 The processing unit 61 is shown.
[0113] [Arrangement example of imaging device and lighting device]
[0114] Figure 5 It is a schematic diagram showing a configuration example of an imaging device and a lighting device. Figure 5 The state in which a plurality of packaging films 140 conveyed in the conveying direction are photographed sequentially is shown. Figure 5 The symbol X shown indicates the conveying direction of the packaging film 140. The symbol Z indicates the vertical upward direction.
[0115] use Figure 3 The conveying section 18 shown conveys a plurality of sub-packaging films 140 along a conveying direction. An upper camera device 150 and a lower camera device 152 are arranged in the conveying path of the sub-packaging films 140. The upper camera device 150 is arranged at a position for photographing the sub-packaging films 140 from the upper side. The lower camera device 152 is arranged at a position for photographing the sub-packaging films 140 from the lower side.
[0116] Cameras including imaging elements such as CCD image sensors can be applied to the upper imaging device 150 and the lower imaging device 152. CCD is an abbreviation of Charge Coupled Device.
[0117] Four lighting devices are arranged around the imaging area of the upper imaging device 150. Similarly, four lighting devices are arranged around the imaging area of the lower imaging device 152. The imaging areas of the upper imaging device 150 and the lower imaging device 152 include the entire packaging film 140.
[0118] Here, the imaging area of the upper imaging device 150 indicates the imaging field of the upper imaging device 150 whose optical axis is fixed. The same is true for the lower imaging device 152. The upper imaging device 150 and the lower imaging device 152 are arranged at positions where their optical axes coincide with each other. In addition, the optical axes of the upper imaging device 150 and the lower imaging device 152 are marked with reference numeral 151 and are indicated in the figure. Figure 6 As shown in the figure.
[0119] exist Figure 5 The middle figure shows the first lighting device 160 and the third lighting device 164 of the four lighting devices corresponding to the upper camera 150. As for the lighting devices corresponding to the lower camera 152, the fifth lighting device 170 and the seventh lighting device 174 of the four lighting devices are also shown.
[0120] Figure 6 It is a schematic diagram showing an example of arrangement of a lighting device. Figure 6 is observed in the imaging direction of the upper imaging device 150 Figure 5 Reference numeral 144 indicates the medicine sealed in the sub-packaging film 140. Reference numeral Y indicates the width direction of the sub-packaging film 140. The width direction of the sub-packaging film 140 is a direction orthogonal to the conveying direction of the sub-packaging film 140 and is a direction parallel to the conveying surface of the sub-packaging film 140.
[0121] In addition, the term "orthogonal" in this specification can include substantially orthogonal, which means a state of two directions that actually intersect but can obtain the same effect as orthogonal. Similarly, the term "parallel" can include substantially parallel.
[0122] The first lighting device 160, the second lighting device 162, the third lighting device 164, and the fourth lighting device 166 are arranged at equal intervals along the circumference of the imaging area surrounding the upper imaging device 150. The center of the circumference surrounding the imaging area is the center position 153 of the imaging area. The optical axis 151 of the upper imaging device 150 passes through the center position 153 of the imaging area.
[0123] The first lighting device 160 and the third lighting device 164 are arranged at symmetrical positions across the optical axis 151 of the upper camera 150 in the conveying direction of the packaging film 140. The second lighting device 162 and the fourth lighting device 166 are arranged at symmetrical positions across the optical axis 151 of the upper camera 150 in the width direction of the packaging film 140.
[0124] The distance d1 from the optical axis 151 of the upper imaging device 150 to the imaging surface of the first lighting device 160 is the same as the distance d3 from the optical axis 151 of the upper imaging device 150 to the imaging surface of the third lighting device 164 .
[0125] Furthermore, a distance d1 from the optical axis 151 of the upper imaging device 150 to the imaging surface of the first lighting device 160 is the same as a distance d2 from the optical axis 151 of the upper imaging device 150 to the imaging surface of the second lighting device 162 .
[0126] Furthermore, a distance d1 from the optical axis 151 of the upper imaging device 150 to the imaging surface of the first lighting device 160 is the same as a distance d4 from the optical axis 151 of the upper imaging device 150 to the imaging surface of the fourth lighting device 166 .
[0127] That is, the first lighting device 160 , the second lighting device 162 , the third lighting device 164 , and the fourth lighting device 166 are arranged at equal intervals from the optical axis 151 of the upper imaging device 150 , and have a relationship of d1 = d2 = d3 = d4 .
[0128] The fifth lighting device 170 , the sixth lighting device 172 , the seventh lighting device 174 , and the eighth lighting device 176 are respectively arranged at positions corresponding to the first lighting device 160 , the second lighting device 162 , the third lighting device 164 , and the fourth lighting device 166 .
[0129] The first lighting device 160 and the like may also be configured to arrange a plurality of light emitting elements in a range of a length corresponding to the full length of the sub-packaging film 140 in the width direction of the sub-packaging film 140. In addition, the second lighting device 162 and the like may also be configured to arrange a plurality of light emitting elements in a range of a length corresponding to the full length of the sub-packaging film 140 in the conveying direction of the sub-packaging film 140. As an example of a light emitting element, an LED (Light Emitting Diode) is cited.
[0130] The first lighting device 160 and the like are independently controlled by the lighting control unit. The first lighting device 160 and the like can independently control the light quantity and on / off. The first lighting device 160 and the like are controlled according to the imaging timing of the upper imaging device 150. In addition, the fifth lighting device 170 and the like are controlled according to the imaging timing of the lower imaging device 152.
[0131] 〔Local database〕
[0132] Figure 7 yes Figure 3 The local database 64 stores drug names 180, attribute information 182, and main images 184 for each drug. The main image 184 includes a front image 186 and a back image 188.
[0133] As identification information, drug name 180 and attribute information 182 can be used. Attribute information 182 can include drug code, drug type, shape, size, color, engraving, printing, etc. Figure 7 The middle figure shows an example of an arbitrary character string as a drug name and a drug code.
[0134] The front image 186 is an image generated by photographing the front side of the medicine. The back image 188 is an image generated by photographing the back side of the medicine. For example, the surface of the medicine with an engraving or a printed surface can be regarded as the front side. The front side and the back side are determined based on predetermined conditions.
[0135] 〔Medicine Type Judgment Department〕
[0136] Figure 8 yes Figure 3 The drug type determination unit 62 includes a drug detection unit 190 , a region of interest setting unit 192 , a template generation unit 194 , and a comparison unit 196 .
[0137] The medicine detection unit 190 determines the image of each medicine, that is, the area of the medicine image, and determines the position of the medicine image from the packaging film image which is the whole image of the packaging film 140. The position information can be applied to the coordinate values of the two-dimensional coordinates set in the imaging area of the upper imaging device 150 and the imaging area of the lower imaging device 152.
[0138] The medicine detection unit 190 may also perform image processing such as enlarging, reducing, rotating, and adjusting brightness on the medicine image based on the main image 184. In addition, the sub-package film image is labeled with reference numeral 141 and is Fig. 9 The drug image is labeled 200 and Fig. 9 Medium picture.
[0139] The region of interest setting unit 192 sets a region of interest for the medicine image. The region of interest includes features in the medicine image. The region of interest setting unit 192 calculates the distance from the center position in the packaging film image for each medicine image.
[0140] The region of interest setting unit 192 sets the shape of the region of interest for each medicine image based on the distance of each medicine image from the center position in the packaging film image. Figure 6 The center position of the imaging area is shown as 153. In addition, the center position of each medicine image in the packaging film image is marked with a reference numeral 204 and is Fig. 9 As shown in the figure.
[0141] The template generation unit 194 generates a template for the main image 184 based on the shape of the region of interest of each medicine image. The template generation unit 194 sets the position of the template in the main image 184 based on the distance of each medicine image from the center position in the packaging film image. The template includes the characteristics of the medicine in the main image 184.
[0142] The comparison unit 196 compares, for each medicine image, the region of interest in the medicine image with the template of the main image 184. The comparison unit 196 performs a process of aligning the region of interest with the template.
[0143] When performing the alignment process, the comparison unit 196 may also perform processing such as enlarging, reducing, and rotating at least one of the region of interest and the template. In addition, when image processing is performed on the drug image, it is not necessary to perform the enlarging process during the alignment process. The comparison unit 196 performs the comparison on all drug images included in the packaging film image.
[0144] The comparison unit 196 compares the drug image with the main image 184. The comparison unit 196 mainly compares the region of interest in the drug image with the template of the main image 184 to determine whether the two are consistent. Figure 3 The determination result correction unit 66 shown transmits the comparison result.
[0145] The drug type determination unit 62 determines the drug type from Figure 5 The packaging film image obtained by the upper camera device 150 shown and the packaging film image obtained by the lower camera device 152 are compared.
[0146] Fig. 9 This is a diagram for explaining drug testing. Figure 8 The drug detection unit 190 shown is for Fig. 9 The packaging film image 141 shown is framed with a frame 202 surrounding the entire medicine image 200 based on the edge detection result of the medicine image 200, and the center position of the frame 202 is set to the center position 204 of the medicine image 200. In addition, reference numeral 206 indicates the center position of the packaging film image 141.
[0147] When setting the frame 202, the medicine detection unit 190 may also remove low-frequency components from the sub-package film image 141 to emphasize printing and engraving of the medicine. The medicine detection unit 190 may also extract color information from the sub-package film image 141 and set the frame 202 for the sub-package film image 141 using the color information.
[0148] Fig.10 It is an explanatory diagram showing an example of setting a region of interest. Fig.10 1 is a schematic diagram of a packaging film image 141. Fig.10 , a two-dimensional coordinate system is shown in which the center position 206 of the sub-packaging film image 141 is set as the origin, the conveying direction of the sub-packaging film 140 is set as the X direction, and the width direction of the sub-packaging film 140 is set as the Y direction.
[0149] The distance between the medicine image 210 and the center position 206 of the packaging film image 141 is less than the threshold value TH. The medicine image 210 is set with a region of interest 220 having a shape similar to the planar shape of the medicine image 210. That is, the medicine image 210 is set with a circular region of interest 220.
[0150] The distances of medicine image 212 and medicine image 214 from center position 206 of packaging film image 141 exceed threshold TH. Rectangular region of interest 222 is set for medicine image 212 , and rectangular region of interest 224 smaller than region of interest 222 is set for medicine image 214 .
[0151] When the position of the medicine image 212 or the like is relatively far from the center position 206 of the packaging film image 141, the medicine image 212 or the like is distorted relative to the shape of the medicine in the packaging film image 141, and the side of the medicine is reflected. The side of the medicine image 214 is also reflected. In addition, reference numeral 212A indicates an area corresponding to the side of the medicine in the medicine image 212. The same is true for reference numeral 214A.
[0152] When the region of interest 222 is fixed similarly to the region of interest 220, the region where distortion occurs and the region where comparison is not necessary are included in the region of interest 220. Thus, when comparing the template in the main image without distortion and without side surfaces with the region of interest, errors may occur.
[0153] Therefore, for each medicine image 212 , etc., the shape and size of the region of interest 222 , etc. are set according to the distance from the center position 206 of the packaging film image 141 .
[0154] Fig.11 This is a diagram illustrating the influence of illumination light. Fig.11 The schematic diagram shows a cross section of the medicine 240. The arrow line with reference numeral 250 indicates illumination light. The medicine 240 has a three-dimensional structure with a constant thickness and a curved surface.
[0155] exist Figure 6 When photographing the medicine 240 at a position separated from the center position 153 of the imaging area, the distance between the four first lighting devices 160 and the like is Fig.11 The influence of the illumination light of the illumination device which is closer to the medicine 240 shown is stronger.
[0156] Illumination light 250 is incident on marking 242 of medicine 240 from substantially directly above. Marking 242 casts almost no shadow. On the other hand, illumination light 250 is incident on marking 244 and marking 246 from an oblique direction. Marking 244 and marking 246 cast shadows.
[0157] When medicine 240 is photographed at center position 153 of the imaging area, the images of markings 244 and 246 are clear, whereas the image of marking 242 is blurred. Comparison using the blurred medicine image of marking 242 may result in comparison errors due to inconsistency of marking 242.
[0158] When setting a region of interest for a medicine image, it is possible to set a region of interest that does not include a region such as the marking 242 that is blurred and may be affected by the illumination light 250 .
[0159] [About the use of lighting condition information]
[0160] Fig. 9 The medicine image 200 shown is set Fig.10 When the region of interest 220 is shown, the lighting condition information can be used. Even if the medicine is photographed at the same position, the state of the shadow may be different depending on the color and shape of the medicine. Figure 8 The drug detection unit 190 shown is able to set a region of interest 220 suitable for comparison with the template of the main image 184 by using information on illumination conditions such as the type of illumination light and the amount of illumination light.
[0161] [Display of audit results]
[0162] Fig.12 The drug monitoring device 10 displays the monitoring results using the display device 14. In the monitoring result display screen 300, the monitoring results 304 in the form of a list in which drug images 312 are arranged with respect to the main image 311 are displayed in the monitoring result area 302 for each packaging film 140.
[0163] The monitoring result display screen 300 displays a finish button 306, a save button 307, and a menu button 308. When the finish button 306 is operated, the drug monitoring device 10 ends the monitoring result display screen 300.
[0164] When the save button 307 is operated, the drug monitoring device 10 saves the monitoring result. When the menu button 308 is operated, the drug monitoring device 10 displays a menu screen using the display device 14 .
[0165] The inspection result 304 includes a main image display column 310 displaying a main image 311. The main image display column 310 displays a front image 311A of the main image 311 and a back image 311B of the main image 311. The front image 311A and the back image 311B correspond to Figure 7 A front image 186 and a back image 188 are shown.
[0166] The monitoring result 304 includes a drug image display column 316 displaying a drug image 312. The drug image display column 316 displays a front image 312A of the drug image 312 and a back image 312B of the drug image 312. The drug image 312 is displayed in the same direction as the main image 311. The drug image 312 corresponds to Fig. 9 A medication image 200 is shown.
[0167] The monitoring result 304 includes an indeterminate drug display column 314, which displays a drug image 313 of a drug determined to be indeterminate. In the monitoring result 304, when there is no drug image 312 corresponding to the main image 311, the drug image display column 316 becomes empty. Reference numeral 316A indicates an empty drug image display column 316.
[0168] The drug image 313 that is determined to be undeterminable may be due to Figure 3 The main image 311 is not registered in the local database 64. The medicine image 313 determined to be undeterminable may be caused by the failure of comparison between the medicine image 313 and the main image 311 due to the influence of the imaging condition information and the lighting condition information.
[0169] The drug monitoring device 10 can display a monitoring result correction screen using the display device 14. The operator can correct the monitoring result using the monitoring result correction screen. An example of correcting the monitoring result is to add identification information such as the drug name to the drug image 313 of the drug determined to be undeterminable.
[0170] [Revision of audit results]
[0171] Fig.13 The monitoring result correction screen 340 includes a medicine image display area 342 , a text information display area 344 , a medicine name input button 346 , and an OK button 348 .
[0172] The medicine image display area 342 displays the medicine image 313 determined to be undeterminable. The medicine image display area 342 displays the front image 313A and the back image 313B as the medicine image 313.
[0173] The text information display area 344 displays text information indicating that the drug name is unclear. When inputting a drug name corresponding to the drug image 313 displayed in the drug image display area 342, the operator operates the drug name input button 346. Figure 3 The operation unit 16 is shown to input identification information such as the drug name.
[0174] The OK button 348 is operated without inputting the drug name corresponding to the drug image 313. When the operator operates the OK button 348, the drug monitoring device 10 ends the display of the monitoring result correction screen 340.
[0175] The corrected monitoring result is supplemented with the imaging condition information of the drug image 313 and the lighting condition information of the drug image 313. Figure 3 The medicine information is sent to the server device 32 by the medicine information sending unit 68 shown.
[0176] [Steps of drug management method]
[0177] Fig.14 1 is a flowchart showing the steps of the drug management method. In the prescription information acquisition step S10, Figure 4 The prescription information acquisition unit 110 shown acquires the prescription information. After the prescription information acquisition step S10, the process proceeds to the captured image acquisition step S12.
[0178] In the captured image acquisition step S12, Figure 4 The captured image acquisition unit 112 acquires Fig. 9 The package film image 141 is shown. After the image acquisition step S12, the imaging condition information acquisition step S14 is entered. The image acquisition step S12 described in the embodiment corresponds to an example of a medicine image acquisition step.
[0179] In the imaging condition information acquisition step S14, the imaging condition information acquisition unit 114 acquires imaging condition information. The imaging condition information includes information on the distance of each medicine image 200 from the center position 206 of the packaging film image 141. After the imaging condition information acquisition step S14, the lighting condition information acquisition step S16 is entered.
[0180] In the lighting condition information acquisition step S16, the lighting condition information acquisition unit 116 acquires the lighting condition information from the lighting unit 104. After the lighting condition information acquisition step S16, the monitoring step S18 is entered. The lighting condition information acquisition step S16 may be performed before the imaging condition information acquisition step S14 or in parallel with the imaging condition information acquisition step S14.
[0181] In the inspection step S18, Figure 3 The drug type determination unit 62 shown in the figure performs monitoring. After the monitoring step S18, the monitoring result display step S20 is entered. In the monitoring result display step S20, the drug monitoring device 10 displays the monitoring result using the display device 14. After the monitoring result display step S20, the determination result correction determination step S22 is entered. In addition, the monitoring step S18 described in the embodiment corresponds to an example of a comparison step.
[0182] In the determination result correction determination step S22, the determination result correction unit 66 determines whether to perform correction on the drug determined to be indeterminate. In the determination result correction determination step S22, if the determination result correction unit 66 determines not to perform correction of the determination result, a "no" determination is made. In the case of a "no" determination, a predetermined end process is performed, and the drug monitoring device 10 ends the drug management method.
[0183] On the other hand, in the determination result correction determination step S22, when the determination result correction unit 66 determines to perform correction of the determination result, a "yes" determination is made. In the case of a "yes" determination, the process proceeds to the determination result correction step S24.
[0184] In the determination result correction step S24, the determination result correction unit 66 adds identification information such as the drug name to the drug image 313 determined to be undeterminable. The determination result correction step S24 may also implement a determination result correction storage step for storing the corrected determination result. After the determination result correction step S24, the sending step S26 is entered. In addition, the determination result correction step S24 described in the embodiment is equivalent to an example of an associated processing step.
[0185] In the sending step S26, the medicine information sending unit 68 sends Fig.13 The drug image 313 determined to be undeterminable, the identification information of the drug image 313 attached to the drug image 313, the imaging condition information of the drug image 313, and the lighting condition information of the drug image 313 are sent to the server device 32 in groups.
[0186] After the sending step S26, a predetermined end process is performed, and the drug monitoring device 10 ends the drug management method.
[0187] Alternatively, the following method may be adopted, in which the determination result correction step S24 is entered when a "No" determination is made in the determination result correction determination step S22. In the above method, in the determination result correction step S24, the determination result correction unit 66 sets the addition of identification information to be non-implemented for the drug image determined to be undeterminable, and in the sending step S26, the drug information sending unit 68 sends the drug image to the server device 32.
[0188] In the determination result correction step S24 , the determination result correction unit 66 may add identification information indicating that determination is impossible to the drug image determined as impossible. In the transmission step S26 , the drug information transmission unit 68 transmits the drug image to which the identification information indicating that determination is impossible is added to the server device 32 .
[0189] [Application example to program invention]
[0190] It is possible to configure a program that causes a computer to implement the functions of each unit in the drug monitoring device 10 of the embodiment and the functions of each process of the drug management method. For example, it is possible to configure a program that causes a computer to implement an information acquisition function corresponding to the information acquisition unit 60, a drug type determination function corresponding to the drug type determination unit 62, a determination result correction function corresponding to the determination result correction unit 66, and a drug information transmission function corresponding to the drug information transmission unit.
[0191] The information acquisition function described in the embodiment corresponds to an example of the medicine image acquisition function. The medicine type determination function described in the embodiment corresponds to an example of the comparison function. The determination result correction function described in the embodiment corresponds to an example of the association processing function.
[0192] [Effects]
[0193] The drug monitoring device 10 , the drug monitoring system 30 , and the drug management method according to the embodiment can obtain the following effects.
[0194] [1]
[0195] The determination result correction unit 66 adds identification information including the drug name to the drug image 313 determined as undeterminable. The drug information transmission unit 68 transmits the drug image 313 and the drug name in pairs to the server device 32. Thus, the server device 32 can update the master database 74 using the drug image 313 and the drug name.
[0196] [2]
[0197] The medicine information transmitting unit 68 further adds imaging condition information to the medicine image 313, and transmits the medicine image 313, the medicine name, and the imaging condition information as a set to the server device 32. Thus, the server device 32 can correct the medicine image 313 using the imaging condition information and the like.
[0198] 〔3〕
[0199] The medicine information transmitting unit 68 further adds lighting condition information to the medicine image 313, and transmits the medicine image 313, the medicine name, and the lighting condition information as a set to the server device 32. Thus, the server device 32 can correct the medicine image 313 using the lighting condition information and the like.
[0200] [4]
[0201] The server device 32 periodically transmits update information to the local database 64 of the client system 34 based on the update of the master database 74. This is expected to improve the accuracy of monitoring in the drug monitoring device 10 included in the client system 34.
[0202] 〔5〕
[0203] The drug monitoring device 10 uses the drug image 313 and the drug name to update the local database 64. This can reduce the possibility of inability to determine, and it is expected that the accuracy of monitoring will be improved.
[0204] In the present embodiment, drug monitoring based on prescription information is exemplified, but the drug monitoring device 10 and drug management method of the present embodiment can be applied to identification of the type of target drug, etc., without using prescription information.
[0205] The embodiments of the present invention described above can be appropriately changed, added, or deleted without departing from the gist of the present invention. The present invention is not limited to the embodiments described above, and various modifications can be made by a person having ordinary knowledge in the field within the technical concept of the present invention.
[0206] Description of symbols
[0207] 10 Pharmaceutical monitoring device
[0208] 12 Main Body
[0209] 14 Display device
[0210] 16 Operation Department
[0211] 18. Conveying Department
[0212] 20 Insertion port
[0213] 22 Exhaust port
[0214] 30 Pharmaceutical Monitoring System
[0215] 32 Server Devices
[0216] 34 Client System
[0217] 40 Network
[0218] 50 Special-purpose computers
[0219] 52 Network Interfaces
[0220] 54 Receiving Computer
[0221] 60 Information Acquisition Department
[0222] 61 Processing Department
[0223] 62 Drug Type Determination Department
[0224] 64 Local database
[0225] 66 Judgment result correction unit
[0226] 68 Drug Information Delivery Department
[0227] 70 Drug Information Acquisition Department
[0228] 72 Image Processing Unit
[0229] 74 Master Database
[0230] 100 Prescription Reader
[0231] 102 Camera Department
[0232] 104 Lighting Department
[0233] 110 Prescription Information Acquisition Department
[0234] 112 Camera image acquisition unit
[0235] 114 Imaging condition information acquisition unit
[0236] 116 Lighting condition information acquisition unit
[0237] 140 Packaging Film
[0238] 141 Sub-wrapped film images
[0239] 150 Upper camera device
[0240] 152 Lower camera device
[0241] 153 Center position of camera area
[0242] 160 First lighting device
[0243] 162 Second lighting device
[0244] 164 Third lighting device
[0245] 166 Fourth lighting device
[0246] 170 Fifth lighting device
[0247] 172 Sixth lighting device
[0248] 174 Seventh Lighting Device
[0249] 176 Eighth Lighting Device
[0250] 180 Medicine Name
[0251] 182 Attribute information
[0252] 184 Main Image
[0253] 186 Main image front view
[0254] 188 Back image of main image
[0255] 190 Pharmaceutical Testing Department
[0256] 192 Focus Area Setting Department
[0257] 194 Template Generation Department
[0258] 196 Control Section
[0259] 200 potion images
[0260] 202 Frame
[0261] 204 Center position of the medicine image
[0262] 206 Center position of the sub-package film image
[0263] 210 Medicine Image
[0264] 212 Medicine Image
[0265] 212A Side
[0266] 214 Medicine Image
[0267] 214A Side
[0268] 220 Area of Interest
[0269] 222 Area of interest
[0270] 224 Areas of Interest
[0271] 240 Pharmacy
[0272] 250 illumination light
[0273] 300 Monitoring result display screen
[0274] 302 Inspection results area
[0275] 306 Done Button
[0276] 307 Save button
[0277] 308 Menu button
[0278] 310 Main image display bar
[0279] 311 Main Image
[0280] 311A Front view of the main image
[0281] 311B Back image of main image
[0282] 313 potion image
[0283] 313A Front view of the medicine image
[0284] 313B Back image of the medicine image
[0285] 314 Unable to determine the medicine display column
[0286] 316 Medicine Image Display Bar
[0287] 316A Empty medicine image display column
[0288] 340 Monitoring result correction screen
[0289] 342 Medicine image display area
[0290] 344 Text information display area
[0291] 346 Medicine name input button
[0292] 348 OK button
[0293] S10 to S26: Each step of the drug management method
Claims
1. A drug control system, wherein: The drug control system has: Server device; a second main image storage unit storing the main image; as well as A medicine comparison device compares a medicine image generated by photographing a medicine to be compared with the main image, The drug control device comprises: a medicine image acquiring unit configured to acquire the medicine image; a first main image storage section storing the main image provided from the second main image storage section; a comparing unit that compares the drug image acquired by the drug image acquiring unit with the main image stored in the first main image storage unit; an associating unit that associates the drug image compared by the comparing unit with the identification information of the drug image; as well as a sending unit that sends the medicine image and the identification information associated in the associating unit to the server device, When the server device updates the second main image storage unit, the server device transmits update information of the second main image storage unit to the drug control device. The drug control device updates the first main image storage unit based on the update information of the second main image storage unit transmitted from the server device.
2. The drug control system according to claim 1, wherein: The associating unit associates the identification information with the drug image determined as unidentifiable by the comparing unit.
3. The drug control system according to claim 2, wherein: The drug comparison system includes an identification information input unit for inputting identification information of a drug image. The associating unit associates the identification information of the medicine image input using the identification information input unit with the medicine image.
4. The drug control system according to claim 2, wherein: The associating unit associates the identification information indicating that determination is impossible with the drug image determined as impossible to be determined by the comparing unit.
5. The drug control system according to any one of claims 2 to 4, wherein: The first main image storage unit updates the main image using the drug image determined as unidentifiable by the comparison unit and the identification information associated with the drug image.
6. The drug control system according to any one of claims 1 to 4, wherein: The drug control system includes an imaging condition information acquisition unit for acquiring imaging condition information of the drug image. The associating unit associates the imaging condition information with the medicine image.
7. The drug control system according to any one of claims 1 to 4, wherein: The drug control system includes a lighting condition information acquisition unit for acquiring lighting condition information of the drug image, the lighting condition information including at least one of a type of illumination light and a light amount of illumination light. The associating unit associates the lighting condition information with the medicine image.
8. The drug control system according to claim 1, wherein: The transmitting unit transmits the medicine image that is not associated with the identification information in the associating unit to the server device.
9. The drug control system according to claim 8, wherein: The associating unit sets the associating of the identification information to be disabled for the drug image determined as unidentifiable by the comparing unit.
10. The drug control system according to claim 1, wherein: The server device updates the main image stored in the second main image storage unit using the medicine image transmitted from the transmission unit and the identification information corresponding to the medicine image.
11. The drug control system according to claim 1 or 10, wherein: The server device is connected to the drug control device via a network in a communicable manner.
12. A method for drug administration, wherein: The drug administration method comprises: a medicine image acquisition step, in which a medicine comparison device acquires a medicine image generated by photographing a medicine to be compared; a comparison step of comparing the medicine comparison device with the medicine image obtained in the medicine image obtaining step and the main image stored in the first main image storage unit storing the main image of the medicine provided from the second main image storage unit; an association processing step, wherein the medicine comparison device associates the medicine image compared in the comparison step with the identification information of the medicine image; a sending step, wherein the medicine control device sends the medicine image and the identification information associated in the association processing step to the outside; A step of transmitting update information of the second main image storage unit to the drug control device when the server device updates the second main image storage unit; and The drug control device updates the first main image storage unit based on the update information of the second main image storage unit transmitted from the server device.
13. A computer program product comprising a program, wherein the program enables a computer used in a drug control device to implement the following functions: A medicine image acquisition function, which acquires a medicine image generated by photographing a medicine serving as a control object; a comparing function for comparing the medicine image acquired using the medicine image acquiring function with the main image stored in the first main image storage unit storing the main image of the medicine provided from the second main image storage unit; an association processing function for associating the drug image compared using the comparison function with the identification information of the drug image; a sending function for sending the medicine image and the identification information associated using the association processing function to a server device; as well as A function of updating the first main image storage unit based on the update information of the second main image storage unit transmitted from the server device.
14. A recording medium which is non-transitory and computer-readable, wherein: When the instructions stored in the recording medium are read by a computer used in a drug control device, the computer is caused to execute the program included in the computer program product according to claim 13 .
