CN115252962A - Intelligent infusion alarm method and system based on machine vision - Google Patents

Intelligent infusion alarm method and system based on machine vision Download PDF

Info

Publication number
CN115252962A
CN115252962A CN202210805180.5A CN202210805180A CN115252962A CN 115252962 A CN115252962 A CN 115252962A CN 202210805180 A CN202210805180 A CN 202210805180A CN 115252962 A CN115252962 A CN 115252962A
Authority
CN
China
Prior art keywords
infusion
data
time
dripping
drop
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.)
Pending
Application number
CN202210805180.5A
Other languages
Chinese (zh)
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.)
First Hospital of Shanxi Medical University
Original Assignee
First Hospital of Shanxi Medical University
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 First Hospital of Shanxi Medical University filed Critical First Hospital of Shanxi Medical University
Priority to CN202210805180.5A priority Critical patent/CN115252962A/en
Publication of CN115252962A publication Critical patent/CN115252962A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/168Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body
    • A61M5/16831Monitoring, detecting, signalling or eliminating infusion flow anomalies
    • A61M5/1684Monitoring, detecting, signalling or eliminating infusion flow anomalies by detecting the amount of infusate remaining, e.g. signalling end of infusion

Landscapes

  • Health & Medical Sciences (AREA)
  • Vascular Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Anesthesiology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Hematology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Infusion, Injection, And Reservoir Apparatuses (AREA)

Abstract

本发明公开了一种基于机器视觉的智能输液报警方法,属于医疗及机器视觉技术领域,本发明以现有输液场景内的监控摄像头为依托采集输液容器图像和滴壶图像,并经过预训练的机器学习模型进行识别,能够有效获取不同输液容器的体积数据以及不同类型滴管的直径数据,之后在获取滴速数据,则可以实现对输液状况的及时报警,其相较于现有输液报警方式而言,本发明成本低,能够实现一对多的输液监测,且可以实时显示剩余输液时间;此外,本发明无需设置固定参照线或固定参照值,而是根据不同输液容器类型和输液容器容量进行相对变化设置,因此能够对不同输液容器类型、输液容器容量以及输液速度进行智能化输液监测,通用性强,能够满足不同使用场景。

Figure 202210805180

The invention discloses an intelligent infusion alarm method based on machine vision, which belongs to the technical field of medical treatment and machine vision. The invention collects images of infusion containers and dripping pots by relying on monitoring cameras in existing infusion scenarios, and obtains pre-trained images of infusion containers. The machine learning model can effectively obtain the volume data of different infusion containers and the diameter data of different types of droppers, and then obtain the dripping speed data, which can realize the timely alarm of the infusion status, which is compared with the existing infusion alarm methods. In terms of cost, the present invention is low in cost, can realize one-to-many infusion monitoring, and can display the remaining infusion time in real time; in addition, the present invention does not need to set a fixed reference line or a fixed reference value, but according to different infusion container types and infusion container capacities The relative change setting is performed, so it can perform intelligent infusion monitoring for different infusion container types, infusion container capacity and infusion speed, with strong versatility and can meet different usage scenarios.

Figure 202210805180

Description

一种基于机器视觉的智能输液报警方法及系统A kind of intelligent transfusion alarm method and system based on machine vision

技术领域technical field

本发明涉及医疗及机器视觉技术领域,尤其涉及一种基于机器视觉的智能输液报警方法及系统。The invention relates to the technical fields of medical treatment and machine vision, in particular to an intelligent transfusion alarm method and system based on machine vision.

背景技术Background technique

静脉输液是利用大气压和液体静压原理将大量无菌液体、电解质、药物由静脉输入体内的方法,是临床医疗的一项常规给药技术;在病人进行静脉输液过程中,常常需要陪护人员或护士对输液过程进行有效监控,以防止输液完成而造成的回血现象,若不及时提醒很可能造成很大意外;目前,除了通过陪护人员或护士对输液情况进行跟踪监看外,还出现一些通过重量传感器、红外传感器或压力传感器等方式监测输液情况进行报警的方法,例如:中国专利号CN103463698B公开一种压力感应式传感器输液报警系统,该类系统需要在输液瓶或输液袋上预装传感器以实现输液监测报警,这种方式无疑提高了输液瓶或输液袋的生产成本,进而进一步加剧了病患的治疗费用,即使将这些传感器进行外置,以可复用设备方式进行重复利用,其成本也是很高的,而且在病患较多的场景,也需对每个输液瓶或输液袋进行一对一可复用设备加装,其后续维护成本更高,且可兼容性还需考虑,并且其也无法实现一对多输液监测;Intravenous infusion is a method of intravenously injecting a large amount of sterile liquid, electrolytes, and drugs into the body by using the principles of atmospheric pressure and hydrostatic pressure. It is a routine drug delivery technology in clinical medicine; Nurses effectively monitor the infusion process to prevent blood return caused by the completion of the infusion. If the infusion is not reminded in time, it may cause a big accident; Methods of monitoring infusion conditions such as weight sensors, infrared sensors, or pressure sensors for alarming, for example: Chinese Patent No. CN103463698B discloses a pressure-sensitive sensor infusion alarm system, which requires pre-installed sensors on infusion bottles or infusion bags to Realizing infusion monitoring and alarming, this method undoubtedly increases the production cost of infusion bottles or infusion bags, and further increases the cost of treatment for patients. Even if these sensors are placed externally and reused in the form of reusable equipment, the cost It is also very high, and in the scene with many patients, it is also necessary to install one-to-one reusable equipment for each infusion bottle or infusion bag. The follow-up maintenance cost is higher, and compatibility needs to be considered. And it cannot realize one-to-many infusion monitoring;

