A machine vision-based traditional Chinese medicine decoction piece quality monitoring and analyzing system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG HUQING YUTANG MATERIA MEDICA CO LTD
- Filing Date
- 2024-12-30
- Publication Date
- 2026-06-30
AI Technical Summary
The current quality inspection of Chinese herbal medicine slices mainly relies on manual inspection, which is cumbersome, time-consuming, and affects production efficiency.
A machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces is adopted, which includes a decoction piece delivery module, a data acquisition unit, a central server, an image screening unit, a classification analysis unit, and a display terminal. The system acquires decoction piece parameters through 3D scanning and high-definition cameras, and performs high-precision image screening and classification analysis by combining image preprocessing, retrieval, and segmentation modules.
It improves the efficiency and accuracy of quality testing of Chinese herbal medicine slices, enabling rapid screening of substandard products and display of superior products, simplifying the testing process and improving production efficiency.
Smart Images

Figure CN122298709A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of quality monitoring technology for traditional Chinese medicine decoction pieces, and more specifically, to a machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces. Background Technology
[0002] Traditional Chinese medicine emphasizes authentic medicinal materials, referring to herbs produced in a specific region with particular natural conditions and ecological environment. Due to the relatively concentrated production, cultivation techniques, harvesting, and processing are all carefully considered, resulting in herbs of higher quality and better efficacy compared to those produced in other regions. Chinese medicinal materials are diverse, with wide-ranging sources, and each type contains a variety of chemical components.
[0003] The existing Chinese herbal medicine processing requires quality inspection during the production process to prevent damaged or substandard Chinese herbal medicine from leaving the production line. However, most of the current quality inspection is done manually, which is cumbersome, time-consuming, and affects the production process of Chinese herbal medicine, resulting in low efficiency.
[0004] No effective solutions have yet been proposed to address the problems in the relevant technologies. Summary of the Invention
[0005] In response to the problems in related technologies, this invention proposes a machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces to overcome the aforementioned technical problems in existing related technologies.
[0006] Therefore, the specific technical solution adopted by the present invention is as follows:
[0007] A machine vision-based quality monitoring and analysis system for traditional Chinese medicine (TCM) decoction pieces includes a decoction piece delivery module, a decoction piece data acquisition unit, a central server, a decoction piece image screening unit, a standard decoction piece image database, a primary decoction piece classification and analysis unit, a secondary decoction piece classification and analysis unit, a final decoction piece evaluation module, and a display terminal. The decoction piece delivery module delivers the decoction pieces to the acquisition station of the decoction piece data acquisition unit. The decoction piece data acquisition unit collects basic characteristic parameters and appearance parameters of the decoction pieces. The central server receives the decoction piece data collected by the decoction piece data acquisition unit and forwards it to the decoction piece evaluation unit. The image filtering unit compares the received tablet data with standard data in the tablet standard image database to filter out tablet data with higher accuracy and send it to the tablet primary inspection and classification analysis unit. The tablet primary inspection and classification analysis unit performs an initial inspection of the tablet data and then sends it to the tablet secondary inspection and classification analysis unit. The tablet secondary inspection and classification analysis unit performs a final inspection of the tablet data and then sends it to the tablet final evaluation module. The tablet final evaluation module evaluates the tablet data and sends the final result to the display terminal.
[0008] Preferably, the tablet delivery module includes an automatic tablet feeder, a tablet pusher, and a tablet dispenser.
[0009] Preferably, the tablet data acquisition unit includes a tablet basic parameter acquisition module and a tablet appearance parameter acquisition module.
[0010] Preferably, the tablet basic parameter acquisition module includes a 3D scanner, which is used to perform a 3D scan of the tablet to obtain the tablet surface area, average thickness, circumscribed circle area and cortical area.
[0011] Preferably, the tablet appearance parameter acquisition module includes a high-definition camera, which is used to take high-definition pictures of the tablet to obtain the color area, surface texture pattern and surface damage area of the tablet.
[0012] Preferably, the tablet image screening unit includes an image preprocessing module, an image retrieval module, an image segmentation module, and a feature extraction module. The image preprocessing module, the image retrieval module, the image segmentation module, and the feature extraction module are used to detect and evaluate tablet images, thereby screening and judging tablets to obtain high-precision images.
[0013] Preferably, the tablet standard image database is used to store tablet standard data, which facilitates the analysis and comparison of the drug data to be tested.
[0014] Preferably, the tablet primary inspection and classification analysis unit performs an initial analysis on the high-precision tablet data filtered by the tablet image screening unit to obtain tablets that do not meet the requirements and tablets that meet the requirements. The tablets that do not meet the requirements are judged as unqualified, and the tablets that meet the requirements are sent to the tablet secondary inspection and classification analysis unit. The tablet secondary inspection and classification analysis unit performs a second analysis on the tablets that meet the requirements to obtain good and excellent tablets, and sends the excellent tablets to the tablet final evaluation module.
[0015] Preferably, the final evaluation module of the tablet performs a final evaluation on the data obtained by the second-stage tablet classification and analysis unit, and sends the evaluation results to the display terminal.
[0016] Preferably, the display terminal includes a central display and an office computer screen.
[0017] The beneficial effects of this invention are as follows: by setting up a pill data acquisition unit and a pill image screening unit, high-precision images of Chinese herbal medicine slices can be collected, which facilitates subsequent sorting and processing and improves image collection efficiency. By setting up a pill primary inspection and classification analysis unit, the collected high-precision images of Chinese herbal medicine slices can be preliminarily inspected to obtain qualified products. By setting up a pill secondary inspection and classification analysis unit, qualified products can be re-inspected to obtain superior and good products. By setting up pill primary inspection and classification analysis units and pill secondary inspection and classification analysis units, Chinese herbal medicine slices can be fully inspected and different grades can be obtained, improving the inspection efficiency of Chinese herbal medicine slices. By setting up a final evaluation module and a display terminal, the obtained superior products can be displayed for viewing. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the overall structure of a machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to an embodiment of the present invention.
[0020] Figure 2 This is a schematic diagram of the structure of a traditional Chinese medicine slice delivery module in a machine vision-based traditional Chinese medicine slice quality monitoring and analysis system according to an embodiment of the present invention.
[0021] Figure 3 This is a schematic diagram of the structure of a traditional Chinese medicine decoction piece data acquisition unit in a machine vision-based traditional Chinese medicine decoction piece quality monitoring and analysis system according to an embodiment of the present invention;
[0022] Figure 4 This is a schematic diagram of the structure of a traditional Chinese medicine decoction piece basic parameter acquisition module in a machine vision-based traditional Chinese medicine decoction piece quality monitoring and analysis system according to an embodiment of the present invention;
[0023] Figure 5 This is a schematic diagram of the structure of a Chinese herbal medicine slice appearance parameter acquisition module in a machine vision-based Chinese herbal medicine slice quality monitoring and analysis system according to an embodiment of the present invention.
[0024] Figure 6 This is a schematic diagram of the structure of a Chinese herbal medicine image screening unit in a machine vision-based Chinese herbal medicine quality monitoring and analysis system according to an embodiment of the present invention.
[0025] Figure 7 This is a schematic diagram of the display terminal in a machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to an embodiment of the present invention.
[0026] In the picture:
[0027] 1. Pill delivery module; 2. Pill data acquisition unit; 3. Central server; 4. Pill image screening unit; 5. Pill standard image database; 6. Pill primary inspection and classification analysis unit; 7. Pill secondary inspection and classification analysis unit; 8. Pill final evaluation module; 9. Display terminal; 10. Automatic drug feeder; 11. Pill pusher; 12. Pill dispenser; 13. Pill basic parameter acquisition module; 14. Pill appearance parameter acquisition module; 15. 3D scanner; 16. High-definition camera; 17. Image preprocessing module; 18. Image retrieval module; 19. Image segmentation module; 20. Feature extraction module; 21. Central display; 22. Office computer monitor. Detailed Implementation
[0028] To further illustrate the various embodiments, the present invention provides accompanying drawings, which are part of the disclosure of the present invention. These drawings are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these drawings, those skilled in the art should be able to understand other possible implementation methods and the advantages of the present invention. The components in the drawings are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0029] According to an embodiment of the present invention, a machine vision-based system for monitoring and analyzing the quality of traditional Chinese medicine decoction pieces is provided.
[0030] Example 1;
[0031] like Figure 1-7As shown, the machine vision-based traditional Chinese medicine (TCM) decoction piece quality monitoring and analysis system according to an embodiment of the present invention includes a decoction piece conveying module 1, a decoction piece data acquisition unit 2, a central server 3, a decoction piece image screening unit 4, a decoction piece standard image database 5, a decoction piece primary inspection and classification analysis unit 6, a decoction piece secondary inspection and classification analysis unit 7, a decoction piece final evaluation module 8, and a display terminal 9. The decoction piece conveying module 1 is used to convey the decoction pieces to the acquisition station of the decoction piece data acquisition unit 2. The decoction piece data acquisition unit 2 is used to acquire the basic characteristic parameters and appearance parameters of the decoction pieces. The central server 3 is used to receive the decoction piece data acquired by the decoction piece data acquisition unit 2 and process it... The data is forwarded to the tablet image filtering unit 4, which compares the received tablet data with the standard data in the tablet standard image database 5 to filter out tablet data with higher accuracy and send it to the tablet first-inspection classification and analysis unit 6. The tablet first-inspection classification and analysis unit 6 performs an initial inspection of the tablet data and then sends it to the tablet second-inspection classification and analysis unit 7. The tablet second-inspection classification and analysis unit 7 performs a final inspection of the tablet data and then sends it to the tablet final evaluation module 8. The tablet final evaluation module 8 evaluates the tablet data and sends the final result to the display terminal 9.
[0032] Example 2;
[0033] like Figure 1-7As shown, the system includes a tablet delivery module 1, a tablet data acquisition unit 2, a central server 3, a tablet image screening unit 4, a tablet standard image database 5, a tablet primary inspection and classification analysis unit 6, a tablet secondary inspection and classification analysis unit 7, a tablet final evaluation module 8, and a display terminal 9. The tablet delivery module 1 delivers tablets to the acquisition station of the tablet data acquisition unit 2. The tablet data acquisition unit 2 collects basic characteristic parameters and appearance parameters of the tablets. The central server 3 receives the tablet data collected by the tablet data acquisition unit 2 and forwards it to the tablet image screening unit 4. The tablet image screening unit 4 compares the received tablet data with the standard data in the tablet standard image database 5, thereby screening out tablet data with higher accuracy and sending it to the tablet first-inspection classification and analysis unit 6. The tablet first-inspection classification and analysis unit 6 performs an initial inspection of the tablet data and then sends it to the tablet second-inspection classification and analysis unit 7. The tablet second-inspection classification and analysis unit 7 performs a final inspection of the tablet data and then sends it to the tablet final evaluation module 8. The tablet final evaluation module 8 evaluates the tablet data and sends the final result to the display terminal 9. The tablet delivery module 1 includes an automatic tablet feeder 10, a tablet pusher 11, and a tablet dispenser 12. The tablet data acquisition unit 2 includes a tablet basic parameter acquisition module 13 and a tablet appearance parameter acquisition module 14. The tablet basic parameter acquisition module 13 includes a 3D scanner 15, which is used to perform 3D scanning of the tablet to obtain the tablet surface area, average thickness, circumscribed circle area, and cortical area. The tablet appearance parameter acquisition module 14 includes a high-definition camera 16, which is used to capture high-definition images of the tablets to obtain the color area, surface texture pattern, and surface damage area. The tablet image screening unit 4 includes an image preprocessing module 17, an image retrieval module 18, an image segmentation module 19, and a feature extraction module 20. These modules are used to detect and evaluate the tablet images, thereby screening and judging the tablets to obtain high-precision images. The tablet standard image database 5 stores standard tablet data, facilitating the analysis and comparison of the drug data to be tested.
[0034] Example 3;
[0035] like Figure 1-7As shown, the system includes a tablet delivery module 1, a tablet data acquisition unit 2, a central server 3, a tablet image screening unit 4, a tablet standard image database 5, a tablet primary inspection and classification analysis unit 6, a tablet secondary inspection and classification analysis unit 7, a tablet final evaluation module 8, and a display terminal 9. The tablet delivery module 1 delivers tablets to the acquisition station of the tablet data acquisition unit 2. The tablet data acquisition unit 2 collects basic characteristic parameters and appearance parameters of the tablets. The central server 3 receives the tablet data collected by the tablet data acquisition unit 2 and forwards it to the tablet image screening unit 4. The tablet image screening unit 4 compares the received tablet data with the standard data in the tablet standard image database 5 to screen out tablet data with higher accuracy and send it to the tablet primary inspection and classification analysis unit 6. The tablet primary inspection and classification analysis unit 6 performs an initial inspection of the tablet data and then sends it to the tablet secondary inspection and classification analysis unit 7. The tablet secondary inspection and classification analysis unit 7 performs a final inspection of the tablet data and then sends it to the tablet final evaluation module 8. The tablet final evaluation module 8 evaluates the tablet data and sends the final result to the display terminal 9. The tablet primary inspection and classification analysis unit 6 performs an initial analysis on the high-precision tablet data screened by the tablet image screening unit 4 to obtain tablets that do not meet the requirements and tablets that do meet the requirements. The tablets that do not meet the requirements are judged as unqualified, and the tablets that meet the requirements are sent to the tablet secondary inspection and classification analysis unit 7. The tablet secondary inspection and classification analysis unit 7 performs a second analysis on the tablets that meet the requirements to obtain good and excellent tablets, and sends the excellent tablets to the tablet final evaluation module 8. The final evaluation module 8 of the tablets performs a final evaluation on the data obtained by the secondary tablet classification and analysis unit 7, and sends the evaluation results to the display terminal 9. The display terminal 9 includes a central display 21 and an office computer display screen 22.
[0036] In practical applications, during the production of traditional Chinese medicine (TCM) decoction pieces, the decoction piece conveying module 1 transports the TCM decoction pieces to the acquisition station on the decoction piece data acquisition unit 2. The basic parameter acquisition module 13 in the decoction piece data acquisition unit 2 performs a three-dimensional scan of the decoction piece using a 3D scanner 15, thereby acquiring the surface area, average thickness, circumscribed circle area, and cortex area of the decoction piece. The appearance parameter acquisition module 14 in the decoction piece data acquisition unit 2 takes a high-definition photograph of the decoction piece using a high-definition camera 16, acquiring the color area, surface texture pattern, and surface damage area of the decoction piece. The decoction piece data acquisition unit 2 then... The basic and appearance parameters of the acquired medicinal tablets are sent to the tablet image screening unit 4 via the central server 3. The image preprocessing module 17, image retrieval module 18, image segmentation module 19, and feature extraction module 20 in the tablet image screening unit 4 analyze the acquired basic and appearance parameters of the medicinal tablets and compare them with standard data in the tablet standard image database 5 to screen out tablet data with higher accuracy. By setting up the tablet data acquisition unit and the tablet image screening unit, high-precision images of traditional Chinese medicine decoction pieces can be collected, facilitating subsequent sorting and processing and improving image collection efficiency. After acquiring high-precision tablet images, the tablet image screening unit 4 sends them to the tablet primary inspection and classification analysis unit 6. The primary inspection and classification analysis unit 6 performs an initial analysis of the tablet images, identifying tablets that meet or do not meet the requirements. Tablets that do not meet the requirements are marked as unqualified. The data of tablets that meet the requirements are sent to the tablet secondary inspection and classification analysis unit 7 for further analysis. The secondary inspection and classification analysis unit 7 classifies the qualified tablets into good and superior grades. Subsequently, the secondary inspection and classification analysis unit 7 sends the results of this re-analysis to the tablet final evaluation module 8. The final evaluation module 8 then performs the final evaluation. The evaluated good and superior quality tablets are sent to display terminal 9 for easy viewing. By setting up a tablet first-inspection classification and analysis unit, the collected Chinese herbal medicine slices can be preliminarily inspected using high-precision images to obtain qualified products. By setting up a tablet second-inspection classification and analysis unit, qualified products can be re-inspected to obtain superior and good products. By setting up tablet first-inspection classification and analysis units and tablet second-inspection classification and analysis units, Chinese herbal medicine slices can be thoroughly inspected and different grades can be obtained, improving the efficiency of Chinese herbal medicine slice inspection. By setting up a final evaluation module and display terminal, the obtained superior products can be displayed for viewing.
[0037] In summary, by utilizing the above-mentioned technical solution of the present invention, high-precision images of Chinese herbal medicine slices can be collected by setting up a slice data acquisition unit and a slice image screening unit, which facilitates subsequent sorting and processing and improves image collection efficiency. By setting up a slice primary inspection and classification analysis unit, the collected high-precision images of Chinese herbal medicine slices can be preliminarily inspected to obtain qualified products. By setting up a slice secondary inspection and classification analysis unit, qualified products can be re-inspected to obtain superior and good products. By setting up slice primary inspection and classification analysis units and slice secondary inspection and classification analysis units, Chinese herbal medicine slices can be fully inspected and different grades can be obtained, improving the inspection efficiency of Chinese herbal medicine slices. By setting up a final evaluation module and a display terminal, the obtained superior products can be displayed for viewing.
[0038] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces, comprising a decoction piece delivery module (1), a decoction piece data acquisition unit (2), a central server (3), a decoction piece image screening unit (4), a decoction piece standard image database (5), a decoction piece primary inspection and classification analysis unit (6), a decoction piece secondary inspection and classification analysis unit (7), a decoction piece final evaluation module (8), and a display terminal (9). The decoction piece delivery module (1) is used to deliver the decoction pieces to the acquisition station of the decoction piece data acquisition unit (2). The decoction piece data acquisition unit (2) is used to acquire the basic characteristic parameters and appearance parameters of the decoction pieces. The central server (3) is used to receive the decoction piece data acquired by the decoction piece data acquisition unit (2) and process it. The data is forwarded to the tablet image screening unit (4), which compares the received tablet data with the standard data in the tablet standard image database (5) to screen out tablet data with higher accuracy and send it to the tablet first inspection classification analysis unit (6). The tablet first inspection classification analysis unit (6) performs an initial inspection on the tablet data and then sends the tablet data to the tablet second inspection classification analysis unit (7). The tablet second inspection classification analysis unit (7) performs a final inspection on the tablet data and then sends the tablet data to the tablet final evaluation module (8). The tablet final evaluation module (8) evaluates the tablet data and sends the final result to the display terminal (9).
2. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The pill delivery module (1) includes an automatic pill feeder (10), a pill pusher (11), and a pill dispenser (12).
3. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The tablet data acquisition unit (2) includes a tablet basic parameter acquisition module (13) and a tablet appearance parameter acquisition module (14).
4. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 3, characterized in that, The basic parameter acquisition module (13) for the tablet includes a three-dimensional scanner (15), which is used to perform three-dimensional scanning on the tablet to obtain the tablet surface area, average thickness, circumscribed circle area and cortical area.
5. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 3, characterized in that, The tablet appearance parameter acquisition module (14) includes a high-definition camera (16), which is used to take high-definition pictures of the tablet to obtain the color area, surface texture pattern and surface damage area of the tablet.
6. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The pill image screening unit (4) includes an image preprocessing module (17), an image retrieval module (18), an image segmentation module (19), and a feature extraction module (20). The image preprocessing module (17), the image retrieval module (18), the image segmentation module (19), and the feature extraction module (20) are used to detect and evaluate pill images, thereby screening and judging pills and obtaining high-precision images.
7. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The standard image database (5) is used to store standard data of tablets, which facilitates the analysis and comparison of the data of the drug to be tested.
8. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The tablet primary inspection and classification analysis unit (6) is used to perform an initial analysis on the high-precision tablet data screened by the tablet image screening unit (4) to obtain tablets that do not meet the requirements and tablets that meet the requirements. The tablets that do not meet the requirements are judged as unqualified, and the tablet data that meet the requirements are sent to the tablet secondary inspection and classification analysis unit (7). The tablet secondary inspection and classification analysis unit (7) performs a second analysis on the tablet data that meet the requirements to obtain good and excellent tablets, and sends the excellent tablet data to the tablet final evaluation module (8).
9. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The final evaluation module (8) of the tablet performs a final evaluation on the data obtained by the tablet secondary inspection and classification analysis unit (7) and sends the evaluation results to the display terminal (9).
10. The machine vision-based quality monitoring and analysis system for traditional Chinese medicine decoction pieces according to claim 1, characterized in that, The display terminal (9) includes a central display (21) and an office computer display screen (22).