Orthopedic consumable label identification method

Through the screening and standardization of the keyword feature table and alternative information table, the problem of low recognition efficiency and accuracy in medical consumable label identification technology is solved, efficient and accurate verification of medical consumables is achieved, and the label format changes of new manufacturers are adapted to .

CN118736601APending Publication Date: 2024-10-01TONGJI HOSPITAL ATTACHED TO TONGJI MEDICAL COLLEGE HUAZHONG SCI TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410817844.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing medical consumable label recognition technology has problems with low recognition efficiency and accuracy. This is mainly due to the inconsistent label format and the increase in manufacturers, which requires frequent modification of the recognition system, affecting efficiency and accuracy.

Method used

The keyword feature table and alternative information table are used to extract the label image data information through the OpenCV algorithm. Keyword features are used to filter and standardize the data, delete the data information that does not meet the requirements, and compare it with the database to verify the qualification of the consumables.

Benefits of technology

It improves the accuracy and efficiency of consumable verification, can adapt to label format changes of new manufacturers, reduces data omissions and errors in the identification process, and enhances the adaptability and accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736601A_ABST
    Figure CN118736601A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical consumable label identification, in particular to an orthopedic consumable label identification method, which comprises the following steps: S1, acquiring a label image of a consumable; s2, identifying and acquiring data information in the image; s3, screening the data information obtained in the step S2 by using keyword features, and enabling the data information to correspond to keywords; s4, screening the data information corresponding to each keyword according to the data features, and deleting the data information which does not meet the requirements; and S5, carrying out standardization processing on the alternative data information of each keyword, comparing the alternative data information with correct information corresponding to the keyword in the database, and if the correct information exists in the data information corresponding to the keyword, determining that the consumable passes verification. According to the invention, the verification accuracy and efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical consumables label recognition, and in particular to a method for identifying orthopedic consumables labels. Background Art

[0002] Using machine vision to identify text / symbols / QR codes / 1D codes in label images is a widely used method in the current computer vision field. Usually, neural network models and other technologies are used to achieve text detection and positioning / text recognition. However, during the recognition process, there are several problems that affect the recognition efficiency and accuracy:

[0003] 1) The formats of certificates of conformity of various manufacturers vary, and there is no unified format specification for labels. The position / format of key information and the order of arrangement and combination are very arbitrary, which affects the extraction of key information;

[0004] 2) The number of label manufacturers is constantly increasing. Due to the randomness of label layout, the identification process needs to be constantly adapted to the newly added manufacturer's certificates, which affects the efficiency of the system and causes lags. Summary of the invention

[0005] The purpose of the present invention is to provide a method for identifying labels of orthopedic consumables in view of the defects of the prior art, which is conducive to improving the accuracy and efficiency of verification.

[0006] In order to solve the above technical problems, the present invention proposes a method for identifying labels of orthopedic consumables, comprising:

[0007] S1, obtaining a label image of consumables;

[0008] S2, identifying and acquiring data information in the image;

[0009] S3, filtering the data information obtained in step S2 using the keyword feature, and matching the data information with the keywords;

[0010] S4. Screen the data information corresponding to each keyword according to the data characteristics, and delete the data information that does not meet the requirements;

[0011] S5. The candidate data information of each keyword is normalized and compared with the correct information corresponding to the keyword in the database. If the correct information exists in the data information corresponding to the keyword, the consumable is verified.

[0012] Further, step S3 includes:

[0013] S31, establishing a keyword feature table and a keyword-candidate information table, wherein the keyword feature table includes a plurality of keywords and a data type and a feature word corresponding to each keyword;

[0014] S32. All data information obtained in step S2 are cleaned and screened one by one using the keyword feature table, and data information that meets the keyword feature table is added to a keyword-alternative information table, wherein the keyword-alternative information table includes multiple keywords and alternative data information corresponding to each keyword.

[0015] Further, step S32 includes:

[0016] S321, traverse all data information obtained in step S2;

[0017] S322, compare the current data information with each keyword and its characteristic word, and determine whether the current data information has an intersection with the keyword and its characteristic word. If the current data information has an intersection with a keyword or the characteristic word of the keyword, execute step S323, otherwise, execute step S324;

