JP2023005927A - Medicine discrimination system and medicine discrimination method - Google Patents

Medicine discrimination system and medicine discrimination method Download PDF

Info

Publication number
JP2023005927A
JP2023005927A JP2021108221A JP2021108221A JP2023005927A JP 2023005927 A JP2023005927 A JP 2023005927A JP 2021108221 A JP2021108221 A JP 2021108221A JP 2021108221 A JP2021108221 A JP 2021108221A JP 2023005927 A JP2023005927 A JP 2023005927A
Authority
JP
Japan
Prior art keywords
drug
identification
drugs
group
thickness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021108221A
Other languages
Japanese (ja)
Other versions
JP7182668B1 (en
Inventor
賢治 高平
Kenji Takahira
祥太 川瀬
Shota Kawase
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Contec Co Ltd
Original Assignee
Contec Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Contec Co Ltd filed Critical Contec Co Ltd
Priority to JP2021108221A priority Critical patent/JP7182668B1/en
Application granted granted Critical
Publication of JP7182668B1 publication Critical patent/JP7182668B1/en
Publication of JP2023005927A publication Critical patent/JP2023005927A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

To properly carry out calculation of the number of medicine and discrimination of a group of medicine in medicine discrimination based on a captured image.SOLUTION: An imaging unit 20 has a range-finding sensor which can detect a distance between the imaging unit 20 and an imaging object. The imaging unit 20 transmits a captured image to a medicine discrimination unit 30 together with distance information to the imaging object. The medicine discrimination unit 30 calculates the number of the medicine based on the distance information with respect to the captured image transmitted by the imaging unit 20, and discriminates, as a group of the medicine, the imaging object surrounded by a region at a position within a distance of a package discrimination range.SELECTED DRAWING: Figure 1

Description

本発明は、薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別システムに関するものである。また本発明は、薬剤を撮影した撮影画像の画像認識を行うことにより撮影された薬剤の識別を行う薬剤識別方法にも関する。 TECHNICAL FIELD The present invention relates to a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug. The present invention also relates to a drug identification method for identifying a photographed drug by performing image recognition of a photographed image of the drug.

薬局などの、薬剤を取り扱う施設において、薬剤の機械的な識別が求められることがある。例えば、処方箋に基づいて取り揃えられた薬剤が実際に処方箋の処方内容と合致しているか否かを、作業者(薬剤師など)とは別の主体によって判定するために、薬剤の機械的な識別を行う装置(薬剤鑑査装置)が用いられることがある。こうした装置を用いることにより、患者に対する薬剤の交付における作業ミスを防止することができる。 Mechanical identification of drugs is often required in drug handling facilities such as pharmacies. For example, mechanical identification of drugs is used to determine whether or not drugs arranged based on a prescription actually match the contents of the prescription by an entity other than the operator (pharmacist, etc.). A device (medicine inspection device) may be used. By using such a device, it is possible to prevent operational errors in delivering drugs to patients.

特許文献1には、コンベア上の錠剤等を撮影し、その撮影画像から錠剤等の表面の印刷内容を認識する錠剤等識別装置が記載されている。この錠剤等識別装置では、錠剤やカプセル剤がコンベアで搬送されている間に、その搬送されている錠剤等の種別を、表面の印刷内容からシステムが自動的に認識できるようになっている。 Patent Literature 1 describes a tablet identification device that photographs tablets or the like on a conveyer and recognizes the printed content on the surface of the tablet or the like from the photographed image. With this tablet identification device, the system can automatically recognize the type of tablet or the like being conveyed from the printed content on the surface while the tablet or capsule is being conveyed on the conveyer.

特開2015-054115号公報JP 2015-054115 A

特許文献1に開示されている錠剤等識別装置において、認識が正しく行われるためには、認識対象の錠剤等が包装などを行われていない単体(裸錠)で搬送されている必要がある。しかしながら、既製品の薬剤の多くは包装された状態で薬局等へ納入される。 In order for the identification device for tablets, etc. disclosed in Patent Literature 1 to perform recognition correctly, it is necessary that the tablets, etc. to be recognized are conveyed as single units (unwrapped tablets) that are not wrapped. However, many ready-made drugs are delivered to pharmacies and the like in a packaged state.

特に、錠剤であれば10錠ほどの錠剤が1枚のPTPシートに封入された状態で流通しているものが多い。また散剤や顆粒剤(粉薬)では、粉末や顆粒が封入されたSP包装を一単位(1包)とする薬剤が、複数繋がって1枚のシート状になったものが販売されていることも多い。 In particular, in the case of tablets, many of them are distributed in a state where about 10 tablets are enclosed in one PTP sheet. In addition, for powders and granules (powders), there are cases where a unit (one package) of SP packaging containing powder or granules is sold as a single sheet by connecting multiple agents. many.

上記のような、複数の薬剤が一纏まりの包装に封入されていわば一群の薬剤となっている場合に、従来の方法で画像認識を行うと、薬剤の数量や、一群の薬剤の範囲が正しく認識されないおそれがある。 In the case where a plurality of medicines are enclosed in a single package as described above, so to speak, as a group of medicines, image recognition by the conventional method can correct the number of medicines and the range of the medicines in the group. It may not be recognized.

すなわち、一群の薬剤に含まれる個別の薬剤(同じ種類)が別々の種類の薬剤として認識されたり、あるいは一群の薬剤の全体が1つの薬剤(全体として薬剤の数量が1つ)として認識されたりする場合がある。 That is, individual drugs (of the same type) included in a group of drugs may be recognized as separate types of drugs, or the entire group of drugs may be recognized as one drug (the total number of drugs is one). sometimes.

そこで本発明は、撮影画像に基づく薬剤識別において、複数で一群となる薬剤が一纏まりの包装に封入されている場合においても、薬剤の数量を正しく識別し、一群の薬剤の切り分けを適切に行うことを目的とする。 Therefore, in drug identification based on a photographed image, the present invention correctly identifies the quantity of drugs and appropriately cuts the group of drugs even when a plurality of drugs that form a group are enclosed in a package. for the purpose.

上記課題を解決するため、本発明に係る実施形態の一例としての薬剤識別システムは、薬剤を撮影した撮影画像の画像認識を行うことにより、撮影された薬剤の識別を行う薬剤識別システムにおいて、薬剤を撮影する撮影部と、撮影画像に含まれる薬剤を識別する薬剤識別部と、を備え、前記撮影部は、前記撮影部から撮影対象までの距離を検出可能な測距センサを備えており、前記撮影画像を、撮影対象までの距離情報と共に前記薬剤識別部へ送信し、前記薬剤識別部は、前記距離情報に基づいて、前記撮影部から送信された撮影画像に含まれる薬剤の個数を算出することを特徴とする。 In order to solve the above problems, a drug identification system as an example of an embodiment according to the present invention is a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug. and a drug identification unit for identifying the drug contained in the captured image, the imaging unit includes a distance sensor capable of detecting the distance from the imaging unit to the imaging target, The photographed image is transmitted to the drug identification unit together with distance information to the object to be photographed, and the drug identification unit calculates the number of drugs contained in the photographed image transmitted from the photographing unit based on the distance information. characterized by

また好ましくは、前記薬剤識別部は、前記距離情報に基づいて、撮影対象のうち前記測距センサが検出可能な基準厚み以上の厚みを持つ領域を第1の厚み領域と識別し、前記第1の厚み領域よりも厚みの大きい領域を第2の厚み領域と識別し、前記第1の厚み領域で囲まれた撮影対象を一群の薬剤と識別し、前記一群の薬剤の内側に含まれる前記第2の厚み領域の数を薬剤の個数として算出するとよい。 Further, preferably, the drug identification unit identifies, as a first thickness region, a region having a thickness greater than or equal to a reference thickness detectable by the distance measuring sensor in the object to be imaged, based on the distance information. is identified as a second thickness region, an imaging target surrounded by the first thickness region is identified as a group of drugs, and the first 2 is calculated as the number of medicines.

また好ましくは、前記薬剤識別部は、前記撮影部から送信された撮影画像について、第1の識別範囲内の距離に位置する領域で囲まれた撮影対象を一群の薬剤と識別するとよい。 Further, preferably, the drug identification unit identifies, in the captured image transmitted from the imaging unit, an imaging target surrounded by an area located at a distance within the first identification range as a group of drugs.

また好ましくは、前記薬剤識別部は、一群の薬剤と識別された撮影対象について、第2の識別範囲内の距離に位置する領域が何箇所存在するかを数えることにより、前記一群の薬剤に含まれる薬剤の個数を算出するとよい。 Further, preferably, the drug identification unit counts the number of regions located within the second identification range for the imaging target identified as the group of drugs, and determines whether the drug is included in the group of drugs. It is preferable to calculate the number of drugs to be used.

また好ましくは、前記測距センサが、LiDAR(Light Detection and Ranging)を用いたものであるとよい。 Preferably, the distance measuring sensor uses LiDAR (Light Detection and Ranging).

また、本発明に係る実施形態の別例としての薬剤識別方法は、薬剤を撮影した撮影画像の画像認識を行うことにより、撮影された薬剤の識別を行う薬剤識別方法において、薬剤を撮影する撮影ステップと、撮影画像に含まれる薬剤を識別する薬剤識別ステップと、を有し、前記撮影ステップにおいて、撮影対象の厚みを検出し、前記薬剤識別ステップにおいて、予め定められた包装識別寸法以上の厚みを有する領域で囲まれた撮影対象を一群の薬剤と識別し、前記一群の薬剤について、予め定められた数量識別寸法以上の厚みを有する領域が何箇所存在するかを数えることにより、前記一群の薬剤に含まれる薬剤の個数を算出することを特徴とする。 Further, a drug identification method as another example of an embodiment according to the present invention is a drug identification method for identifying a photographed drug by performing image recognition of a photographed image of the drug. and a drug identification step for identifying drugs included in the photographed image, wherein the photographing step detects the thickness of an object to be photographed, and the drug identification step detects a thickness equal to or greater than a predetermined packaging identification dimension. By identifying an imaging target surrounded by areas having It is characterized by calculating the number of drugs contained in the drug.

本発明に係る実施形態の一例としての薬剤識別システムおよび薬剤識別方法によれば、撮影部と撮影対象の距離、あるいは撮影対象の厚みに基づいて、撮影画像に含まれる薬剤の個数や、一群の薬剤の範囲を正しく識別することができる。 According to the medicine identification system and the medicine identification method as an example of the embodiment of the present invention, the number of medicines contained in the photographed image and the number of medicines in a group are determined based on the distance between the imaging unit and the imaging target or the thickness of the imaging target. A range of drugs can be correctly identified.

また一群の薬剤の中から数量識別範囲内の距離となっている領域を識別することにより、一群の薬剤に個別の薬剤がいくつ含まれているかについても、正しく識別することができる。 In addition, by identifying a region within the group of drugs within the range of quantity identification, it is possible to correctly identify how many individual drugs are included in the group of drugs.

本発明に係る実施形態の一例としての薬剤識別システムの構成を概略的に示すブロック図。1 is a block diagram schematically showing the configuration of a drug identification system as an example of an embodiment according to the present invention; FIG. 図1の薬剤識別システムにおける薬剤包装の各部分の厚みを示す断面図。FIG. 2 is a cross-sectional view showing the thickness of each portion of the drug package in the drug identification system of FIG. 1; 図1の薬剤識別システムにおける薬剤識別手順を示すフローチャート。2 is a flowchart showing a drug identification procedure in the drug identification system of FIG. 1; エッジ検出の手順を示すフローチャート。4 is a flowchart showing the procedure of edge detection; 個数算出の手順を示すフローチャート。4 is a flow chart showing a procedure for calculating the number of pieces;

図1のブロック図に、本発明に係る実施形態の一例としての薬剤識別システム10の構成を概略的に示す。この薬剤識別システム10において識別対象となる薬剤12の例として、図1には錠剤14が10錠入りのPTP包装13に封入されている状態が示されている。 The block diagram of FIG. 1 schematically shows the configuration of a drug identification system 10 as an example of an embodiment according to the present invention. As an example of a drug 12 to be identified in this drug identification system 10, FIG. 1 shows a state in which a tablet 14 is enclosed in a PTP package 13 containing 10 tablets.

図1に示す薬剤識別システム10は、識別結果を表示するためのモニタ60と、薬剤12の画像を撮影する撮影部20と、撮影部20が撮影した撮影画像に含まれる薬剤12を識別する薬剤識別部30と、薬剤12の種別を特定する薬剤特定部50と、を備えている。これらの構成要素は1つの機器にまとめて組み込まれていてもよいし、複数の機器に分かれて配置されていてもよい。 A drug identification system 10 shown in FIG. An identification unit 30 and a medicine identification unit 50 for identifying the type of medicine 12 are provided. These components may be integrated into one device, or may be divided and arranged in a plurality of devices.

例えばスマートフォンの画面をモニタ60、そのスマートフォンに組み込まれたカメラを撮影部20、メモリやプロセッサを他の構成要素として、薬剤識別システム10が1つのスマートフォンで構築されるようになっていてもよい。あるいは、薬剤識別システム10がネットワーク(インターネットなど)上に構築されたものであり、ネットワークを介して接続された複数の機器のそれぞれが構成要素の一つ一つとして機能するようになっており、様々な場所の機器から薬剤識別システム10を利用可能な構成であってもよい。 For example, the drug identification system 10 may be constructed in one smartphone with the screen of the smartphone as the monitor 60, the camera incorporated in the smartphone as the imaging unit 20, and the memory and processor as other components. Alternatively, the drug identification system 10 is built on a network (such as the Internet), and each of a plurality of devices connected via the network functions as a component, The configuration may be such that the drug identification system 10 can be used from devices at various locations.

図1において、薬剤12は台座11の上に配置されている。薬剤識別システム10が薬局に備えられた専用機器である場合には、その専用機器内に用意された薬剤配置用の台座(例えば黒一色のプレート)が台座11となる。薬剤識別システム10がスマートフォンで構築されるものである場合には、台座11は作業机など、薬剤12を安定して配置できるものであればよいが、後述の距離(厚み)の検出が容易となるように、その表面が平坦なものが台座11として用いられることが好ましい。 In FIG. 1, drug 12 is placed on base 11 . If the drug identification system 10 is a dedicated device provided in a pharmacy, the drug placement pedestal (for example, a black plate) provided in the dedicated device becomes the pedestal 11 . In the case where the drug identification system 10 is constructed by a smartphone, the pedestal 11 may be any object such as a work desk as long as the drug 12 can be placed stably. It is preferable that the pedestal 11 has a flat surface.

(基本的動作)
この薬剤識別システム10を用いて識別作業を行おうとするユーザ(作業者)はまず、撮影部20によって薬剤12(薬剤12を含む領域)を撮影して、撮影画像を取得する。そして、この撮影画像が薬剤識別部30へ入力される。薬剤識別部30は、撮影画像に含まれる(写っている)薬剤について、どの部分が一群の薬剤であるか、一群の薬剤に含まれている薬剤の数量がいくつであるか、などを識別する。その後、薬剤識別部30は、撮影画像を薬剤特定部50へ入力するための所定の処理(薬剤特定部50が受け付けるデータ形式に変換するなど)を行った上で、薬剤特定部50へ撮影画像を入力データとして引き渡す。
(basic operation)
A user (operator) who intends to perform identification work using this medicine identification system 10 first captures the medicine 12 (the area containing the medicine 12) with the imaging unit 20 to obtain a photographed image. Then, this photographed image is input to the medicine identifying section 30 . The drug identification unit 30 identifies which part of a drug contained (pictured) in a photographed image is a group of drugs, how many drugs are included in the group of drugs, and the like. . After that, the drug identification unit 30 performs predetermined processing (such as conversion into a data format accepted by the drug identification unit 50 ) for inputting the captured image to the drug identification unit 50 , and sends the captured image to the drug identification unit 50 . is passed as input data.

薬剤特定部50は、撮影画像に含まれている薬剤の種別を特定し、特定結果を薬剤識別部30に返す。その後、薬剤識別部30は、識別された薬剤の数量や、特定された薬剤の種別に関する情報をモニタ60に送信する。モニタ60は、薬剤識別部30から送信された情報をユーザに向けて表示する。すなわち、撮影部20によって撮影された薬剤12に関して、薬剤12の個数、種別といった情報がモニタ60に表示される。これにより、薬剤識別システム10のユーザは、撮影対象の薬剤12に関する個数、種別といった識別結果を知ることができる。 The drug identification unit 50 identifies the type of drug included in the captured image and returns the identification result to the drug identification unit 30 . After that, the drug identification unit 30 transmits information about the identified quantity of drugs and the specified type of drug to the monitor 60 . The monitor 60 displays the information transmitted from the drug identification unit 30 to the user. That is, information such as the number and type of medicines 12 captured by the imaging unit 20 is displayed on the monitor 60 . As a result, the user of the drug identification system 10 can know the identification results such as the number and type of drugs 12 to be imaged.

(測距センサについて)
本実施形態において、撮影部20には測距センサが組み込まれている。測距センサとは、そのセンサから撮影対象までの距離を検出することが可能なセンサである。例えば赤外線を投射する素子と、撮影対象から反射した赤外線を検出するセンサとの組み合わせでこの測距センサを構築することができる。この組み合わせを用いる場合には、赤外線の投射から反射赤外線の検出までに経過した時間(赤外線の位相やパルスのずれなどから算出する)から、撮影対象までの距離を算出できる。
(About range sensor)
In this embodiment, the photographing unit 20 incorporates a distance measuring sensor. A ranging sensor is a sensor capable of detecting the distance from the sensor to the object to be photographed. For example, this distance measuring sensor can be constructed by combining an element that projects infrared rays and a sensor that detects infrared rays reflected from an object to be photographed. When this combination is used, the distance to the photographing object can be calculated from the time elapsed from the projection of the infrared rays to the detection of the reflected infrared rays (calculated from the phase of the infrared rays, the pulse shift, etc.).

測距センサとしては、LiDAR(Light Detection and Ranging)を用いたものが使用されてもよい。すなわち、撮影対象に向けてレーザ光を走査しながら照射し、撮影対象に反射されてレーザ光が返ってくるまでの時間を計測することによって、撮影対象の距離、位置、形状などを測定することが可能な測距センサが用いられてもよい。近年(特に2020年以降)のスマートフォンにはこうしたLiDARが搭載されているものがあるため、スマートフォンがLiDARを備えた撮影部20として機能することも可能である。 As the ranging sensor, one using LiDAR (Light Detection and Ranging) may be used. In other words, the distance, position, shape, etc. of the object to be photographed can be measured by irradiating the object to be photographed with a laser beam while scanning and measuring the time it takes for the laser beam to return after being reflected by the object to be photographed. may be used. Since some smartphones in recent years (especially after 2020) are equipped with such LiDAR, it is also possible for the smartphone to function as the imaging unit 20 equipped with LiDAR.

なお測距センサは対象物までの距離を検出可能なものであればよい。距離の検出方式は、光線の投射から反射の検出までに経過した時間に基づいて距離を測定するToF(Time of Flight)方式以外にも様々なものが存在する。例えばステレオビジョン方式、ストラクチャードライト方式といった方式が知られている。ステレオビジョン方式は、いわゆる3Dカメラによる距離検出方式である。典型的には、2つ以上のカメラがそれぞれ撮影した画像同士の視差から、三角測量により奥行き距離を算出するものである。ストラクチャードライト方式は、基準パターン(模様)を対象物に投影するプロジェクターと、投影された基準パターンを撮影するカメラを用いる方式である。典型的には、対象物に照射された基準パターンがどのように歪んでいるかをカメラで確認し、その歪具合から奥行き距離を算出するものである。いずれの方式にもそれぞれ利点があるが、特に、LiDARのようなToF方式では、照明条件に左右されずに(例えば暗所であっても)距離を検出可能であるという利点がある。 Note that any distance measuring sensor may be used as long as it can detect the distance to the object. There are various distance detection methods other than the ToF (Time of Flight) method, which measures the distance based on the time elapsed from the projection of light to the detection of its reflection. For example, methods such as a stereo vision method and a structured light method are known. The stereo vision method is a distance detection method using a so-called 3D camera. Typically, the depth distance is calculated by triangulation from the parallax between images captured by two or more cameras. The structured light method is a method that uses a projector that projects a reference pattern (pattern) onto an object and a camera that captures the projected reference pattern. Typically, a camera confirms how the reference pattern projected onto the object is distorted, and the depth distance is calculated from the degree of distortion. Each method has its own advantages, but the ToF method such as LiDAR has the advantage of being able to detect distance regardless of lighting conditions (for example, even in dark places).

(距離を利用したエッジ検出)
測距センサを利用することにより、撮影対象のエッジ、ここでは薬剤12を包装する薬剤包装の輪郭線を検出することが可能になる。薬剤包装の形状は規格化されているため、その厚みは規定された範囲内に収まる。したがって、測距センサにより検出された、センサから撮影対象までの距離に基づいて撮影対象の厚みを算出することにより、予め定められた範囲内の厚みを持つ範囲が薬剤包装の存在する領域であると特定できる。
(Edge detection using distance)
By using the distance measuring sensor, it becomes possible to detect the edge of the object to be photographed, here the contour line of the medicine package for packaging the medicine 12 . Since the shape of the drug package is standardized, its thickness falls within the specified range. Therefore, by calculating the thickness of the object to be photographed based on the distance from the sensor to the object to be photographed detected by the distance measuring sensor, the area having the thickness within a predetermined range is the area where the drug package exists. can be specified.

薬剤包装は一般的に、薬剤12が収められているポケット部と、ポケット部を取り囲む(薬剤12が収められていない)周縁部とを有している。特に周縁部の厚みは、前述の通り規定された(規格化された)範囲内に収まる。薬剤12が収められていない周縁部と、周縁部よりも外側(例えば薬剤12が配置される台座)との間では測距センサからの距離が異なる。そのため、撮影画像のデータを受信する薬剤識別部30は、測距センサの検出結果(撮影対象までの距離情報)に基づいて、撮影画像内のどの範囲が周縁部(エッジ)であるかを特定することが可能である。 The drug package generally has a pocket portion containing the drug 12 and a peripheral edge (not containing the drug 12) surrounding the pocket portion. In particular, the thickness of the peripheral portion falls within the range specified (standardized) as described above. The distance from the range-finding sensor differs between the peripheral portion where the medicine 12 is not stored and the outside of the peripheral portion (for example, the pedestal on which the medicine 12 is arranged). Therefore, the drug identification unit 30 that receives the data of the photographed image identifies which range in the photographed image is the peripheral portion (edge) based on the detection result of the distance measuring sensor (distance information to the photographed object). It is possible to

台座11が平坦で、撮影範囲が台座11内に限定されていれば、台座11は撮影対象内で最も測距センサから遠い地点であると検出される。この台座11の地点を基準位置として、撮影対象が基準位置からどれだけ近い位置に存在するかを算出することで薬剤識別部30は撮影対象の「厚み」を算出することが可能である。 If the pedestal 11 is flat and the imaging range is limited within the pedestal 11, the pedestal 11 is detected as being the farthest point from the distance measuring sensor in the imaging target. Using the point of the pedestal 11 as a reference position, the drug identifying unit 30 can calculate the "thickness" of the imaging target by calculating how close the imaging target is to the reference position.

例えば図2に示すように、薬剤12が平坦な台座11の上に配置されている場合に、測距センサ(撮影部20)から台座11までの距離がD、薬剤12の周縁部の厚みがd1であるとすると、測距センサから周縁部までの距離は(D-d1)として検出される。これに基づいて薬剤識別部30は、基準位置の距離Dと周縁部の距離(D-d1)との差、すなわち(D-(D-d1))=d1を周縁部の厚みとして算出することができる。 For example, as shown in FIG. 2, when the drug 12 is placed on a flat pedestal 11, the distance from the distance measuring sensor (imaging unit 20) to the pedestal 11 is D, and the thickness of the periphery of the drug 12 is D. If d1, the distance from the range sensor to the periphery is detected as (D-d1). Based on this, the drug identification unit 30 calculates the difference between the distance D of the reference position and the distance (D−d1) of the peripheral portion, that is, (D−(D−d1))=d1 as the thickness of the peripheral portion. can be done.

なお、例えばPTP包装13においては周縁部の厚みd1は一般的に200μmから300μm程度である。したがって、200μmから300μmの数値範囲を包装識別範囲(第1の識別範囲)とするとき、薬剤識別部30は、撮影対象において包装識別範囲内の厚みを有する領域(第1の識別範囲内の距離に位置する領域)で囲まれた部分が、1つのPTP包装13、すなわち一群の薬剤であると識別することができる。 For example, in the PTP packaging 13, the thickness d1 of the peripheral portion is generally about 200 μm to 300 μm. Therefore, when the numerical value range from 200 μm to 300 μm is set as the package identification range (first identification range), the drug identification unit 30 detects an area having a thickness within the package identification range (distance within the first identification range) in the imaging target ) can be identified as one PTP package 13, that is, a group of drugs.

