WO2014069817A1 - Method for sensing cutting line of cartridge package - Google Patents

Method for sensing cutting line of cartridge package Download PDF

Info

Publication number
WO2014069817A1
WO2014069817A1 PCT/KR2013/009207 KR2013009207W WO2014069817A1 WO 2014069817 A1 WO2014069817 A1 WO 2014069817A1 KR 2013009207 W KR2013009207 W KR 2013009207W WO 2014069817 A1 WO2014069817 A1 WO 2014069817A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
medicine package
line
pixel
detecting
Prior art date
Application number
PCT/KR2013/009207
Other languages
French (fr)
Korean (ko)
Inventor
김준호
Original Assignee
(주)제이브이엠
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 (주)제이브이엠 filed Critical (주)제이브이엠
Publication of WO2014069817A1 publication Critical patent/WO2014069817A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B57/00Automatic control, checking, warning, or safety devices
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0092Coin-freed apparatus for hiring articles; Coin-freed facilities or services for assembling and dispensing of pharmaceutical articles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • G07F11/68Coin-freed apparatus for dispensing, or the like, discrete articles in which the articles are torn or severed from strips or sheets
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B11/00Wrapping, e.g. partially or wholly enclosing, articles or quantities of material, in strips, sheets or blanks, of flexible material

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

The present invention relates to a cartridge-type drug dispensing box. Specifically, a cartridge-type drug dispensing device according to the present invention comprises: a storage portion for storing a cartridge package; a transfer portion comprising at least one roller for transferring the stored cartridge package; a scan portion for photographing the transferred cartridge package; a sensing portion for sensing a cutting line from the continuous images of the cartridge package photographed by the scan portion; a cutting portion for cutting any one cutting line contained in the transferred cartridge package using the position information of the sensed cutting line; and a discharge hole through which the cut cartridge is discharged outside. According to the present invention, it is possible to store a cartridge-type drug, as a partial element of the drug automatic dispensing device, and then to dispense the same, and the image of a dispensed cartridge package can be photographed without photo noise.

Description

