WO2025112057A1 - Système et procédé de reconnaissance d'échantillon, dispositif de commande et support de stockage - Google Patents
Système et procédé de reconnaissance d'échantillon, dispositif de commande et support de stockage Download PDFInfo
- Publication number
- WO2025112057A1 WO2025112057A1 PCT/CN2023/135957 CN2023135957W WO2025112057A1 WO 2025112057 A1 WO2025112057 A1 WO 2025112057A1 CN 2023135957 W CN2023135957 W CN 2023135957W WO 2025112057 A1 WO2025112057 A1 WO 2025112057A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- barcode
- sample container
- image
- sample
- outside
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N35/00—Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
Definitions
- the present application relates to the field of medical detection technology, and in particular to a sample identification system and a sample identification method, a controller and a storage medium.
- the automated biochemical immunoassay assembly line can connect different biochemical instruments with pre-analysis and post-analysis laboratory analysis systems through automated transmission tracks, and realize the combination of assembly line operations under the dominant control of the information system; since the barcode pasted on the surface of the sample container records the information or test items of the blood sample in the sample container, the barcode recognition of the sample container is one of the important links in the biochemical immunoassay assembly line of the hospital laboratory and the most critical step in information flow. However, the barcode on the sample container is manually pasted. If the barcode is not fully displayed during the barcode scanning process, the barcode recognition result cannot be obtained. Therefore, before scanning the sample container, it is necessary to manually adjust the angle and position of the sample container to successfully recognize the barcode, resulting in reduced barcode recognition efficiency.
- embodiments of the present application provide a sample identification system and a sample identification method, a controller and a storage medium.
- An embodiment of the present application provides a sample identification system, including a controller, a rotating device, and an image acquisition device coupled to the controller;
- the rotating device is used to drive the sample container to rotate around the vertical direction
- the image acquisition device is used to acquire at least an image including a barcode and/or a serial code on the outside of the sample container when the rotating device drives the sample container to rotate;
- the controller is used to determine the sample information of the sample container according to a first recognition result of the barcode, when the barcode can be successfully recognized based on at least one image containing the barcode on the outside of the sample container acquired by the image acquisition device; and is used to recognize the serial code based on at least one image containing the serial code on the outside of the sample container acquired by the image acquisition device, when the barcode cannot be successfully recognized based on at least one image containing the barcode on the outside of the sample container acquired by the image acquisition device, and determine the sample information of the sample container according to a second recognition result of the serial code.
- the embodiment of the present application also provides a sample identification system, including a controller, a rotating device, and an image acquisition device coupled to the controller;
- the rotating device is used to drive the sample container to rotate around the vertical direction
- the image acquisition device is used to acquire an image of the sample container when the rotating device drives the sample container to rotate;
- the controller is used to control the rotation device to operate, and when the image acquisition device acquires an image including the barcode and the serial code on the outside of the sample container, control the rotation device to stop operating;
- the controller is further used to determine the sample information of the sample container according to a first recognition result of the barcode, when the barcode can be successfully recognized based on the image containing the barcode and the serial code on the outside of the sample container acquired by the image acquisition device; and to recognize the serial code based on the image containing the barcode and the serial code on the outside of the sample container acquired by the image acquisition device, and determine the sample information of the sample container according to a second recognition result of the serial code, when the barcode cannot be successfully recognized based on the image containing the barcode and the serial code on the outside of the sample container acquired by the image acquisition device.
- the embodiment of the present application also provides a sample identification system, including a controller, a rotating device, and an image acquisition device coupled to the controller;
- the rotating device is used to drive the sample container to rotate around the vertical direction
- the image acquisition device is used to acquire at least an image including a barcode and/or a serial code on the outside of the sample container when the rotating device drives the sample container to rotate;
- the controller is used to identify the barcode based on at least one image containing the barcode on the outside of the sample container acquired by the image acquisition device, identify the serial code based on at least one image containing the serial code on the outside of the sample container acquired by the image acquisition device, and determine the sample information of the sample container based on a first recognition result of the barcode and a second recognition result of the serial code.
- the embodiment of the present application also provides a sample identification system, including a controller, a rotating device, and an image acquisition device coupled to the controller;
- the rotating device is used to drive the sample container to rotate around the vertical direction
- the image acquisition device is used to acquire at least an image including a barcode and/or a serial code on the outside of the sample container when the rotating device drives the sample container to rotate;
- the controller is used to control the operation of the rotating device, and control the rotating device to stop operating when the image acquisition device acquires an image containing the barcode and the serial code on the outside of the sample container; and is also used to determine the sample information of the sample container according to a first recognition result of the barcode when the barcode can be successfully recognized based on the image containing the barcode and the serial code on the outside of the sample container; and is used to control the operation of the rotating device to recognize the barcode based on at least one image containing the barcode on the outside of the sample container acquired by the image acquisition device when the barcode cannot be successfully recognized based on the image containing the barcode and the serial code on the outside of the sample container, and to determine the sample information of the sample container according to the first recognition result of the barcode when the barcode can be successfully recognized based on the at least one image containing the barcode on the outside of the sample container; and to recognize the serial code based on at least one image containing the serial code on the outside of the sample container acquired by the image acquisition device when the
- the present application also provides a sample identification method, which is applied to a controller in a sample identification system; the sample identification system further includes a rotating device and an image acquisition device coupled to the controller; the method includes:
- the barcode on the outside of the sample container can be successfully identified according to at least one image including the barcode, determining the sample information of the sample container according to a first identification result of the barcode;
- the serial code is identified based on at least one image containing the serial code on the outside of the sample container, and the sample information of the sample container is determined based on the second identification result of the serial code;
- At least one image including the barcode and/or the serial code on the outside of the sample container is captured by the image acquisition device when the rotating device drives the sample container to rotate.
- the present application also provides a controller, comprising: a processor and a memory for storing a computer program that can be run on the processor.
- the processor is configured to execute the steps of any of the above-mentioned controller-side methods when running the computer program.
- An embodiment of the present application further provides a storage medium on which a computer program is stored.
- the computer program is executed by a processor, the steps of any of the above-mentioned controller-side methods are implemented.
- the image acquisition device rotates and photographs the sample container to obtain at least one image containing the barcode and/or serial code on the outside of the same sample container. If the barcode can be successfully identified based on the image containing at least the barcode on the outside of the same sample container, the controller can determine the sample information of the sample container based on the first recognition result of the barcode; and if the barcode cannot be successfully identified based on the image containing at least the barcode on the outside of the same sample container, the controller can determine the sample information of the sample container based on the first recognition result of the barcode.
- the controller identifies a second recognition result of the sequence code based on an image at least including the sequence code on the outside of the same sample container, and determines the sample information of the sample container according to the second recognition result of the sequence code; or the controller identifies the barcode based on an image at least including the barcode on the outside of the sample container, identifies the sequence code according to at least the sequence code on the outside of the sample container, and determines the sample information of the sample container based on the first recognition result of the barcode of the same sample container and the second recognition result of the sequence code.
- the above solution can improve the barcode recognition efficiency, and even if the barcode is not successfully recognized, the sample information can be obtained by recognizing the sequence code, which can improve the success rate of identifying the sample information.
- FIG1 is a schematic diagram of a sample identification system architecture according to an embodiment of the present application.
- FIG2 is an example diagram of a sequence code based on image feature recognition according to an embodiment of the present application.
- FIG3 is an example diagram of recognizing a sequence code through a first setting neural network according to an embodiment of the present application
- FIG4 is an example of an image obtained by rotating and photographing a sample container according to an embodiment of the present application.
- FIG5 is an example of an image obtained by rotating and photographing a sample container according to an embodiment of the present application.
- FIG6 is an example diagram of an image captured when the sample container is stationary according to an embodiment of the present application.
- FIG7 is an exemplary diagram of rotating and photographing a sample container according to an embodiment of the present application.
- FIG8 is a schematic diagram of a sample identification method implementation flow in an embodiment of the present application.
- FIG. 9 is a schematic diagram of the controller structure of an embodiment of the present application.
- the sample identification system includes: a controller 101, a rotating device 102, and an image acquisition device 103 coupled to the controller 101.
- the image acquisition device 103 may be a camera, such as an industrial camera.
- the image acquisition device 103 may be directly coupled, for example, the image acquisition device 103 is connected to the controller 101 through a universal serial bus (USB), a high definition multimedia interface (HDMI), etc., or the controller 101 and the image acquisition device 103 may be indirectly coupled, for example, the controller 101 is connected to the image acquisition device 103 through an intermediate device or other device.
- USB universal serial bus
- HDMI high definition multimedia interface
- An image acquisition device 103 configured to acquire at least an image including a barcode and/or a serial code on the outside of the sample container when the rotating device drives the sample container to rotate;
- the rotating device 102 can drive the sample container to rotate in a vertical direction, for example, to rotate 360 degrees in a vertical direction.
- the image acquisition device 103 can take a picture of the sample container during the process of the sample container rotating in the vertical direction to obtain an image containing the barcode and/or serial code on the outside of the sample container, that is, to perform rotational scanning or rotational photography on the same sample container; different images taken by the image acquisition device 103 for the same sample container have images with different shooting perspectives or different shooting angles.
- the image acquisition device 103 can directly transmit all images of the sample container to the controller 101, or transmit all images of the sample container to other devices for storage, and the controller 101 can obtain the image of the sample container from other devices.
- the image acquisition device 103 saves the captured image of the sample container to a set storage path of the image acquisition device 103 or other electronic device, and the controller 101 obtains and saves the image of the sample container from the set storage path.
- a corresponding folder can be created for each sample container, and the images of the sample containers can be stored in the corresponding folders respectively, so as to realize the distinction between the images of different sample containers.
- the image acquisition device 103 stores all the images of a sample container captured into the set storage path each time. After the controller 101 acquires all the images of the sample container from the set storage path, the controller 101 can clear all the images under the set storage path. Thereafter, the image acquisition device 103 stores all the images of another sample container captured into the set storage path, so as to realize the image reading of the sample container one by one.
- the sample container can be understood as a transparent or translucent container for loading samples, which can be a blood collection tube, a test tube, a sample tube, a sampling tube, a test tube, a bottle, a sample cup, etc.
- the sample loaded in the sample container includes a blood sample, and the blood sample can be a serum sample or a plasma sample, and a reagent for detection can be added to the blood sample.
- a label is pasted or attached to the surface of the sample container, which is used to mark or record relevant information of the sample in the sample container.
- the label may include identification information of the sample in the sample container, such as a barcode, or a serial code composed of letters and/or numbers.
- the serial code can also be understood as a serial number, and the barcode can also be called a barcode, which is composed of a group of black and white bars of different thicknesses.
- different rotation speeds of the rotating device 102 correspond to different exposure durations, and/or different rotation speeds of the rotating device 102 correspond to different shooting frequencies.
- the rotation speed of the rotating device 102 can be determined based on the recognition speed of the label on the sample container; of course, the rotation speed of the rotating device 102 can be determined based on the recognition speed of the label on the sample container;
- the rotation speed of 102 may also be a set rotation speed.
- the exposure duration may also be understood as the exposure time. In order to ensure that the image acquisition device 103 can capture a clear image, the exposure duration of the image acquisition device 103 is less than or equal to the quotient of the precision of the image acquisition device 103 and the rotation speed of the rotating device 102.
- the precision of the image acquisition device 103 may also be referred to as pixel precision, which is equal to the quotient of the one-way field of view of the camera and the one-way resolution.
- the shooting frequency may be replaced by the frame rate; the frame rate may be understood as the number of frames of the image captured per second, for example, the frame rate is 20 frames per second.
- the image acquisition device 103 may or may not have a barcode recognition function.
- the image acquisition device 103 may recognize a barcode, and the image acquisition device 103 is also used to recognize the barcode based on at least one barcode containing the outside of the same sample container, and when the barcode is successfully recognized, send the barcode recognition result, or the first recognition result of the barcode to the controller 101; when receiving the barcode recognition result sent by the image acquisition device 103, the controller 101 determines the first recognition result of the barcode on the outside of the sample container from the received barcode recognition result.
- the controller 101 determines the only received barcode recognition result as the first recognition result of the barcode of the sample container.
- at least one image including a barcode on the outside of the sample container includes multiple images; when the image acquisition device 103 acquires at least two different barcode recognition results based on the multiple images of the same sample container: the controller 101 is further used to determine a first recognition result of the barcode of the sample container from the at least two different barcode recognition results of the same sample container sent by the image acquisition device 103 based on the number of occurrences of the barcode recognition results corresponding to the same sample container; or, the image acquisition device 103 is further used to determine a first recognition result from the at least two different barcode recognition results of the same sample container based on the number of occurrences of the corresponding barcode recognition results, and send the first recognition result to the controller 101.
- the controller 101 or the image acquisition device 103 determines the at least two identical barcode recognition results corresponding to the same sample container as the first recognition result.
- the first recognition result of the barcode of the sample container For another example, the controller 101 or the image acquisition device 103 determines the barcode recognition result with the largest number of occurrences corresponding to the same sample container as the first recognition result of the barcode of the sample container.
- the controller 101 is used to recognize the barcode based on the image features of all or part of the at least one image containing the barcode on the outside of the sample container; or, the controller 101 is used to process all or part of the at least one image containing the barcode on the outside of the sample container through a second set neural network to recognize the barcode; wherein the second set neural network is used to recognize the barcode in the input image.
- the controller 101 can extract at least one type of image features from all or part of the images of at least one image of the same sample container containing the barcode outside the sample container through a set barcode recognition algorithm or a second set neural network; identify the barcode area according to the extracted image features and identify the barcode in the barcode area to obtain at least one barcode recognition result; and determine the first recognition result of the barcode in the determined barcode recognition results.
- the same barcode recognition results corresponding to at least two consecutive images of the same sample container are determined as the first recognition result of the barcode of the sample container; for another example, the barcode recognition result with the most occurrences corresponding to the same sample container is determined as the first recognition result of the barcode of the sample container.
- the second set neural network is trained based on the image samples of the sample container, and at least part of the image samples contain the barcode outside the sample container.
- the at least one type of image features includes at least one of the following: edge features, grayscale distribution features, color features, texture features, shape features, and spatial relationship features.
- Edge features are used to characterize the presence of step changes (slope-type edges) or roof-like changes (roof-type edges) in the grayscale, brightness or color of pixels in an image; grayscale distribution features characterize the distribution of grayscale values in an image.
- Color features and texture features are global features that describe the surface properties of the barcode area outside the sample container.
- Shape features include contour features, which mainly describe the contour or boundary of the label and/or sample container.
- Spatial relationship features refer to the spatial position or relative direction relationship between multiple targets segmented from an image. These relationships can be divided into connection relationships or adjacency relationships, overlapping relationships or overlapping relationships, inclusion relationships or independent relationships, etc.
- the controller 101 only obtains one barcode recognition result based on at least one image containing the barcode on the outside of the same sample container, then only this barcode recognition result will be determined as the first recognition result of the barcode of the sample container; if at least one image containing the barcode on the outside of the same sample container includes multiple images, and the controller 101 obtains at least two barcode recognition results based on the multiple images of the same sample container, then the same barcode recognition results corresponding to at least two consecutive images of the same sample container will be determined as the first recognition result of the barcode of the sample container, or the barcode recognition result with the largest number of occurrences corresponding to the same sample container will be determined as the first recognition result of the barcode of the sample container.
- the controller 101 can determine a first recognition result of the barcode on the outside of the sample container, and determine the sample information of the sample container based on the first recognition result of the barcode.
- the first recognition result can be parsed or decoded according to the encoding rules or coding rules of the barcode to obtain the sample information of the sample container, and the sample detection items bound to the sample information (such as identification information) can also be obtained.
- the controller 101 identifies the serial code based on at least one image containing the serial code on the outside of the same sample container, and determines the sample information of the sample container according to the second recognition result of the serial code; for example, according to the encoding of the serial code
- the rule parses or decodes the first recognition result of the sequence code to obtain the sample information of the sample container, and can also obtain the sample detection item bound to the sample information (such as identification information).
- the sequence code does not involve the coding rule, the second recognition result of the sequence code can be used as the sample information of the sample container.
- the controller 101 obtains only one sequence code recognition result based on at least one sequence code containing the outside of the same sample container, then the only sequence code recognition result is determined as the second recognition result of the sequence code of the sample container; if at least one image containing the sequence code of the outside of the same sample container includes multiple images, and the controller 101 obtains at least two sequence code recognition results based on multiple images of the same sample container, then the controller 101 can determine the same sequence code recognition result corresponding to at least two consecutive images of the same sample container as the second recognition result of the sequence code of the sample container, or, the sequence code recognition result corresponding to the same sample container with the most occurrences is determined as the second recognition result of the sequence code of the sample container.
- the controller 101 can obtain the second identification result of the sequence code in the following manner:
- the first set neural network is used to process all or part of at least one image containing the serial code on the outside of the sample container to obtain a second recognition result of the serial code; wherein the first set neural network is used to recognize the serial code in the input image.
- the controller 101 may use a set serial code recognition algorithm or a serial number recognition algorithm, such as an optical character recognition (OCR) algorithm, to extract image features of all or part of at least one image containing the serial code on the outside of the same sample container, and recognize the serial code on the outside of the sample container based on the extracted image features to obtain a second recognition result of the serial code.
- the serial code region may be first recognized based on the extracted image features. domain, and then identify the sequence code in the sequence code area; the extracted image features include at least one of the following: edge features, grayscale distribution features, color features, texture features, shape features and spatial relationship features.
- the controller 101 issues an alarm prompt so that relevant personnel can review or make further processing.
- the first setting neural network is trained based on image samples of the sample container, and at least part of the image samples contain the serial code outside the sample container.
- the first setting neural network at least extracts the feature information of the numbers and/or characters used to constitute the serial code in the input image, and determines the serial code in the input image based on the extracted feature information.
- the controller 101 may also select at least one image containing the barcode and/or serial code on the outside of the sample container from multiple images of the same sample container for determining the sample information before identifying the barcode and/or serial code on the outside of the sample container. Based on this, in one embodiment, the controller 101 is further configured to:
- a first parameter value of the at least one image is greater than a set threshold; the first parameter value represents a ratio of a first area to a second area; the first area represents an area occupied by a barcode and/or a serial code in the at least one image; and the second area represents an area occupied by the sample container in the at least one image.
- the controller 101 can determine the first parameter value of each image in the multiple images of the same sample container, where the first parameter value represents the ratio of the first area to the second area; among the multiple images of the sample container, determine the image whose first parameter value is greater than the set threshold, and obtain at least one image containing the serial code and/or the serial code on the outside of the sample container.
- the first area represents the area occupied by the barcode in the image to obtain at least one image including the serial code on the outside of the sample container; when the serial code needs to be identified, the first area represents the area occupied by the serial code in the image to obtain at least one image including the serial code on the outside of the sample container.
- the first area represents the area occupied by the barcode and the serial code in the image to obtain at least one image including the barcode and the serial code on the outside of the sample container.
- Figures 4 and 5 respectively give examples of images obtained by rotational photography.
- the image determined to contain the barcode on the outside of the sample container may be Figure (a) in Figure 4, or Figure (c) and/or Figure (d) in Figure 5; before recognizing the serial code, the image determined to contain the serial code on the outside of the sample container may be Figure (d) in Figure 5.
- the sample identification system further includes: a human-computer interaction device; the controller 101 is also used to: control the human-computer interaction device to output an alarm prompt message on its display interface when the serial code is not successfully identified; the alarm prompt message indicates that the sample information identification of the sample container has failed.
- the controller 101 may not be able to successfully identify the serial code because the serial code in the captured image may be incomplete or unclear.
- the controller 101 controls the human-computer interaction device to output an alarm prompt message on the display interface of the human-computer interaction device to prompt relevant personnel to perform further processing, for example, manually enter the serial number and/or sample information.
- the barcode outside the sample container can be identified when the sample container is in a stationary state, that is, a conventional scan is performed first. If the barcode cannot be identified when the sample container is in a stationary state, the sample container is then rotated to shoot or rotated to scan. Based on this, in one embodiment, before rotating and shooting the sample container, the image acquisition device 103 is also used to:
- An image is taken when the sample container is stationary, and the barcode is calibrated based on the image.
- the sample container is identified by the rotating device 102. If the barcode cannot be identified successfully, at least the image of the barcode and/or the serial code on the outside of the sample container is acquired when the rotating device 102 drives the sample container to rotate.
- the image acquisition device 103 recognizes the barcode based on an image taken when the same sample container is stationary; the image acquisition device 103 recognizes the barcode on the outside of the sample container based on the image, and when the barcode on the outside of the sample container is not successfully recognized, the controller 101 can be notified to control the operation of the rotating device 102 to drive the sample container to rotate in a vertical direction; the image acquisition device 103 at least acquires an image containing the barcode and/or serial code on the outside of the sample container when the rotating device 102 drives the sample container to rotate, so that the image acquisition device 103 and/or the controller 101 recognize the barcode on the outside of the sample container based on the image containing the barcode and/or serial code on the outside of the sample container.
- FIG6 shows an example of an image taken when the sample container is stationary. Since FIG6 (a) can show the complete barcode, and FIG6 (b) does not show the barcode, the barcode outside the sample container can be successfully recognized based on FIG6 (a), and the barcode outside the sample container cannot be successfully recognized based on FIG6 (b).
- FIG7 shows an example of rotating and photographing a sample container. Since the barcode cannot be successfully recognized when the barcode is not fully displayed in the image, the barcode outside the sample container cannot be successfully recognized based on images (a) and (b) in FIG7 , but the barcode outside the sample container can be successfully recognized based on images (c) and/or (d) in FIG7 .
- the rotating device 102 includes: a base for vertically placing the sample container, and a rotating mechanism for driving the base to rotate around the vertical direction.
- the rotating mechanism is connected to a base for vertically placing a sample container, the base also being called a sample holder, and the rotating mechanism drives the base to rotate, so as to drive the sample container vertically placed on the base to rotate around the vertical direction, for example, to rotate 360 degrees around the vertical direction.
- Image acquisition device 103 An image may be taken when the sample container is stationary, and/or at least an image including a barcode and/or a serial code on the outside of the sample container may be acquired while the rotating device 102 drives the sample container to rotate.
- the base used to vertically place the sample container can clamp the bottom of the sample container, and the part that clamps the sample container does not block the barcode and/or serial code;
- the base can be a single-tube base or a multi-tube base;
- a multi-tube base can hold multiple sample containers, for example, 5 or 10 sample containers.
- the rotating device 102 includes: a manipulator for grasping the sample container, and a rotating mechanism for driving the manipulator to rotate around a vertical direction.
- the rotating mechanism is connected to the manipulator; the manipulator can be used to clamp the top or other parts of the sample container, and the part of the sample container clamped does not block the barcode and/or serial code.
- the rotating mechanism can drive the manipulator to rotate around the vertical direction to drive the sample container clamped by the manipulator to rotate around the vertical direction.
- the image acquisition device 103 can take an image when the sample container is stationary, and/or, at least acquire an image containing the barcode and/or serial code on the outside of the sample container during the process of the rotating device 102 driving the sample container to rotate.
- the rotating device 102 can clamp the top of the sample container through a manipulator, lift the sample container to a certain height, and drive the manipulator to rotate in a vertical direction through a rotating mechanism, so as to drive the sample container clamped by the manipulator to rotate in a vertical direction, so that the image acquisition device 103 can rotate and photograph the sample container.
- the rotating device 102 includes: a sample container carrying mechanism, and a rotating mechanism for driving the sample container to rotate around a vertical direction in the sample container carrying mechanism.
- sample container can be rotated in the sample container carrying mechanism around the vertical direction of the sample container, and the sample container carrying mechanism is used to carry or fix the sample container, and the barcode and/or serial code outside the sample container is not blocked.
- sample container carrying mechanism is used to carry or fix the sample container, and the barcode and/or serial code outside the sample container is not blocked.
- the rotating device 102 may also include a rotating head, and the rotating mechanism may drive the rotating head to rotate; when the rotating mechanism drives the rotating head to rotate, the rotating head is used to apply pressure to the end of the sample container to drive the sample container to rotate in the sample container carrying mechanism.
- the rotating mechanism is connected to the rotating head.
- the image acquisition device 103 further includes:
- a light source is used to provide a shooting light source for the camera.
- the light source can improve the brightness of the shooting environment, thereby improving the brightness of the image captured by the image acquisition device 103 to obtain a clear image.
- the image acquisition device 103 captures an image containing a barcode and/or a serial code on the outside of the same sample container in a rotation scanning or selective shooting scenario, and the image acquisition device 103 and/or the controller 101 recognizes the barcode based on at least one image containing a barcode on the outside of the same sample container. If the barcode is not successfully recognized, the controller 101 recognizes the serial code based on at least one image containing a serial code on the outside of the same sample container, obtains a second recognition result of the serial code, and determines the sample information of the sample container based on the second recognition result. In this way, even if the barcode is not successfully recognized, the sample information can be obtained by recognizing the serial code. Compared with the solution in the related art that obtains the sample information only by scanning the barcode, the above solution can improve the success rate of identifying the sample information.
- the present embodiment also provides another sample identification system, which is different from the sample identification system provided in the above embodiment in that:
- the controller 101 is used to identify the barcode based on at least one image containing the barcode on the outside of the sample container acquired by the image acquisition device 103, identify the serial code based on at least one image containing the serial code on the outside of the sample container acquired by the image acquisition device 103, and determine the sample information of the sample container based on a first recognition result of the barcode and a second recognition result of the serial code.
- the image acquisition device 103 acquires an image containing a barcode and/or a serial code on the outside of the sample container when the rotating device 102 drives the sample container to rotate;
- the controller 101 acquires an image containing a barcode and/or a serial code on the outside of the same sample container acquired by the image acquisition device 103, and obtains a first recognition result of the barcode based on at least one image containing a barcode on the outside of the sample container;
- the serial code is recognized based on at least one image containing a serial code on the outside of the sample container to obtain a second recognition result of the serial code;
- the sample information of the sample container is determined based on the first recognition result of the barcode and the second recognition result of the serial code.
- the controller 101 can also recognize the barcode and the serial code based on at least one image containing a barcode and a serial code on the outside of the same sample container to obtain a first recognition result of the barcode and a second recognition result of the serial code.
- the controller 101 recognizing the barcode and the serial code on the outside of the sample container to obtain the first recognition result and the second recognition result, please refer to the relevant description above, which will not be repeated here.
- the controller 101 determines the sample information of the sample container based on the first recognition result of the barcode and the second recognition result of the serial code, including:
- the sample information of the sample container is determined based on the first recognition result or the second recognition result.
- the server can obtain the sample information determined by the controller based on the first recognition result or the second recognition result, and establish a correspondence between the barcode and the sample information and the sample test result.
- One barcode is bound to one sample information and one sample test result.
- the controller 101 recognizes the barcode based on at least one image containing the barcode on the outside of the same sample container, recognizes the serial code based on at least one image containing the serial code on the outside of the same sample container, and determines the sample information of the sample container based on the first recognition result of the barcode and the second recognition result of the serial code; thereby, even if the barcode is not successfully recognized, the sample information can be obtained by recognizing the serial code, thereby improving the success rate of identifying the sample information; in addition, the image acquisition device 103 does not need to recognize the barcode, which can save data processing resources of the image acquisition device 103 and reduce the requirements for the data processing capability of the image acquisition device.
- the present embodiment also provides another sample identification system, which is different from the sample identification system provided in the above embodiment in that:
- the controller 101 is used to control the rotation device to operate, and when the image acquisition device acquires an image including the barcode and the serial code on the outside of the sample container, control the rotation device to stop operating;
- the controller 101 is further configured to determine the sample information of the sample container according to the first recognition result of the barcode when the image containing the barcode and the serial code on the outside of the sample container acquired by the image acquisition device 103 can successfully recognize the barcode; and to determine the sample information of the sample container according to the first recognition result of the barcode when the image containing the barcode and the serial code on the outside of the sample container acquired by the image acquisition device 103 cannot successfully recognize the barcode.
- the image containing the barcode and the serial code on the outside of the sample container recognizes the serial code, and determines the sample information of the sample container according to the second recognition result of the serial code.
- the controller 101 controls the rotation device 102 to operate so that the rotation device 102 drives the sample container to rotate around the vertical direction, and the image acquisition device 103 acquires the image of the sample container when the rotation device 102 drives the sample container to rotate.
- the controller 101 acquires the image of the same sample container taken by the image acquisition device 103, and determines whether the acquired image contains the image of the barcode and the serial code on the outside of the sample container, that is, determines whether the front image of the barcode and the serial code on the outside of the sample container is acquired; when the image acquisition device 103 acquires the image containing the barcode and the serial code on the outside of the sample container, the controller 101 controls the rotation device 102 to stop operating; the image acquisition device 103 and/or the controller 101 can recognize the barcode according to the image containing the barcode and the serial code on the outside of the sample container to obtain a barcode recognition result; in the case that the barcode cannot be successfully recognized according to the image containing the barcode and the serial code on the outside of the sample container acquired by the
- the controller 101 can control the rotating device 102 to rotate at a set angle, that is, each time the rotating device 102 rotates at a set angle, for example, 20 degrees.
- the rotating angle of the rotating device 102 can be determined according to the rotation speed of the rotating device 102.
- the controller 101 is further used to identify the barcode based on the image features of all or part of the image containing the barcode and the serial code on the outside of the sample container; or,
- the controller 101 is also used to process all or part of the image containing the barcode and serial code on the outside of the sample container through a second set neural network to identify the barcode; wherein the second set neural network is used to identify the barcode in the input image.
- the method of identifying a barcode based on an image containing a barcode and a serial code on the outside of a sample container is similar to the above method of identifying a barcode based on at least one barcode on the outside of a sample container, and is not described in detail here.
- the controller 101 may identify the serial code based on the image features of all or part of the image including the barcode and the serial code on the outside of the sample container to obtain the second identification result; or,
- the controller 101 can process all or part of the image including the barcode and serial code on the outside of the sample container through a first set neural network to identify the serial code and obtain the second recognition result; wherein the first set neural network is used to identify the serial code in the input image.
- the method of identifying the serial code based on an image containing the barcode and serial code on the outside of the sample container is similar to the above method of identifying the serial code based on at least one image containing the serial code on the outside of the sample container, and will not be repeated here.
- the controller 101 identifies the image based on the image features of the image acquired by the image acquisition device 103 to obtain a third recognition result; or, the controller 101 processes the image acquired by the image acquisition device 103 through a third set neural network to obtain a third recognition result; when the third recognition result indicates that the image acquisition device 103 acquires an image containing the barcode and the serial code on the outside of the sample container, the controller 101 controls the rotating device 102 to stop running.
- the controller 101 can call a barcode area recognition algorithm to recognize the image features of the image acquired by the image acquisition device 103 to obtain a third recognition result;
- the barcode area recognition algorithm is used to detect the barcode area;
- the image features include at least one of the following: edge features, grayscale distribution features, color features, texture features, shape features and spatial relationship features.
- the third setting neural network is used to process the input image to obtain a barcode area recognition result, and the barcode area recognition result indicates whether the barcode and serial code outside the sample container are included.
- the third setting neural network takes the image of the sample container as input and the barcode area recognition result as output.
- the controller 101 can also select images with larger image areas of barcodes and serial codes from multiple images of the same sample container before identifying the barcodes and serial codes on the outside of the sample container to identify the sample information. Based on this, in one embodiment, the image containing the barcode and serial code on the outside of the sample container used to determine the sample information of the sample container is determined from the multiple images acquired by the image acquisition device; wherein,
- the first parameter value of the at least one image is greater than a set threshold; the first parameter value represents the ratio of the first area to the second area; the first area represents the area occupied by the barcode and the serial code in the at least one image; the second area represents the area occupied by the sample container in the at least one image.
- the controller 101 is also used to determine the first recognition result of the barcode from the at least two different barcode recognition results based on the number of occurrences of the barcode recognition results corresponding to the same sample container; or, the image acquisition device 103 is also used to determine the first recognition result from the at least two different barcode recognition results based on the number of occurrences of the corresponding barcode recognition results, and send the first recognition result to the controller.
- Some or all of the multiple images of the same sample container acquired by the image acquisition device 103 contain at least the barcode on the outside of the sample container, that is, one image may contain only the barcode on the outside of the sample container, or one image may contain the barcode and the serial code on the outside of the sample container.
- the controller 101 or the image acquisition device 103 may identify at least two different barcode recognition results based on the multiple images containing at least the barcode on the outside of the same sample container; the controller 101 or the image acquisition device 103 may identify at least two identical barcodes corresponding to the same sample container.
- the controller 101 or the image acquisition device 103 may also determine the barcode recognition result with the largest number of occurrences corresponding to the same sample container as the first recognition result of the barcode of the sample container.
- the controller 101 or the image acquisition device 103 determines the first recognition result from at least two different barcode recognition results based on the number of occurrences of the barcode recognition results corresponding to the same sample container, including:
- the controller 101 or the image acquisition device 103 votes on the corresponding barcode recognition result when the barcode in the image is recognized; when the number of votes corresponding to any barcode recognition result is greater than a set threshold, the barcode recognition result with the number of votes greater than the set threshold is determined as the first recognition result.
- the controller 101 or the image acquisition device 103 votes for each barcode recognition result corresponding to a sample container; when the number of votes corresponding to any barcode recognition result of the same sample container is greater than a set threshold, the barcode recognition result with a number of votes greater than the set threshold is determined as the first recognition result of the barcode outside the sample container. For example, when a barcode recognition result A corresponding to any sample container is obtained, A is voted, and when any barcode recognition result of the sample container reaches N votes, A is determined as the first recognition result of the barcode outside the sample container.
- the barcode recognition results of the same sample container obtained twice in a row can be the same or different.
- the barcode recognition results corresponding to the same sample container obtained multiple times in a row are ABA, ABB, AAA, ABAA or ABBAA.
- the controller 101 can also determine the sample information of the sample container according to the first recognition result of the barcode of the sample container; in the case where the image acquisition device 103 and/or the controller 101 fail to successfully recognize the barcode on the outside of the sample container, the controller 101 can also recognize the serial code based on an image at least containing the serial code on the outside of the same sample container, and determine the sample information of the sample container according to the first recognition result of the barcode of the sample container.
- the second identification result determines the sample information of the sample container. The implementation process of the controller 101 determining the sample information according to the second identification result is described above and will not be repeated here.
- the barcode outside the sample container can be identified when the sample container is in a stationary state, that is, a conventional scan is performed first. If the barcode cannot be identified when the sample container is in a stationary state, the sample container is rotated and photographed. Based on this, in one embodiment, the image acquisition device 103 is also used to obtain an image of the sample container when the sample container is stationary; if the controller 101 fails to successfully identify the barcode based on the image, the rotation device 102 is controlled to operate.
- the image acquisition device 103 acquires an image of the sample container when the sample container is stationary; the image acquisition device 103 and/or the controller 101 recognize the barcode based on the image; if the barcode can be successfully recognized based on the image, the controller 101 can control the rotating device 102 to stop running; if the barcode cannot be successfully recognized based on the image, the controller 101 controls the rotating device 102 to run, thereby driving the sample container to rotate in the vertical direction, so as to recognize the barcode in the scene of rotation scanning or rotation photography. In this way, the success rate of identifying sample information can be guaranteed, resources can be saved, and the efficiency of sample information recognition can be improved.
- the controller 101 is also used to control the rotating device 102 to stop running if no barcode is identified after the rotating device 102 drives the sample container to rotate a set number of times.
- the controller 101 controls the rotating device 102 to stop running, so that the sample container stops.
- the set number of revolutions may be 2; at this time, the controller 101 may also mark the barcode recognition result of the sample container as NOREAD or recognition failure or no barcode.
- any barcode recognition result corresponding to the sample container is obtained within the first set number of revolutions driven by the rotating device 102, the controller 101 or the image acquisition device 103 needs to determine the first recognition result of the barcode within the second set number of revolutions driven by the rotating device 102; if the controller 101 still fails to determine the first recognition result of the barcode when the rotating device 102 drives the sample container to rotate the second set number of revolutions, or fails to receive the first recognition result of the barcode sent by the image acquisition device 103, then the controller 101 can mark the barcode recognition result of the sample container as NOREAD or recognition failure or no barcode.
- the second set number of revolutions is greater than the first set number of revolutions, for example, the first set number of revolutions can be 2, and the second set number of revolutions can be 3 or 4.
- the image acquisition device 103 acquires an image of the sample container while the rotating device 102 drives the sample container to rotate.
- the controller 101 recognizes the barcode according to the image containing the barcode and the serial code on the outside of the sample container; if the barcode can be successfully recognized, the controller 101 determines the sample information of the sample container according to the first recognition result of the barcode; if the barcode cannot be successfully recognized, the controller 101 recognizes the serial code according to the image containing the serial code on the outside of the sample container and the serial code, obtains a second recognition result of the serial code, and determines the sample information of the sample container according to the second recognition result.
- the above solution can improve the success rate and efficiency of identifying sample information.
- the present embodiment also provides another sample identification system, which is different from the sample identification system provided in the above embodiment in that:
- the image acquisition device 103 is used for, when the rotating device drives the sample container to rotate, acquiring at least an image including a barcode on the exterior of the sample container;
- the controller 101 is used to control the rotation device 102 to operate, and when the image acquisition device 103 acquires an image containing the barcode and/or the serial code on the outside of the sample container, control the rotation device 102 to stop operating; and is also used to determine the sample information of the sample container according to a first recognition result of the barcode when the barcode can be successfully identified according to the image containing the barcode on the outside of the sample container, and is used to control the rotation device 102 to operate, according to at least one image containing the barcode acquired by the image acquisition device 103, when the barcode cannot be successfully identified according to the image containing the barcode on the outside of the sample container.
- the barcode is identified based on the image of the barcode on the outside of the sample container.
- the sample information of the sample container is determined based on the first recognition result of the barcode.
- the serial code is identified based on at least one image containing the serial code on the outside of the sample container acquired by the image acquisition device 103, and the sample information of the sample container is determined based on the second recognition result of the serial code.
- the controller 101 controls the rotation device 102 to operate so that the rotation device 102 drives the sample container to rotate around the vertical direction, and the image acquisition device 103 acquires an image of the sample container when the rotation device 102 drives the sample container to rotate.
- the controller 101 can control the rotation device 102 to rotate at a set angle, that is, each time the rotation is set by an angle, such as 20 degrees.
- the rotation angle of the rotation device 102 can be determined according to the rotation speed of the rotation device 102.
- the controller 101 acquires the image of the same sample container taken by the image acquisition device 103, and determines whether the acquired image contains the image of the barcode and the serial code on the outside of the sample container, that is, determines whether the front image of the barcode and the serial code on the outside of the sample container is acquired; when the acquired image contains the image of the barcode and the serial code on the outside of the sample container, the controller 101 controls the rotating device 102 to stop running.
- the controller 101 or the image acquisition device 103 determines whether the image contains the image of the barcode and the serial code on the outside of the sample container.
- the controller 101 identifies the image of the barcode on the outside of the sample container.
- the controller 101 determines the sample information of the sample container based on the first recognition result of the barcode on the outside of the sample container.
- the controller 101 controls the rotation device 103 to operate.
- the rotation device 102 drives the sample container to rotate
- the image acquisition device 103 at least acquires the image including the barcode and/or the serial code on the outside of the sample container.
- the controller 101 recognizes the barcode based on at least one image containing the barcode on the outside of the same sample container acquired by the image acquisition device 103.
- the controller 101 determines the sample information of the sample container based on the first recognition result of the barcode.
- the controller 101 recognizes the serial code based on at least one image containing the serial code on the outside of the same sample container acquired by the image acquisition device 103, and determines the sample information of the sample container based on the second recognition result of the serial code.
- the embodiment of the present application also provides a sample identification method, which is applied to the controller in the above sample identification system; the sample identification system also includes a rotating device and an image acquisition device coupled to the controller, and the controller can communicate with the image acquisition device to receive or acquire images taken by the image acquisition device, and/or receive barcode recognition results sent by the image acquisition device.
- the method includes:
- Step 801 when a barcode on the outside of a sample container can be successfully identified based on at least one image at least including the barcode on the outside of the sample container, determine sample information of the sample container based on a first recognition result of the barcode.
- the image acquisition device or the controller may recognize the barcode based on at least one image that at least includes the barcode on the outside of the same sample container to obtain a barcode recognition result, and determine a first barcode recognition result based on the barcode recognition result of the same sample container, and the controller determines the sample information of the sample container based on the first barcode recognition result.
- the image acquisition device may recognize the barcode based on at least one image that at least includes the barcode on the outside of the same sample container to obtain a barcode recognition result, and the controller may determine a first barcode recognition result based on the barcode recognition result of the same sample container; and the controller determines the sample information of the sample container based on the first barcode recognition result.
- the implementation process of determining the first barcode recognition result and determining the sample information based on the first recognition result is described above, and will not be repeated here.
- the image that at least includes the barcode on the outside of the same sample container may include at least the barcode of the sample container and may also include the serial code of the sample container. That is, the image acquisition device or controller recognizes the barcode based on at least one image that at least includes the barcode on the outside of the same sample container, including: performing barcode recognition based on the image that includes the barcode on the outside of the same sample container, or performing barcode recognition based on the image that includes the barcode and the serial code on the outside of the same sample container.
- determining the sample information of the sample container according to the first recognition result of the barcode includes:
- the image acquisition device Receive the first recognition result sent by the image acquisition device, and determine the sample information of the sample container according to the first recognition result; the first recognition result is obtained by the image acquisition device recognizing the barcode based on an image captured by at least the barcode on the outside of the sample container.
- the image acquisition device is based on at least one image containing at least one sample container
- the barcode is recognized by using the image of the barcode on the sample container, and only one barcode recognition result is obtained, then the barcode recognition result is the first recognition result of the barcode of the sample container;
- the image acquisition device sends the first recognition result of the barcode of the sample container to the controller;
- the controller receives the first recognition result sent by the image acquisition device, and determines the sample information of the sample container according to the first recognition result.
- the image at least including the barcode on the outside of the sample container may be an image acquired when the sample container is stationary before the controller controls the rotating device to operate, or may be an image captured by the image acquisition device when the rotating device drives the sample container to rotate.
- the barcode can be recognized by the image acquisition device to reduce the amount of data processing of the controller.
- the at least one image containing at least the barcode on the outside of the sample container includes multiple images; the receiving the first recognition result sent by the image acquisition device includes:
- the first recognition result is determined from the at least two different barcode recognition results based on the number of occurrences of the corresponding barcode recognition results.
- the image acquisition device can obtain at least two different barcode recognition results based on multiple images containing at least the barcode on the outside of the same sample container, and send all barcode recognition results corresponding to the same sample container to the controller; the controller determines the first recognition result from all barcode recognition results corresponding to the sample container based on the number of occurrences of each barcode recognition result corresponding to the sample container; for example, the controller can determine the barcode recognition result with the largest number of occurrences corresponding to the same sample container as the first recognition result of the barcode of the sample container. In this way, the accuracy and credibility of the first recognition result can be improved.
- the barcode recognition result is selected from the at least two different barcode recognition results based on the number of occurrences of the corresponding barcode recognition results. Determining the first recognition result from the results includes:
- the barcode recognition result with the number of votes greater than the set threshold is determined as the first recognition result.
- the first recognition result of the barcode of the sample container is A; if the different barcode recognition results corresponding to the same sample container are ABB, then the first recognition result of the barcode of the sample container is B.
- the barcode recognition can be controlled to reduce the data processing amount of the image acquisition device or reduce the data processing capability requirements of the image acquisition device. Based on this, in one embodiment, the method further includes:
- the barcode is identified based on image features of all or part of the at least one image that at least includes the barcode on the outside of the sample container; or, the barcode is identified by processing all or part of the at least one image that at least includes the barcode on the outside of the sample container through a second set neural network; the second set neural network is used to identify the barcode in the input image.
- the at least one image containing at least the barcode on the outside of the sample container is captured by the image acquisition device when the rotating device drives the sample container to rotate.
- the implementation process of the controller recognizing the barcode based on at least one image containing at least the barcode on the outside of the same sample container is described above and will not be repeated here.
- Step 802 If the barcode cannot be successfully identified based on at least one image that at least includes the barcode on the outside of the sample container, identify the serial code based on at least one image that at least includes the serial code on the outside of the sample container, and identify the serial code based on the serial code.
- the sample information of the sample container is determined based on the second recognition result.
- At least one image including at least the barcode and/or the serial code on the outside of the sample container is captured by the image acquisition device when the rotating device drives the sample container to rotate.
- the controller or the image acquisition device fails to successfully identify the barcode based on at least one image that at least includes the barcode on the outside of the same sample container
- the controller identifies the serial code on the outside of the sample container based on at least one image that at least includes the serial code on the outside of the sample container, obtains a second identification result of the barcode, and determines the sample information of the sample container based on the second identification result of the serial code.
- the image at least including the serial code on the outside of the sample container may also include the serial code on the outside of the sample container. That is, the controller recognizes the serial code based on at least one image at least including the serial code on the outside of the same sample container, including: performing barcode recognition based on the image including the serial code on the outside of the same sample container, or performing barcode recognition based on the image including the barcode and the serial code on the outside of the same sample container.
- the identifying the serial code based on at least one image at least including the serial code on the outside of the sample container includes:
- the first set neural network is used to process all or part of the at least one image containing at least the serial code on the outside of the sample container to identify the serial code to obtain the second recognition result; the first set neural network is used to identify the serial code in the input image. Serial number.
- the rotating device can be stopped when the front image of the barcode and/or the serial code is obtained. Based on this, in one embodiment, the rotating device is controlled to operate, and when the image acquisition device acquires an image containing the barcode and the serial code on the outside of the sample container, the rotating device is controlled to stop operating.
- the controller can control the rotating device to continue to operate to drive the sample container to continue to rotate in the vertical direction, and the image acquisition device captures the next frame of image.
- the image acquired by the image acquisition device is identified based on the image features to obtain a third recognition result; or, the image acquired by the image acquisition device is processed by a third set neural network to obtain a third recognition result;
- the controller controls the rotating device to stop running.
- the rotating device drives the sample container to rotate a set number of times, the rotating device is controlled to stop running.
- the controller controls the rotating device to stop running, so that the sample container stops rotating; the set number of revolutions can be 2.
- the controller can also mark the barcode recognition result of the sample container as NOREAD or recognition failure or no barcode.
- the controller or the image acquisition device needs to determine the first recognition result of the barcode of the sample container within the second set number of revolutions driven by the rotating device; if, when the rotating device drives the sample container to rotate the second set number of revolutions, the controller or the image acquisition device still has not determined the first recognition result of the barcode of the sample container, then the controller can mark the barcode recognition result of the sample container as NOREAD or recognition failure or no barcode.
- the second set number of revolutions is greater than the first set number of revolutions, for example, the first set number of revolutions can be 2, and the second set number of revolutions can be 3 or 4.
- the first parameter value of the image is greater than a set threshold; the first parameter value represents a ratio of a first area to a second area; the first area represents an area occupied by a barcode and/or a serial code in the at least one image; and the second area represents an area occupied by the sample container in the at least one image.
- the controller can also identify the barcode based on at least one image containing the barcode on the outside of the same sample container, identify the serial code based on at least one image containing the serial code on the outside of the same sample container, and determine the sample information of the sample container based on the first recognition result of the barcode and the second recognition result of the serial code; wherein, at least one image containing the barcode and/or serial code on the outside of the same sample container is captured by the image acquisition device when the rotating device drives the sample container to rotate.
- the sample information of the sample container is determined based on the first recognition result or the second recognition result; when the first recognition result and the second recognition result corresponding to the same sample container are different, it indicates that the code scanning is abnormal, and the controller can transfer the sample container to the code scanning abnormality area, and can also control the human-computer interaction device in the sample identification system to output an alarm prompt message or a prompt message indicating the code scanning abnormality on its display interface to prompt relevant personnel to make further processing.
- the controller can also control the rotation device to operate so that the image acquisition device at least acquires an image containing the barcode and/or the serial code on the outside of the sample container when the rotation device drives the sample container to rotate.
- the controller controls the rotation device to stop operating; when the image acquisition device can successfully identify the barcode and the serial code on the outside of the sample container based on the image containing the barcode and the serial code on the outside of the sample container, the controller controls the rotation device to stop operating.
- the sample information of the sample container is determined according to a first recognition result of the barcode, and in the case that the barcode cannot be successfully recognized according to the image containing the barcode and the serial code on the outside of the sample container, the rotating device is controlled to operate; the barcode is recognized according to at least one image containing the barcode on the outside of the sample container acquired by an image acquisition device, and in the case that the barcode can be successfully recognized according to the at least one image containing the barcode on the outside of the sample container, the sample information of the sample container is determined according to the first recognition result of the barcode; in the case that the barcode cannot be successfully recognized according to the at least one image containing the barcode on the outside of the sample container, the serial code is recognized according to at least one image containing the serial code on the outside of the sample container acquired by the image acquisition device, and the sample information of the sample container is determined according to a second recognition result of the serial code.
- the embodiment of the present application further provides a controller, which is deployed in the above sample identification system, and the sample identification system also includes a rotating device and an image acquisition device coupled to the controller.
- the controller 900 includes:
- Communication interface 901 capable of exchanging information with other nodes
- the processor 902 is connected to the communication interface 901 to implement information exchange with other nodes, and is used to execute the method provided by one or more technical solutions of the controller side when running the computer program.
- the computer program is stored in the memory 903.
- the processor 902 is used to determine the sample information of the sample container according to a first recognition result of the barcode when the barcode can be successfully recognized based on at least one image that at least includes the barcode on the outside of the sample container; and to recognize the sequence code based on at least one image that at least includes the sequence code on the outside of the sample container, and determine the sample information of the sample container according to a second recognition result of the sequence code when the barcode cannot be successfully recognized based on at least one image that at least includes the barcode on the outside of the sample container; wherein at least one image that at least includes the barcode and/or the sequence code on the outside of the sample container is
- the image acquisition device takes pictures when the rotating device drives the sample container to rotate.
- the processor 902 is further configured to control the operation of the rotating device, and control the rotating device to stop operating when the image acquisition device acquires an image including the barcode and the serial code on the outside of the sample container.
- the processor 902 is further configured to, when the rotating device is running, perform recognition based on image features of the image acquired by the image acquisition device to obtain a third recognition result; or, process the image acquired by the image acquisition device through a third set neural network to obtain a third recognition result;
- the controller controls the rotating device to stop running.
- the processor 902 is specifically configured to identify the serial code based on image features of all or part of the at least one image at least including the serial code on the outside of the sample container to obtain the second identification result; or
- the first set neural network is used to process all or part of the at least one image containing at least the serial code on the outside of the sample container to identify the serial code and obtain the second recognition result; the first set neural network is used to identify the serial code in the input image.
- the communication interface 901 is used to receive the first recognition result sent by the image acquisition device, and determine the sample information of the sample container according to the first recognition result; the first recognition result is obtained by the image acquisition device recognizing the barcode based on the image captured by at least the barcode on the outside of the sample container;
- the processor 902 is specifically configured to determine the sample information of the sample container according to the first recognition result.
- the at least one image at least including the barcode on the outside of the sample container includes a plurality of images; the communication interface 901 is specifically used to receive the image acquisition device based on At least two different barcode recognition results obtained from the multiple images;
- the processor 902 is specifically configured to determine the first recognition result from the at least two different barcode recognition results based on the number of occurrences of the corresponding barcode recognition results.
- the processor 902 is specifically configured to vote on the corresponding barcode recognition results; when the number of votes corresponding to any barcode recognition result is greater than a set threshold, the barcode recognition result with the number of votes greater than the set threshold is determined as the first recognition result.
- the communication interface 901 is further used to receive the at least one image including at least the barcode on the outside of the sample container sent by the image acquisition device;
- the processor 902 is further used to identify the barcode based on image features of all or part of the at least one image that at least includes the barcode on the outside of the sample container; or, to process all or part of the at least one image that at least includes the barcode on the outside of the sample container through a second set neural network to identify the barcode; the second set neural network is used to identify the barcode in the input image.
- the processor 902 is further configured to determine, from the multiple images acquired by the image acquisition device, at least one image including at least a barcode on the outside of the sample container and/or at least one image including at least a serial code on the outside of the sample container for determining the sample information of the sample container; wherein,
- the first parameter value of the image is greater than a set threshold; the first parameter value represents a ratio of a first area to a second area; the first area represents an area occupied by a barcode and/or a serial code in the at least one image; and the second area represents an area occupied by the sample container in the at least one image.
- the processor 902 is further configured to control the rotating device to stop running if no barcode is recognized after the rotating device drives the sample container to rotate a set number of times.
- bus system 904. the various components in the controller 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components.
- the bus system 904 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as the bus system 904 in FIG. 9.
- the memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the controller 900. Examples of such data include: any computer program used to operate on the controller 900.
- the method disclosed in the above embodiment of the present application can be applied to the processor 902, or implemented by the processor 902.
- the processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 902 or the instruction in the form of software.
- the above-mentioned processor 902 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
- DSP Digital Signal Processor
- the processor 902 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
- a general-purpose processor may be a microprocessor or any conventional processor, etc.
- the decoding processor 902 In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a storage medium, which is located in the memory 903.
- the processor 902 reads the information in the memory 903 and completes the steps of the above method in combination with its hardware.
- the controller 900 may be implemented by one or more application specific integrated circuits.
- the method can be implemented by an ASIC (Application Specific Integrated Circuit), a DSP, a programmable logic device (PLD), a complex programmable logic device (CPLD), a field programmable gate array (FPGA), a general-purpose processor, a controller, a microcontroller (MCU), a microprocessor, or other electronic components to execute the aforementioned method.
- ASIC Application Specific Integrated Circuit
- DSP digital signal processor
- PLD programmable logic device
- CPLD complex programmable logic device
- FPGA field programmable gate array
- MCU microcontroller
- microprocessor or other electronic components to execute the aforementioned method.
- the memory (memory 903) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories.
- the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM);
- the magnetic surface memory can be a disk memory or a tape memory.
- the volatile memory can be a random access memory (RAM), which is used as an external cache.
- RAM random access memory
- RAM random access memory
- SRAM static random access memory
- SSRAM synchronous static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous link dynamic random access memory
- DMA direct memory access memory
- DMA direct memory access memory
- DRRAM Direct Rambus Random Access Memory
- the memory described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
- the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 903 storing a computer program, and the computer program can be executed by a processor 902 of a controller 900 to complete the steps described in the aforementioned electronic device side method.
- the computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
- a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
- at least one herein represents any combination of at least two of any one or more of a plurality of.
- including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
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)
- Automatic Analysis And Handling Materials Therefor (AREA)
Abstract
La présente demande divulgue un système et un procédé de reconnaissance d'échantillon, un dispositif de commande et un support de stockage. Le procédé comprend les étapes suivantes : lorsqu'un code à barres peut être reconnu avec succès sur la base d'au moins une image contenant le code à barres à l'extérieur d'un récipient d'échantillon, un dispositif de commande détermine des informations d'échantillon du récipient d'échantillon sur la base d'un premier résultat de reconnaissance du code à barres ; et lorsque le code à barres ne peut pas être reconnu avec succès sur la base de ladite au moins une image contenant le code à barres à l'extérieur du récipient d'échantillon, reconnaître un code de séquence sur la base d'au moins une image contenant le code de séquence à l'extérieur du récipient d'échantillon et déterminer les informations d'échantillon du récipient d'échantillon sur la base d'un second résultat de reconnaissance du code de séquence, ladite au moins une image contenant le code à barres et/ou le code de séquence à l'extérieur du récipient d'échantillon étant capturées par un dispositif d'acquisition d'image lorsqu'un dispositif rotatif entraîne le récipient d'échantillon en rotation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2023/135957 WO2025112057A1 (fr) | 2023-12-01 | 2023-12-01 | Système et procédé de reconnaissance d'échantillon, dispositif de commande et support de stockage |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2023/135957 WO2025112057A1 (fr) | 2023-12-01 | 2023-12-01 | Système et procédé de reconnaissance d'échantillon, dispositif de commande et support de stockage |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025112057A1 true WO2025112057A1 (fr) | 2025-06-05 |
Family
ID=95896081
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/135957 Pending WO2025112057A1 (fr) | 2023-12-01 | 2023-12-01 | Système et procédé de reconnaissance d'échantillon, dispositif de commande et support de stockage |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025112057A1 (fr) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140374480A1 (en) * | 2012-02-03 | 2014-12-25 | Siemens Healthcare Diagnostics Inc. | Barcode reading test tube holder |
| US20150241457A1 (en) * | 2012-08-20 | 2015-08-27 | Siemens Healthcare Diagnostics Inc. | Methods and apparatus for ascertaining specimen and/or sample container characteristics while in transit |
| CN110573883A (zh) * | 2017-04-13 | 2019-12-13 | 美国西门子医学诊断股份有限公司 | 用于在样本表征期间确定标签计数的方法和装置 |
| CN111368574A (zh) * | 2020-03-06 | 2020-07-03 | 联想(北京)有限公司 | 一种条形码识别方法及装置 |
| US20210374382A1 (en) * | 2018-03-16 | 2021-12-02 | Inveox Gmbh | Automated identification, orientation and sample detection of a sample container |
| CN113869077A (zh) * | 2021-09-29 | 2021-12-31 | 杭州海康威视数字技术股份有限公司 | 一种条码识别方法、装置及电子设备 |
| CN114339046A (zh) * | 2021-12-30 | 2022-04-12 | 中元汇吉生物技术股份有限公司 | 基于自动旋转试管的图像采集方法、装置、设备及介质 |
| CN114858793A (zh) * | 2021-02-04 | 2022-08-05 | 深圳迈瑞生物医疗电子股份有限公司 | 样本图像拍摄系统、方法以及计算机可读存储介质 |
| CN115578464A (zh) * | 2022-12-07 | 2023-01-06 | 深圳思谋信息科技有限公司 | 条码识别方法、装置、计算机设备及可读存储介质 |
| CN116773834A (zh) * | 2022-03-17 | 2023-09-19 | 深圳迈瑞生物医疗电子股份有限公司 | 样本分析系统及样本分析方法 |
-
2023
- 2023-12-01 WO PCT/CN2023/135957 patent/WO2025112057A1/fr active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140374480A1 (en) * | 2012-02-03 | 2014-12-25 | Siemens Healthcare Diagnostics Inc. | Barcode reading test tube holder |
| US20150241457A1 (en) * | 2012-08-20 | 2015-08-27 | Siemens Healthcare Diagnostics Inc. | Methods and apparatus for ascertaining specimen and/or sample container characteristics while in transit |
| CN110573883A (zh) * | 2017-04-13 | 2019-12-13 | 美国西门子医学诊断股份有限公司 | 用于在样本表征期间确定标签计数的方法和装置 |
| US20210374382A1 (en) * | 2018-03-16 | 2021-12-02 | Inveox Gmbh | Automated identification, orientation and sample detection of a sample container |
| CN111368574A (zh) * | 2020-03-06 | 2020-07-03 | 联想(北京)有限公司 | 一种条形码识别方法及装置 |
| CN114858793A (zh) * | 2021-02-04 | 2022-08-05 | 深圳迈瑞生物医疗电子股份有限公司 | 样本图像拍摄系统、方法以及计算机可读存储介质 |
| CN113869077A (zh) * | 2021-09-29 | 2021-12-31 | 杭州海康威视数字技术股份有限公司 | 一种条码识别方法、装置及电子设备 |
| CN114339046A (zh) * | 2021-12-30 | 2022-04-12 | 中元汇吉生物技术股份有限公司 | 基于自动旋转试管的图像采集方法、装置、设备及介质 |
| CN116773834A (zh) * | 2022-03-17 | 2023-09-19 | 深圳迈瑞生物医疗电子股份有限公司 | 样本分析系统及样本分析方法 |
| CN115578464A (zh) * | 2022-12-07 | 2023-01-06 | 深圳思谋信息科技有限公司 | 条码识别方法、装置、计算机设备及可读存储介质 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3259068B1 (fr) | Détection des conditions d'étiquettes à code-barres sur des tubes d'échantillons | |
| US8446463B2 (en) | Apparatus, method and article to perform assays using assay strips | |
| US11250943B2 (en) | Sample traceability device and method for medical research and/or diagnosis | |
| US10937152B2 (en) | Inspection support method and inspection support device | |
| CN110737785B (zh) | 一种图片标注的方法及装置 | |
| CN118365699B (zh) | 一种标签位置偏移检测方法、装置及检测设备 | |
| CN113870168B (zh) | 物料计数方法、系统、计算机装置及存储介质 | |
| WO2014044747A1 (fr) | Procédé et système de détection d'un code à barres en 2d dans une étiquette circulaire | |
| Suksawatchon et al. | Shape recognition using unconstrained pill images based on deep convolution network | |
| CN113743434A (zh) | 一种目标检测网络的训练方法、图像增广方法及装置 | |
| CN113536868B (zh) | 电路板故障识别方法及相关设备 | |
| CN117710310A (zh) | 基于人工智能实现芯片外观缺陷检测的系统及其方法 | |
| WO2025112057A1 (fr) | Système et procédé de reconnaissance d'échantillon, dispositif de commande et support de stockage | |
| JP2005025417A (ja) | 光学的情報読取装置 | |
| CN114399623A (zh) | 一种通用答题识别方法、系统、存储介质及计算设备 | |
| US12079683B2 (en) | Methods and systems of harvesting data for training machine learning (ML) model | |
| CN118671078A (zh) | 新能源电芯打包检测方法、装置、电子设备和存储介质 | |
| EP4579680A1 (fr) | Système d'analyse d'échantillon et procédé d'affichage d'informations d'échantillon | |
| Tian et al. | Fast batch reading densely deployed QR codes | |
| CN111243014B (zh) | 人脸检测处理方法、装置及设备 | |
| CN112987276A (zh) | 涂片姿态调整设备及方法、细胞图像分析仪和存储介质 | |
| TWI764473B (zh) | 物體檢測方法、裝置、電子設備及存儲介質 | |
| US20230306630A1 (en) | Image analysis server, object counting method using image analysis server, and object counting syste | |
| US20230252802A1 (en) | Technique for identifying a container and verifying human-readable information | |
| CN115761294A (zh) | 安装检验方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23959963 Country of ref document: EP Kind code of ref document: A1 |