[0018] S323, searching whether there is a characteristic word and / or data information of date type, quantity type or coding type in the coordinate area of ​​the current data information,

[0019] If it exists, the data information corresponding to the characteristic word in the coordinate area of ​​the current data information and / or the data information of the date type, quantity type or coding type are added to the keyword-alternative information table as the alternative data information of the keyword

[0020] If not, search for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, and determine whether other data information adjacent to the current data information has a characteristic word and / or data information of a date type, a quantity type, or a coding type. If so, add the other data information to the keyword-alternative information table as the alternative data information of the keyword;

[0021] S324, determining the data type of the current data information, if the data type of the current data information is a date type, a quantity type, or a coding type, executing step S325, otherwise, ignoring the current data information;

[0022] S325. Search for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, and determine whether the other data information adjacent to the current data information has an intersection with the keyword and its feature word. If a certain other data information adjacent to the current data information has an intersection with a certain keyword or the feature word of the keyword, then add the current data information to the keyword-alternative information table as alternative data information for the keyword.

[0023] Furthermore, in steps S323 and S325, when searching for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, the search is performed along the X direction and the Y direction.

[0024] Further, step S4 includes:

[0025] S41, traversing the candidate data information corresponding to all keywords in the keyword-candidate information table;

[0026] S42, determine the data features of the current candidate data information, determine the data features of the keyword corresponding to the current candidate data information according to the keyword feature table, compare the data features of the current candidate data information with the data features of the corresponding keyword, if they are different, delete the current candidate data information, otherwise, execute step S43;

[0027] S43. According to the specific characteristics of the data characteristics of the keyword corresponding to the current candidate data information, determine whether the current candidate data information meets the specific characteristics. If so, retain the current candidate data information; otherwise, delete the current candidate data information.

[0028] Further, step S43 includes:

[0029] If the data feature of the keyword corresponding to the current candidate data information is a coding type, determining whether the length of the current candidate data information meets the length feature corresponding to the keyword;

[0030] If the data feature of the keyword corresponding to the current candidate data information is a quantity type, the keyword is determined to be an integer data or a floating point type data according to the keyword feature table, and it is determined whether the current candidate data information is the integer data or the floating point type data corresponding to the keyword.

[0031] Furthermore, step S1 includes: photographing the label of the consumable to obtain a first label image, extracting the spot area of ​​the first label image through the OpenCV algorithm, adjusting the shooting parameters, photographing the label of the consumable again to obtain a second label image, splitting and extracting the corresponding area of ​​the second label image according to the spot area of ​​the first label image, and performing image stitching through the OpenCV algorithm to repair the spot area of ​​the first label image.

[0032] Furthermore, step S2 includes: extracting data information in the repaired first label image by using OCR machine vision technology.

[0033] The beneficial effects of the present invention are:

[0034] 1. The present invention uses the keywords, feature words and data types in the keyword feature table to perform preliminary cleaning of all data information, and adds all the required data information to the keyword-alternative information table, thereby avoiding omission of data information and facilitating improving the accuracy of subsequent verification; the data type, length feature, integer data, floating-point type data and other features in the keyword feature table are used to screen the alternative data information corresponding to each keyword in the keyword-alternative information table again, so that the alternative data information corresponding to the keyword meets all the features of the keyword, greatly reducing the number of alternative data information corresponding to the keyword and improving the efficiency of subsequent verification.

[0035] 2. The present invention can adapt to new labels of consumables produced by new manufacturers by directly updating keyword features such as feature words in the keyword feature table, thereby ensuring the accuracy of the verification of the method. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a flow chart of the present invention;

[0037] Figure 2 is the keyword feature table of the present invention;

[0038] Figure 3 This is the recognition character table of the present invention. DETAILED DESCRIPTION

[0039] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0040] like Figure 1 As shown, this embodiment provides a method for identifying labels of orthopedic consumables, including:

[0041] S1. Obtaining the label image of the consumables; specifically including:

[0042] Photograph the label of the consumable to obtain the first label image, extract the spot area of ​​the first label image through the OpenCV algorithm, adjust the shooting parameters, photograph the label of the consumable again to obtain the second label image, split and extract the corresponding area of ​​the second label image according to the spot area of ​​the first label image, perform image stitching through the OpenCV algorithm, and repair the spot area of ​​the first label image.

[0043] S2. Identify and obtain data information in the image; specifically including:

[0044] The data information in the repaired first label image is extracted through OCR machine vision technology, such as Figure 3 As shown, the result of identifying a consumable label includes data information and a corresponding rectangular coordinate area. The data information includes data information that needs to be verified and meaningless data information. In this embodiment, a corner of the first label image is used as the coordinate origin, and the length direction and width direction of the first label image are used as the X-axis direction and the Y-axis direction respectively to calculate the coordinate area of ​​the data information.

[0045] S3, filtering the data information obtained in step S2 using the keyword feature, and matching the data information with the keyword; specifically including:

[0046] S31, establish a keyword feature table and a keyword-option information table, such as Figure 2 As shown, the keyword feature table includes multiple keywords and the data type, feature word, and length feature corresponding to each keyword, wherein the data type includes a date type and a character type, and the character type includes a quantity type and a coding type. For example, the model is a coding type, and the telephone number, specification, and consumable quantity are quantity types; Figure 2 Only some keywords are shown.

[0047] S32, using the keyword feature table to clean and screen all the data information obtained in step S2 one by one, and add the data information that meets the keyword feature table to the keyword-candidate information table, which includes multiple keywords and the candidate data information corresponding to each keyword; specifically including:

[0048] S321, traverse all data information obtained in step S2;

[0049] S322, compare the current data information with each keyword and its characteristic word, and determine whether the current data information has an intersection with the keyword and its characteristic word. If the current data information has an intersection with a keyword or the characteristic word of the keyword, execute step S323, otherwise, execute step S324;

[0050] S323, searching whether there is a characteristic word and / or data information of date type, quantity type or coding type in the coordinate area of ​​the current data information,

[0051] If it exists, the data information corresponding to the characteristic word in the coordinate area of ​​the current data information and / or the data information of the date type, quantity type or coding type are added to the keyword-alternative information table as the alternative data information of the keyword; for example, Figure 3 The data with sequence number 1 is "Registration Certificate Number / Product Technical Requirements Number: National Medical Device Registration Standard 20143462289". This data has an intersection with the keyword "implementation standard" and its characteristic words. The data is searched first. If the characteristic words "national", "medical device", and "standard" are found, and the data of the quantity type "20143462289" is found, then "National Medical Device Registration Standard" and "20143462289" are added to the keyword-alternative information table as the alternative data of the keyword "implementation standard"; for another example, Figure 3 For the data information "Metal Intramedullary Nail" with serial number 2, if the label does not contain words such as "Product Name", it can only be identified and added as alternative data information through feature words. The data information contains the feature words "marrow" and "nail" of the keyword "Product Name", so "Metal Intramedullary Nail" is used as the alternative data information for the keyword "Product Name".

[0052] If not, search for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, and determine whether other data information adjacent to the current data information has feature words and / or data information of date type, quantity type or coding type. If so, add the other data information to the keyword-alternative information table as alternative data information for the keyword; it can be understood that if the current data information has an intersection with the keyword and its feature words, but the feature words and data information of date type, quantity type or coding type do not exist in the current data information, it means that the keyword and its corresponding content in the actual label are not in the same row or are far away, and need to be searched, for example, Figure 3 In the data information with serial number 12, "Specification: Φ10*200-130", if the "Specification" and "Φ10*200-130" are far apart or not in the same row, then during recognition, "Specification" and "Φ10*200-130" will correspond. Figure 3 Therefore, when "Specification" is identified, it is necessary to search for other data information around it. When "Φ10*200-130" is searched, it is found that there are characteristic words "Φ" and "*" corresponding to "Specification", then "Φ10*200-130" will be added to the keyword-alternative information table as the alternative data information of the keyword "Specification".

[0053] S324, determining the data type of the current data information, if the data type of the current data information is a date type, a quantity type, or a coding type, executing step S325, otherwise, ignoring the current data information;

[0054] S325, searching for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, determining whether the other data information adjacent to the current data information has an intersection with the keyword and its characteristic word, and if a certain other data information adjacent to the current data information has an intersection with a certain keyword or the characteristic word of the keyword, adding the current data information to the keyword-alternative information table as the alternative data information of the keyword; for example, Figure 3 The data information "11" with serial number 23 has no intersection with all keywords and corresponding feature words, and belongs to the quantity type. The adjacent data information around the data information will be searched. When the adjacent data information of the data information has an intersection with the keyword or the feature word of the keyword, the data information "11" will be added to the keyword-alternative information table as alternative data information for one or more keywords. Although "11" may be used as alternative data information for multiple keywords, the keyword "quantity" corresponding to the data information "11" will be in its adjacent surroundings. The keyword "quantity" (or other words with the same meaning) must exist in the one or more keywords. Therefore, "11" will be used as alternative data information for the keyword "quantity".

[0055] In steps S323 and S325, when searching for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, the search is performed along the X direction and the Y direction.

[0056] It should be noted that the primary barcode, secondary barcode and QR code identified in step S2 are directly added to the keyword-optional information table.

[0057] S4. Screen the data information corresponding to each keyword according to the data characteristics and delete the data information that does not meet the requirements; specifically including:

[0058] S41, traversing the candidate data information corresponding to all keywords in the keyword-candidate information table;

[0059] S42. Determine the data features of the current candidate data information, determine the data features of the keyword corresponding to the current candidate data information according to the keyword feature table, compare the data features of the current candidate data information with the data features of the corresponding keyword, if they are different, delete the current candidate data information, otherwise, execute step S43; for example, in step S325, the data information "11" may be used as the candidate data information of the keyword "product name" during the search process, so "11" can be deleted from the candidate data information of "product name" through step S42.

[0060] S43, judging whether the current candidate data information meets the specific characteristics of the data characteristics of the keyword corresponding to the current candidate data information, if so, retaining the current candidate data information, otherwise, deleting the current candidate data information; specifically including:

[0061] If the data feature of the keyword corresponding to the current candidate data information is a coding type, determine whether the length of the current candidate data information meets the length feature corresponding to the keyword; for example, the length of the data information corresponding to the implementation standard, production date, etc. is a fixed length or length range, and those that do not belong to the fixed length or length range are deleted;

[0062] If the data feature of the keyword corresponding to the current candidate data information is a quantity type, the keyword is determined to be an integer data or a floating point type data according to the keyword feature table, and it is judged whether the current candidate data information is the integer data or floating point type data corresponding to the keyword. For example, the data information corresponding to the keyword "quantity" should be an integer data. If the candidate data information corresponding to the keyword "quantity" includes "027-883×××" and "2023-03-04", and "027-883×××" and "2023-03-04" are not integer data, "027-883×××" and "2023-03-04" in the candidate data information of "quantity" will be deleted.

[0063] S5. Standardize the candidate data information of each keyword (such as 2024.04.20, 20.04.2024, 2024.4.20, etc., which are the standard formats of April 20, 2024), and compare them with the correct information corresponding to the keyword in the database. If the correct information exists in the data information corresponding to the keyword, the consumables are verified. During the comparison process, the candidate data information corresponding to the keyword "product name" in the keyword-alternative information table is first used as the first comparison object, and the corresponding product name is searched in the database to determine other information about the product.

[0064] It should be noted that, through the screening in step S4, there may be more than one alternative data information for some keywords, but if the consumables are qualified, then there must be correct data information corresponding to the keyword in the alternative data information. In step S5, the correct data information is compared with the correct information in the database, so that the consumables can be verified.