より詳しく言えば、包装識別範囲内の厚みを有する領域(周縁部)がひと繋がりとなっている部分が一群の薬剤である。ポケット部も周縁部に囲まれていると言えるが、「一群の薬剤」として識別されるのはポケット部の一つ一つではなく、周縁部と、その内側に含まれるポケット部の全てを一まとめにした範囲である。すなわち、周縁部の輪郭線(エッジ)で囲まれた領域が一群の薬剤である。一般的にポケット部の厚みは周縁部よりも大きいので、「包装識別範囲以上の厚みを持つひと繋がりの領域」が「一群の薬剤」として識別されてもよい。 More specifically, a group of medicines is a portion in which regions (peripheral portions) having a thickness within the package identification range are connected. It can be said that the pocket portion is also surrounded by the peripheral portion, but it is not the individual pockets that are identified as the “group of drugs”, but the peripheral portion and all of the pockets contained within. This is a summary range. That is, the area surrounded by the contour lines (edges) of the peripheral portion is a group of medicines. Since the thickness of the pocket portion is generally greater than that of the peripheral edge portion, a "continuous region having a thickness equal to or greater than the package identification range" may be identified as a "group of medicines."

また、撮影画像内に、包装識別範囲内の厚みを有する領域で囲まれた部分が2箇所以上存在する場合は、一群の薬剤が2つ以上(二群以上)存在することになる。2種類以上の薬剤が同時に台座11上に配置されている場合、「一群の薬剤」の数は薬剤の種類数に応じて増加する。したがって、薬剤識別部30は、「一群の薬剤」が撮影画像内にどれだけ含まれているかを識別することにより、何種類の薬剤が識別対象になっているかを調べることができる。 In addition, when there are two or more portions surrounded by regions having a thickness within the package identification range in the photographed image, two or more groups of drugs (two groups or more) are present. When two or more types of drugs are placed on the base 11 at the same time, the number of "group of drugs" increases according to the number of types of drugs. Therefore, the drug identification unit 30 can check how many types of drugs are to be identified by identifying how many "group of drugs" are included in the captured image.

(距離を利用した個数算出)
さらに、カプセル剤や錠剤においては薬剤12自体を収めるポケット部の厚みも規格化されている。散剤や顆粒剤においては薬剤12を収めるポケット部の厚みは散剤、顆粒剤の集合具合によって多少変動するが、1包の梱包量に応じてその厚みは一定の範囲内に収まる。したがって、検出された厚みに基づき、撮影画像内で薬剤12が収められている領域を特定することができる。これにより薬剤12が収められている領域が撮影画像内に何箇所あるかを総計することで、撮影画像内の薬剤12の個数(錠数、包数)を算出することが可能である。
(Number calculation using distance)
Furthermore, in the case of capsules and tablets, the thickness of the pocket for containing the drug 12 itself is also standardized. The thickness of the pocket portion for storing the drug 12 in the case of powders and granules varies somewhat depending on the degree of aggregation of the powders and granules, but the thickness falls within a certain range according to the packing amount of one package. Therefore, based on the detected thickness, it is possible to identify the area containing the drug 12 in the captured image. Accordingly, by totaling the number of regions in which the medicines 12 are stored in the photographed image, it is possible to calculate the number of medicines 12 (the number of tablets, the number of packets) in the photographed image.

(距離を利用した一群の範囲検出)
例えば、図2の薬剤12について、PTP包装13のポケット部の厚みが4500μmから5000μmと規定されているとする。この場合、薬剤識別部30は、4500μmから5000μmの数値範囲を数量識別範囲(第2の数値範囲)として、撮影対象において数値識別範囲内の厚みを有する領域(第2の識別範囲内の距離に位置する領域)が、錠剤14の1つ1つが収められたポケット部であると識別することができる。したがって、薬剤識別部30は、ポケット部(数値識別範囲内の厚みを有する領域)が何箇所存在するかを数えることにより、図2の錠剤14の個数(ここでは10錠)を算出することができる。
(Group range detection using distance)
For example, it is assumed that the thickness of the pocket portion of the PTP packaging 13 for the medicine 12 in FIG. 2 is defined as 4500 μm to 5000 μm. In this case, the drug identification unit 30 sets a numerical value range of 4500 μm to 5000 μm as a numerical value identification range (second numerical range), and an area (a distance within the second identification range) having a thickness within the numerical identification range in the imaging target. The area where the tablets 14 are located can be identified as pockets in which the tablets 14 are individually placed. Therefore, the drug identification unit 30 can calculate the number of tablets 14 in FIG. can.