相较于传感器方式的监测报警系统而言,利用图像识别就可很好解决上述问题,目前,虽出现了一些通过图像识别进行输液监测报警的方法,例如:中国专利号CN111298238B公开了一种基于图像识别的输液预警方法,但该方法需要在输液容器上预设预警线,其实际应用性较低;另外,中国专利号CN105498042B公开了基于视频的非避光式输液自动报警方法及其装置,该发明虽然能根据滴壶内液面以及滴壶内液速实现实时报警,但报警过于急促,没有留给护士换药或拆针的缓冲时间,若面临病患较多场景,则会让护士手足无措;此外,由于输液容器类型(常见有输液瓶或输液袋)、输液容器容量以及护士调节的输液速度不同,通过设置固定预设值方式进行比较也很难实际应用,因为不管是速度的预设值,还是输液容器预警线的预设值其受众多因素影响,很难做到统一,若通过护士预设一一输入,这无疑存在误操作风险;Compared with the sensor-based monitoring and alarm system, image recognition can be used to solve the above problems. At present, although some methods for infusion monitoring and alarm through image recognition have appeared, for example: Chinese Patent No. CN111298238B discloses a method based on An image recognition infusion early warning method, but this method needs to preset the early warning line on the infusion container, and its practical applicability is low; in addition, Chinese Patent No. CN105498042B discloses a non-light-proof infusion automatic alarm method and its device based on video, Although the invention can realize real-time alarm according to the liquid level in the drip pot and the liquid speed in the drip pot, the alarm is too fast and there is no buffer time for the nurse to change the dressing or remove the needle. If there are many patients, it will make the nurse In addition, due to the different types of infusion containers (commonly there are infusion bottles or bags), the capacity of infusion containers, and the infusion speed adjusted by nurses, it is difficult to compare by setting fixed preset values in practice, because regardless of the speed preset The set value is still the preset value of the warning line of the infusion container. It is affected by many factors, and it is difficult to achieve a unified one. If the nurse presets and enters one by one, there will undoubtedly be a risk of misoperation;

因此,亟需一种智能输液报警方法以解决上述问题。Therefore, need badly a kind of intelligent transfusion warning method to solve the above problems.

发明内容Contents of the invention

本发明的目的是为了解决现有技术中存在的缺陷,而提出的一种基于机器视觉的智能输液报警方法及系统。The purpose of the present invention is to solve the defects existing in the prior art, and propose a kind of intelligent transfusion alarm method and system based on machine vision.

为了实现上述目的,本发明采用了如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种基于机器视觉的智能输液报警方法,包括如下步骤:A kind of intelligent infusion warning method based on machine vision, comprises the steps:

1)基于现有输液场景内的监控摄像头采集在第一输液时间点的病患输液容器图像,并基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;1) Based on the monitoring camera in the existing infusion scene, the image of the patient's infusion container at the first infusion time point is collected, and the image of the infusion container is recognized based on the first machine learning model to obtain the volume data of the infusion container;

2)在获取输液容器体积数据后,基于所述监控摄像头采集滴壶图像,并基于第二机器学习模型进行识别,以获取滴管的直径数据;2) After obtaining the volume data of the infusion container, collect the image of the drip pot based on the monitoring camera, and identify it based on the second machine learning model to obtain the diameter data of the dropper;

3)在获取滴管的直径数据后,利用所述监控摄像头采集在第二输液时间点的滴壶视频,并基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据,所述预设时间区间为1分钟;3) After obtaining the diameter data of the dropper, use the monitoring camera to collect the video of the dripping pot at the second infusion time point, and perform video processing on it based on the preset time interval to calculate the first dripping speed in the dripping pot data, the preset time interval is 1 minute;

4)基于所述直径数据对所述第一滴速数据进行修正,并计算所述第二输液时间点与第一输液时间点的时间差值,同时将其与修正后的所述第一滴速数据进行计算,以获取误差数据;4) Correct the first drop rate data based on the diameter data, and calculate the time difference between the second infusion time point and the first infusion time point, and compare it with the corrected first drop rate data Calculate the speed data to obtain the error data;

5)将所述输液容器体积数据减去误差数据,以获取当前输液容量数据,同时根据修正后的第一滴速数据计算剩余输液时间;5) Subtract the error data from the volume data of the infusion container to obtain the current infusion volume data, and calculate the remaining infusion time according to the corrected first drop rate data;

6)实时判断所述剩余输液时间是否满足预设预警时间范围,若满足则进行一次预警;6) Judging in real time whether the remaining infusion time satisfies the preset early warning time range, and if so, an early warning is given;

7)当所述剩余输液时间满足预设预警时间范围时,利用所述监控摄像头实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出,则进行二次紧急报警。7) When the remaining infusion time satisfies the preset warning time range, use the monitoring camera to collect the video of the dripping pot for a second time in real time, calculate the second dripping speed data in the dripping pot, and judge the second dripping rate at the same time. Whether the ratio of the speed data to the first drop speed data exceeds the preset ratio, if it exceeds, a second emergency alarm will be issued.

进一步地,所述第一机器学习模型和所述的第二机器学习模型均基于输液设备数据库中经过标注后的基本数据作为训练集生成,所述输液设备数据库中的基本数据至少包含有不同类型输液容器的体积数据以及不同类型滴管的直径数据。Further, both the first machine learning model and the second machine learning model are generated based on the labeled basic data in the infusion equipment database as a training set, and the basic data in the infusion equipment database include at least different types of Volume data for infusion containers and diameter data for different types of droppers.

进一步地,所述第一机器学习模型和所述的第二机器学习模型具体为逻辑回归、随机森林、K近邻、支持向量机、线性判别分析、朴素贝叶斯、神经网络中的至少一种。Further, the first machine learning model and the second machine learning model are specifically at least one of logistic regression, random forest, K-nearest neighbor, support vector machine, linear discriminant analysis, naive Bayesian, and neural network .

进一步地,所述基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据,包括:Further, the video processing based on the preset time interval to calculate the first dripping speed data in the dripping pot includes:

将采集到的所述滴壶视频进行时间线区分,提取其中1分钟视频;Carrying out the timeline distinction of the collected drip pot video, and extracting the 1-minute video;

将所述的1分钟视频进行关键帧标注,即将输液滴第一次落入液面作为第一关键帧,将输液滴第二次落入液面作为第二关键帧,依次循环直至获取到1分钟内所有关键帧,根据所述关键帧得到滴壶内的第一滴速数据。Mark the key frame of the 1-minute video, that is, the first key frame when the infusion drop falls into the liquid surface for the first time, and the second key frame when the infusion drop falls into the liquid surface for the second time, and cycle in turn until 1 All keyframes in minutes, according to the keyframes, the first dripping speed data in the dripping pot is obtained.

进一步地,所述误差数据是指第二输液时间点与第一输液时间点的时间差值内已输入人体的输液体积数据,即从病患开始输入时间点到数据处理完成后这段时间内已完成的输液量。Further, the error data refers to the infusion volume data that has been input into the human body within the time difference between the second infusion time point and the first infusion time point, that is, the period from when the patient starts inputting the time point to after the data processing is completed The amount of infusion completed.

进一步地,所述基于所述直径数据对所述第一滴速数据进行修正,并计算所述第二输液时间点与第一输液时间点的时间差值,同时将其与修正后的所述第一滴速数据进行计算,以获取误差数据,包括:Further, the first drip rate data is corrected based on the diameter data, and the time difference between the second infusion time point and the first infusion time point is calculated, and compared with the corrected The first drop speed data is calculated to obtain error data, including:

首先根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据;Firstly, according to the diameter data, that is, the first drop speed data is corrected according to the required drop volume of 1 ml of droppers with different diameters, that is, the corrected first drop speed data is obtained;

然后,将所述第二输液时间点减去所述第一输液时间点,得到时间差值;Then, subtracting the first infusion time point from the second infusion time point to obtain a time difference;

最后,将修正后的所述第一滴速数据与所述时间差值做积,即得到误差数据,其公式如下:Finally, the error data is obtained by multiplying the corrected first drop speed data and the time difference, and the formula is as follows:

SW=VX×tc S W =V X ×t c

式中:SW表示误差数据;VX表示修正后的第一滴速数据;tc表示时间差值。In the formula: S W represents the error data; V X represents the corrected first drop speed data; t c represents the time difference.

进一步地,所述剩余输液时间的计算公式如下:Further, the formula for calculating the remaining infusion time is as follows:

Figure BDA0003736814350000051
Figure BDA0003736814350000051

式中:TZ表示剩余输液时间;SZ表示输液容器体积数据;SW表示误差数据;VX表示修正后的第一滴速数据。In the formula: T Z represents the remaining infusion time; S Z represents the volume data of the infusion container; S W represents the error data; V X represents the corrected first drip speed data.

一种基于机器视觉的智能输液报警系统,包括:An intelligent infusion alarm system based on machine vision, including:

第一采集模块用于采集在第一输液时间点的病患输液容器图像;The first collection module is used to collect the image of the patient's infusion container at the first infusion time point;

第一识别模块用于基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;The first identification module is used to identify the image of the infusion container based on the first machine learning model, so as to obtain volume data of the infusion container;

第二采集模块用于在获取输液容器体积数据后,采集滴壶图像;The second collection module is used to collect the image of the dripping pot after obtaining the volume data of the infusion container;

第二识别模块用于基于第二机器学习模型对所述滴壶图像进行识别,以获取滴管的直径数据;The second identification module is used to identify the image of the dripping pot based on the second machine learning model, so as to obtain the diameter data of the dropper;

第三采集模块用于在获取滴管的直径数据后,采集在第二输液时间点的滴壶视频;The third collection module is used to collect the video of the dripping pot at the second infusion time point after obtaining the diameter data of the dropper;

第一计算处理模块用于基于预设时间区间对所述滴壶视频进行视频处理,以计算滴壶内的第一滴速数据;The first calculation processing module is used to perform video processing on the dripping pot video based on a preset time interval, so as to calculate the first dripping speed data in the dripping pot;

第二计算处理模块用于计算所述第二输液时间点与第一输液时间点的时间差值,并计算获取误差数据;The second calculation processing module is used to calculate the time difference between the second infusion time point and the first infusion time point, and calculate and obtain error data;

第三计算处理模块用于将所述输液容器体积数据减去误差数据,以获取当前输液容量数据,并计算剩余输液时间;The third calculation processing module is used to subtract the error data from the volume data of the infusion container to obtain the current infusion volume data, and calculate the remaining infusion time;

输液预警模块用于根据所述剩余输液时间实时判断其是否满足预设预警时间范围,若满足则进行一次预警,同时显示剩余输液时间;The infusion early warning module is used to judge in real time according to the remaining infusion time whether it satisfies the preset early warning time range, and if it is satisfied, an early warning will be performed, and the remaining infusion time will be displayed at the same time;

紧急报警模块用于当所述剩余输液时间满足预设预警时间范围时,实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出,则进行二次紧急报警。The emergency alarm module is used to collect the video of the dripping pot for the second time in real time when the remaining infusion time meets the preset warning time range, calculate the second dripping speed data in the dripping pot, and judge the second dripping speed data at the same time Whether the ratio with the first drop speed data exceeds the preset ratio, and if it exceeds, a second emergency alarm will be issued.

进一步地,所述第二计算处理模块包括滴速修正单元,所述滴速修正单元用于根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据。Further, the second calculation and processing module includes a drop speed correction unit, which is used to correct the first drop according to the diameter data, that is, according to the drop volume required for 1 ml of droppers with different diameters. The speed data is corrected, that is, the corrected first drop speed data is obtained.

相比于现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:

(1)本申请公开了一种基于机器视觉的智能输液报警方法及系统,其以现有输液场景内的监控摄像头为依托采集输液容器图像和滴壶图像,并依托经过预训练的机器学习模型进行识别,能够有效获取不同输液容器的体积数据以及不同类型滴管的直径数据,之后在获取滴速数据,则可以实现对输液状况的及时报警,其相较于现有传感器方式的监测报警系统而言,成本低,能够实现一对多的输液监测,且可以实时显示剩余输液时间,以便辅助护士进行及时换药和拆针;(1) This application discloses an intelligent infusion alarm method and system based on machine vision, which relies on the monitoring camera in the existing infusion scene to collect images of infusion containers and drip pots, and relies on pre-trained machine learning models The identification can effectively obtain the volume data of different infusion containers and the diameter data of different types of droppers, and then obtain the drip speed data, which can realize timely alarm for the infusion status, which is compared with the existing sensor-based monitoring and alarm system In terms of low cost, one-to-many infusion monitoring can be realized, and the remaining infusion time can be displayed in real time, so that the assistant nurse can change the dressing and remove the needle in time;

(2)本申请公开了一种基于机器视觉的智能输液报警方法及系统,其根据不同类型滴管的直径数据对滴速数据进行修正,以获取准确的剩余输液时间,通过将准确的剩余输液时间与预设预警时间范围进行比较,实现对输液情况的及时预警,从而有利于为护士对多人换药、备药和拆针预留足够的缓冲时间;另外,通过实时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,可以进行二次紧急报警,以防护士因病患较多,而忘记对某一病患的换药或拆针操作;(2) This application discloses an intelligent infusion alarm method and system based on machine vision, which corrects the drip speed data according to the diameter data of different types of droppers, so as to obtain accurate remaining infusion time. The time is compared with the preset early warning time range to realize timely early warning of the infusion situation, thereby helping to reserve enough buffer time for nurses to change dressings, prepare medicines and remove needles for multiple people; in addition, through real-time judgment of the second If the ratio of the drip rate data to the first drip rate data exceeds the preset ratio, a second emergency alarm can be issued to prevent the guard from forgetting to change the dressing or remove the needle for a certain patient because there are many patients;

(3)本申请公开了一种基于机器视觉的智能输液报警方法及系统,其相较于现有的图像识别进行输液监测报警的方法而言,本发明无需设置固定参照线或固定参照值,而是根据不同输液容器类型和输液容器容量进行相对变化设置,因此,本发明能够对不同输液容器类型、输液容器容量以及输液速度进行智能化输液监测,通用性强,能够满足不同使用场景,具有一定的社会和经济效益。(3) This application discloses an intelligent infusion alarm method and system based on machine vision. Compared with the existing image recognition method for infusion monitoring and alarm, the present invention does not need to set a fixed reference line or a fixed reference value. Instead, the relative changes are set according to different infusion container types and infusion container capacities. Therefore, the present invention can perform intelligent infusion monitoring on different infusion container types, infusion container capacities, and infusion speeds. It has strong versatility and can meet different usage scenarios. Certain social and economic benefits.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention.

图1为本发明提出的一种基于机器视觉的智能输液报警方法的整体流程图;Fig. 1 is the overall flowchart of a kind of intelligent transfusion alarm method based on machine vision that the present invention proposes;

图2为本发明提出的一种基于机器视觉的智能输液报警系统的整体结构示意图。Fig. 2 is a schematic diagram of the overall structure of an intelligent infusion alarm system based on machine vision proposed by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention.

在本发明的描述中,需要理解的是,术语“上”、“下”、“前”、“后”、“左”、“右”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In describing the present invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", " The orientation or positional relationship indicated by "outside", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, so as to Specific orientation configurations and operations, therefore, are not to be construed as limitations on the invention.

在一个实施例中,参照图1,提供了一种基于机器视觉的智能输液报警方法,包括如下步骤:In one embodiment, with reference to Fig. 1, a kind of intelligent infusion warning method based on machine vision is provided, comprising the steps:

1)基于现有输液场景内的监控摄像头采集在第一输液时间点的病患输液容器图像,并基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;1) Based on the monitoring camera in the existing infusion scene, the image of the patient's infusion container at the first infusion time point is collected, and the image of the infusion container is recognized based on the first machine learning model to obtain the volume data of the infusion container;

2)在获取输液容器体积数据后,基于所述监控摄像头采集滴壶图像,并基于第二机器学习模型进行识别,以获取滴管的直径数据;2) After obtaining the volume data of the infusion container, collect the image of the drip pot based on the monitoring camera, and identify it based on the second machine learning model to obtain the diameter data of the dropper;

具体的,所述第一机器学习模型和所述的第二机器学习模型均基于输液设备数据库中经过标注后的基本数据作为训练集生成,所述输液设备数据库中的基本数据至少包含有不同类型输液容器的体积数据以及不同类型滴管的直径数据。Specifically, both the first machine learning model and the second machine learning model are generated based on the labeled basic data in the infusion equipment database as a training set, and the basic data in the infusion equipment database at least contain different types of Volume data for infusion containers and diameter data for different types of droppers.

具体的,所述第一机器学习模型和所述的第二机器学习模型具体为逻辑回归、随机森林、K近邻、支持向量机、线性判别分析、朴素贝叶斯、神经网络中的至少一种;Specifically, the first machine learning model and the second machine learning model are specifically at least one of logistic regression, random forest, K nearest neighbor, support vector machine, linear discriminant analysis, naive Bayesian, and neural network ;

在这需要说明一点的是:所述第一机器学习模型和所述的第二机器学习模型可以为相同模型,也可以为不同模型,凡是能够实现本技术点的模型,都可进行应用,本发明对其不做具体限制。What needs to be explained here is: the first machine learning model and the second machine learning model can be the same model, or different models, and any model that can realize this technical point can be applied. The invention is not specifically limited thereto.

3)在获取滴管的直径数据后,利用所述监控摄像头采集在第二输液时间点的滴壶视频,并基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据,所述预设时间区间为1分钟;3) After obtaining the diameter data of the dropper, use the monitoring camera to collect the video of the dripping pot at the second infusion time point, and perform video processing on it based on the preset time interval to calculate the first dripping speed in the dripping pot data, the preset time interval is 1 minute;

具体的,所述基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据,包括:Specifically, the video processing is performed based on the preset time interval to calculate the first dripping speed data in the dripping pot, including:

将采集到的所述滴壶视频进行时间线区分,提取其中1分钟视频;Carrying out the timeline distinction of the collected drip pot video, and extracting the 1-minute video;

将所述的1分钟视频进行关键帧标注,即将输液滴第一次落入液面作为第一关键帧,将输液滴第二次落入液面作为第二关键帧,依次循环直至获取到1分钟内所有关键帧,根据所述关键帧得到滴壶内的第一滴速数据。Mark the key frame of the 1-minute video, that is, the first key frame when the infusion drop falls into the liquid surface for the first time, and the second key frame when the infusion drop falls into the liquid surface for the second time, and cycle in turn until 1 All keyframes in minutes, according to the keyframes, the first dripping speed data in the dripping pot is obtained.

4)基于所述直径数据对所述第一滴速数据进行修正,并计算所述第二输液时间点与第一输液时间点的时间差值,同时将其与修正后的所述第一滴速数据进行计算,以获取误差数据;4) Correct the first drop rate data based on the diameter data, and calculate the time difference between the second infusion time point and the first infusion time point, and compare it with the corrected first drop rate data Calculate the speed data to obtain the error data;

具体的,所述误差数据是指第二输液时间点与第一输液时间点的时间差值内已输入人体的输液体积数据,即从病患开始输入时间点到数据处理完成后这段时间内已完成的输液量。Specifically, the error data refers to the infusion volume data that has been input into the human body within the time difference between the second infusion time point and the first infusion time point, that is, the time period from when the patient starts to input the time point to when the data processing is completed The amount of infusion completed.