약포 패키지 절취선 감지 방법How to detect the medicine package perforation
본 발명은 약포 패키지 절취선 감지 방법에 관한 것으로서, 보다 상세하게는 본 발명의 자동형 약제 불출 장치의 일부로 이용되는 장치 중 약포형 약제를 불출하는 박스에서 약포 패키지를 절단하기 위하여 절취선을 감지하는 방법에 관한 것이다.The present invention relates to a drug package tear line detection method, and more particularly, to a method of detecting a tear line to cut a medicine package in a box for dispensing a drug type drug among the devices used as part of the automatic drug dispensing device of the present invention. It is about.
일반적으로 환자의 처방전에 따른 1회 복용분의 약제에는 다양한 종류 및 형태의 약제들이 포함될 수 있으며, 약제 불출 박스로부터 1회 복용분의 약제가 불출되어 환자에게 전달되게 된다.In general, a single dose of a medicament according to a patient's prescription may include various types and types of medicaments, and a single dose of the medicament is dispensed from the drug delivery box and delivered to the patient.
하나의 바스켓에 담기게 되는 다양한 약제는 각각의 약제가 담긴 박스로부터 환자의 처방전에 맞게 불출되어 하나의 바스켓에 수집되게 되며, 약제가 수집된 바스켓이 환자에게 전달되고 환자는 상기 바스켓에 수집된 약제를 복용하게 된다.The various medicines in one basket are dispensed from the box containing each medicine according to the patient's prescription and collected in one basket, the basket where the medicines are collected is delivered to the patient, and the patient collects the medicines in the basket. Will be taken.
한편, 하나의 바스켓에 다양한 약제의 수집을 위해서 종래에는 약사 등의 의약 전문가가 환자의 처방전에 따라 수동으로 약을 선택하여 담는 과정이 필요하였으며, 이에 따라 약제 수집의 정확성을 재차 판단해야하는 확인 작업이 반드시 필요하였다. 이는 투약의 정확성을 담보하기 어려워 약화사고를 발생시킬 가능성을 항상 내포하게 된다. 또한, 약화사고 가능성뿐만 아니라 수집 과정 자체가 복잡하여 환자의 처방전에 맞게 약제를 수집하는 시간도 오래 걸리게 되어 작업 효율성이 저하된다는 문제도 유발시키게 된다. 이러한 이유로 환자의 처방전에 따라 1회 복용분 씩 약제를 수집하는데 있어서, 정확성 및 효율성을 향상시켜 약사 등의 사용자에게 편의성을 제공하는 동시에 약화사고를 미연에 방지하도록 하는 방안 및 기술에 대한 연구가 필요하다.Meanwhile, in order to collect various medicines in one basket, conventionally, a medicine specialist such as a pharmacist needed to manually select and contain medicines according to a patient's prescription. It was necessary. This is difficult to guarantee the correctness of medication and always implies the possibility of causing a weakening accident. In addition, as well as the possibility of weakening accidents, the collection process itself is complicated, so it takes a long time to collect the drug in accordance with the prescription of the patient, causing a problem that the work efficiency is reduced. For this reason, there is a need for researches on methods and techniques to improve the accuracy and efficiency in collecting medicines once per patient's prescription to provide convenience to users such as pharmacists and to prevent weakening accidents. Do.
한편, 약포형 약제를 자동적으로 불출하기 위해서는 서로 연결되어 있는 약포들을 각각 분리하기 위하여 약포 패키지의 절취선을 인식하는 기술을 필요로 한다. 종래에는 이러한 약포 패키지의 절취선을 감지하기 위하여 카메라와 더불어 초음파 센서등을 이용했다. 그러나 이러한 경우 한정된 공간의 제약을 받을 수 밖에 없는 약제 불출박스의 특성 상 절취선의 감지 기술을 포함하는데에는 많은 어려움이 있었다.On the other hand, in order to automatically dispense drug-type drugs, a technique for recognizing the cutting line of the medicine package is required in order to separate the medicines connected to each other. Conventionally, an ultrasonic sensor or the like is used in addition to a camera to detect a cutting line of the medicine package. However, in this case, due to the characteristics of the drug delivery box that can not be limited by the limited space, there was a lot of difficulties in including the detection technology of the perforated line.
본 발명은 약포 패키지를 개별로 절단하기 위한 전제로서 약포 패키지의 절취선을 감지할 수 있는 방법을 제공한다.The present invention provides a method for detecting the cutting line of the medicine package as a premise for cutting the medicine package individually.
또한 본 발명은 약포 패키지의 영상 처리에 소요되는 컴퓨팅 장치의 시스템 소모량을 최소화하는 절취선 감지 방법을 제공한다.In another aspect, the present invention provides a method for detecting a perforation line to minimize the system consumption of the computing device required for image processing of the medicine package.
또한 본 발명은 약포 패키지의 절취선을 감지하기 위한 구성부들의 수를 최소화하는 절취선 감지 방법을 제공한다.In another aspect, the present invention provides a method for detecting a perforation line to minimize the number of components for detecting the perforation line of the medicine package.
본 발명에 따른 약포 패키지 절취선 감지 방법은 약포 패키지 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차지점을 포함하는 이미지를 획득하는 영상 획득 단계; 촬영된 이미지를 에지 이미지로 영상 처리하는 영상처리 단계; 및 상기 영상처리된 에지 이미지로부터 절취선을 감지하는 절취선 감지 단계;를 포함한다.According to the present invention, there is provided a method for detecting a medicine package cut line, an image acquiring step of acquiring an image including an intersection point of a thermal welding part formed in a lateral direction and a thermal welding part formed in a longitudinal direction of the medicine package; An image processing step of processing the captured image into an edge image; And a cut line detection step of detecting a cut line from the image-processed edge image.
또한 상기 절취선 감지 단계에서 절취선을 감지하지 못하는 경우 상기 약포 패키지를 이송하여 상기 영상 획득 단계 내지 상기 절취선 감지 단계를 반복하는 반복 단계;를 더 포함할 수 있다.The method may further include repeating the image capturing step and the cutting line detecting step by transferring the medicine package when the cutting line is not detected at the cutting line detecting step.
또한 상기 영상 획득 단계는, 약포 패키지의 이미지를 촬영하는 영상 획득 제1 단계; 및 상기 쵤영된 이미지 중 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차부를 포함하는 이미지 잘라내는 영상 획득 제2 단계를 포함할 수 있다.The image acquiring step may include: an image acquiring first step of capturing an image of a medicine package; And a second step of acquiring an image including an intersection of a transverse thermal fusion portion and a longitudinal thermal fusion portion of the medicine package of the photographed image.
또한 상기 영상 획득 제2 단계는 상기 횡방향 열융착부와 종방향 열융착부의 내측 교차점을 검출하여 상기 횡방향 열융착부와 종방향 열융착부의 교차부의 위치를 판단하는 단계를 더 포함할 수 있다.In addition, the second step of acquiring the image may further include determining a location of the intersection of the lateral heat fusion zone and the longitudinal heat fusion zone by detecting an internal intersection of the lateral heat-sealed zone and the longitudinal heat-sealed zone. .
한편, 상기 영상 획득 단계는 상기 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차지점의 이미지 만을 촬영하는 단계를 포함할 수 있다.On the other hand, the image acquisition step may include the step of photographing only the image of the intersection of the lateral heat-sealed portion and the longitudinal heat-sealed portion of the medicine package.
또한 상기 영상처리 단계는, 상기 획득된 영상을 그레이 스케일로 변환하는 영상처리 제1 단계; 상기 그레이 스케일로 변환된 이미지를 이진화하는 영상처리 제2 단계; 및 상기 이진화된 이미지를 에지만이 표시되는 에지 이미지로 변환하는 영상처리 제3 단계;를 포함할 수 있다.The image processing may include: an image processing first step of converting the obtained image into a gray scale; An image processing second step of binarizing the image converted to the gray scale; And an image processing third step of converting the binarized image into an edge image in which only an edge is displayed.
나아가 상기 영상처리 제1 단계 이전에 상기 이미지의 노이즈를 제거하는 단계를 더 포함할 수 있다.Furthermore, the method may further include removing noise of the image before the first step of the image processing.
더 나아가 상기 노이즈 제거는 미디언 필터에 의하여 수행될 수 있다.Furthermore, the noise removal may be performed by a median filter.
또한 상기 절취선 감지 단계는 외곽선 추적 기법을 이용하여 상기 에지 이미지를 종단하는 일련의 픽셀들을 절취선으로 판단할 수 있다.In the detecting of the perforated line, a series of pixels terminating the edge image may be determined as the perforated line using an outline tracking technique.
나아가 상기 절취선 감지 단계는, 상기 에지 이미지의 상부로부터 검정색 정보를 갖는 픽셀을 검출하는 절취선 감지 제1 단계; 상기 검출된 검정색 정보를 갖는 픽셀의 우측 픽셀로부터 시계방향으로 돌아가며 검정색 정보를 갖는 픽셀인지 여부를 판단하는 절취선 감지 제2 단계; 상기 판단 대상인 픽셀이 검정색 정보를 갖고 있는 경우 판단 대상 픽셀을 기준으로 상기 절취선 감지 제2 단계를 반복하는 절취선 감지 제3 단계; 및 상기 에지 이미지의 상부로부터 하부에 이르기까지 종방향으로 상기 기준 픽셀이 이동하는 경우 해당 일련의 대상 픽셀들을 절취선으로 판단하는 절취선 감지 제4 단계;를 포함할 수 있다.Furthermore, the perforation detection step may include: a perforation detection first step of detecting a pixel having black information from an upper portion of the edge image; A perforated line detection step of determining whether the pixel has black information while turning clockwise from the right pixel of the pixel having the detected black information; A third perforated line detecting step of repeating the second perforated line detecting step based on the determination target pixel when the pixel to be determined has black information; And a perforation line detection step of determining a series of target pixels as a perforation line when the reference pixel moves in the longitudinal direction from the top to the bottom of the edge image.
또한 상기 절취선 감지 단계는 패턴 인식 방법에 의하여 이미지 중 직선 패턴으로 인식되는 부분을 절취선으로 판단할 수 있다.In the detecting of the perforated line, a part of the image recognized as a straight line pattern may be determined as the perforated line by a pattern recognition method.
본 발명에 따르면 약포 패키지를 개별로 절단하기 위한 전제로서 약포 패키지의 절취선을 용이하게 감지할 수 있다.According to the present invention, it is possible to easily detect the cutting line of the medicine package as a premise for individually cutting the medicine package.
동시에 본 발명에 따르면 약포 패키지의 절취선 감지에 이용되는 이미지의 촬영 영역 또는 획득 영역을 최소화 함으로써 연속 이미지의 연속적인 영상처리에 소모되는 컴퓨팅 시스템의 자원을 최소화함으로써 효율적이고 신속한 절취선의 감지가 가능하다.At the same time, according to the present invention, it is possible to efficiently and quickly detect the perforation line by minimizing the resources of the computing system consumed for the continuous image processing of the continuous image by minimizing the photographing area or the acquisition area of the image used for detecting the perforation line of the medicine package.
또한 본 발명에 따르면 또한 약포 패키지의 절취선을 감지하기 위하여 카메라 모듈만을 이용하고 이외에 다른 센서를 이용하지 않음으로써 약포 패키지의 절취선 검출에 필요한 구성부들을 소형화하고 경제적으로도 유리한 효과가 있다.In addition, according to the present invention, by using only the camera module to detect the cutting line of the medicine package, and does not use any other sensor, there is an advantageous effect of miniaturizing and economically necessary components for detecting the cutting line of the medicine package.
도 1은 본 발명의 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 사시도이다.1 is a perspective view showing a state of a medicine-type drug delivery box according to an embodiment of the present invention.
도 2는 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 저면 사시도이다.Figure 2 is a bottom perspective view showing the state of the drug delivery type drug delivery box according to an embodiment.
도 3은 일 실시예에 따른 약포형 약제 불출 박스를 일부 절개한 분해 사시도이다.Figure 3 is an exploded perspective view of a partially cut medicine drug delivery box according to an embodiment.
도 4는 일 실시예에 따른 약포형 약제 불출박스의 모습을 나타내는 단면도이다.Figure 4 is a cross-sectional view showing the state of the drug delivery type drug delivery box according to an embodiment.
도 5는 일 실시예에 따른 약포형 약제 불출박스의 일부를 절개한 절개 사시도이다.5 is a cutaway perspective view of a portion of the drug delivery type medicine dispensing box according to an embodiment.
도 6은 일 실시예에 따른 약포형 약제 불출박스의 분해 사시도이다.Figure 6 is an exploded perspective view of the drug delivery box drug delivery box according to an embodiment.
도 7은 일 실시예에 따른 약포형 약제 불출박스의 또 다른 분해 사시도이다.Figure 7 is another exploded perspective view of the medicine-type drug delivery box according to an embodiment.
도 8은 일 실시예에 따른 광차단부의 모습을 나타내는 저면 사시도이다.8 is a bottom perspective view illustrating a light blocking unit according to an embodiment.
도 9 및 도 10은 일 실시예에 따른 스캔부의 작동 모습을 나타내는 개략도이다.9 and 10 are schematic diagrams illustrating an operation of a scan unit, according to an exemplary embodiment.
도 11은 일 실시예에 따른 약포 패키지의 절취선 감지와 관련된 구성부들을 나타내는 블록도이다.11 is a block diagram illustrating components related to cut line detection of a medicine package, according to an exemplary embodiment.
도 12는 약포 패키지의 개략적인 모습을 나타내는 개략도이다.12 is a schematic view showing a schematic view of a medicine package.
도 13은 일 실시예에 따른 절취선 감지 방법을 나타내는 순서도이다.13 is a flowchart illustrating a method of detecting a tear line, according to an exemplary embodiment.
도 14는 일 실시예에 따른 영상처리 프로세스를 나타내는 순서도이다.14 is a flowchart illustrating an image processing process according to an exemplary embodiment.
도 15는 일 실시예에 따른 절취선 감지 프로세스를 나타내는 순서도이다.15 is a flow chart illustrating a perforation line detection process according to one embodiment.
본 발명에 따른 약포 패키지 절취선 감지 방법은 약포 패키지 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차지점을 포함하는 이미지를 획득하는 영상 획득 단계; 촬영된 이미지를 에지 이미지로 영상 처리하는 영상처리 단계; 및 상기 영상처리된 에지 이미지로부터 절취선을 감지하는 절취선 감지 단계;를 포함한다.According to the present invention, there is provided a method for detecting a medicine package cut line, an image acquiring step of acquiring an image including an intersection point of a thermal welding part formed in a lateral direction and a thermal welding part formed in a longitudinal direction of the medicine package; An image processing step of processing the captured image into an edge image; And a cut line detection step of detecting a cut line from the image-processed edge image.
이하 첨부된 도면을 참조하여 본 발명의 실시예를 설명한다. 특별한 정의나 언급이 없는 경우에 본 설명에 사용하는 방향을 표시하는 용어는 도면에 표시된 상태를 기준으로 한다. 또한 각 실시예를 통하여 동일한 도면부호는 동일한 부재를 가리킨다. 한편, 도면상에서 표시되는 각 구성은 설명의 편의를 위하여 그 두께나 치수가 과장될 수 있으며, 실제로 해당 치수나 구성간의 비율로 구성되어야 함을 의미하지는 않는다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Unless otherwise defined or mentioned, terms indicating directions used in the present description are based on the states shown in the drawings. In addition, the same reference numerals throughout the embodiments indicate the same member. On the other hand, each of the components shown in the drawings may be exaggerated in thickness or dimensions for the convenience of description, and does not mean that actually should be configured by the ratio between the dimensions or configurations.
본 발명에 따른 약포형 약제 불출 박스는 패키지 형태로 내부에 보관되어 있는 약제를 불출하기 위한 장치이다. 본 발명의 일 실시예에 따른 약포형 약제 불출 장치는 보관부, 이송부, 절단부, 광원부 및 스캔부 등을 포함한다. 이하에서는 도면들을 참조하여 각 구성부들을 상세히 설명한다.Drug delivery box according to the present invention is a device for dispensing the drug is stored therein in the form of a package. Medicine drug delivery device according to an embodiment of the present invention includes a storage unit, the transfer unit, the cutting unit, the light source unit and the scan unit. Hereinafter, each component will be described in detail with reference to the drawings.
도 1 및 도 2를 참조하여 외형을 구성하는 하우징을 설명한다. 도 1은 본 발명의 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 사시도이고, 도 2는 일 실시예에 따른 약포형 약제 불출 박스의 모습을 나타내는 저면 사시도이다.A housing constituting the outer appearance will be described with reference to FIGS. 1 and 2. 1 is a perspective view showing the state of the drug-type drug delivery box according to an embodiment of the present invention, Figure 2 is a bottom perspective view showing the state of the drug-type drug delivery box according to an embodiment.
약포형 약제 불출 박스(10)의 외형을 구성하는 하우징은 하우징 본체(130), 전면부(110) 및 하우징 커버(120)를 포함한다. 하우징 본체(130)는 전체적으로 직육면체 형상으로 형성된다. 하우징 본체(130)의 상단에는 하우징 커버(120)가 구비된다. 하우징 커버(120)는 회동가능하도록 일측이 고정되어 개폐가 가능하다. 전면부(110)에는 절단된 약포가 배출되는 배출구(112)가 형성된다. 배출구(112)는 전단부 커버(111)를 관통하여 외부로 노출되도록 구비된다. 한편, 배출구(112)에는 배출되는 약포를 감지하는 센서(미도시)를 구비할 수 있다. 이 경우 센서에 의하여 감지된 배출 약포의 수를 카운팅하는 카운팅 수단 등을 구비함으로써 배출된 약포의 수를 집계할 수도 있다.The housing constituting the outline of the medicine-type drug delivery box 10 includes a housing body 130, a front part 110, and a housing cover 120. The housing body 130 is formed in a rectangular parallelepiped shape as a whole. The housing cover 120 is provided at an upper end of the housing body 130. The housing cover 120 is fixed to one side to be rotatable and can be opened and closed. The front part 110 is formed with an outlet 112 through which the cut medicine is discharged. The outlet 112 is provided to penetrate through the front end cover 111 to be exposed to the outside. On the other hand, the discharge port 112 may be provided with a sensor (not shown) for detecting the discharge medicine. In this case, the number of discharged medicines may be counted by providing a counting means for counting the number of discharged medicines detected by the sensor.
도 2에 도시된 바와 같이 하우징 본체(130)의 하단에는 레일 수용부(140)가구비된다. 레일 수용부(140)는 본 실시예에 따른 약포형 약제 불출박스가 수용되는 카트리지(미도시)에 형성된 레일을 수용하여 삽입 시 가이드하는 기능을 한다.As shown in FIG. 2, a rail accommodating part 140 is provided at the lower end of the housing body 130. The rail receiving unit 140 functions to receive the rail formed in the cartridge (not shown) in which the medicine-type drug delivery box according to the present embodiment is accommodated and guide when inserted.
도 3을 참조하여 하우징의 전면부 및 절단부를 설명한다. 도 3은 일 실시예에 따른 약포형 약제 불출 박스를 일부 절개한 분해 사시도이다.The front part and the cut part of the housing will be described with reference to FIG. 3. Figure 3 is an exploded perspective view of a partially cut medicine drug delivery box according to an embodiment.
하우징의 전단부(110)는 전단부 본체(115) 및 전단부 커버(111)를 포함한다. 전단부 본체(115)에는 상술한 배출구(112)에 소통가능하도록 연결되는 제1 약포 이동구(116)가 형성된다. 전단부 본체(115)는 내측에 절단부(200)를 구비한다. 절단부(200)는 제2 약포 이동구(210)가 형성되며, 제2 약포 이동구(210)를 통하여 이동하는 약포 패키지를 절단한다. 제2 약포 이동구(210)는 전단부 본체(115)의 제1 약포 이동구(116)와 전단부 커버(111)의 배출구(112)에 소통가능하도록 연결된다.The front end 110 of the housing includes a front end body 115 and a front end cover 111. The front end body 115 is formed with a first medicine moving device 116 connected to the outlet 112 described above. The front end body 115 has a cutout 200 inside. The cutting part 200 is formed with a second medicine moving device 210, and cuts the medicine package moving through the second medicine moving device (210). The second medicine drug moving device 210 is connected to the first medicine drug moving device 116 of the front end body 115 and the outlet 112 of the front end cover 111 so as to be communicable.
도 4 및 도 5를 참조하여 이송부, 보관부 및 광원부를 설명한다. 도 4는 일 실시예에 따른 약포형 약제 불출박스의 모습을 나타내는 단면도이고, 도 5는 일 실시예에 따른 약포형 약제 불출박스의 일부를 절개한 절개 사시도이다.The transfer unit, the storage unit, and the light source unit will be described with reference to FIGS. 4 and 5. Figure 4 is a cross-sectional view showing a state of the drug delivery type drug delivery box according to an embodiment, Figure 5 is a cutaway perspective view of a portion of the drug delivery type drug delivery box according to an embodiment.
보관부(300)는 휠 형상으로 형성되어 약포 패키지(2)가 권취된 상태로 보관된다. 보관부(300)는 권심(320)과 측면 케이스(310)를 포함한다. 약포 패키지(2)는 권심(320)에 권취되어 있다가 이송부(400)에 의하여 권출(unrolled)된다. 측면 케이스(310)는 권심(320)에 약포 패키지(2)가 권취되거나 권출되는 경우 측면으로 이탈하는 것을 방지하는 기능을 한다. 한편, 보관부(300)는 단순히 약포 패키지가 보관될 수 있는 공간부만으로도 형성하는 것도 가능하다. 즉, 보관부 내에 휠 등의 구성부를 배제하고 단순한 공간으로 형성하고, 형성된 공간부에 약포 패키지를 단순히 접히도록 구비하는 것도 가능하다.The storage unit 300 is formed in a wheel shape and stored in a state in which the medicine package 2 is wound. The storage unit 300 includes a winding core 320 and a side case 310. The medicine package 2 is wound around the core 320 and unrolled by the transfer unit 400. The side case 310 has a function of preventing the drug package 2 from being wound to the side when the medicine package 2 is wound or unwound on the core 320. On the other hand, the storage unit 300 may be formed simply by the space portion that can be simply stored medicine package. In other words, it is also possible to form a simple space without a component such as a wheel in the storage portion, and to simply fold the medicine package to the formed space portion.
이송부(400)는 한 쌍의 제1롤(410), 한 쌍의 제2롤(420) 및 배출롤(430)을 포함한다. 한 쌍의 제1롤(410)은 제1 상부롤(411)과 제1 하부롤(412)를 포함한다. 제1 상부롤(411)은 제1 하부롤(412)의 상부에 위치하며, 제1 하부롤(412)과 맞닿도록 구비된다. 제1 상부롤(411)과 제1 하부롤(412)의 외주면은 탄성재질, 특히 다공성 재질로 형성될 수 있다. 제1 상부롤(411)과 제1 하부롤(412)의 외주면이 탄성재질로 형성됨으로써 사이에 개재되는 약포 패키지 내의 약제들을 가압하는 힘을 최소화할 수 있다. 본 실시예에서의 제1 하부롤(412)은 모터 바람직하게는 스텝 모터에 의하여 구동되며, 제1 상부롤(411)은 제1 하부롤(412)의 회전방향에 따라 피동적으로 회전한다. 한 쌍의 제1롤(410)은 약포 패키지(2)의 최 전단부가 최초로 위치된 상태에서 약포 패키지(2)를 배출롤(430) 방향으로 이송되도록 유도한다.The transfer part 400 includes a pair of first rolls 410, a pair of second rolls 420, and a discharge roll 430. The pair of first rolls 410 includes a first upper roll 411 and a first lower roll 412. The first upper roll 411 is positioned above the first lower roll 412 and provided to contact the first lower roll 412. The outer circumferential surfaces of the first upper roll 411 and the first lower roll 412 may be formed of an elastic material, particularly a porous material. Since the outer circumferential surfaces of the first upper roll 411 and the first lower roll 412 are formed of an elastic material, the force for pressing the drugs in the medicine package interposed therebetween can be minimized. The first lower roll 412 in this embodiment is driven by a motor, preferably a stepper motor, and the first upper roll 411 is passively rotated according to the rotational direction of the first lower roll 412. The pair of first rolls 410 guides the medicine package 2 in the direction of the discharge roll 430 in a state where the front end of the medicine package 2 is first positioned.
한 쌍의 제2롤(420)은 한 쌍의 제1롤(410)로부터 이송되는 약포 패키지(2)의 전단부를 배출롤(430) 측으로 이송시킨다. 한 쌍의 제2롤(420)은 제2 상부롤(421) 및 제2 하부롤(422)을 포함한다. 제2 상부롤(421)은 제2 하부롤(422)의 상부에 위치하며 제2 하부롤(422)과 맞닿도록 구비된다. 제2 상부롤(421)과 제2 하붑롤(422)의 외주면은 탄성재질, 특히 다공성 재질로 형성될 수 있다. 제2 상부롤(421)과 제2 하부롤(422)의 외주면이 탄성재질로 형성됨으로써 사이에 개재되는 약포 패키지 내의 약제들을 가압하는 힘을 최소화 할 수 있다. 본 실시예에서의 제2 하부롤(422)은 모터 바람직하게는 스텝 모터에 의하여 구동되며, 제2 상부롤(421)은 제2 하부롤(422)의 회전방향에 따라 피동적으로 회전한다. 한 쌍의 제2롤(420)은 약포 패키지(2)의 최전단부가 배출롤(430) 방향으로 이송시킨다.The pair of second rolls 420 transfers the front end portion of the medicine package 2 transferred from the pair of first rolls 410 to the discharge roll 430. The pair of second rolls 420 include a second upper roll 421 and a second lower roll 422. The second upper roll 421 is positioned above the second lower roll 422 and provided to contact the second lower roll 422. The outer circumferential surfaces of the second upper roll 421 and the second lower roll 422 may be formed of an elastic material, particularly a porous material. Since the outer circumferential surfaces of the second upper roll 421 and the second lower roll 422 are formed of an elastic material, a force for pressing the drugs in the medicine package interposed therebetween can be minimized. The second lower roll 422 in this embodiment is driven by a motor, preferably a stepper motor, and the second upper roll 421 is passively rotated according to the rotational direction of the second lower roll 422. The pair of second rolls 420 transfer the foremost end of the medicine package 2 in the direction of the discharge roll 430.
한편, 제1 하부롤(412)과 제2 하부롤(422)은 각각 독립된 구동 모터에 의하여 구동되는 것이 바람직하다. 제1 하부롤(412)과 제2 하부롤(422) 사이에 개재되는 약포 패키지(2)가 접히거나 느슨해 지는 경우 약포 패키지(2)의 절취선의 감지가 용이하지 않을 수 있다. 이 경우 제1 하부롤(412)과 제2 하부롤(422) 중 어느 하나를 약포 패키지(2)에 장력을 발생시키는 방향으로 구동함으로써 절취선의 감지 시 발생할 수 있는 오류를 최소화 할 수 있다. 이 때 스텝 모터를 이용하여 각 롤들을 구동함으로써 정확한 장력을 가할 수 있게 된다.On the other hand, it is preferable that the first lower roll 412 and the second lower roll 422 are driven by independent driving motors, respectively. When the medicine package 2 interposed between the first lower roll 412 and the second lower roll 422 is folded or loosened, detection of a cut line of the medicine package 2 may not be easy. In this case, any one of the first lower roll 412 and the second lower roll 422 may be driven in a direction in which tension is applied to the medicine package 2, thereby minimizing an error that may occur when the tear line is detected. At this time, it is possible to apply an accurate tension by driving the respective rolls using a step motor.
한편, 제1 상부롤(411)과 제2 상부롤(421)은 상부에 탄성부재(403)로 연결된다. 제1 상부롤(411)과 제2 상부롤(421)은 탄성부재(403)로 고정됨으로써 수직 방향으로 일정한 작동 범위를 갖게 되어 약포 패키지(2)의 초기 세팅 시나 에러 발생시에 사용자에 의하여 들어 올려질 수 있으며, 약포 패키지(2)가 제1롤(410) 및 제2롤(420) 사이에 개재된 상태로 이송되는 경우에도 약패 패키지(2) 내측에 포함된 약제에 가하는 힘을 최소화 하게 된다.Meanwhile, the first upper roll 411 and the second upper roll 421 are connected to the upper portion by the elastic member 403. The first upper roll 411 and the second upper roll 421 are fixed by the elastic member 403 to have a predetermined operating range in the vertical direction, so that the first upper roll 411 and the second upper roll 421 are lifted by the user at the time of initial setting of the medicine package 2 or when an error occurs. When the medicine package 2 is transported while being interposed between the first roll 410 and the second roll 420, the force applied to the medicine contained in the medicine package 2 is minimized. .
이송방향의 말단부에는 배출롤(430)을 구비할 수 있다. 배출롤(430)은 한 쌍의 제2롤(420)로부터 이송되는 약포 패키지(2)를 외부로 배출시킨다. 배출롤(430)은 제2 상부롤(421)과 타이밍 벨트 등을 이용하여 구동력을 전달받는다.A discharging roll 430 may be provided at the distal end portion of the conveying direction. The discharge roll 430 discharges the medicine package 2 conveyed from the pair of second rolls 420 to the outside. The discharge roll 430 receives the driving force using the second upper roll 421 and the timing belt.
도 5에 도시된 바와 같이 제1 하부롤(412)과 제2 하부롤(422)을 경유하여 이송되는 약포 패키지를 지지하는 지지부(150)를 포함한다. 약포 패키지는 지지부(150)의 상단에 편평한 플레이트 형상으로 형성되는 이송 플레이트(151)에 의하여 지지된 상태로 이송된다. 이 때 제1 하부롤(412)과 제2 하부롤(422)은 이송 플레이트(151) 상으로 노출된 상태로 구비된다. 이송 플레이트(151)의 중앙부에는 광투과 부재(152)가 구비된다. 광투과 부재(152)는 광투과 부재(152)의 하부에 구비되는 광원부(500)로부터 발광되는 빛을 투과시킨다. 광원부(500)는 발광소자(510)를 이용하여 빛을 발광한다. 광원부(500)로부터 발광되는 빛은 후술할 스캔부에 의하여 약포 패키지를 촬영 시에 조명으로 이용된다. 한편, 광원부(500)는 간접조명 방식으로 조명을 제공할 수 있다. 본 실시예에서는 간접조명 방식으로 광투과 부재(152)를 이용한다. 광투과 부재(152)는 광원부(500)로부터 발광되는 빛을 산란 또는 확산시켜 조도분포를 균일화하고 빛이 기타 구성부들에 집중되는 것을 방지할 수 있다. 한편, 광원부(500)는 본 실시예와는 달리 발광소자(510)가 아래로 향하도록 구비하여 반사광이 상부로 향하도록 할 수 있다. 본 실시예에 있어서의 광원부(500)는 약포 패키지르 기준으로 후술할 스캔부의 반대측에 구비된다.As shown in Figure 5 includes a support 150 for supporting the medicine package to be transported via the first lower roll 412 and the second lower roll 422. The medicine package is transported in a supported state by a transport plate 151 formed in a flat plate shape on the top of the support part 150. At this time, the first lower roll 412 and the second lower roll 422 are provided in the state exposed on the transfer plate 151. The light transmitting member 152 is provided at the center of the transfer plate 151. The light transmitting member 152 transmits light emitted from the light source unit 500 provided under the light transmitting member 152. The light source unit 500 emits light using the light emitting element 510. The light emitted from the light source unit 500 is used as illumination when the medicine package is photographed by the scan unit to be described later. On the other hand, the light source unit 500 may provide illumination in an indirect lighting method. In this embodiment, the light transmitting member 152 is used in an indirect lighting method. The light transmitting member 152 may scatter or diffuse the light emitted from the light source unit 500 to uniform the illuminance distribution and prevent the light from concentrating on other components. On the other hand, unlike the present embodiment, the light source unit 500 may be provided with the light emitting device 510 facing downward so that the reflected light may be directed upward. The light source unit 500 in this embodiment is provided on the opposite side of the scan unit to be described later on the basis of the medicine package.
도 6 내지 도 10을 참조하여 스캔부 및 광차단부를 설명한다. 도 6은 일 실시예에 따른 약포형 약제 불출박스의 분해 사시도이고, 도 7은 일 실시예에 따른 약포형 약제 불출박스의 또 다른 분해 사시도이며, 도 8은 일 실시예에 따른 광차단부의 모습을 나타내는 저면 사시도이다. 또한 도 9 및 도 10은 일 실시예에 따른 스캔부의 작동 모습을 나타내는 개략도이다.The scan unit and the light blocking unit will be described with reference to FIGS. 6 to 10. 6 is an exploded perspective view of the drug delivery box according to an embodiment, Figure 7 is another exploded perspective view of the drug delivery box according to an embodiment, Figure 8 is a view of the light blocking unit according to an embodiment It is a bottom perspective view which shows. 9 and 10 are schematic diagrams illustrating an operation of the scan unit, according to an exemplary embodiment.
도 6에 도시된 바와 같이 광차단부(160)를 포함한다. 광차단부(160)는 도 7에 도시된 바와 같이 광차단부 상부케이스(160a) 및 광차단부 하부케이스(160b)를 포함한다. 광차단부(160)의 상부케이스(160a)와 하부 케이스(160b)는 내부에 스캔부를 구비할 수 있는 일정한 공간부를 형성한다. 광차단부 하부케이스(160b)에는 도 8에 도시된 바와 같이 스캔창(161)이 형성된다. 후술할 스캔부는 스캔창(161)을 통하여 스캔창(161) 하부의 약포 패키지를 촬영할 수 있다. 이 때 광차단부(160)는 약포 패키지의 영상 이외에 기타 광 노이즈가 해당 영상에 유입되는 것을 방지한다. 또한 광차단부(160)의 내측은 광의 반사를 최소화하는 광흡수층(미도시)이 형성될 수 있다. 이 때 광흡수층으로는 무광택의 검정색 코팅층이 이용될 수 있다. 또한 광차단부 하부 케이스(160b)으로는 제1 상부롤 등 이송부(400)의 상부 구성부들이 노출된다.As shown in FIG. 6, the light blocking unit 160 is included. The light blocking unit 160 includes a light blocking unit upper case 160a and a light blocking unit lower case 160b as shown in FIG. 7. The upper case 160a and the lower case 160b of the light blocking unit 160 form a predetermined space portion that may include a scan unit therein. The scan window 161 is formed in the light blocking lower case 160b as shown in FIG. 8. The scan unit to be described below may photograph the medicine package under the scan window 161 through the scan window 161. At this time, the light blocking unit 160 prevents other optical noise from flowing into the image other than the image of the medicine package. In addition, a light absorption layer (not shown) may be formed inside the light blocking unit 160 to minimize reflection of light. In this case, a matte black coating layer may be used as the light absorption layer. In addition, upper components of the transfer part 400 such as the first upper roll are exposed to the light blocking lower case 160b.
스캔부(600)는 광투과 부재(152)의 상부에 위치하며, 도 9 및 도 10에 도시된 바와 같이 보관부(300)로부터 권출되어 광투과 부재(152) 상으로 이송되는 약포 패키지(2)의 연속 이미지를 촬영한다. 이 때 스캔부(600)는 약포 패키지(2) 중 약포 패키지(2)의 밀봉 시에 형성되는 융착부를 중심으로 촬영하는 것이 바람직하다.The scanning unit 600 is positioned above the light transmitting member 152, and the medicine package 2 is unwound from the storage unit 300 and transferred onto the light transmitting member 152 as illustrated in FIGS. 9 and 10. Take a series of images. At this time, it is preferable that the scan unit 600 photographs the fusion unit formed at the time of sealing the medicine package 2 of the medicine package 2.
도 11 내지 도 15를 참조하여 일 실시예에 따른 약포 패키지의 절취선 감지 방법을 설명한다. 도 11은 일 실시예에 따른 약포 패키지의 절취선 감지와 관련된 구성부들을 나타내는 블록도이고, 도 12는 약포 패키지의 개략적인 모습을 나타내는 개략도이다. 또한 도 13은 일 실시예에 따른 절취선 감지 방법을 나타내는 순서도이고, 도 14는 일 실시예에 따른 영상처리 프로세스를 나타내는 순서도이며, 도 15는 일 실시예에 따른 절취선 감지 프로세스를 나타내는 순서도이다.A method of detecting a tear line of a medicine package, according to an exemplary embodiment, will be described with reference to FIGS. FIG. 11 is a block diagram illustrating components related to cut line detection of a medicine package, and FIG. 12 is a schematic diagram illustrating a schematic view of a medicine package. 13 is a flowchart illustrating a perforated line detection method according to an exemplary embodiment, FIG. 14 is a flowchart illustrating an image processing process according to an exemplary embodiment, and FIG. 15 is a flowchart illustrating a perforated line detection process according to an exemplary embodiment.
도 11를 참조하여 설명하면, 앞서 설명한 바와 같이 스캔부(600)는 조명부(500)가 제공하는 조명을 이용하여 이송되는 약포 패키지(2)의 연속 이미지를 촬영한다. 이 때 감지부(700)는 스캔부(600)로부터 촬영된 연속 이미지를 전달받아 절취선을 감지한다. 이하에서는 스캔부(600) 및 감지부(700)에 의하여 약포 패키지(2)의 절취선을 감지하는 방법에 대하여 구체적으로 설명한다.Referring to FIG. 11, as described above, the scan unit 600 captures a continuous image of the medicine package 2 that is transported using the illumination provided by the illumination unit 500. At this time, the detection unit 700 receives the continuous image photographed from the scanning unit 600 and detects the cutting line. Hereinafter, a method of detecting the cutting line of the medicine package 2 by the scan unit 600 and the detector 700 will be described in detail.
먼저 약포 패키지(2)는 도 12에 도시된 바와 같이 일반적으로 한 장의 시트를 반으로 접은 후 열 융착에 의하여 열융착부(A1)를 형성한 후 절취선(L1)을 형성함으로써 제작된다. 열융착부(A1)에 의하여 각각 약포들은 내측에 약제가 수용되는 약제 수용부(A2)가 구비된다. 이 때 열융착부(A1)는 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)로 구분될 수 있다. 횡방향 열융착부(A1a)는 약포 패키지(2)의 입구를 밀봉하는 기능을 하며, 종방향 열융착부(A1b)는 각각의 약포 간에 형성되는 약제 수용부(A2)를 구획하는 기능을 한다. 한편, 설명의 편의를 위하여 이하에서는 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 교차부(A2)와 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 내측 교차점(P1a, P1b)의 용어를 사용한다. 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 교차부(A2)는 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)가 만나 교차하는 부분을 의미하며, 횡방향 열융착부(A1a)와 종방향 열융착부(A1b)의 내측 교차점(P1a, P1b)은 도 12에 도시된 바와 같이 교차부(A2) 중 가장 내측의 교차지점을 의미한다. 또한 약포 패키지가 일정한 방향(D1)으로 이송되는 경우 스캔부에 의하여 촬영되는 순서에 따라 제1 내측 교차점(P1a)과 제2 내측 교차점(P1b)로 구분한다.First, as shown in FIG. 12, the medicine package 2 is generally manufactured by folding a sheet in half, forming a heat fusion portion A1 by heat fusion, and then forming a cut line L1. Drugs are respectively provided by the heat-sealed portion (A1) drug receiving portion (A2) for receiving the medicine. In this case, the heat fusion portion A1 may be divided into a lateral heat fusion portion A1a and a longitudinal heat fusion portion A1b. The transverse heat seal A1a serves to seal the inlet of the medicine package 2, and the longitudinal heat seal A1b functions to partition the drug receiving portion A2 formed between the respective medicines. . Meanwhile, for convenience of explanation, hereinafter, the intersection A2 of the lateral heat fusion portion A1a and the longitudinal heat fusion portion A1b, the lateral heat fusion portion A1a and the longitudinal heat fusion portion A1b The terms of the inner crossings of P1a and P1b are used. An intersection portion A2 of the lateral heat fusion portion A1a and the longitudinal heat fusion portion A1b means a portion where the lateral heat fusion portion A1a and the longitudinal heat fusion portion A1b meet and cross each other. The inner crossing points P1a and P1b of the transverse thermal fusion portion A1a and the longitudinal thermal fusion portion A1b mean innermost intersection points of the intersection portions A2 as shown in FIG. 12. In addition, when the medicine package is transported in a predetermined direction (D1), it is divided into a first inner cross point (P1a) and a second inner cross point (P1b) according to the order photographed by the scanning unit.
본 실시예에 따른 약포 패키지 절취선 감지 방법은 도 13에 도시된 바와 같이 영상 획득 단계(S10), 영상 처리 단계(S20), 절취선 감지 단계(S30)를 포함한다. 영상 획득 단계(S10)에서는 약포 패키지 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차부를 포함하는 이미지를 획득하고, 영상 처리 단계(S20)에서는 획득된 이미지를 절취선을 감지하기 위한 사전 단계로서 이미지 처리를 수행한다. 절취선 감지 단계(S30)에서는 영상 처리된 이미지를 이용하여 약포 패키지의 절취선을 감지한다.The medicine package perforation detection method according to the present exemplary embodiment includes an image acquisition step S10, an image processing step S20, and a perforation line detection step S30 as illustrated in FIG. 13. In the image acquisition step (S10) to obtain an image including the cross-section of the heat-sealed portion formed in the lateral direction of the medicine package and the heat-sealed portion formed in the longitudinal direction, in the image processing step (S20) to detect the cut line Image processing is performed as a preliminary step. In the cut line detection step (S30), the cut line of the medicine package is detected using an image processed image.
이 때 절취선 감지 단계(S30)에서 절취선을 감지하지 못하는 경우(S40)에는 약포 패키지가 더 이송(S45)된 상태에서 영상 획득 단계(S10), 영상 처리 단계(S20), 절취선 감지 단계(S30)를 반복한다.At this time, if the perforation line detection step (S30) does not detect the perforation line (S40), the medicine package is further transported (S45) state in the image acquisition step (S10), image processing step (S20), perforation line detection step (S30) Repeat.
구체적으로 영상 획득 단계는 약포 패키지의 이미지를 촬영하는 영상 획득 제1 단계; 및 쵤영된 이미지 중 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차부를 포함하는 이미지를 잘라내는 영상 획득 제2 단계로 구분될 수 있다. 즉, 카메라를 이용하여 약포 패키지의 이미지를 촬영한 후 필요한 부분만 취하고 나머지는 버리는 식으로 절취선 감지 대상 이미지의 크기를 줄일 수 있다.In detail, the image obtaining step may include an image obtaining first step of capturing an image of a medicine package; And an image acquisition second step of cutting out an image including an intersection of a transverse thermal fusion portion and a longitudinal thermal fusion portion of the medicine package among the captured images. That is, the size of the perforated line detection target image may be reduced by capturing an image of the medicine package using a camera and taking only necessary portions and discarding the rest.
약포 패키지는 투명 재질 또는 불투명 재질을 이용하여 다양하게 형성되고 있으나, 열융착부의 경우 고열에 의하여 융착이 됨으로써 재질의 성격이 투명하게 변하게 된다. 따라서 조명부를 통하여 약포 패키지의 후면에서 조명을 제공한 후 스캔부가 해당 이미지를 촬영하면, 빛이 통과되는 열융착부의 경우 다른 부분과 이미상에서의 명암이 크게 차이가 나게 된다. The medicine package is formed in various ways using a transparent material or an opaque material, but in the case of the heat-sealed portion, the material of the material is transparent by being fused by high heat. Therefore, if the scan unit photographs the corresponding image after providing the light from the back of the medicine package through the lighting unit, the contrast between the image and the other part is significantly different in the case of the heat fusion unit through which the light passes.
한편, 횡방향 열융착부와 종방향 열융착부의 교차부를 검출하기 위해서는 스캔부의 위치를 해당 위치에 위치하도록 하여 이미지를 촬영하는 방법이 있고, 이미지를 촬영한 후 횡방향 열융착부와 종방향 열융착부의 내측 교차점을 검출하여 횡방향 열융착부와 종방향 열융착부의 교차부의 위치를 유추하는 방법을 이용하는 것도 가능하다.On the other hand, in order to detect the intersection of the lateral heat-sealed portion and the longitudinal heat-sealed portion, there is a method of capturing an image by positioning the scan portion at the corresponding position. It is also possible to use a method of detecting the inner intersection of the fusion portion and inferring the position of the intersection of the lateral thermal fusion portion and the longitudinal thermal fusion portion.
도 14를 참조하여 설명하면, 영상처리 프로세스(S20)는 먼저 획득된 이미지로부터 컬러 정보를 없에기 위하여 그레이 스케일로 변환한다(S210). 한편, 그레이 스케일로 변환하기 이전에 필요에 따라 미디언 필터를 이용하여 이미지의 노이즈를 제거하는 것도 가능하다.Referring to FIG. 14, the image processing process S20 converts the color information from the obtained image to gray scale in order to eliminate color information (S210). On the other hand, before the conversion to gray scale, it is also possible to remove the noise of the image using a median filter if necessary.
다음으로 그레이 스켕일로 변환된 이미지를 이진화 처리하여 흰색과 검정만으로 표시되도록 변환한다(S220). 영상처리의 마지막 단계로서, 이진화된 이미지의 에지를 추출한다(S230). 에지 추출된 이미지 결과물은 흰색과 검정색의 경계가 검정색으로 표시되도록 변환된다. 더 나아가 상기 노이즈 제거는 미디언 필터에 의하여 수행될 수 있다.Next, the image converted to gray scale is binarized and converted to be displayed in white and black only (S220). As a final step of the image processing, the edge of the binarized image is extracted (S230). The edge-extracted image output is converted so that the white and black borders are displayed in black. Furthermore, the noise removal may be performed by a median filter.
절취선 감지 프로세스는 다양한 방법으로 수행될 수 있다. 예를 들어 약포 패키지의 절취선은 에지가 추출된 이미지를 이용하여 외곽선 추적 기법을 이용하거나, 패턴 인식 방법을 이용하여 추출될 수 있다.The perforation detection process can be performed in a variety of ways. For example, the cutting line of the medicine package may be extracted using an edge tracking method using an image of which edges are extracted, or using a pattern recognition method.
패턴 인식 방법의 경우 공지된 다양한 기법들을 이용하여 에지가 추출된 이미지 중의 검정색 픽셀들의 패턴을 파악하고, 해당 이미지 내에 이미지를 종단하는 직선형 패턴이 존재하는 경우 해당 패턴에 해당하는 픽셀들이 약포 패키지의 절취선인 것으로 판단할 수 있다.In the case of the pattern recognition method, a pattern of black pixels in the edge-extracted image is identified using various known techniques, and when a linear pattern terminating the image exists in the image, the pixels corresponding to the pattern are the perforations of the medicine package. It can be judged that
외곽선 추적 기법의 경우 도 15에 도시된 바와 같이 먼저 에지 추출된 이미지의 최 상단부에 위치하는 검정색 픽셀을 찾는다(S310). 최 상단부에 위치하는 검정색 픽셀을 찾은 경우 해당 픽셀을 기준 픽셀로 하여 주변의 검정색 픽셀을 검출한다(S320). 이 때 다양한 방법이 있을 수 있으나, 본 실시예에서는 이미지의 아래로 외곽선을 추적해가는 경우에는 3시방향으로부터 시계방향으로 주변의 검정색 픽셀이 있는지 여부를 판단한다. 주변에 검정색 픽셀이 존재하는 경우(S340) 해당 픽셀을 다시 기준 픽셀로 삼아 이동(S345)하여 주변의 검정색 픽셀을 같은 방법으로 검출한다. 이 때 이미지의 최하단에 이르기 전에 주위의 검정색 픽셀이 존재하지 않는 경우에는 절취선이 해당 이미지 내에 존재하지 않는 것으로 판단하고(S352), 주변의 검정색 픽셀들을 검출을 반복하여 기준 픽셀이 이미지의 최하단에 도달하는 경우에는 해당 이미지에 절취선이 존재하고, 기준 픽셀의 이동경로가 절취선에 해당하는 것으로 판단할 수 있다. 한편, 본 실시예에서는 이미지 상부로부터 하부에 이르는 단방향의 추적방법만을 이용하였으나, 다시 하부로부터 상부에 이르도록 추적을 계속하는 것도 가능하다. 이 경우 기준 픽셀의 9시 방향의 픽셀부터 검정색 픽셀인지 여부를 검출하며, 해당 픽셀이 검정색 정보를 갖고 있지 않은 경우에는 시계방향을 따라 회전하며 주변의 픽셀을 검정색 정보를 갖는지의 여부를 판단한다. 주변에 검정색 픽셀이 존재하는 경우 해당 픽셀을 기준 픽셀로 삼아 이동하여 다시 주변의 검정색 픽셀이 존재하는지 여부를 판단한다.In the case of the outline tracking technique, as shown in FIG. 15, first, a black pixel located at the top of the edge extracted image is found (S310). When the black pixel located at the uppermost part is found, peripheral black pixels are detected using the corresponding pixel as a reference pixel (S320). In this case, there may be various methods. However, in the present embodiment, when tracing an outline under the image, it is determined whether there are black pixels around from three o'clock in the clockwise direction. If there are black pixels around (S340), the pixels are moved back to the reference pixel (S345) to detect the surrounding black pixels in the same manner. At this time, if no surrounding black pixels exist before reaching the bottom of the image, it is determined that the perforation line does not exist in the corresponding image (S352), and by detecting the surrounding black pixels repeatedly, the reference pixel reaches the bottom of the image. In this case, it may be determined that a perforation line exists in the corresponding image, and the movement path of the reference pixel corresponds to the perforation line. Meanwhile, in the present embodiment, only the unidirectional tracking method from the top to the bottom of the image is used, but it is also possible to continue tracking from the bottom to the top again. In this case, it is detected whether the pixel is a black pixel from the pixel at 9 o'clock of the reference pixel. If the pixel does not have black information, it is rotated clockwise to determine whether the surrounding pixel has black information. If there are black pixels in the vicinity, the pixels are moved as reference pixels to determine whether there are black pixels nearby.
이와 같이 외곽선을 추적하여 기준 픽셀의 이동 경로가 이미지의 상부로부터 하부에 이르기까지 직선형으로 형성되는 경우에는 해당 기준 픽셀의 이동 경로의 위치가 약포 패키지의 절취선의 위치에 해당하는 것으로 판단할 수 있다.As described above, when the moving path of the reference pixel is formed in a straight line from the top to the bottom of the image by tracking the outline, it may be determined that the position of the moving path of the reference pixel corresponds to the position of the cutting line of the medicine package.
도 16을 참조하여 구체적으로 설명하면 다음과 같다. 도 16a에 도시된 바와 같이 최초에 이미지의 최 상단에 검정색 픽셀을 검출하여 해당 픽셀을 기준 픽셀로 한다. 다음으로 기준 픽셀의 3시 방향의 픽셀로부터 시계방향으로 주변의 검정색 픽셀을 검출한다. 이 경우 도 16b에 도시된 바와 같이 바로 아래의 픽셀이 검정색 픽셀이므로 아래의 픽셀로 기준 픽셀을 이동하여 다시 주변의 검정색 픽셀을 3시 방향으로부터 시계방향으로 추적한다. 이와 같은 방법으로 주변의 검정색 픽셀을 추적하면, 도 6c 내지 도 6f에 도시된 바와 같이 기준 픽셀이 검정색 픽셀들의 오른쪽 외곽선을 따라 이미지의 하단부에 이르는 경로를 형성하게 된다. 이 경우 횡방향으로 돌출된 검정색 픽셀들이 이미지의 횡방향 단부에 이르거나 이미지의 하단부에 이르지 못하고 끊기는 경우에는 해당 픽셀들이 절취선이 아닌것으로 판단한다. 도 16a 내지 도 16f의 경우에는 이미지를 종단하는 검정색 픽셀들이 존재하므로 절취선으로 판단할 수 있다. 한편, 정확성을 높이기 위하여 도 16f 내지 도 16k에 도시된 바와 같이 하단부로부터 상부로 외곽선을 더 추적할 수 있다. 이 경우에는 기준 픽셀의 9시의 픽셀로부터 시계방향으로 회전하며 검정색 픽셀을 추적한다. 그 결과 하단부로부터 상단부로 이미지를 추적하는 경우에는 검정색 픽셀들의 왼쪽 외곽선을 추적학 된다. 이러한 방법으로 이미지에 포함된 픽셀들의 외곽선을 추적하여 기준 픽셀의 이동 경로가 이미지를 종단하는지의 여부를 판단하여 절취선의 위치를 검출하게 된다.A detailed description with reference to FIG. 16 is as follows. As illustrated in FIG. 16A, a black pixel is first detected at the top of the image to make the pixel the reference pixel. Next, peripheral black pixels are detected clockwise from the pixel at 3 o'clock of the reference pixel. In this case, as shown in FIG. 16B, since the pixel immediately below is a black pixel, the reference pixel is moved to the pixel below to track the surrounding black pixels clockwise from 3 o'clock. Tracking the surrounding black pixels in this manner causes the reference pixel to form a path from the right edge of the black pixels to the bottom of the image, as shown in FIGS. 6C-6F. In this case, when the black pixels protruding in the transverse direction reach the transverse end of the image or do not reach the lower end of the image, it is determined that the pixels are not cut lines. In the case of FIGS. 16A to 16F, since black pixels terminating the image exist, it may be determined as a cut line. Meanwhile, in order to increase accuracy, the outline may be further tracked from the lower end to the upper part as shown in FIGS. 16F to 16K. In this case, black pixels are tracked by rotating clockwise from the pixel at 9 o'clock of the reference pixel. As a result, when tracking the image from the bottom to the top, the left outline of the black pixels is traced. In this way, by tracking the outlines of the pixels included in the image, it is determined whether the movement path of the reference pixel terminates the image to detect the position of the perforation line.
이상 본 발명의 바람직한 실시예에 대하여 설명하였으나, 본 발명의 기술적 사상이 상술한 바람직한 실시예에 한정되는 것은 아니며, 특허청구범위에 구체화된 본 발명의 기술적 사상을 벗어나지 않는 범주에서 다양한 일련의 약포 절취선 감지 방법으로 구현될 수 있다.Although the preferred embodiments of the present invention have been described above, the technical spirit of the present invention is not limited to the above-described preferred embodiments, and various series of drug-breaking lines in a range not departing from the technical spirit of the present invention specified in the claims. It can be implemented as a sensing method.