ここで、前述の「一群の薬剤」が複数存在する(複数の薬剤が識別対象となっている)場合には、上記の個数算出が、「一群の薬剤」ごとに行われることが好ましい。これにより、薬剤識別部30は、薬剤の種類ごとに、各種類の薬剤がそれぞれ何個ずつ存在するかを算出することができる。 Here, when there are a plurality of "groups of drugs" described above (a plurality of drugs are objects of identification), the above number calculation is preferably performed for each "group of drugs". Thereby, the medicine identification unit 30 can calculate how many medicines of each kind exist for each kind of medicine.

(薬剤特定部50による薬剤の特定)
以上のようにして、本実施形態の薬剤識別システム10は、薬剤の種類数、および薬剤の種類ごとの個数を識別することができる。なお、薬剤の種別(どのような薬剤か)については、薬剤特定部50にて特定される。
(Drug Identification by Medicine Identification Unit 50)
As described above, the drug identification system 10 of the present embodiment can identify the number of drug types and the number of each type of drug. The type of drug (what kind of drug it is) is specified by the drug specifying unit 50 .

薬剤特定部50は、撮影画像を基に、撮影された薬剤の種別を特定する。この薬剤の特定においては例えば、薬剤包装に記されている特定指標を用いて特定することが可能である。特定指標とは、薬剤12または薬剤12を包装する薬剤包装に刻印や印刷などの形で記されたものであり、その薬剤12が何であるか、つまり薬剤12の特定情報を示すものである。具体的には、バーコードや二次元コードのような光学マークが特定指標として利用可能である。薬剤特定部50は、文字やバーコードからなる特定指標を画像解析により撮影画像から取得し、取得された特定指標の示す特定情報を予め用意された特定指標テーブルと照合することで、薬剤12の種別に関する情報を得ることができる。以上のようにして特定情報に基づいて薬剤12の情報が得られたならば、薬剤特定部50は、特定情報に基づいて得られた薬剤12の情報を特定結果として薬剤識別部30へ送信する。 The drug identification unit 50 identifies the type of the captured drug based on the captured image. In specifying this drug, for example, it is possible to specify using a specific indicator written on the drug package. The specific index is written in the form of engraving, printing, or the like on the drug 12 or the drug package that packages the drug 12, and indicates what the drug 12 is, that is, specific information on the drug 12. Specifically, optical marks such as bar codes and two-dimensional codes can be used as specific indicators. The drug identification unit 50 acquires a specific index made up of characters or barcodes from the photographed image by image analysis, and compares the specific information indicated by the obtained specific index with a specific index table prepared in advance, thereby identifying the drug 12. You can get information about the type. When the information on the drug 12 is obtained based on the specific information as described above, the drug identification unit 50 transmits the information on the drug 12 obtained based on the specific information to the drug identification unit 30 as the identification result. .

なお、薬剤識別部30が撮影画像内に複数種類の薬剤が含まれていると識別している場合には、薬剤特定部50による薬剤種別の特定は、薬剤の種類ごとに行われることが好ましい。すなわち、薬剤特定部50は、薬剤識別部30の識別した「一群の薬剤」に含まれる特定指標を基にして、その一群の薬剤の種別を特定する。一群の薬剤が複数群存在する場合には、この特定作業が一群の薬剤ごとに行われる。 Note that when the drug identification unit 30 identifies that a plurality of types of drugs are included in the captured image, the drug type identification by the drug identification unit 50 is preferably performed for each type of drug. . That is, the drug identifying unit 50 identifies the type of the group of drugs based on the specific index included in the “group of drugs” identified by the drug identifying unit 30 . When there are a plurality of groups of medicines in a group, this specifying operation is performed for each group of medicines.

以上のようにして、薬剤識別部30および薬剤特定部50によって、撮影画像内に含まれる薬剤の種類数の識別、各種類の薬剤それぞれの個数、各薬剤の種別の特定が完了したら、その結果の情報がモニタ60に送信される。 As described above, when the identification of the number of types of drugs included in the captured image, the number of each type of drug, and the type of each drug are completed by the drug identification unit 30 and the drug identification unit 50, the result is information is sent to the monitor 60 .

モニタ60は送信された情報をユーザに向けて表示する。モニタ60に表示される情報は、薬剤識別部30が識別した一群の薬剤ごとに、その群に含まれる薬剤の個数、およびその群の薬剤の種別が示されたものとなる。このように、本実施形態の薬剤識別システム10によれば、複数で一群となる薬剤(図1では錠剤14)が一纏まりの包装(図1ではPTP包装)に封入されている場合に、一纏まりの包装に封入されている薬剤を一群の薬剤としてまとめて識別することができる。したがって、撮影対象となっている薬剤の種類数および各種類の薬剤それぞれの個数を正しく識別することができる。 A monitor 60 displays the transmitted information to the user. The information displayed on the monitor 60 indicates, for each group of drugs identified by the drug identification unit 30, the number of drugs included in the group and the types of drugs in the group. As described above, according to the drug identification system 10 of the present embodiment, when a group of a plurality of drugs (tablets 14 in FIG. 1) are enclosed in a package (PTP package in FIG. 1), the Medications enclosed in a bundled package can be collectively identified as a group of medications. Therefore, it is possible to correctly identify the number of types of drugs to be imaged and the number of each type of drug.