具体的,所述基于所述直径数据对所述第一滴速数据进行修正,并计算所述第二输液时间点与第一输液时间点的时间差值,同时将其与修正后的所述第一滴速数据进行计算,以获取误差数据,包括:Specifically, the first drip rate data is corrected based on the diameter data, and the time difference between the second infusion time point and the first infusion time point is calculated, and it is compared with the corrected The first drop speed data is calculated to obtain error data, including:

首先根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据;Firstly, according to the diameter data, that is, the first drop speed data is corrected according to the required drop volume of 1 ml of droppers with different diameters, that is, the corrected first drop speed data is obtained;

然后,将所述第二输液时间点减去所述第一输液时间点,得到时间差值;Then, subtracting the first infusion time point from the second infusion time point to obtain a time difference;

最后,将修正后的所述第一滴速数据与所述时间差值做积,即得到误差数据,其公式如下:Finally, the error data is obtained by multiplying the corrected first drop speed data and the time difference, and the formula is as follows:

SW=VX×tc S W =V X ×t c

式中:SW表示误差数据;VX表示修正后的第一滴速数据;tc表示时间差值。In the formula: S W represents the error data; V X represents the corrected first drop speed data; t c represents the time difference.

5)将所述输液容器体积数据减去误差数据,以获取当前输液容量数据,同时根据修正后的第一滴速数据计算剩余输液时间;5) Subtract the error data from the volume data of the infusion container to obtain the current infusion volume data, and calculate the remaining infusion time according to the corrected first drop rate data;

具体的,所述剩余输液时间的计算公式如下:Specifically, the formula for calculating the remaining infusion time is as follows:

Figure BDA0003736814350000101
Figure BDA0003736814350000101

式中:TZ表示剩余输液时间;SZ表示输液容器体积数据;SW表示误差数据;VX表示修正后的第一滴速数据。In the formula: T Z represents the remaining infusion time; S Z represents the volume data of the infusion container; S W represents the error data; V X represents the corrected first drip speed data.

6)实时判断所述剩余输液时间是否满足预设预警时间范围,若满足则进行一次预警;6) Judging in real time whether the remaining infusion time satisfies the preset early warning time range, and if so, an early warning is given;

7)当所述剩余输液时间满足预设预警时间范围时,利用所述监控摄像头实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出,则进行二次紧急报警。7) When the remaining infusion time satisfies the preset warning time range, use the monitoring camera to collect the video of the dripping pot for a second time in real time, calculate the second dripping speed data in the dripping pot, and judge the second dripping rate at the same time. Whether the ratio of the speed data to the first drop speed data exceeds the preset ratio, if it exceeds, a second emergency alarm will be issued.

在一个实施例中,参照图2,提供了一种基于机器视觉的智能输液报警系统,包括:In one embodiment, referring to Fig. 2, a kind of intelligent transfusion alarm system based on machine vision is provided, comprising:

第一采集模块用于采集在第一输液时间点的病患输液容器图像;The first collection module is used to collect the image of the patient's infusion container at the first infusion time point;

第一识别模块用于基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;The first identification module is used to identify the image of the infusion container based on the first machine learning model, so as to obtain volume data of the infusion container;

第二采集模块用于在获取输液容器体积数据后,采集滴壶图像;The second collection module is used to collect the image of the dripping pot after obtaining the volume data of the infusion container;

第二识别模块用于基于第二机器学习模型对所述滴壶图像进行识别,以获取滴管的直径数据;The second identification module is used to identify the image of the dripping pot based on the second machine learning model, so as to obtain the diameter data of the dropper;

第三采集模块用于在获取滴管的直径数据后,采集在第二输液时间点的滴壶视频;The third collection module is used to collect the video of the dripping pot at the second infusion time point after obtaining the diameter data of the dropper;

第一计算处理模块用于基于预设时间区间对所述滴壶视频进行视频处理,以计算滴壶内的第一滴速数据;The first calculation processing module is used to perform video processing on the dripping pot video based on a preset time interval, so as to calculate the first dripping speed data in the dripping pot;

第二计算处理模块用于计算所述第二输液时间点与第一输液时间点的时间差值,并计算获取误差数据;The second calculation processing module is used to calculate the time difference between the second infusion time point and the first infusion time point, and calculate and obtain error data;

第三计算处理模块用于将所述输液容器体积数据减去误差数据,以获取当前输液容量数据,并计算剩余输液时间;The third calculation processing module is used to subtract the error data from the volume data of the infusion container to obtain the current infusion volume data, and calculate the remaining infusion time;

输液预警模块用于根据所述剩余输液时间实时判断其是否满足预设预警时间范围,若满足则进行一次预警,同时显示剩余输液时间;The infusion early warning module is used to judge in real time according to the remaining infusion time whether it satisfies the preset early warning time range, and if it is satisfied, an early warning will be performed, and the remaining infusion time will be displayed at the same time;

紧急报警模块用于当所述剩余输液时间满足预设预警时间范围时,实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出,则进行二次紧急报警。The emergency alarm module is used to collect the video of the dripping pot for the second time in real time when the remaining infusion time meets the preset warning time range, calculate the second dripping speed data in the dripping pot, and judge the second dripping speed data at the same time Whether the ratio with the first drop speed data exceeds the preset ratio, and if it exceeds, a second emergency alarm will be issued.

所述第二计算处理模块包括滴速修正单元,所述滴速修正单元用于根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据。The second calculation and processing module includes a drop speed correction unit, and the drop speed correction unit is used to perform a calculation on the first drop speed data according to the diameter data, that is, according to the drop volume required for 1 ml of droppers with different diameters. Correction, that is, to obtain the corrected first drop speed data.

在一个实施例中,将结合具体案例对本申请提出的一种基于机器视觉的智能输液报警方法及系统进行进一步地详细解释;In one embodiment, a machine vision-based intelligent infusion alarm method and system proposed in this application will be further explained in detail in combination with specific cases;