Claims (11)

  1. 약포 패키지 중 횡방향으로 형성된 열융착부와 종방향으로 형성된 열융착부의 교차부를 포함하는 이미지를 획득하는 영상 획득 단계;An image acquiring step of acquiring an image including an intersecting portion of the heat-sealed portion and a heat-sealed portion formed in the longitudinal direction of the medicine package;
    상기 획득된 이미지를 에지 이미지로 영상 처리하는 영상처리 단계; 및An image processing step of processing the obtained image into an edge image; And
    상기 영상처리된 에지 이미지로부터 절취선을 감지하는 절취선 감지 단계;를 포함하는 약포 패키지 절취선 감지 방법.And a tear line detection step of detecting a tear line from the image-processed edge image.
  2. 제1항에 있어서,The method of claim 1,
    상기 절취선 감지 단계에서 절취선을 감지하지 못하는 경우 상기 약포 패키지를 이송하여 상기 영상 획득 단계 내지 상기 절취선 감지 단계를 반복하는 반복 단계;를 더 포함하는 약포 패키지 절취선 감지 방법.And repeating the image capturing step and the cutting line detecting step by transferring the medicine package when the cutting line is not detected at the cutting line detecting step.
  3. 제1항에 있어서,The method of claim 1,
    상기 영상 획득 단계는,The image acquisition step,
    약포 패키지의 이미지를 촬영하는 영상 획득 제1 단계; 및Acquiring an image of the medicine package; And
    상기 쵤영된 이미지 중 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차부를 포함하는 이미지를 잘라내는 영상 획득 제2 단계를 포함하는 약포 패키지 절취선 감지 방법.And a second image obtaining step of cropping an image including an intersection of a lateral thermal fusion portion and a longitudinal thermal fusion portion of the medicine package among the photographed images.
  4. 제3항에 있어서,The method of claim 3,
    상기 영상 획득 제2 단계는 상기 횡방향 열융착부와 종방향 열융착부의 내측 교차점을 검출하여 상기 횡방향 열융착부와 종방향 열융착부의 교차부의 위치를 판단하는 단계를 더 포함하는 약포 패키지 절취선 감지 방법.The second step of acquiring the image further includes detecting an inner crossing point of the lateral heat fusion unit and a longitudinal heat fusion unit to determine a position of the intersection of the lateral heat fusion unit and the longitudinal heat fusion unit. Detection method.
  5. 제1항에 있어서,The method of claim 1,
    상기 영상 획득 단계는 상기 약포 패키지의 횡방향 열융착부와 종방향 열융착부의 교차지점의 이미지만을 촬영하는 단계를 포함하는 약포 패키지 절취선 감지 방법.The image acquiring step includes photographing only an image of an intersection point of a lateral heat seal and a longitudinal heat seal of the medicine package.
  6. 제1항에 있어서,The method of claim 1,
    상기 영상처리 단계는,The image processing step,
    상기 획득된 영상을 그레이 스케일로 변환하는 영상처리 제1 단계;An image processing first step of converting the acquired image to gray scale;
    상기 그레이 스케일로 변환된 이미지를 이진화하는 영상처리 제2 단계; 및An image processing second step of binarizing the image converted to the gray scale; And
    상기 이진화된 이미지를 에지만이 표시되는 에지 이미지로 변환하는 영상처리 제3 단계;를 포함하는 약포 패키지 절취선 감지 방법.And a third step of converting the binarized image into an edge image in which only an edge is displayed.
  7. 제6항에 있어서,The method of claim 6,
    상기 영상처리 제1 단계 이전에 상기 이미지의 노이즈를 제거하는 단계를 더 포함하는 약포 패키지 절취선 감지 방법.And removing the noise of the image before the first step of the image processing.
  8. 제7항에 있어서,The method of claim 7, wherein
    상기 노이즈 제거는 미디언 필터에 의하여 수행되는 약포 패키지 절취선 감지 방법.The method of claim 10, wherein the noise removal is performed by a median filter.
  9. 제1항에 있어서,The method of claim 1,
    상기 절취선 감지 단계는 외곽선 추적 기법을 이용하여 상기 에지 이미지를 종단하는 일련의 픽셀들을 절취선으로 판단하는 약포 패키지 절취선 감지 방법.The detecting of the perforated line of the drug package perforated line detection method for determining the series of pixels terminating the edge image as the perforated line using an outline tracking technique.
  10. 제9항에 있어서,The method of claim 9,
    상기 절취선 감지 단계는,The cutting line detection step,
    상기 에지 이미지의 상부로부터 검정색 정보를 갖는 픽셀을 검출하는 절취선 감지 제1 단계;A first line detection step of detecting a pixel having black information from an upper portion of the edge image;
    상기 검출된 검정색 정보를 갖는 픽셀의 우측 픽셀로부터 시계방향으로 돌아가며 검정색 정보를 갖는 픽셀인지 여부를 판단하는 절취선 감지 제2 단계;A perforated line detection step of determining whether the pixel has black information while turning clockwise from the right pixel of the pixel having the detected black information;
    상기 판단 대상인 픽셀이 검정색 정보를 갖고 있는 경우 판단 대상 픽셀을 기준으로 상기 절취선 감지 제2 단계를 반복하는 절취선 감지 제3 단계; 및A third perforated line detecting step of repeating the second perforated line detecting step based on the determination target pixel when the pixel to be determined has black information; And
    상기 에지 이미지의 상부로부터 하부에 이르기까지 종방향으로 상기 기준 픽셀이 이동하는 경우 해당 일련의 대상 픽셀들을 절취선으로 판단하는 절취선 감지 제4 단계;를 포함하는 약포 패키지 절취선 감지 방법.And a cut line detection step of determining a corresponding line of target pixels as a cut line when the reference pixel moves in the longitudinal direction from the top to the bottom of the edge image.
  11. 제1항에 있어서,The method of claim 1,
    상기 절취선 감지 단계는 패턴 인식 방법에 의하여 이미지 중 직선 패턴으로 인식되는 부분을 절취선으로 판단하는 약포 패키지 절취선 감지 방법.The tear line detection step is a medicine package cut line detection method for determining the portion of the image recognized as a straight line by the pattern recognition method as a tear line.