(薬剤識別システム10による識別の手順)
図3に、図1の薬剤識別システム10によって行われる薬剤12の識別の手順(薬剤識別方法の手順)をフローチャートとして示す。まず、測距センサを備えた撮影部20によって薬剤12が撮影されて、撮影画像が得られる(ステップS01)。この撮影画像が薬剤識別部30に入力されて、薬剤識別部30は入力された撮影画像の画像認識を開始し(ステップS02)、測距センサによる距離検出の結果を確認する(ステップS03)。
(Procedure for identification by drug identification system 10)
FIG. 3 is a flow chart showing the procedure for identifying the medicine 12 (procedure of the medicine identification method) performed by the medicine identification system 10 of FIG. First, the drug 12 is photographed by the photographing unit 20 having a distance measuring sensor to obtain a photographed image (step S01). This photographed image is input to the drug identification unit 30, and the drug identification unit 30 starts image recognition of the input photographed image (step S02), and confirms the result of distance detection by the distance measuring sensor (step S03).

距離検出の結果に基づき、薬剤包装のエッジ検出が行われる(ステップS04)。エッジ検出の内容については後述するが、エッジ検出の結果に基づき、撮影画像内に「一群の薬剤」がいくつあるか(薬剤の種類数がいくつか)が識別される(ステップS05)。 Edge detection of the medicine package is performed based on the result of the distance detection (step S04). Details of edge detection will be described later, but based on the result of edge detection, the number of "group of drugs" (the number of types of drugs) in the captured image is identified (step S05).

さらに一群の薬剤それぞれについて、各群における薬剤の個数が算出される(ステップS06)。個数算出の内容については後述するが、個数算出の結果、各群に含まれる薬剤の個数が算出される。 Further, the number of drugs in each group is calculated for each drug in the group (step S06). Although the content of the number calculation will be described later, the number of drugs contained in each group is calculated as a result of the number calculation.

そして薬剤識別部30は撮影画像を薬剤特定部50に入力し、薬剤特定部50は撮影画像に含まれている特定指標などに基づいて、薬剤の種別を特定する(ステップS07)。薬剤特定の結果は薬剤識別部30に送信され、薬剤識別部30は、識別された薬剤の種類数および各種類の薬剤それぞれの個数の情報と、特定された各薬剤の種別の情報をモニタ60に送信する(ステップS08)。モニタ60は、薬剤識別部30から送信された情報(識別結果)をユーザに向けて表示する(ステップS09)。 Then, the drug identification unit 30 inputs the photographed image to the drug identification unit 50, and the drug identification unit 50 identifies the type of drug based on the specific index included in the photographed image (step S07). The drug identification result is sent to the drug identification unit 30, and the drug identification unit 30 monitors 60 the information on the number of types of identified drugs, the number of each type of drug, and information on the type of each identified drug. (step S08). The monitor 60 displays the information (identification result) transmitted from the drug identification unit 30 to the user (step S09).

(エッジ検出について)
前述のステップS04において行われるエッジ検出の手順が図4のフローチャートに示されている。薬剤識別部30は、測距センサが検出した撮影対象の距離情報に基づき、撮影部20から台座11までの距離を基準距離として定める(ステップA1)。この基準距離は、撮影部20と台座11が互いに平行な二つの平面内にそれぞれ配置されているとした場合の、二つの平面間の距離、すなわち撮影部20から台座11までの垂直距離である。測距センサがLiDARである場合には、撮影画像内で最も撮影部20から遠い位置と、その位置に向けて照射されたレーザ光の照射角度から、台座11までの垂直距離を算出することが可能である。また、台座11の光学的特徴(たとえば黒一色に着色されている、特定の模様が描かれている、など)が予め判明している場合には、撮影画像内で台座11の光学的特徴と一致する場所と、撮影部20との垂直距離を基準距離とすることができる。
(About edge detection)
The edge detection procedure performed in step S04 described above is shown in the flow chart of FIG. The drug identification unit 30 determines the distance from the imaging unit 20 to the base 11 as a reference distance based on the distance information of the imaging target detected by the distance measuring sensor (step A1). This reference distance is the distance between two planes when the photographing unit 20 and the pedestal 11 are arranged in two planes parallel to each other, that is, the vertical distance from the photographing unit 20 to the pedestal 11. . When the distance measuring sensor is a LiDAR, the vertical distance to the pedestal 11 can be calculated from the farthest position in the captured image from the imaging unit 20 and the irradiation angle of the laser beam irradiated toward that position. It is possible. Further, when the optical characteristics of the base 11 (for example, the base 11 is colored in solid black, the specific pattern is drawn, etc.) are known in advance, the optical characteristics of the base 11 can be identified in the photographed image. The vertical distance between the matching location and the photographing unit 20 can be used as the reference distance.

続いて薬剤識別部30は、撮影画像内の各領域について、基準距離からどれだけ撮影部20に近いか、すなわち各領域の厚みを検出する(ステップA2)。そして、撮影画像内のどの位置に、予め定められた包装識別範囲内の厚みを有する領域が存在するかを調べる(ステップA3)。予め定められた包装識別範囲とはすなわち、撮影対象として想定される薬剤包装の周縁部の厚みの数値範囲であり、例えばPTP包装では200μmから300μmの範囲である。 Subsequently, the drug identification unit 30 detects how close each area in the captured image is to the imaging unit 20 from the reference distance, that is, the thickness of each area (step A2). Then, it is checked at which position in the photographed image there is an area having a thickness within a predetermined package identification range (step A3). The predetermined package identification range is, in other words, a numerical range of the thickness of the peripheral portion of the drug package assumed to be photographed.

そして薬剤識別部30は、撮影画像のうち、包装識別範囲内の厚みを有する領域を薬剤包装のエッジとして、そのエッジで囲まれた部分が一群の薬剤であると識別する(ステップA4)。ここで、撮影画像内に、エッジで囲まれた部分が複数存在する場合には、各部分がそれぞれ別々の一群の薬剤であるとして識別される。以上のようにして薬剤識別部30は、撮影画像に含まれる一群の薬剤を識別する。 Then, the drug identification unit 30 identifies the area surrounded by the edge of the drug package as the area having the thickness within the package identification range in the photographed image as a group of drugs (step A4). Here, when there are a plurality of portions surrounded by edges in the photographed image, each portion is identified as a group of drugs that are separate from each other. As described above, the drug identification unit 30 identifies a group of drugs included in the captured image.