在本实施例中,假设一名患者在18时00分15秒进行输液,此时通过输液场景内的监控摄像头采集在第一输液时间点(假设该第一输液时间点为18时01分00秒)的病患输液容器图像并基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;In this embodiment, it is assumed that a patient undergoes an infusion at 18:00:15, and at this time, the first infusion time point is collected by the monitoring camera in the infusion scene (assuming that the first infusion time point is 18:01:00 seconds) of the patient's infusion container image and identify the infusion container image based on the first machine learning model to obtain the volume data of the infusion container;

在本实施例中,假设识别出所述输液容器图像为输液瓶类型,且该输液瓶的输液容器体积数据为200毫升;In this embodiment, it is assumed that the infusion container image is identified as an infusion bottle type, and the infusion container volume data of the infusion bottle is 200 ml;

之后,再基于所述监控摄像头采集滴壶图像,并基于第二机器学习模型进行识别,以获取滴管的直径数据;Afterwards, collect the image of the dripping pot based on the monitoring camera, and identify it based on the second machine learning model to obtain the diameter data of the dripper;

在本实施例中,假设滴管的直径数据为0.5厘米,且对应每滴滴液为0.5毫升,也就是说平均每两滴滴液为1毫升;In this embodiment, it is assumed that the diameter data of the dropper is 0.5 cm, and each drop of liquid is 0.5 ml, that is to say, every two drops of liquid is 1 ml on average;

在这需要说明一点的是:滴管的直径数据和对应每滴滴液的滴量并不一定和现有输液设备完全一样,在这仅其举例说明作用;What needs to be explained here is: the diameter data of the dropper and the drop volume corresponding to each drop of liquid are not necessarily exactly the same as the existing infusion equipment, and it is only used as an example here;

在获取滴管的直径数据后,再采集在第二输液时间点(假设该第一输液时间点为18时05分00秒)的滴壶视频,并基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据;After obtaining the diameter data of the dropper, collect the video of the dripping pot at the second infusion time point (assuming that the first infusion time point is 18:05:00 seconds), and perform video processing on it based on the preset time interval, To calculate the first dripping speed data in the dripping pot;

在本实施例中,假设1分钟内滴壶内的第一滴速数据为30滴/分钟;In this embodiment, it is assumed that the first drop speed data in the drip pot is 30 drops/minute within 1 minute;

接着,根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据为15滴/分钟;然后,将所述第二输液时间点减去所述第一输液时间点,得到时间差值;最后,通过公式SW=VX×tc将修正后的所述第一滴速数据与所述时间差值做积,即得到误差数据为60毫升;Then, according to the diameter data, that is, the first drop speed data is corrected according to the required drop volume of 1 ml of droppers with different diameters, that is, the first drop speed data after correction is 15 drops/minute; then , subtract the first infusion time point from the second infusion time point to obtain a time difference; finally, use the formula S W =V X ×t c to combine the corrected first infusion rate data with the When the time difference is multiplied, the error data obtained is 60 milliliters;

然后,将所述输液容器体积数据减去误差数据,即200-60=140毫升;Then, subtract the error data from the volume data of the infusion container, that is, 200-60=140 milliliters;

接着,根据公式

Figure BDA0003736814350000131
计算剩余输液时间为140÷15≈9.3分钟;Then, according to the formula
Figure BDA0003736814350000131
Calculate the remaining infusion time as 140÷15≈9.3 minutes;

最后,实时判断所述剩余输液时间是否满足预设预警时间范围,假设预设预警时间范围为1分钟,则当剩余输液时间小于1分钟是系统就会进行预警;Finally, it is judged in real time whether the remaining infusion time satisfies the preset early warning time range. Assuming that the preset early warning time range is 1 minute, the system will give an early warning when the remaining infusion time is less than 1 minute;

同时当所述剩余输液时间满足预设预警时间范围时,所述监控摄像头会实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出;At the same time, when the remaining infusion time satisfies the preset warning time range, the monitoring camera will capture the video of the dripping pot twice in real time, calculate the second dripping speed data in the dripping pot, and judge the second dripping speed at the same time Whether the ratio of the data to the first drop speed data exceeds the preset ratio, if so;

在本实施例中,假设第二滴速数据为25滴/分钟,则第二滴速数据与第一滴速数据之比25∶30,即为5比6;In this embodiment, assuming that the second drip speed data is 25 drops/minute, the ratio of the second drip speed data to the first drip speed data is 25:30, which is 5 to 6;

在本实施例中,假设预设比为1,当第二滴速数据为25滴/分钟时,则小于预设比,故进行二次紧急报警。In this embodiment, assuming that the preset ratio is 1, when the second drip speed data is 25 drops/minute, it is less than the preset ratio, so a second emergency alarm is issued.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, any person familiar with the technical field within the technical scope disclosed in the present invention, according to the technical solution of the present invention Any equivalent replacement or change of the inventive concepts thereof shall fall within the protection scope of the present invention.

Claims (9)

1.一种基于机器视觉的智能输液报警方法,其特征在于,包括如下步骤:1. an intelligent transfusion alarm method based on machine vision, is characterized in that, comprises the steps: 1)基于现有输液场景内的监控摄像头采集在第一输液时间点的病患输液容器图像,并基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;1) Based on the monitoring camera in the existing infusion scene, the image of the patient's infusion container at the first infusion time point is collected, and the image of the infusion container is recognized based on the first machine learning model to obtain the volume data of the infusion container; 2)在获取输液容器体积数据后,基于所述监控摄像头采集滴壶图像,并基于第二机器学习模型进行识别,以获取滴管的直径数据;2) After obtaining the volume data of the infusion container, collect the image of the drip pot based on the monitoring camera, and identify it based on the second machine learning model to obtain the diameter data of the dropper; 3)在获取滴管的直径数据后,利用所述监控摄像头采集在第二输液时间点的滴壶视频,并基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据,所述预设时间区间为1分钟;3) After obtaining the diameter data of the dropper, use the monitoring camera to collect the video of the dripping pot at the second infusion time point, and perform video processing on it based on the preset time interval to calculate the first dripping speed in the dripping pot data, the preset time interval is 1 minute; 4)基于所述直径数据对所述第一滴速数据进行修正,并计算所述第二输液时间点与第一输液时间点的时间差值,同时将其与修正后的所述第一滴速数据进行计算,以获取误差数据;4) Correct the first drop rate data based on the diameter data, and calculate the time difference between the second infusion time point and the first infusion time point, and compare it with the corrected first drop rate data Calculate the speed data to obtain the error data; 5)将所述输液容器体积数据减去误差数据,以获取当前输液容量数据,同时根据修正后的第一滴速数据计算剩余输液时间;5) Subtract the error data from the volume data of the infusion container to obtain the current infusion volume data, and calculate the remaining infusion time according to the corrected first drop rate data; 6)实时判断所述剩余输液时间是否满足预设预警时间范围,若满足则进行一次预警;6) Judging in real time whether the remaining infusion time satisfies the preset early warning time range, and if so, an early warning is given; 7)当所述剩余输液时间满足预设预警时间范围时,利用所述监控摄像头实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出,则进行二次紧急报警。7) When the remaining infusion time satisfies the preset warning time range, use the monitoring camera to collect the video of the dripping pot for a second time in real time, calculate the second dripping speed data in the dripping pot, and judge the second dripping rate at the same time. Whether the ratio of the speed data to the first drop speed data exceeds the preset ratio, if it exceeds, a second emergency alarm will be issued. 2.根据权利要求1所述的一种基于机器视觉的智能输液报警方法,其特征在于,所述第一机器学习模型和所述的第二机器学习模型均基于输液设备数据库中经过标注后的基本数据作为训练集生成,所述输液设备数据库中的基本数据至少包含有不同类型输液容器的体积数据以及不同类型滴管的直径数据。2. A kind of intelligent infusion alarm method based on machine vision according to claim 1, is characterized in that, described first machine learning model and described second machine learning model are all based on the infusion equipment database after marking The basic data is generated as a training set, and the basic data in the infusion equipment database at least include volume data of different types of infusion container and diameter data of different types of droppers. 3.根据权利要求1所述的一种基于机器视觉的智能输液报警方法,其特征在于,所述第一机器学习模型和所述的第二机器学习模型具体为逻辑回归、随机森林、K近邻、支持向量机、线性判别分析、朴素贝叶斯、神经网络中的至少一种。3. A kind of intelligent infusion alarm method based on machine vision according to claim 1, is characterized in that, described first machine learning model and described second machine learning model are specifically logistic regression, random forest, K nearest neighbor , support vector machine, linear discriminant analysis, naive Bayesian, neural network at least one. 4.根据权利要求1所述的一种基于机器视觉的智能输液报警方法,其特征在于,所述基于预设时间区间对其进行视频处理,以计算滴壶内的第一滴速数据,包括:4. A kind of intelligent transfusion alarm method based on machine vision according to claim 1, is characterized in that, described based on preset time interval it is carried out video processing, to calculate the first drop speed data in drip pot, comprise : 将采集到的所述滴壶视频进行时间线区分,提取其中1分钟视频;Carrying out the timeline distinction of the collected drip pot video, and extracting the 1-minute video; 将所述的1分钟视频进行关键帧标注,即将输液滴第一次落入液面作为第一关键帧,将输液滴第二次落入液面作为第二关键帧,依次循环直至获取到1分钟内所有关键帧,根据所述关键帧得到滴壶内的第一滴速数据。Mark the key frame of the 1-minute video, that is, the first key frame when the infusion drop falls into the liquid surface for the first time, and the second key frame when the infusion drop falls into the liquid surface for the second time, and cycle in turn until 1 All keyframes in minutes, according to the keyframes, the first dripping speed data in the dripping pot is obtained. 5.根据权利要求1所述的一种基于机器视觉的智能输液报警方法,其特征在于,所述误差数据是指第二输液时间点与第一输液时间点的时间差值内已输入人体的输液体积数据,即从病患开始输入时间点到数据处理完成后这段时间内已完成的输液量。5. A kind of intelligent infusion alarm method based on machine vision according to claim 1, characterized in that, the error data refers to the time difference between the second infusion time point and the first infusion time point that has been input into the human body. Infusion volume data, that is, the infusion volume completed during the period from the time point when the patient starts inputting to the completion of data processing. 6.根据权利要求1所述的一种基于机器视觉的智能输液报警方法,其特征在于,所述基于所述直径数据对所述第一滴速数据进行修正,并计算所述第二输液时间点与第一输液时间点的时间差值,同时将其与修正后的所述第一滴速数据进行计算,以获取误差数据,包括:6. A kind of intelligent infusion alarm method based on machine vision according to claim 1, characterized in that, the first drip speed data is corrected based on the diameter data, and the second infusion time is calculated Point and the time difference of the first infusion time point, at the same time, it is calculated with the corrected first drop rate data to obtain error data, including: 首先根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据;Firstly, according to the diameter data, that is, the first drop speed data is corrected according to the required drop volume of 1 ml of droppers with different diameters, that is, the corrected first drop speed data is obtained; 然后,将所述第二输液时间点减去所述第一输液时间点,得到时间差值;Then, subtracting the first infusion time point from the second infusion time point to obtain a time difference; 最后,将修正后的所述第一滴速数据与所述时间差值做积,即得到误差数据,其公式如下:Finally, the error data is obtained by multiplying the corrected first drop speed data and the time difference, and the formula is as follows: SW=VX×tc S W =V X ×t c 式中:SW表示误差数据;VX表示修正后的第一滴速数据;tc表示时间差值。In the formula: S W represents the error data; V X represents the corrected first drop speed data; t c represents the time difference. 7.根据权利要求1所述的一种基于机器视觉的智能输液报警方法,其特征在于,所述剩余输液时间的计算公式如下:7. A kind of intelligent infusion alarm method based on machine vision according to claim 1, is characterized in that, the calculation formula of described remaining infusion time is as follows:
Figure FDA0003736814340000031
Figure FDA0003736814340000031
式中:TZ表示剩余输液时间;SZ表示输液容器体积数据;SW表示误差数据;VX表示修正后的第一滴速数据。In the formula: T Z represents the remaining infusion time; S Z represents the volume data of the infusion container; S W represents the error data; V X represents the corrected first drip speed data.
8.一种基于机器视觉的智能输液报警系统,其特征在于,包括:8. An intelligent transfusion alarm system based on machine vision, characterized in that it comprises: 第一采集模块用于采集在第一输液时间点的病患输液容器图像;The first collection module is used to collect the image of the patient's infusion container at the first infusion time point; 第一识别模块用于基于第一机器学习模型对所述输液容器图像进行识别,以获取输液容器体积数据;The first identification module is used to identify the image of the infusion container based on the first machine learning model, so as to obtain volume data of the infusion container; 第二采集模块用于在获取输液容器体积数据后,采集滴壶图像;The second collection module is used to collect the image of the dripping pot after obtaining the volume data of the infusion container; 第二识别模块用于基于第二机器学习模型对所述滴壶图像进行识别,以获取滴管的直径数据;The second identification module is used to identify the image of the dripping pot based on the second machine learning model, so as to obtain the diameter data of the dropper; 第三采集模块用于在获取滴管的直径数据后,采集在第二输液时间点的滴壶视频;The third collection module is used to collect the video of the dripping pot at the second infusion time point after obtaining the diameter data of the dropper; 第一计算处理模块用于基于预设时间区间对所述滴壶视频进行视频处理,以计算滴壶内的第一滴速数据;The first calculation processing module is used to perform video processing on the dripping pot video based on a preset time interval, so as to calculate the first dripping speed data in the dripping pot; 第二计算处理模块用于计算所述第二输液时间点与第一输液时间点的时间差值,并计算获取误差数据;The second calculation processing module is used to calculate the time difference between the second infusion time point and the first infusion time point, and calculate and obtain error data; 第三计算处理模块用于将所述输液容器体积数据减去误差数据,以获取当前输液容量数据,并计算剩余输液时间;The third calculation processing module is used to subtract the error data from the volume data of the infusion container to obtain the current infusion volume data, and calculate the remaining infusion time; 输液预警模块用于根据所述剩余输液时间实时判断其是否满足预设预警时间范围,若满足则进行一次预警,同时显示剩余输液时间;The infusion early warning module is used to judge in real time according to the remaining infusion time whether it satisfies the preset early warning time range, and if it is satisfied, an early warning will be performed, and the remaining infusion time will be displayed at the same time; 紧急报警模块用于当所述剩余输液时间满足预设预警时间范围时,实时二次采集所述滴壶视频,并计算滴壶内的第二滴速数据,同时判断所述第二滴速数据与第一滴速数据之比是否超出预设比,若超出,则进行二次紧急报警。The emergency alarm module is used to collect the video of the dripping pot for the second time in real time when the remaining infusion time meets the preset warning time range, calculate the second dripping speed data in the dripping pot, and judge the second dripping speed data at the same time Whether the ratio with the first drop speed data exceeds the preset ratio, and if it exceeds, a second emergency alarm will be issued. 9.根据权利要求8所述的一种基于机器视觉的智能输液报警系统,其特征在于,所述第二计算处理模块包括滴速修正单元,所述滴速修正单元用于根据所述直径数据,即根据不同直径滴管1毫升所需的液滴量对所述第一滴速数据进行修正,即得到修正后的第一滴速数据。9. A kind of intelligent transfusion alarm system based on machine vision according to claim 8, characterized in that, the second calculation processing module includes a drip speed correction unit, and the drip speed correction unit is used to , that is, the first drop speed data is corrected according to the drop volume required for 1 ml of droppers with different diameters, that is, the corrected first drop speed data is obtained.
CN202210805180.5A 2022-07-08 2022-07-08 Intelligent infusion alarm method and system based on machine vision Pending CN115252962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210805180.5A CN115252962A (en) 2022-07-08 2022-07-08 Intelligent infusion alarm method and system based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210805180.5A CN115252962A (en) 2022-07-08 2022-07-08 Intelligent infusion alarm method and system based on machine vision