PCT/KR2013/009207 2012-11-01 2013-10-15 Method for sensing cutting line of cartridge package WO2014069817A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020120123145A KR101985546B1 (en) 2012-11-01 2012-11-01 Method of detecting perforated line for a paper-bundle of medicine
KR10-2012-0123145 2012-11-01

Publications (1)

Publication Number Publication Date
WO2014069817A1 true WO2014069817A1 (en) 2014-05-08

Family

ID=50627667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2013/009207 WO2014069817A1 (en) 2012-11-01 2013-10-15 Method for sensing cutting line of cartridge package

Country Status (2)

Country Link
KR (1) KR101985546B1 (en)
WO (1) WO2014069817A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3441315B1 (en) * 2017-08-11 2022-04-06 Krones Aktiengesellschaft Method and packaging system for producing containers

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102650686B1 (en) * 2021-11-30 2024-03-22 경북대학교 산학협력단 Apparatus for measuring object volume using 3d image equipment and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08247730A (en) * 1995-03-15 1996-09-27 Omron Corp Edge detecting method of dimension measuring instrument
JP2003004423A (en) * 2001-06-20 2003-01-08 Nipro Corp Inspection apparatus and method of tip sectional surface shape of work
KR20070052088A (en) * 2005-11-16 2007-05-21 삼성전자주식회사 Image forming apparatus for detecting edge of image and method thereof
KR20090066212A (en) * 2007-12-18 2009-06-23 다이니폰 스크린 세이조우 가부시키가이샤 Defect detection method and defect detection apparatus
KR20120013744A (en) * 2010-08-06 2012-02-15 주식회사 이미지넥스트 Image Edge Detection Method and System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08247730A (en) * 1995-03-15 1996-09-27 Omron Corp Edge detecting method of dimension measuring instrument
JP2003004423A (en) * 2001-06-20 2003-01-08 Nipro Corp Inspection apparatus and method of tip sectional surface shape of work
KR20070052088A (en) * 2005-11-16 2007-05-21 삼성전자주식회사 Image forming apparatus for detecting edge of image and method thereof
KR20090066212A (en) * 2007-12-18 2009-06-23 다이니폰 스크린 세이조우 가부시키가이샤 Defect detection method and defect detection apparatus
KR20120013744A (en) * 2010-08-06 2012-02-15 주식회사 이미지넥스트 Image Edge Detection Method and System

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3441315B1 (en) * 2017-08-11 2022-04-06 Krones Aktiengesellschaft Method and packaging system for producing containers