(個数算出について)
前述のステップS06において行われる個数算出の手順が図5のフローチャートに示されている。薬剤識別部30は、前述のエッジ検出で検出された、撮影画像内の領域の厚みについて、予め定められた数量識別範囲内の厚みを有する領域が何箇所存在するかを数える(ステップB1)。予め定められた数量識別範囲とはすなわち、撮影対象として想定される薬剤包装のポケット部の厚みの数値範囲であり、例えば4500μmから5000μmの範囲である。また、一群の薬剤が複数群存在する場合には、各群について、その一群の薬剤に含まれる薬剤の個数が算出される(ステップB2)。以上のようにして薬剤識別部30は、一群の薬剤のそれぞれに含まれる薬剤の個数を算出する。
(Regarding number calculation)
The flow chart of FIG. 5 shows the number calculation procedure performed in step S06. The drug identification unit 30 counts the number of regions having a thickness within a predetermined quantity identification range, with respect to the thickness of the regions in the captured image detected by the edge detection described above (step B1). The predetermined quantity identification range is, in other words, a numerical range of the thickness of the pocket portion of the drug package assumed to be photographed, for example, a range of 4500 μm to 5000 μm. Further, when there are a plurality of groups of medicines in one group, the number of medicines contained in each group is calculated for each group (step B2). As described above, the medicine identification unit 30 calculates the number of medicines contained in each of a group of medicines.

なお、ポケット部の厚みは、錠剤やカプセル剤に用いられるPTP包装と、散剤や顆粒剤に用いられるSP包装とで異なる。またPTP包装においても、包装対象の薬剤の寸法に応じて、ポケット部の厚みが異なることがある。このようにポケット部の厚みは複数種類が想定されるので、予め複数種類の数量識別範囲が定められて、そのいずれかの数量識別範囲に合致する領域がポケット部であると数えられてもよい。あるいは、前述の包装識別範囲よりも大きな厚みを有する箇所は全てポケット部であると数えられてもよい。この場合、包装識別範囲よりも大きな値全てが数量識別範囲の数値範囲となる。 The thickness of the pocket portion differs between PTP packaging used for tablets and capsules and SP packaging used for powders and granules. Also in PTP packaging, the thickness of the pocket may vary depending on the size of the drug to be packaged. Since a plurality of thicknesses are assumed for the pocket portion in this manner, a plurality of types of quantity identification ranges may be determined in advance, and an area matching one of the quantity identification ranges may be counted as a pocket portion. . Alternatively, any location having a thickness greater than the aforementioned package identifier range may be counted as a pocket. In this case, all values larger than the package identification range are the numerical range of the quantity identification range.

また、上記の実施形態においては、周縁部とポケット部のそれぞれについて厚み(撮影部20からの距離)を定量的に数値として検出するものとして説明しているが、必ずしも正確な数値が検出される必要はなく、周縁部とポケット部との区別が可能であればよい。例えば、測距センサが薬剤識別部30にもたらす距離情報が、厚みの数値ではなく、撮影対象にはある程度以上の厚みを持つ「薄い領域」(第1の厚み領域)と、「薄い領域」よりも厚みの大きい「厚い領域」(第2の厚み領域)とが存在することを示す情報であってもよい。 Further, in the above embodiment, the thickness (distance from the photographing unit 20) of each of the peripheral portion and the pocket portion is quantitatively detected as a numerical value, but an accurate numerical value is necessarily detected. It is not necessary, and it is sufficient if it is possible to distinguish between the peripheral portion and the pocket portion. For example, the distance information provided by the distance measuring sensor to the drug identification unit 30 is not a numerical value of thickness, but a “thin region” (first thickness region) having a certain thickness or more in the imaging target and a “thin region”. It may be information indicating that there is a “thick region” (second thickness region) having a large thickness.

具体的には、撮影対象のうち、測距センサが検出可能な基準厚み以上の厚みを持つ領域(台座11から少しでも撮影部20に近い領域)が、厚みに依らず全て「第1の厚み領域」と識別され、第1の厚み領域よりも厚みの大きい領域(「第1の厚み領域」の中でさらに撮影部20に近い領域)が「第2の厚み領域」と識別されるようになっているとよい。この場合には、撮影対象のうち「第1の厚み領域」(すなわち周縁部)で囲まれたひと繋がりの部分が「一群の薬剤」として識別される。そして、「一群の薬剤」の内側に含まれる「第2の厚み領域」(すなわちポケット部)の数が薬剤の個数として算出される。 Specifically, the area of the object to be imaged that has a thickness greater than or equal to the reference thickness that can be detected by the distance measuring sensor (the area that is at least slightly closer to the imaging unit 20 than the pedestal 11) is the first thickness regardless of the thickness. region”, and a region having a greater thickness than the first thickness region (a region closer to the imaging unit 20 in the “first thickness region”) is identified as a “second thickness region”. I hope it is. In this case, a continuous portion surrounded by the "first thickness region" (that is, peripheral portion) of the imaging target is identified as a "group of drugs". Then, the number of "second thickness regions" (that is, pocket portions) included inside the "group of drugs" is calculated as the number of drugs.

以上のように、本実施形態の薬剤識別方法によれば、ユーザが撮影対象とした薬剤12について、識別結果がモニタ60へ表示される際に、薬剤12の種類だけでなく、その個数についても表示が可能となる。さらに、類似した薬剤包装が複数種類含まれていても、正しく別々の薬剤12であると識別される。 As described above, according to the drug identification method of the present embodiment, when the identification result of the drug 12 targeted by the user to be imaged is displayed on the monitor 60, not only the type of the drug 12 but also the number of the drug 12 are displayed. display is possible. Furthermore, even if a plurality of similar drug packages are included, they are correctly identified as separate drugs 12 .

10 薬剤識別システム
12 薬剤
20 撮影部
30 薬剤識別部
50 薬剤特定部
60 モニタ
REFERENCE SIGNS LIST 10 drug identification system 12 drug 20 imaging unit 30 drug identification unit 50 drug identification unit 60 monitor

Claims (6)