[0065] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for identifying labels of orthopedic consumables, characterized by: include: S1, obtaining a label image of consumables; S2, identifying and acquiring data information in the image; S3, filtering the data information obtained in step S2 using the keyword feature, and matching the data information with the keywords; S4. Screen the data information corresponding to each keyword according to the data characteristics, and delete the data information that does not meet the requirements; S5. The candidate data information of each keyword is normalized and compared with the correct information corresponding to the keyword in the database. If the correct information exists in the data information corresponding to the keyword, the consumable is verified.

2. The orthopedic consumables label identification method according to claim 1, characterized in that: Step S3 includes: S31, establishing a keyword feature table and a keyword-candidate information table, wherein the keyword feature table includes a plurality of keywords and a data type and a feature word corresponding to each keyword; S32. All data information obtained in step S2 are cleaned and screened one by one using the keyword feature table, and data information that meets the keyword feature table is added to a keyword-alternative information table, wherein the keyword-alternative information table includes multiple keywords and alternative data information corresponding to each keyword.

3. The orthopedic consumables label identification method according to claim 2, characterized in that: Step S32 includes: S321, traverse all data information obtained in step S2; S322, compare the current data information with each keyword and its characteristic word, and determine whether the current data information has an intersection with the keyword and its characteristic word. If the current data information has an intersection with a keyword or the characteristic word of the keyword, execute step S323, otherwise, execute step S324; S323, searching whether there is a characteristic word and / or data information of date type, quantity type or coding type in the coordinate area of ​​the current data information, If it exists, the data information corresponding to the characteristic word in the coordinate area of ​​the current data information and / or the data information of the date type, quantity type or coding type are added to the keyword-alternative information table as the alternative data information of the keyword If not, search for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, and determine whether other data information adjacent to the current data information has a characteristic word and / or data information of a date type, a quantity type, or a coding type. If so, add the other data information to the keyword-alternative information table as the alternative data information of the keyword; S324, determining the data type of the current data information, if the data type of the current data information is a date type, a quantity type, or a coding type, executing step S325, otherwise, ignoring the current data information; S325. Search for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, and determine whether the other data information adjacent to the current data information has an intersection with the keyword and its feature word. If a certain other data information adjacent to the current data information has an intersection with a certain keyword or the feature word of the keyword, then add the current data information to the keyword-alternative information table as alternative data information for the keyword.

4. The orthopedic consumables label identification method according to claim 3, characterized in that: In steps S323 and S325, when searching for other data information adjacent to the current data information according to the coordinate area of ​​the current data information, the search is performed along the X direction and the Y direction.

5. The orthopedic consumables label identification method according to claim 1, characterized in that: Step S4 includes: S41, traversing the candidate data information corresponding to all keywords in the keyword-candidate information table; S42, determine the data features of the current candidate data information, determine the data features of the keyword corresponding to the current candidate data information according to the keyword feature table, compare the data features of the current candidate data information with the data features of the corresponding keyword, if they are different, delete the current candidate data information, otherwise, execute step S43; S43. According to the specific characteristics of the data characteristics of the keyword corresponding to the current candidate data information, determine whether the current candidate data information meets the specific characteristics. If so, retain the current candidate data information; otherwise, delete the current candidate data information.

6. The orthopedic consumables label identification method according to claim 1, characterized in that: Step S43 includes: If the data feature of the keyword corresponding to the current candidate data information is a coding type, determining whether the length of the current candidate data information meets the length feature corresponding to the keyword; If the data feature of the keyword corresponding to the current candidate data information is a quantity type, the keyword is determined to be an integer data or a floating point type data according to the keyword feature table, and it is determined whether the current candidate data information is the integer data or the floating point type data corresponding to the keyword.

7. The orthopedic consumables label identification method according to claim 1, characterized in that: Step S1 includes: photographing the label of the consumable to obtain a first label image, extracting the spot area of ​​the first label image through the OpenCV algorithm, adjusting the shooting parameters, photographing the label of the consumable again to obtain a second label image, splitting and extracting the corresponding area of ​​the second label image according to the spot area of ​​the first label image, and performing image stitching through the OpenCV algorithm to repair the spot area of ​​the first label image.

8. The orthopedic consumables label identification method according to claim 7, characterized in that: Step S2 includes: extracting data information from the repaired first label image by using OCR machine vision technology.