CN111340157A - Vertical medicine tank checking method - Google Patents

Vertical medicine tank checking method Download PDF

Info

Publication number
CN111340157A
CN111340157A CN202010102159.XA CN202010102159A CN111340157A CN 111340157 A CN111340157 A CN 111340157A CN 202010102159 A CN202010102159 A CN 202010102159A CN 111340157 A CN111340157 A CN 111340157A
Authority
CN
China
Prior art keywords
medicine
vertical
batch
medicine groove
supplementing device
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
CN202010102159.XA
Other languages
Chinese (zh)
Other versions
CN111340157B (en
Inventor
戴建伟
赵凌
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.)
Willach Shanghai Medicine Equipment Technology Co ltd
Original Assignee
Willach Shanghai Medicine Equipment Technology 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 Willach Shanghai Medicine Equipment Technology Co ltd filed Critical Willach Shanghai Medicine Equipment Technology Co ltd
Priority to CN202010102159.XA priority Critical patent/CN111340157B/en
Publication of CN111340157A publication Critical patent/CN111340157A/en
Application granted granted Critical
Publication of CN111340157B publication Critical patent/CN111340157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medicinal Chemistry (AREA)
  • Geometry (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Chemical & Material Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

The invention discloses a vertical medicine groove checking method, which does not need to structurally modify a batch medicine supplementing device of an automatic medicine dispensing machine in the prior art, only needs to paste four two-dimensional code marks on the batch medicine supplementing device, and pastes a medicine groove number below each vertical medicine groove; the front of the vertical medicine groove area of the batch medicine supplementing device is provided with the camera, so that the batch medicine supplementing device is simple in structure and simple in operation steps.

Description

Vertical medicine tank checking method
Technical Field
The invention relates to a vertical medicine tank checking method.
Background
At present, the batch medicine supplementing device of the automatic medicine dispensing machine sold on the market adopts vertical medicine grooves to store medicine boxes, and the batch medicine supplementing device of the automatic medicine dispensing machine comprises a plurality of vertical medicine grooves which are sequentially arranged from left to right, so that the accurate quantity of the medicine boxes in each vertical medicine groove is obtained, the mode that a laser distance measuring sensor is added to the top of the medicine groove or the mode that a weight sensor is added to the bottom of the medicine groove can be adopted, and the problem that the structure and the control system are complex exists.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a vertical medicine tank checking method, which adopts a mode of installing a fixed or movable camera in front of a vertical medicine tank device to acquire a medicine area image for checking, and has the advantages of simple structure and simple operation steps.
The technical scheme for realizing the purpose is as follows: a vertical medicine tank checking method comprises the following steps:
s1, four two-dimensional code marks are pasted on a batch medicine supplementing device of the automatic medicine dispensing machine, and the four two-dimensional code marks are located at the upper left position, the upper right position, the lower left position and the lower right position of the batch medicine supplementing device in a one-to-one correspondence mode; the batch medicine supplementing device comprises a plurality of vertical medicine grooves which are sequentially arranged from left to right, and a medicine groove number is pasted below each vertical medicine groove; a camera is arranged in front of a vertical medicine groove area of the batch medicine supplementing device;
s2, the operator measures the total height of each vertical medicine groove and stores the total height in the database of the computer processing system, the operator sets the variety of the medicine box placed in each vertical medicine groove, and the database of the computer processing system records the medicine groove number, the medicine name and the medicine box thickness corresponding to each vertical medicine groove;
s3, the operator replenishes the medicine in the vertical medicine groove and then leaves the vertical medicine groove area;
s4, detecting the picture state of the vertical medicine groove area by the camera, and starting an inventory process after the pictures are dynamically changed;
s5, acquiring the whole photos of the batch drug supplementing device by the camera, wherein the whole photos of the batch drug supplementing device comprise four two-dimensional code identifications on the batch drug supplementing device, and transmitting the whole photos of the batch drug supplementing device to a computer processing system by the camera through a network;
s6, the computer processing system positions and corrects the whole pictures of the batch drug supplementing device according to the four two-dimensional code marks in the whole pictures of the batch drug supplementing device;
s7, the computer processing system positions and intercepts each vertical medicine groove area picture according to the medicine groove number and carries out the following processing:
the computer processing system carries out binarization processing on each vertical medicine groove area picture, and the area of the medicine box in each vertical medicine groove area picture is black and is set as a black area; calculating the total height and the black area height of each vertical medicine groove area picture; and calculating the corresponding number of the medicine boxes in each vertical medicine groove according to the following formula:
number of cartridges (height of black area/total height) × total height of cartridge tank/thickness of cartridge
Wherein the unit of the height of the black area is a pixel; the total height is the total height of the picture of the single vertical medicine groove area, and the unit is a pixel; the total height of the medicine groove is the total height of a single vertical medicine groove, and the unit is mm; the thickness of the medicine box is in mm;
and S8, the computer processing system updates the information of the database and records the number of the medicine boxes corresponding to each vertical medicine groove.
In the above-mentioned vertical medicine tank checking method, in step S1, the camera is fixedly or movably mounted in front of the vertical medicine tank area of the batch replenishment device.
In the above method for checking the vertical medicine tank, in step S5, the camera is controlled by a wireless, wired or mobile phone to collect the whole pictures of the batch medicine replenishing device.
In the above method for checking the vertical medicine tank, the computer processing system is provided with medicine image recognition software.
According to the vertical medicine tank checking method, a mode that a fixed or movable camera is installed in front of a vertical medicine tank device to acquire medicine area images is adopted for checking, two-dimensional code marks are pasted at the upper left, upper right, lower left and lower right fixed positions of a batch medicine supplementing device for visual positioning, medicine tank numbers are pasted below each medicine tank, the structure is simple, and the operation steps are simple.
Drawings
FIG. 1 is a schematic view of the installation of a camera in the vertical drug tank checking method of the present invention;
FIG. 2 is a schematic view of the installation of four two-dimension code marks in the vertical drug tank counting method of the present invention;
fig. 3 is a schematic diagram of a single vertical drug reservoir area picture.
Detailed Description
In order that those skilled in the art will better understand the technical solution of the present invention, the following detailed description is given with reference to the accompanying drawings:
referring to fig. 1, 2 and 3, in accordance with a preferred embodiment of the present invention, a vertical drug tank inventory method includes the steps of:
s1, four two-dimensional code marks 20 are pasted on the batch medicine replenishing device 10 of the automatic medicine dispensing machine, and the four two-dimensional code marks 20 are located at the upper left position, the upper right position, the lower left position and the lower right position of the batch medicine replenishing device in a one-to-one correspondence manner; the batch medicine supplementing device 10 comprises a plurality of vertical medicine grooves 11 which are sequentially arranged from left to right, and medicine groove numbers are pasted below each vertical medicine groove 11, such as 1, 2, 3, 4, 5, 6 and 7 … … which are sequentially arranged from left to right; a camera 30 is fixedly or movably arranged in front of the vertical medicine groove area of the batch medicine supplementing device 10;
s2, an operator measures the total height (in mm) of each vertical medicine groove 11 and stores the total height in a database of a computer processing system, the operator sets the variety of the medicine boxes placed in each vertical medicine groove 11, and the database of the computer processing system records the medicine groove number, the medicine name and the medicine box thickness (in mm) corresponding to each vertical medicine groove;
s3, the operator replenishes the medicine in the vertical medicine groove and then leaves the vertical medicine groove area;
s4, detecting the picture state of the vertical medicine groove area by the camera 30, and starting an inventory process after the pictures are dynamically changed;
s5, the camera 30 collects the overall photos of the batch drug supplementing device, the overall photos of the batch drug supplementing device comprise four two-dimensional code marks on the batch drug supplementing device, and the camera transmits the overall photos of the batch drug supplementing device to a computer processing system through a network; the camera can be controlled by a wireless, wired or mobile phone to collect the whole photos of the batch drug supplementing device;
s6, the computer processing system positions and corrects the whole pictures of the batch drug supplementing device according to the four two-dimensional code marks in the whole pictures of the batch drug supplementing device; the computer processing system is provided with Taotao medicine picture identification software V1.0 with the registration number of 2019SR0284333 of Shanghai Taotao information technology Limited;
s7, the computer processing system locates and cuts each vertical medicine groove area picture 40 according to the medicine groove number and carries out the following processing:
the computer processing system carries out binarization processing on each vertical medicine groove area picture 40, and the area of the medicine box in each vertical medicine groove area picture is black and is set as a black area; calculating the total height H (in pixels) and the black region height H (in pixels) of each vertical drug groove region picture 40; and calculating the corresponding number of the medicine boxes in each vertical medicine groove according to the following formula:
number of cartridges (height of black area/total height) × total height of cartridge tank/thickness of cartridge
Wherein the unit of the height of the black area is a pixel; the total height is the total height of the picture of the single vertical medicine groove area, and the unit is a pixel; the total height of the medicine groove is the total height of a single vertical medicine groove, and the unit is mm; the thickness of the medicine box is in mm;
and S8, the computer processing system updates the information of the database and records the number of the medicine boxes corresponding to each vertical medicine groove.
According to the vertical medicine groove checking method, structural improvement on the batch medicine supplementing device 10 of the automatic medicine dispensing machine in the prior art is not needed, only four two-dimensional code marks 20 are needed to be pasted on the batch medicine supplementing device 10, and medicine groove numbers are pasted below each vertical medicine groove 11; the camera 30 is installed in front of the vertical medicine groove area of the batch medicine supplementing device 10, so that the structure is simple, and the operation steps are simple.
Taotao medicine picture recognition software V1.0 can accomplish the inventory of perpendicular medicine inslot medicine box quantity, drive camera 30 shoots the whole photo of medicine supplementing device in batches, fix a position the whole photo of medicine supplementing device in batches, the content and the coordinate of discernment two-dimensional code sign, confirm the medicine groove coordinate (promptly medicine groove number) according to two-dimensional code sign and coordinate, cut single perpendicular medicine groove regional picture according to the medicine groove number, carry out binarization processing to every perpendicular medicine groove regional picture in proper order, calculate the overall height H (the unit is the pixel) and the regional high H of black (the unit is the pixel) of every perpendicular medicine groove regional picture 40, according to the medicine box height, medicine groove overall height calculates medicine groove stock capacity.
In summary, the vertical drug tank checking method provided by the invention adopts a mode that a fixed or movable camera is arranged in front of the vertical drug tank device to acquire the image of the drug area for checking, and has the advantages of simple structure and simple operation steps.
It should be understood by those skilled in the art that the above embodiments are only for illustrating the present invention and are not to be used as a limitation of the present invention, and that changes and modifications to the above described embodiments are within the scope of the claims of the present invention as long as they are within the spirit and scope of the present invention.

Claims (4)

1. A vertical medicine tank checking method is characterized by comprising the following steps:
s1, four two-dimensional code marks are pasted on a batch medicine supplementing device of the automatic medicine dispensing machine, and the four two-dimensional code marks are located at the upper left position, the upper right position, the lower left position and the lower right position of the batch medicine supplementing device in a one-to-one correspondence mode; the batch medicine supplementing device comprises a plurality of vertical medicine grooves which are sequentially arranged from left to right, and a medicine groove number is pasted below each vertical medicine groove; a camera is arranged in front of a vertical medicine groove area of the batch medicine supplementing device;
s2, the operator measures the total height of each vertical medicine groove and stores the total height in the database of the computer processing system, the operator sets the variety of the medicine box placed in each vertical medicine groove, and the database of the computer processing system records the medicine groove number, the medicine name and the medicine box thickness corresponding to each vertical medicine groove;
s3, the operator replenishes the medicine in the vertical medicine groove and then leaves the vertical medicine groove area;
s4, detecting the picture state of the vertical medicine groove area by the camera, and starting an inventory process after the pictures are dynamically changed;
s5, acquiring the whole photos of the batch drug supplementing device by the camera, wherein the whole photos of the batch drug supplementing device comprise four two-dimensional code identifications on the batch drug supplementing device, and transmitting the whole photos of the batch drug supplementing device to a computer processing system by the camera through a network;
s6, the computer processing system positions and corrects the whole pictures of the batch drug supplementing device according to the four two-dimensional code marks in the whole pictures of the batch drug supplementing device;
s7, the computer processing system positions and intercepts each vertical medicine groove area picture according to the medicine groove number and carries out the following processing:
the computer processing system carries out binarization processing on each vertical medicine groove area picture, and the area of the medicine box in each vertical medicine groove area picture is black and is set as a black area; calculating the total height and the black area height of each vertical medicine groove area picture; and calculating the corresponding number of the medicine boxes in each vertical medicine groove according to the following formula:
number of cartridges (height of black area/total height) × total height of cartridge tank/thickness of cartridge
Wherein the unit of the height of the black area is a pixel; the total height is the total height of the picture of the single vertical medicine groove area, and the unit is a pixel; the total height of the medicine groove is the total height of a single vertical medicine groove, and the unit is mm; the thickness of the medicine box is in mm;
and S8, the computer processing system updates the information of the database and records the number of the medicine boxes corresponding to each vertical medicine groove.
2. The vertical drug trough inventory method of claim 1, wherein in step S1, the camera is fixedly or movably mounted in front of the vertical drug trough area of the batch size replenishment device.
3. The vertical drug tank checking method of claim 1, wherein in step S5, the camera is controlled by a wireless, a wired or a mobile phone to capture the whole pictures of the batch replenishment device.
4. The vertical drug trough inventory method of claim 1, wherein the computer processing system has installed therein drug picture recognition software.
CN202010102159.XA 2020-02-19 2020-02-19 Method for checking vertical medicine tank Active CN111340157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010102159.XA CN111340157B (en) 2020-02-19 2020-02-19 Method for checking vertical medicine tank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010102159.XA CN111340157B (en) 2020-02-19 2020-02-19 Method for checking vertical medicine tank

Publications (2)

Publication Number Publication Date
CN111340157A true CN111340157A (en) 2020-06-26
CN111340157B CN111340157B (en) 2023-08-18

Family

ID=71185389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010102159.XA Active CN111340157B (en) 2020-02-19 2020-02-19 Method for checking vertical medicine tank

Country Status (1)

Country Link
CN (1) CN111340157B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113493082A (en) * 2021-06-16 2021-10-12 深圳市联新移动医疗科技有限公司 Method and system for checking quantity of drugs in and out of warehouse

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777140A (en) * 2010-02-08 2010-07-14 宁波大学 Method for counting number of complex overlapping cells in microscopic image
CN201974838U (en) * 2011-01-17 2011-09-14 天津三星电机有限公司 Waste capacitor amount detecting device
CN106770055A (en) * 2017-02-21 2017-05-31 中国水利水电科学研究院 A kind of Regional Rainfall uniformity measuring system and method based on laser reflection principle
CN107016385A (en) * 2017-03-13 2017-08-04 浙江工业大学 A kind of isomery animation picture proof recognition positioning method based on cloud service
CN207209128U (en) * 2017-07-27 2018-04-10 上海健麾信息技术有限公司 A kind of intelligent batch tonic sends out machine soon
CN207631823U (en) * 2017-12-19 2018-07-20 无锡蝶和科技有限公司 Drug automatic medicine-dispensing device
KR101971089B1 (en) * 2018-10-01 2019-04-22 이금상 Feeder for medicine in paper bag

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777140A (en) * 2010-02-08 2010-07-14 宁波大学 Method for counting number of complex overlapping cells in microscopic image
CN201974838U (en) * 2011-01-17 2011-09-14 天津三星电机有限公司 Waste capacitor amount detecting device
CN106770055A (en) * 2017-02-21 2017-05-31 中国水利水电科学研究院 A kind of Regional Rainfall uniformity measuring system and method based on laser reflection principle
CN107016385A (en) * 2017-03-13 2017-08-04 浙江工业大学 A kind of isomery animation picture proof recognition positioning method based on cloud service
CN207209128U (en) * 2017-07-27 2018-04-10 上海健麾信息技术有限公司 A kind of intelligent batch tonic sends out machine soon
CN207631823U (en) * 2017-12-19 2018-07-20 无锡蝶和科技有限公司 Drug automatic medicine-dispensing device
KR101971089B1 (en) * 2018-10-01 2019-04-22 이금상 Feeder for medicine in paper bag

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113493082A (en) * 2021-06-16 2021-10-12 深圳市联新移动医疗科技有限公司 Method and system for checking quantity of drugs in and out of warehouse

Also Published As

Publication number Publication date
CN111340157B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN112883958B (en) Medicine goods space checking method
US11475800B2 (en) Method of displaying price tag information, apparatus, and shelf system
CN111872544B (en) Calibration method and device for laser light-emitting indication point and galvanometer coaxial vision system
CN111340157A (en) Vertical medicine tank checking method
CN113379652B (en) Linear image correction method and system for laser imaging and related equipment
CN109920003A (en) Camera calibration detection method, device and equipment
CN108548824B (en) PVC (polyvinyl chloride) mask detection method and device
CN103455993A (en) Two-dimensional image splicing method based on optical grating positioning in automatic visual inspection
JP4623657B2 (en) Captured image processing apparatus and captured image processing method for electronic component mounter
CN114492070A (en) High-precision mapping geographic information virtual simulation technology and device
CN113048957A (en) Vision-based rapid detection system for precision of laser demarcation device
CN104318231A (en) Quick locating method for ballot image
EP3971520A1 (en) Commodity information collection device
CN111127406B (en) Back plate machining position adjusting method, terminal, system and storage medium
CN104834953A (en) Tape for feeding electrical components, apparatus for mouning electrical components using the tape and apparatus for printng tags on the tape
CN110148166A (en) Measure system, method, apparatus and the storage medium of dimension of object
TWI823463B (en) Label integrity adaptive detection method and system
CN113099116A (en) Equipment information collection method and device, robot and computer equipment
CN114494468A (en) Three-dimensional color point cloud construction method, device and system and storage medium
CN213543784U (en) Electronic scale scanning platform
CN217159846U (en) Automatic photographing equipment for shoes
CN216676256U (en) Workstation is used to herbal pieces-preparation
CN111553210B (en) Training method of lane line detection model, lane line detection method and device
CN216070862U (en) Double-station labeling rechecking machine
CN220129808U (en) Cover glass visual identification marking equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant