[go: up one dir, main page]

CN112285368A - Sample conveying congestion detection system based on image recognition and counting - Google Patents

Sample conveying congestion detection system based on image recognition and counting Download PDF

Info

Publication number
CN112285368A
CN112285368A CN202011293077.4A CN202011293077A CN112285368A CN 112285368 A CN112285368 A CN 112285368A CN 202011293077 A CN202011293077 A CN 202011293077A CN 112285368 A CN112285368 A CN 112285368A
Authority
CN
China
Prior art keywords
image data
server
collection terminal
main control
counting
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
CN202011293077.4A
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.)
Nanjing Intelligence Software Co ltd
Northern Jiangsu Peoples Hospital
Original Assignee
Nanjing Intelligence Software Co ltd
Northern Jiangsu Peoples Hospital
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 Nanjing Intelligence Software Co ltd, Northern Jiangsu Peoples Hospital filed Critical Nanjing Intelligence Software Co ltd
Priority to CN202011293077.4A priority Critical patent/CN112285368A/en
Publication of CN112285368A publication Critical patent/CN112285368A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • G01N35/00594Quality control, including calibration or testing of components of the analyser
    • G01N35/00712Automatic status testing, e.g. at start-up or periodic
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • G01N35/00722Communications; Identification
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/02Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor using a plurality of sample containers moved by a conveyor system past one or more treatment or analysis stations
    • G01N35/04Details of the conveyor system
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • G01N35/00722Communications; Identification
    • G01N2035/00891Displaying information to the operator
    • G01N2035/009Displaying information to the operator alarms, e.g. audible

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Investigating Or Analysing Biological Materials (AREA)

Abstract

本发明公开了一种基于图像识别并计数的标本传送拥堵检测系统。该系统包括主控机,主控机连接有第一采集终端和第二采集终端,第一采集终端和第二采集终端分别设置在传送装置的入口侧和出口侧,在计时达到设定时间时,标本送出总数与计时开始时的标本放入总数不同,则服务器输出报警信号。本发明通过在传送装置的入口侧和出口侧设置第一采集终端和第二采集终端,以采集传送装置的入口侧和出口侧的图像数据,并基于图像识别技术识别出放入传送装置入口侧和出口侧的标本的数量,通过分别计数并比对放入标本的数量和送出标本的数量,实现检测标本是否在传送装置上出现拥堵,可用于对采血真空管传送检测,使用效果较佳。

Figure 202011293077

The invention discloses a sample transmission congestion detection system based on image recognition and counting. The system includes a main control machine. The main control machine is connected with a first collection terminal and a second collection terminal. The first collection terminal and the second collection terminal are respectively arranged on the inlet side and the outlet side of the conveying device. When the timing reaches the set time , the total number of samples sent out is different from the total number of samples put in when the timer starts, and the server outputs an alarm signal. In the present invention, the first collection terminal and the second collection terminal are arranged on the entrance side and the exit side of the conveying device to collect the image data of the entrance side and the exit side of the conveying device, and based on the image recognition technology, it is recognized that the entrance side of the conveying device is put into the conveying device. And the number of samples on the outlet side, by counting and comparing the number of samples put in and the number of samples sent out, it is possible to detect whether the samples are congested on the transmission device, which can be used to detect the transmission of blood collection vacuum tubes, and the use effect is better.

Figure 202011293077

Description

Sample conveying congestion detection system based on image recognition and counting
Technical Field
The invention relates to the technical field of specimen transport congestion detection, in particular to a specimen transport congestion detection system based on image recognition and counting.
Background
Conveyors are electrical devices used to transport articles to a destination location, and conveyor belts are more commonly used. When the conveying distance is long, a plurality of conveying devices are generally arranged end to end in sequence to form a complete conveying assembly line, and in the conveying process of articles on the conveying belt, the articles can be blocked on the conveying belt or between two conveying belts due to the fact that a certain conveying belt is stopped or the two conveying belts are not well matched. If the detection processing is not carried out in time, the article congestion is aggravated, and even the article is damaged.
Use the blood sampling chemical examination of hospital as an example, the blood sampling place generally all is not in same position with blood chemical examination, traditionally, need artifical some blood sampling vacuum tube transport to blood chemical examination branch of academic or vocational study of will drawing blood, afterwards, the conveyer to in the blood sampling pipe transportation has appeared, because the size of blood sampling vacuum tube is less, and transfer distance is far away, cause the stifled conveyer of blood sampling vacuum tube card or between two conveyer easily, if discovery processing in time not, probably can make the blood in the blood sampling vacuum tube place the time too for a long time and become invalid, can cause follow-up blood sampling vacuum tube of putting into conveyer to pile up on conveyer when serious, cause the blood sampling vacuum tube to be crowded explode or extrude conveyer, cause the blood sample to leak, not only cause the pollution, still need to draw blood sampling again and just can continue to carry out blood chemical examination.
Disclosure of Invention
The invention aims to provide a specimen conveying congestion detection system based on image recognition and counting, aiming at the defects in the prior art.
In order to achieve the above object, the present invention provides a specimen transport congestion detection system based on image recognition and counting, comprising a main control computer, the main control computer is connected with a first collecting terminal and a second collecting terminal, the first collecting terminal and the second collecting terminal are respectively arranged at an inlet side and an outlet side of a transport device, the main control computer controls the first collecting terminal and the second collecting terminal to collect image data at the inlet side and the outlet side of the transport device at set time intervals, the main control computer is connected with a server to transmit the image data at the inlet side and the outlet side of the transport device to the server, the server recognizes the number of specimens currently put into the transport device based on the image data collected by the first collecting terminal, and recognizes the number of specimens currently sent out by the transport device based on the image data collected by the second collecting terminal, the server performs specimen putting accumulation counting according to the number of specimens currently put into the transport device, and starting timing after each time of accumulated counting is finished, wherein the server carries out the sample sending accumulated counting according to the number of the samples sent by the conveying device at present, and if the total number of the sent samples is different from the total number of the put samples when the timing is started when the timing reaches the set time, the server outputs an alarm signal.
Further, the specimen comprises a blood collection vacuum tube, and the server identifies a tube cap of the blood collection vacuum tube based on a mobilent-ssd algorithm and counts based on the identified tube cap.
Furthermore, the server demarcates an identification area for the image data acquired by the first acquisition terminal and the second acquisition terminal, and calculates the time t required for the pipe cap to pass through the identification area:
t=S/v
wherein S is the length of the identification area in the moving direction of the conveying device, and v is the conveying speed of the conveying device;
the acquisition frequencies of the first acquisition terminal and the second acquisition terminal are set according to time t, so that the first acquisition terminal and the second acquisition terminal can acquire image data in a multi-frame identification area within the time t, and when the server identifies that the number of frames of the image data with the blood sampling vacuum tube in the identification area is more than a set proportion, the server judges that the current blood sampling vacuum tube passes through;
the server extracts image data with the blood sampling vacuum tube in the identification area and respectively acquires plane coordinates of the central point of the tube cap in the identification area, and the server calculates the transverse displacement X and the longitudinal displacement Y of the tube cap according to the plane coordinates of the central point of the tube cap in the two adjacent frames of image data with the blood sampling vacuum tube:
X=xn-xn+1
Y=yn-yn+1
wherein x isn,ynIs the coordinate value, x, of the center point of the cap in the identification region of the nth frame image datan+1,yn+1The coordinate value of the central point of the pipe cap of the (n + 1) th frame of image data in the identification area is shown, and n is a natural number greater than 0;
if X is less than delta X and Y is less than delta Y, the server judges that the blood sampling vacuum tubes in the two frames of image data are the same, otherwise, the blood sampling vacuum tubes are different, wherein delta X is the maximum transverse displacement between the two frames in the set identification area, and delta Y is the maximum longitudinal displacement between the two frames in the set identification area.
Further, the main control machine comprises a first main control machine and a second main control machine, the first main control machine is connected with the first acquisition terminal, and the second main control machine is connected with the second acquisition terminal.
Further, the server is connected with a display, and the display is used for displaying the total number of the samples to be put in, the total number of the samples to be sent out and congestion events.
Furthermore, the GPIO interface of the industrial personal computer is connected with a control relay, and the control relay is connected with a control circuit of the transmission device so as to control the transmission device to stop according to the alarm signal output by the server.
Furthermore, the control relay is also connected with an audible and visual alarm.
Further, the main control computer comprises a raspberry host and a banana host.
Further, the conveying device comprises a plurality of belt conveying devices.
Has the advantages that: the invention sets the first collecting terminal and the second collecting terminal at the inlet side and the outlet side of the conveying device to collect the image data at the inlet side and the outlet side of the conveying device, identifies the number of the samples placed in the inlet side and the outlet side of the conveying device based on an image identification technology, detects whether the samples are jammed on the conveying device by respectively counting and comparing the number of the placed samples and the number of the sent samples, can be used for conveying and detecting the blood sampling vacuum tubes, identifies by marking an identification area, shoots multi-frame image data when the vacuum blood sampling tubes pass through the identification area, and judges whether the blood sampling vacuum tubes are the same blood sampling vacuum tube or not by the displacement of the tube cap, thereby avoiding repeated counting, and greatly improving the counting precision of the blood sampling vacuum tubes and the precision of jam detection.
Drawings
FIG. 1 is a schematic diagram of a specimen transport congestion detection system based on image recognition and counting according to an embodiment of the present invention;
FIG. 2 is a schematic view of a display interface of a display according to an embodiment of the present invention;
FIG. 3 is a diagram of a first frame of image data according to an embodiment of the invention;
FIG. 4 is a diagram of a second frame of image data according to an embodiment of the present invention;
fig. 5 is a schematic diagram of third image data according to the embodiment of the present invention.
Detailed Description
The present invention will be further illustrated with reference to the accompanying drawings and specific examples, which are carried out on the premise of the technical solution of the present invention, and it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
As shown in fig. 1 and 2, an embodiment of the present invention provides a specimen transportation congestion detection system based on image recognition and counting, which includes a main control computer, where the main control computer preferably adopts a raspberry host and a banana host. The main control machine is connected with a first acquisition terminal 1 and a second acquisition terminal 2, and specifically, the main control machine and the first acquisition terminal 1 and the second acquisition terminal 2 can be connected through a USB interface or a CSI interface. The first collecting terminal 1 is provided at an inlet side of the conveyor 4 to collect image data at the inlet side of the conveyor 4, and the second collecting terminal 2 is provided at an outlet side of the conveyor 4 to collect image data at the outlet side of the conveyor 4. The first acquisition terminal 1 and the second acquisition terminal 2 acquire image data, and the main control computer controls acquisition at set time intervals, specifically, the duration of the set time intervals can be related to the transmission speed of the transmission device 4 and the coverage area of the acquired image data, and the coverage area of the image data can be just continuous to be the best in the setting mode, so that the phenomenon that the acquired areas are overlapped or have area intervals to cause inaccurate detection is avoided. In order to ensure detection accuracy, the camera pixels of the first capture terminal 1 and the second capture terminal 2 are preferably 500 ten thousand or more. The main control computer is connected with a server 5, the main control computer sends image data of an inlet side and an outlet side of a conveying device 4 acquired by a first acquisition terminal 1 and a second acquisition terminal 2 respectively to the server 5, the server 5 identifies the number of specimens 6 currently put into the conveying device 4 based on the image data acquired by the first acquisition terminal 1, and identifies the number of the specimens 6 currently sent out by the conveying device 4 based on the image data acquired by the second acquisition terminal 2, particularly, the server 5 identifies the number of the specimens 6 in the image data and completes the identification based on an image identification technology. The server 5 carries out the sample input accumulation counting according to the number of the samples 6 currently put into the conveying device 4, the server 5 starts timing after the accumulation counting is finished each time, the server 5 carries out the sample output accumulation counting according to the number of the samples currently sent out by the conveying device, and if the total number of the samples 6 sent out is different from the total number of the samples 6 put in when the timing is started when the timing reaches the set time, the server 5 outputs an alarm signal.
The set time is longer than the time from the time when the specimen 6 is placed in the transfer device 4 to the time when the specimen 6 is sent out from the transfer device 4, and if the time from the time when the specimen 6 is placed in the transfer device 4 to the time when the specimen 6 is sent out from the transfer device 4 is 2 minutes, the set time needs to be set to 2 minutes or longer, for example, 2.5 minutes.
For example, 70 samples 6 are already put in a certain time, three times of samples 6 are put in the subsequent time, the server 5 detects that 2 samples 6 are put in for the first time, the total number of the samples put in is 72 by carrying out the first accumulation counting, and then the first putting timing is started; the server 5 detects that 1 sample 6 is put in for the second time, carries out the second accumulation counting to obtain that the total number of the sample 6 put in is 73, and then starts the second time putting timing; the server 5 detects that 2 samples 6 are put into the server for the third time, performs the third cumulative counting to obtain that the total number of the samples 6 is 75, and then starts the third time putting timing. If the specimen 6 is not jammed on the conveying device 4, the server 5 can detect that the specimen 6 is respectively sent out from the conveying device 4 through the image data acquired by the second acquisition terminal 2 before the three times of timing respectively reach the set time, and if the specimen 6 put in at a certain time is jammed on the conveying device 4, the server 6 can compare the total number of sent out specimens 6 with the total number of put in specimens 6 at the beginning of timing to detect that the specimen 6 is jammed, and then the attendant is reminded through an alarm signal to avoid further serious consequences.
The specimen 6 of the present embodiment includes a blood collection vacuum tube. Because the tube body of the blood sampling vacuum tube is made of transparent materials, when the server 5 identifies the image data, whether the image data has the blood sampling vacuum tubes and the number of the blood sampling vacuum tubes or not can be judged through the tube caps of the blood sampling vacuum tubes. The server 5 may identify the cap 9 of the blood collection vacuum tube based on the mobilent-ssd algorithm and count based on the identified cap 9. By training and optimizing the mobilent-ssd, all the tube caps 9 of the blood sampling vacuum tubes in one picture can be identified, and the identification accuracy can reach more than 99%. The existing conveying device 4 for conveying blood sampling vacuum tubes generally adopts a plurality of belt conveying devices, the belt conveying devices are arranged in close proximity according to the transmission distance and the position, and the conveying between different floors can be realized, and the improvement of the conveying device 4 is not related, so that the description is omitted. It should be noted that the first collecting terminal 1 and the second collecting terminal 2 may also be disposed at the inlet side and the outlet side of each belt conveyor, so as to divide the whole conveyor 4 into a plurality of areas for detection, and avoid that the jam event and the jam position cannot be found at the first time when the distance of the whole conveyor 4 is too long and the conveying time is long.
In order to improve the accuracy of vacuum blood collection tube counting, the server 5 defines an identification area 10 for the image data collected by the first collection terminal 1 and the second collection terminal 2, and calculates the time t required for the tube cap 9 to pass through the identification area 10:
t=S/v
wherein S is the length of the identification area 10 in the direction of movement of the conveyor, and v is the transport speed of the conveyor 4;
the acquisition frequencies of the first acquisition terminal 1 and the second acquisition terminal 2 are set according to time t, so that the first acquisition terminal 1 and the second acquisition terminal 2 can acquire image data in a multi-frame identification region 10 within the time t, and when the server 5 identifies that the number of frames of the image data with the blood sampling vacuum tube in the identification region 10 is more than a set proportion, the server judges that the current blood sampling vacuum tube passes through; the image data in the identification area 10 acquired by the first acquisition terminal 1 and the second acquisition terminal 2 within the time t is preferably 3 or 5 frames, the set proportion is preferably fifty percent, taking the acquisition of three frames as an example, the server 5 can identify a blood sampling vacuum tube from two frames of image data, that is, the current blood sampling vacuum tube passes through, if the blood sampling vacuum tube can be identified from only one frame of image data, the false identification is ignored, so that the accuracy of vacuum blood sampling tube identification can be greatly improved.
Because the image data that first collection terminal 1 and second collection terminal 2 were shot are multiframe, the vacuum test tube can appear in the identification area 10 of multiframe image data, and at this moment, if count according to the number of the vacuum test tube of discerning obviously is inaccurate, still need avoid repeated count. The repeated counting avoidance is realized by the following method, the server 5 extracts the image data with the blood sampling vacuum tube in the identification area 10 and respectively obtains the plane coordinates of the central point of the tube cap 9 in the identification area 10, and the server 5 calculates the transverse displacement X and the longitudinal displacement Y of the tube cap 9 according to the plane coordinates of the central point of the tube cap 9 in the adjacent two frames of image data with the blood sampling vacuum tube:
X=xn-xn+1
Y=yn-yn+1
wherein x isn,ynThe coordinate value, x, of the center point of the cap 9 in the identification area 10 for the nth frame image datan+1,yn+1The coordinate value of the central point of the pipe cap 9 of the (n + 1) th frame of image data in the identification area 10, wherein n is a natural number more than 0;
if X is less than delta X and Y is less than delta Y, the server judges that the blood sampling vacuum tubes in the two frames of image data are the same, otherwise, the blood sampling vacuum tubes are different, wherein delta X is the maximum transverse displacement between the two frames in the set identification area 10, and delta Y is the maximum longitudinal displacement between the two frames in the set identification area 10.
Assuming that the cap 9 appears in three frames of image data when one blood collection vacuum tube passes through the identification area 10, that is, the first collection terminal 1 or the second collection terminal 2 captures three times, first, as shown in fig. 3, the coordinate of the center point of the cap 9 in the identification area 10 in the first frame of image data is (x) in the first frame of image data1,y1) As shown in FIG. 4, the center point of the cap 9 in the second frame image data is (x) at the coordinate of the identification area 102,y2) Finally, as shown in fig. 5, the coordinates of the center point of the cap 9 in the identification area 10 in the third frame image data are (x3, y 3). Then, according to the coordinates of the central point of the cap 9 in the first frame image data and the second frame image data, the transverse displacement X and the longitudinal displacement Y are calculated, when X is X1-X2<δx,Y=y1-y2<δ y, the tube cap 9 appearing in the first frame of image data and the second frame of image data can be judged to belong to the same blood sampling vacuum tube. When X is X2-X3<δx,Y=y2-y3<δ y, the pipe cap 9 in the second frame of image data and the pipe cap 9 in the third frame of image data can be judged to belong to the same blood sampling vacuum pipe again, and the counting is carried out once. Otherwise, judging the blood sampling vacuum tube to belong to different blood sampling vacuum tubes and counting.
It should be noted that the value of δ x is related to the number of frames of the image data in the identification area 10 acquired by the first acquisition terminal 1 and the second acquisition terminal 2 within the time t, taking 3 frames as an example, since the server 5 determines that the vacuum blood collection tube passes through the tube cap 9 when identifying the tube cap 9 from the image data of more than two frames, when the first frame image data and the third frame image data identify the tube cap 9, the displacement of the tube cap 9 in the first frame image data and the third frame image data is the theoretical maximum displacement (two thirds of the length of the identification area 10 along the transmission direction), and similarly, when acquiring 5 frames of image data, the theoretical maximum displacement is three fifths of the length of the identification area 10 along the transmission direction, and the value of δ x is preferably the theoretical maximum displacement. The value of delta y is a constant which can be set according to actual needs, and is preferably set to be one half of the length of the blood sampling vacuum tube.
The main control machine may be one, and the distance between the first collection terminal 1 and the second collection terminal 2 is relatively long due to the fact that the transmission distance of the general specimen 6 is relatively long, so as to facilitate connection of the first collection terminal 1 and the second collection terminal 2 with the main control machine, the main control machine of the embodiment of the present invention preferably includes a first main control machine 31 and a second main control machine 32, the first main control machine 31 may be disposed at one side of the first collection terminal 1 and connected with the first collection terminal 1, and the second main control machine 32 may be disposed at one side of the second collection terminal 2 and connected with the second collection terminal 2.
In order to facilitate the operators on duty to clearly understand the number of the currently transmitted samples 6 and the working state, the server 5 of the embodiment of the present invention is further connected to a display 7, referring to fig. 2, the display 7 is used for displaying the total number of sample input, the total number of sample output, and congestion events, including the congestion time and the number.
In order to interlockingly control the transmission device 4 to stop when the congestion of the specimen 6 on the transmission device 4 is detected, the industrial personal computer is connected with a control relay 8 through a GPIO interface, when the industrial personal computer receives an alarm signal output by the server 5, the industrial personal computer controls the control relay 8 to be powered on, a normally open contact of the control relay 8 is connected with a control circuit of the transmission device 4, and the driving motor of the transmission device 4 is controlled to stop according to the alarm signal output by the server, so that the serious consequence caused by the further congestion of the specimen 6 due to the continuous operation of the transmission device 4 is avoided. In order to further facilitate reminding of the person on duty, the control relay 8 can be connected with the audible and visual alarm, specifically, the normally open contact of the control relay 8 is connected with the audible and visual alarm and the power supply, and when the control relay 8 is electrified and attracted, the normally open contact of the control relay 8 connects the audible and visual alarm with the power supply, so that the audible and visual alarm sends an audible and visual alarm signal.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that other parts not specifically described are within the prior art or common general knowledge to those of ordinary skill in the art. Without departing from the principle of the invention, several improvements and modifications can be made, and these improvements and modifications should also be construed as the scope of the invention.