Publications (1)

Publication Number Publication Date
CN115252962A true CN115252962A (en) 2022-11-01

Family

ID=83765513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210805180.5A Pending CN115252962A (en) 2022-07-08 2022-07-08 Intelligent infusion alarm method and system based on machine vision

Country Status (1)

Country Link
CN (1) CN115252962A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116421824A (en) * 2023-04-11 2023-07-14 天津医科大学总医院 Infusion monitoring method and system
CN117990938A (en) * 2024-04-03 2024-05-07 西安交通大学 A method and system for measuring liquid drip rate and volume

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116421824A (en) * 2023-04-11 2023-07-14 天津医科大学总医院 Infusion monitoring method and system
CN116421824B (en) * 2023-04-11 2024-01-19 天津医科大学总医院 An infusion monitoring method and system
CN117990938A (en) * 2024-04-03 2024-05-07 西安交通大学 A method and system for measuring liquid drip rate and volume

Similar Documents

Publication Publication Date Title
CN115252962A (en) Intelligent infusion alarm method and system based on machine vision
CN201658699U (en) Intelligent infusion management system
CN105771033B (en) Wireless infusion monitoring system and monitoring method based on Multi-sensor Fusion
US20110191121A1 (en) Digital assistant appliance for assisting an operator in the manual preparation of a liquid pharmaceutical composition in a medical instrument for administering the composition to a patient, and corresponding operating method
CN104707214B (en) Infusion weighing monitoring method and system
CN109157711A (en) A kind of intelligent medical warning device and control method with infusion error correction
TW201731537A (en) Method, system and equipment in monitoring transporting liquid
CN104225721A (en) Medical non-contacting drop monitoring system
CN113663156A (en) Intelligent infusion nursing system based on multi-sensor fusion technology
CN115458120A (en) Medication monitoring system
CN114209925A (en) Intelligent non-gravity closed-loop closed infusion management system
CN215194492U (en) Intelligent infusion system
CN106137157B (en) One kind transfusion adverse reaction monitoring warning device
CN216855425U (en) Intelligent non-gravity closed loop closed type transfusion management system
CN111150903A (en) Intelligent infusion alarm control system and use method thereof
CN116688290A (en) A control method and monitoring system based on a medical bracelet
CN108057139A (en) It is a kind of that there is the transfusion system of automatic medicine-change
CN116153458A (en) Active monitoring and early warning system and method for drug-induced diseases
CN113663167B (en) Intelligent transfusion alarm device based on multiple sensors and monitoring method
CN115732067A (en) A computer vision-based bedside transfusion entity checking system and method
CN117323499B (en) Infusion speed alarm and infusion speed monitoring alarm system thereof
CN112156276A (en) High-hanging monitoring and early-warning device for injection and injection container liquid level monitoring method
CN113332529A (en) Accurate, safe and convenient infusion dressing change method
CN112426587A (en) Method and device for monitoring infusion state and storage medium
CN114224038A (en) A kind of remote wristband first aid device and method

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