Also Published As

Publication number Publication date
KR20140055808A (en) 2014-05-09
KR101985546B1 (en) 2019-06-03

Similar Documents

Publication Publication Date Title
JP4439433B2 (en) Tablet counting inspection device
JP7047960B2 (en) Drug inspection support device
KR100650285B1 (en) System for inspecting medicine packets
EP2951563B1 (en) Method and apparatus for inspecting packages containing medication
JP4652480B1 (en) Device for counting the number of drugs in a medicine package
JP2023014208A (en) Drug dispensing device and adjustment method
JP6484666B2 (en) Control device
JP7429447B2 (en) Pharmaceutical packaging device
WO2014069817A1 (en) Method for sensing cutting line of cartridge package
KR101985545B1 (en) Dispensing box for a paper-bundle of medicine
KR102166287B1 (en) Apparatus for Checking Packaging Equipment Automation Machine
JP2014221134A (en) Packaged single-dose-medicament auditing device
KR20140105625A (en) Medicine packing machine and management server for supporting manager's inspection on dispensing image
JP5818248B2 (en) Automatic blood collection device
JP2018140060A (en) Tablet counting observation device
KR20140135934A (en) Medicine packing machine for supporting manager's inspection on dispensing image
JPH1035626A (en) Parceling packer of article
KR102162359B1 (en) Automatic packing apparatus for tablets
KR20180117932A (en) Pharmaceutical packaging apparatus and pharmaceutical packaging method using the same
WO2018012835A1 (en) Drug pouch storage cabinet, and drug packaging apparatus comprising same
JP2018117921A (en) Medicine inspection device and medicine inspection method
JP2001058001A (en) Examination device for medicine or the like in housing body
JP5884956B1 (en) Drug inspection support device
WO2023282751A1 (en) A drugs pouch processing system
CN116367805A (en) Class determination device, class determination method, class determination program, and medicine classification device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13851526

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13851526

Country of ref document: EP

Kind code of ref document: A1