Claims (9)

1.一种基于图像识别并计数的标本传送拥堵检测系统,其特征在于,包括主控机,所述主控机连接有第一采集终端和第二采集终端,所述第一采集终端和第二采集终端分别设置在传送装置的入口侧和出口侧,所述主控机以设定时间间隔控制第一采集终端和第二采集终端采集传送装置入口侧和出口侧的图像数据,所述主控机连接有服务器,以将传送装置入口侧和出口侧的图像数据发送至服务器,所述服务器基于第一采集终端采集的图像数据识别当前放入传送装置的标本的数量,且其基于第二采集终端采集的图像数据识别当前由传送装置送出的标本的数量,所述服务器根据当前放入传送装置的标本的数量进行标本放入累加计数,并在每次累加计数完成后开始计时,所述服务器根据当前由传送装置送出的标本的数量进行标本送出累加计数,如计时达到设定时间时,标本送出总数与计时开始时的标本放入总数不同,则所述服务器输出报警信号。1. A sample transmission congestion detection system based on image recognition and counting, characterized in that, comprising a main control machine, the main control machine is connected with a first collection terminal and a second collection terminal, the first collection terminal and the first collection terminal. The two collection terminals are respectively arranged on the inlet side and the outlet side of the conveying device. The main control machine controls the first collection terminal and the second collection terminal to collect the image data on the inlet side and the outlet side of the conveying device at a set time interval. The controller is connected with a server to send the image data on the inlet side and the outlet side of the transfer device to the server, the server identifies the number of specimens currently put into the transfer device based on the image data collected by the first collection terminal, and based on the second The image data collected by the collection terminal identifies the number of specimens currently sent by the transmission device, the server performs an accumulative count of specimen insertion according to the number of specimens currently put into the transmission device, and starts timing after each accumulative count is completed. The server counts the samples sent out according to the number of samples currently sent by the transmission device. If the timer reaches the set time and the total number of samples sent out is different from the total number of samples put in when the timer starts, the server outputs an alarm signal. 2.根据权利要求1所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述标本包括采血真空管,所述服务器基于mobilent-ssd算法识别出采血真空管的管帽,并基于识别出的管帽进行计数。2 . The sample transmission congestion detection system based on image recognition and counting according to claim 1 , wherein the sample comprises a blood collection vacuum tube, and the server identifies the cap of the blood collection vacuum tube based on the mobilet-ssd algorithm, and based on the mobilet-SSD algorithm. 3 . The identified caps are counted. 3.根据权利要求2所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述服务器对第一采集终端和第二采集终端采集的图像数据划定识别区域,并计算管帽通过识别区域所需的时间t:3. The sample transmission congestion detection system based on image recognition and counting according to claim 2, wherein the server delimits a recognition area for the image data collected by the first collection terminal and the second collection terminal, and calculates the tube. Time t required for the cap to pass through the recognition area: t=S/vt=S/v 其中,S为识别区域在传送装置移动方向的长度,v为传送装置的运输速度;Among them, S is the length of the identification area in the moving direction of the conveyor, and v is the transport speed of the conveyor; 所述第一采集终端和第二采集终端的采集频率根据时间t设定,以使第一采集终端和第二采集终端在时间t内均可采集多帧识别区域内的图像数据,所述服务器识别出识别区域内具有采血真空管的图像数据的帧数在设定比例以上时,则判断为当前具有采血真空管通过;The collection frequencies of the first collection terminal and the second collection terminal are set according to the time t, so that both the first collection terminal and the second collection terminal can collect the image data in the multi-frame identification area within the time t, and the server When it is recognized that the number of frames of the image data with the blood collection vacuum tube in the identification area is greater than the set ratio, it is determined that the blood collection vacuum tube is currently passing through; 所述服务器提取识别区域内具有采血真空管的图像数据,并分别获取管帽的中心点在识别区域中的平面坐标,所述服务器根据相邻的两帧具有采血真空管的图像数据中的管帽的中心点平面坐标计算管帽的横向位移X和纵向位移Y:The server extracts the image data with the blood collection vacuum tube in the identification area, and obtains the plane coordinates of the center point of the tube cap in the identification area respectively, and the server according to the adjacent two frames has the blood collection vacuum tube in the image data of the tube cap. The plane coordinates of the center point calculate the lateral displacement X and longitudinal displacement Y of the cap: X=xn-xn+1 X=xn-xn + 1 Y=yn-yn+1 Y=y n -y n+1 其中,xn,yn为第n帧图像数据的管帽的中心点在识别区域中的坐标值,xn+1,yn+1为第n+1帧图像数据的管帽的中心点在识别区域中的坐标值,n为大于0的自然数;Among them, x n , y n are the coordinate values of the center point of the pipe cap of the nth frame of image data in the recognition area, x n+1 , y n+1 are the center point of the pipe cap of the n+1th frame of image data The coordinate value in the recognition area, n is a natural number greater than 0; 如X<δx,且Y<δy,则服务器判断两帧图像数据中的采血真空管为同一根,否则为不同根,其中,δx为设定的识别区域中两帧之间最大横向位移,δy为设定的识别区域中两帧之间最大纵向位移。If X<δx and Y<δy, the server determines that the blood collection vacuum tubes in the two frames of image data are the same root, otherwise they are different roots, where δx is the maximum lateral displacement between the two frames in the set recognition area, and δy is The maximum vertical displacement between two frames in the set recognition area. 4.根据权利要求1所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述主控机包括第一主控机和第二主控机,所述第一主控机与第一采集终端连接,所述第二主控机与第二采集终端的连接。4. The sample transmission congestion detection system based on image recognition and counting according to claim 1, wherein the main control machine comprises a first main control machine and a second main control machine, and the first main control machine It is connected with the first collection terminal, and the second main control machine is connected with the second collection terminal. 5.根据权利要求1所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述服务器连接有一显示器,所述显示器用于显示标本放入总数、标本送出总数和拥堵事件。5 . The image recognition and counting-based specimen transmission congestion detection system according to claim 1 , wherein the server is connected to a display, and the display is used to display the total number of specimens put in, the total number of specimens sent out, and congestion events. 6 . 6.根据权利要求1所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述工控机GPIO接口连接有一控制继电器,所述控制继电器与传送装置的控制电路连接,以根据所述服务器输出的报警信号控制传送装置停机。6. The sample transmission congestion detection system based on image recognition and counting according to claim 1, is characterized in that, described industrial computer GPIO interface is connected with a control relay, and described control relay is connected with the control circuit of transmission device, to according to The alarm signal output by the server controls the transmission device to stop. 7.根据权利要求6所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述控制继电器还连接有声光报警器。7 . The sample transmission congestion detection system based on image recognition and counting according to claim 6 , wherein the control relay is further connected with an audible and visual alarm. 8 . 8.根据权利要求1所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述主控机包括树莓派主机和香蕉派主机。8 . The sample transmission congestion detection system based on image recognition and counting according to claim 1 , wherein the main control machine comprises a Raspberry Pi host and a Banana Pi host. 9 . 9.根据权利要求2所述的基于图像识别并计数的标本传送拥堵检测系统,其特征在于,所述传送装置包括若干皮带传送装置。9 . The system for detecting congestion in sample conveyance based on image recognition and counting according to claim 2 , wherein the conveying device comprises several belt conveying devices. 10 .
CN202011293077.4A 2020-11-18 2020-11-18 Sample conveying congestion detection system based on image recognition and counting Pending CN112285368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011293077.4A CN112285368A (en) 2020-11-18 2020-11-18 Sample conveying congestion detection system based on image recognition and counting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011293077.4A CN112285368A (en) 2020-11-18 2020-11-18 Sample conveying congestion detection system based on image recognition and counting