薬剤を撮影した撮影画像の画像認識を行うことにより、撮影された薬剤の識別を行う薬剤識別システムにおいて、
薬剤を撮影する撮影部と、
撮影画像に含まれる薬剤を識別する薬剤識別部と、
を備え、
前記撮影部は、前記撮影部から撮影対象までの距離を検出可能な測距センサを備えており、前記撮影画像を、撮影対象までの距離情報と共に前記薬剤識別部へ送信し、
前記薬剤識別部は、前記距離情報に基づいて、前記撮影部から送信された撮影画像に含まれる薬剤の個数を算出すること
を特徴とする薬剤識別システム。
In a drug identification system that identifies a photographed drug by performing image recognition of a photographed image of the drug,
an imaging unit for imaging the drug;
a drug identification unit that identifies a drug included in a captured image;
with
the photographing unit includes a distance sensor capable of detecting a distance from the photographing unit to an object to be photographed, and transmits the photographed image together with distance information to the object to be photographed to the drug identification unit;
The drug identification system, wherein the drug identification unit calculates the number of drugs included in the captured image transmitted from the imaging unit based on the distance information.
前記薬剤識別部は、前記距離情報に基づいて、撮影対象のうち前記測距センサが検出可能な基準厚み以上の厚みを持つ領域を第1の厚み領域と識別し、前記第1の厚み領域よりも厚みの大きい領域を第2の厚み領域と識別し、
前記第1の厚み領域で囲まれた撮影対象を一群の薬剤と識別し、
前記一群の薬剤の内側に含まれる前記第2の厚み領域の数を薬剤の個数として算出すること
を特徴とする請求項1に記載の薬剤識別システム。
Based on the distance information, the drug identification unit identifies, as a first thickness region, a region having a thickness greater than or equal to a reference thickness detectable by the distance measuring sensor in the object to be imaged. identifies the thicker region as the second thicker region,
Identifying an imaging target surrounded by the first thickness region as a group of drugs,
2. The medicine identification system according to claim 1, wherein the number of said second thickness regions included inside said group of medicines is calculated as the number of medicines.
前記薬剤識別部は、前記撮影部から送信された撮影画像について、
第1の識別範囲内の距離に位置する領域で囲まれた撮影対象を一群の薬剤と識別すること
を特徴とする請求項1に記載の薬剤識別システム。
The drug identification unit, for the captured image transmitted from the imaging unit,
2. The medicine identification system according to claim 1, wherein an object to be imaged surrounded by an area located at a distance within the first identification range is identified as a group of medicines.
前記薬剤識別部は、一群の薬剤と識別された撮影対象について、
第2の識別範囲内の距離に位置する領域が何箇所存在するかを数えることにより、前記一群の薬剤に含まれる薬剤の個数を算出すること
を特徴とする請求項3に記載の薬剤識別システム。
The drug identification unit, for the imaging target identified as a group of drugs,
4. The medicine identification system according to claim 3, wherein the number of medicines contained in said group of medicines is calculated by counting the number of areas located within the second identification range. .
前記測距センサが、LiDAR(Light Detection and Ranging)を用いたものであること
を特徴とする請求項1ないし請求項4の何れか1項に記載の薬剤識別システム。
5. The drug identification system according to any one of claims 1 to 4, wherein the distance measuring sensor uses LiDAR (Light Detection and Ranging).
薬剤を撮影した撮影画像の画像認識を行うことにより、撮影された薬剤の識別を行う薬剤識別方法において、
薬剤を撮影して撮影画像を得る撮影ステップと、
前記撮影画像に含まれる薬剤を識別する薬剤識別ステップと、
を有し、
前記撮影ステップにおいて、撮影対象の厚みを検出し、
前記薬剤識別ステップにおいて、予め定められた包装識別範囲内の厚みを有する領域で囲まれた撮影対象を一群の薬剤と識別し、
前記一群の薬剤について、予め定められた数量識別範囲内の厚みを有する領域が何箇所存在するかを数えることにより、前記一群の薬剤に含まれる薬剤の個数を算出すること
を特徴とする薬剤識別方法。
In a drug identification method for identifying a photographed drug by performing image recognition of a photographed image of the drug,
a photographing step of photographing a drug to obtain a photographed image;
a drug identification step of identifying a drug included in the captured image;
has
detecting the thickness of the object to be photographed in the photographing step;
in the drug identification step, identifying an imaging target surrounded by an area having a thickness within a predetermined packaging identification range as a group of drugs;
The number of drugs included in the group of drugs is calculated by counting the number of regions having a thickness within a predetermined numerical identification range for the group of drugs. Method.
JP2021108221A 2021-06-30 2021-06-30 Drug identification system and drug identification method Active JP7182668B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021108221A JP7182668B1 (en) 2021-06-30 2021-06-30 Drug identification system and drug identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021108221A JP7182668B1 (en) 2021-06-30 2021-06-30 Drug identification system and drug identification method

Publications (2)

Publication Number Publication Date
JP7182668B1 JP7182668B1 (en) 2022-12-02
JP2023005927A true JP2023005927A (en) 2023-01-18

Family

ID=84284010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021108221A Active JP7182668B1 (en) 2021-06-30 2021-06-30 Drug identification system and drug identification method

Country Status (1)

Country Link
JP (1) JP7182668B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012029702A (en) * 2010-07-02 2012-02-16 Ookuma Electronic Co Ltd Device for counting number of medicines in medicine packaging envelope
JP2013214170A (en) * 2012-03-30 2013-10-17 Windy:Kk Medicine inspection system
US20170351938A1 (en) * 2016-06-03 2017-12-07 Becton Dickinson Rowa Germany Gmbh Method for providing a singling device of a storage and dispensing container
JP2018128931A (en) * 2017-02-09 2018-08-16 キヤノン株式会社 Image processing device, image processing method, and program
JP2022027539A (en) * 2020-07-30 2022-02-10 株式会社湯山製作所 Type determination device and medicament sorting device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012029702A (en) * 2010-07-02 2012-02-16 Ookuma Electronic Co Ltd Device for counting number of medicines in medicine packaging envelope
JP2013214170A (en) * 2012-03-30 2013-10-17 Windy:Kk Medicine inspection system
US20170351938A1 (en) * 2016-06-03 2017-12-07 Becton Dickinson Rowa Germany Gmbh Method for providing a singling device of a storage and dispensing container
JP2018128931A (en) * 2017-02-09 2018-08-16 キヤノン株式会社 Image processing device, image processing method, and program
JP2022027539A (en) * 2020-07-30 2022-02-10 株式会社湯山製作所 Type determination device and medicament sorting device

Also Published As

Publication number Publication date
JP7182668B1 (en) 2022-12-02

Similar Documents

Publication Publication Date Title
US9904992B2 (en) Packeted drug inspection device and method
US11568537B2 (en) Enhanced platen for pharmaceutical compounding
CN107920956B (en) Drug inspection device and method, and recording medium
JP6009888B2 (en) Drug inspection apparatus and method
CN107750324B (en) Inspection method and inspection device for closure control of containers
JP5916032B2 (en) Drug test support apparatus and method
JP2023014208A (en) Drug dispensing device and adjustment method
JP4652480B1 (en) Device for counting the number of drugs in a medicine package
WO2018173649A1 (en) Drug recognizing device, drug recognizing method, and drug recognizing program
JP7227241B2 (en) Compounding support device and drug compounding method using the same
WO2015046043A1 (en) Drug verification device, drug verification system and drug verification method
WO2015129343A1 (en) Inspection device and inspection method, and program for causing computer to execute inspection method
US11903906B2 (en) Method for providing a singling device of a storage and dispensing container
CN109069345B (en) Monitoring support method and monitoring support device
CN107615394A (en) Make up a prescription inspection apparatus, make up a prescription inspection method, program and recording medium
JP7182668B1 (en) Drug identification system and drug identification method
KR20190015219A (en) Method for providing a single separation device for storage and dispensing containers
KR102361199B1 (en) System and method for automatically checking prescription medicine and checking method of the same
JP2017058919A (en) Medicine information registration device, medicine information registration method, and program
JP2016220911A (en) Pharmacy inspection device, pharmacy inspection method, program and recording medium
JP2009110169A (en) Medicament inspection apparatus and image processing method
JP2023118135A (en) Medicine identification system
JP2020121057A (en) Medicine inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220914

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221025

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221121

R150 Certificate of patent or registration of utility model

Ref document number: 7182668

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150