Publications (1)

Publication Number Publication Date
CN112285368A true CN112285368A (en) 2021-01-29

Family

ID=74399629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011293077.4A Pending CN112285368A (en) 2020-11-18 2020-11-18 Sample conveying congestion detection system based on image recognition and counting

Country Status (1)

Country Link
CN (1) CN112285368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113044347A (en) * 2021-04-16 2021-06-29 深圳蓝胖子机器智能有限公司 Automatic labeling method
CN114119522A (en) * 2021-11-17 2022-03-01 北京华能新锐控制技术有限公司 Visual detection method for coal blockage of coal conveying belt
CN114772218A (en) * 2022-05-26 2022-07-22 上海趣时信息技术有限公司 Express delivery system, method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872423A (en) * 2010-05-27 2010-10-27 天津大学 A method for tracking moving objects on a production line
CN101912899A (en) * 2010-06-21 2010-12-15 中冶京诚工程技术有限公司 Bar counting method and device
CN102236026A (en) * 2010-03-30 2011-11-09 希森美康株式会社 Sample rack transport system and sample rack transport method
JP2013083445A (en) * 2011-10-05 2013-05-09 Techno Medica Co Ltd Collation apparatus for blood collection tube management and blood collection tube management system
CN104749386A (en) * 2013-12-31 2015-07-01 深圳迈瑞生物医疗电子股份有限公司 Detection method, detection system and debugging method for sample frames on assembly line
CN208103259U (en) * 2018-04-03 2018-11-16 广州创惠信息科技有限公司 A kind of test tube case stacking distributor
CN109389589A (en) * 2018-09-28 2019-02-26 百度在线网络技术(北京)有限公司 Method and apparatus for statistical number of person
CN111382720A (en) * 2020-03-18 2020-07-07 浩云科技股份有限公司 Real-time personnel number statistical method and device based on top-view monocular camera
CN211768150U (en) * 2019-12-12 2020-10-27 佛山海螺水泥有限责任公司 Cement package anti-blocking conveying device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236026A (en) * 2010-03-30 2011-11-09 希森美康株式会社 Sample rack transport system and sample rack transport method
CN101872423A (en) * 2010-05-27 2010-10-27 天津大学 A method for tracking moving objects on a production line
CN101912899A (en) * 2010-06-21 2010-12-15 中冶京诚工程技术有限公司 Bar counting method and device
JP2013083445A (en) * 2011-10-05 2013-05-09 Techno Medica Co Ltd Collation apparatus for blood collection tube management and blood collection tube management system
CN104749386A (en) * 2013-12-31 2015-07-01 深圳迈瑞生物医疗电子股份有限公司 Detection method, detection system and debugging method for sample frames on assembly line
CN208103259U (en) * 2018-04-03 2018-11-16 广州创惠信息科技有限公司 A kind of test tube case stacking distributor
CN109389589A (en) * 2018-09-28 2019-02-26 百度在线网络技术(北京)有限公司 Method and apparatus for statistical number of person
CN211768150U (en) * 2019-12-12 2020-10-27 佛山海螺水泥有限责任公司 Cement package anti-blocking conveying device
CN111382720A (en) * 2020-03-18 2020-07-07 浩云科技股份有限公司 Real-time personnel number statistical method and device based on top-view monocular camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113044347A (en) * 2021-04-16 2021-06-29 深圳蓝胖子机器智能有限公司 Automatic labeling method
CN114119522A (en) * 2021-11-17 2022-03-01 北京华能新锐控制技术有限公司 Visual detection method for coal blockage of coal conveying belt
CN114772218A (en) * 2022-05-26 2022-07-22 上海趣时信息技术有限公司 Express delivery system, method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112285368A (en) Sample conveying congestion detection system based on image recognition and counting
CN111242108B (en) Belt transfer point coal blockage identification method based on target detection
CN110333242A (en) A kind of detection method and its system of PET bottle quality
CN105728339B (en) A kind of ceramic cartridge vision automatic checkout system
EP2755006A1 (en) Container liquid leak inspection device
CN103776841A (en) Automatic detection device and method of synthetic leather defect
CN205861568U (en) A kind of hexahedro vision inspection apparatus
CN110992305A (en) Package counting method and system based on deep learning and multi-target tracking technology
CN101250783A (en) Device for distinguishing spools on the basis of their yarn content
CN204759438U (en) Two -dimensional code printing product examine article machine
EP3369489A1 (en) Article rejecting system
CN108176600A (en) A fruit detection and sorting device
CN107350167A (en) Kick waste-removing device and kick useless method
Casady et al. An automated kernel positioning device for computer vision analysis of grain
CN109174693A (en) A kind of synchronous method of linear sweep graph as acquisition system and device for eliminating
CN117160923A (en) Closed-loop control method for rejecting unqualified products without influence of fluctuation of conveying speed
CN116952838A (en) A plate surface image acquisition device based on machine vision
CN107403444A (en) Identifying system
CN204347227U (en) Flux detection equipment
CN115606623A (en) Crayfish sorting device based on machine vision
CN104362111B (en) Silicon wafer edge breakage automatic detection method
CN204758496U (en) Annular magnetic core terminal surface visual detection machine
CN113469952A (en) Method and device for detecting large object on conveyer belt and storage medium
CN211927944U (en) An automatic feeding device for trace explosives sampling test paper
CN203972336U (en) A kind of printed matter on-line detecting system

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