Quality detection method, device and equipment for producing silk quilts and medium
By using tilted glass panels and cameras to detect the distribution of silk during the production process of the silk quilt liner and calculating the distribution uniformity index, the problem of lack of quality inspection of the uniformity of the silk quilt liner is solved and the consistency and quality stability of the product are improved. .
Patent Information
- Application Number
- CN202410639921.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-27
AI Technical Summary
The existing technology lacks quality inspection of the uniformity of silk distribution during the production process of silk quilt liner, resulting in fluctuations in product quality, which is not conducive to product consistency.
By detecting the inner liner of the silk quilt on a transparent tilted glass panel, using a backlight and camera to obtain a sample of silk distribution, the silk distribution uniformity index is calculated, and based on this index, the quality of the silk quilt is evaluated and unqualified products are marked.
It effectively improves the uniformity of the silk quilt liner, improves the consistency of the product, and ensures the quality stability of the same batch of products.
Smart Images

Figure CN118549425A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of silk quilt detection, and in particular to a quality detection method, device, equipment and medium for producing silk quilts. Background Art
[0002] The silk quilt liner is made by stacking multiple layers of silk film, and the silk in each layer of silk film is unevenly distributed. Therefore, the stacking of multiple layers may cause obvious uneven distribution in the silk quilt liner. However, users usually only focus on the net content or net weight of silk in their quality assessment of the silk quilt liner, and lack attention to the uniformity of the silk distribution therein. As a result, during the production process of the silk quilt liner, there is a lack of quality inspection on this indicator, resulting in certain fluctuations in the quality of silk quilts produced in the same batch, which is not conducive to product consistency. Summary of the invention
[0003] The object of the present invention is to provide a quality inspection method, device, equipment and readable storage medium for the production of silk quilts, so as to improve the above-mentioned lack of attention to the uniformity of silk distribution therein, which leads to a lack of quality inspection of this indicator during the production process of the silk quilt liner, resulting in certain fluctuations in the quality of silk quilts produced in the same batch, which is not conducive to product consistency.
[0004] In order to achieve the above objectives, the present application provides the following technical solutions:
[0005] On the one hand, the embodiment of the present application provides a quality detection method for producing a silk quilt, the method comprising:
[0006] After detecting that the silk quilt liner is located in the first detection area, the corresponding first illumination and second illumination are determined based on the first size and the first filling amount, the first detection area is a transparent inclined glass panel detection area, the first size is the size of the silk quilt liner of the current batch input by the operator through the control panel, and the first filling amount is the filling amount of the silk quilt liner of the current batch input by the operator through the control panel;
[0007] Turning on a backlight located below the first detection area based on a first illumination, and acquiring a first detection sample image through a camera located above the first detection area, and then turning on the backlight based on a second illumination, and acquiring a second detection sample image through the camera, wherein the first illumination is greater than the second illumination;
[0008] Based on the first detection sample image, the second detection sample image, the first size and the first filling amount, the silk distribution uniformity index of the silk quilt liner currently located in the first detection area is determined, and the quality valuation of the silk quilt liner is evaluated based on the silk distribution uniformity index, the first filling amount and the first size; and when the quality valuation of the silk quilt liner is lower than a first preset threshold, the corresponding silk quilt liner is marked as an unqualified product.
[0009] Optionally, determining the silk distribution uniformity index of the silk quilt liner currently located in the first detection area based on the first detection sample image, the second detection sample image, the first size and the first filling amount includes:
[0010] Obtain a first detection sample image, convert the first detection sample image into a first grayscale image, and retrieve a corresponding first grayscale threshold in an operation parameter comparison table based on the first size and the first filling amount, wherein the operation parameter comparison table is used to characterize a mapping relationship between the size, filling amount, and light transmittance brightness of the silk quilt liner;
[0011] Based on the color-based image feature extraction algorithm, an area in the first grayscale image whose grayscale value is less than the first grayscale threshold is intercepted and recorded as a first highlight area, and a first highlight area corresponding to the first highlight area is calculated;
[0012] Acquire a second detection sample image, convert the second detection sample image into a second grayscale image, and retrieve a corresponding second grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount;
[0013] Based on the color-based image feature extraction algorithm, an area in the second grayscale image with a grayscale value greater than a second grayscale threshold is intercepted and recorded as a first dark area, and a first dark area corresponding to the first dark area is calculated;
[0014] The silk distribution uniformity index of the silk quilt liner is calculated based on the first highlight area, the first dark area and the first size. The larger the sum of the first highlight area and the first dark area is, the lower the silk distribution uniformity index is.
[0015] In a second aspect, this embodiment provides a quality detection device for producing a silk quilt, the device comprising:
[0016] A calculation module, for determining a corresponding first illumination and a second illumination based on a first size and a first filling amount after detecting that the silk quilt liner is located in a first detection area, wherein the first detection area is a transparent inclined glass panel detection area, the first size is the size of the silk quilt liner of the current batch input by the operator through the control panel, and the first filling amount is the filling amount of the silk quilt liner of the current batch input by the operator through the control panel;
[0017] an acquisition module, configured to turn on a backlight located below the first detection area based on a first illumination, and acquire a first detection sample image through a camera located above the first detection area, and then turn on the backlight based on a second illumination, and acquire a second detection sample image through the camera, wherein the first illumination is greater than the second illumination;
[0018] A marking module is used to determine the silk distribution uniformity index of the silk quilt liner currently located in the first detection area based on the first detection sample image, the second detection sample image, the first size and the first filling amount, and to evaluate the quality valuation of the silk quilt liner based on the silk distribution uniformity index, the first filling amount and the first size; and when the quality valuation of the silk quilt liner is lower than a first preset threshold, the corresponding silk quilt liner is marked as an unqualified product.
[0019] Optionally, the marking module includes:
[0020] A first acquisition unit is used to acquire a first detection sample image, convert the first detection sample image into a first grayscale image, and retrieve a corresponding first grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount, wherein the operation parameter comparison table is used to characterize a mapping relationship between the size, filling amount, and light transmittance brightness of the silk quilt inner liner;
[0021] A first calculation unit is used to intercept a region in the first grayscale image whose grayscale value is less than a first grayscale threshold based on a color-based image feature extraction algorithm, record it as a first highlight region, and calculate a first highlight area corresponding to the first highlight region;
[0022] A second acquisition unit is used to acquire a second detection sample image, convert the second detection sample image into a second grayscale image, and retrieve a corresponding second grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount;
[0023] A second calculation unit is used to intercept a region in the second grayscale image whose grayscale value is greater than a second grayscale threshold based on a color-based image feature extraction algorithm, record it as a first dark region, and calculate a first dark area corresponding to the first dark region;
[0024] The third calculation unit is used to calculate the silk distribution uniformity index of the silk quilt liner based on the first highlight area, the first dark area and the first size. The larger the sum of the first highlight area and the first dark area is, the lower the silk distribution uniformity index is.
[0025] In a third aspect, an embodiment of the present application provides a quality inspection device for producing silk quilts, the device comprising a memory and a processor.
[0026] The memory is used to store computer programs; the processor is used to implement the steps of the above-mentioned quality detection method for producing silk quilts when executing the computer program.
[0027] In a fourth aspect, an embodiment of the present application provides a medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned quality inspection method for producing silk quilts are implemented.
[0028] The beneficial effects of the present invention are:
[0029] The quality inspection method for producing silk quilts of the present invention effectively improves the uniformity of the silk quilt inner liner leaving the factory and improves the consistency of the product by adding a silk uniformity inspection process in the silk quilt inner liner during the production process.
[0030] Specifically, the present invention detects the uniformity of the silk quilt liner by placing the silk quilt liner on a transparent inclined glass panel, and then releasing weak light illumination below it to obtain the light transmittance of the silk quilt liner under weak light conditions. This step is mainly used to detect areas in the silk quilt liner where the silk distribution is obviously thinner. Then, strong light illumination is released once to obtain the light transmittance of the silk quilt liner under strong light conditions. This step is mainly used to detect areas in the silk quilt liner where the silk distribution is obviously thicker.
[0031] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0033] Figure 1 It is a schematic flow chart of a quality inspection method for producing silk quilts described in an embodiment of the present invention;
[0034] Figure 2 It is a structural schematic diagram of a quality detection device for producing silk quilts described in an embodiment of the present invention;
[0035] Figure 3 It is a schematic structural diagram of a quality inspection device for producing silk quilts described in an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0037] It should be noted that similar reference numerals or letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0038] Example 1
[0039] like Figure 1 As shown, this embodiment provides a quality inspection method for producing silk quilts, and the method includes step S100, step S200 and step S300.
[0040] Step S100: after detecting that the silk quilt liner is located in the first detection area, determining the corresponding first illumination and second illumination based on the first size and the first filling amount, the first detection area is a transparent inclined glass panel detection area, the first size is the size of the silk quilt liner of the current batch input by the operator through the control panel, and the first filling amount is the filling amount of the silk quilt liner of the current batch input by the operator through the control panel;
[0041] It should be noted that the size and filling amount of the silk quilt liner determine the light value used for testing. Since the product specifications of the production workshop are limited, the comparison relationship between the size and filling amount and the light intensity can be obtained through a limited number of tests. Secondly, the entire testing process is in a stable dark environment and is not affected by ambient light.
[0042] Step S200: turning on a backlight located below the first detection area based on a first illumination, and acquiring a first detection sample image through a camera located above the first detection area, and then turning on the backlight based on a second illumination, and acquiring a second detection sample image through the camera, wherein the first illumination is greater than the second illumination;
[0043] Step S300, based on the first detection sample image, the second detection sample image, the first size and the first filling amount, determine the silk distribution uniformity index of the silk quilt liner currently located in the first detection area, and evaluate the quality valuation of the silk quilt liner based on the silk distribution uniformity index, the first filling amount and the first size; and when the quality valuation of the silk quilt liner is lower than a first preset threshold, mark the corresponding silk quilt liner as an unqualified product.
[0044] In this embodiment, in step S300, determining the silk distribution uniformity index of the silk quilt liner currently located in the first detection area based on the first detection sample image, the second detection sample image, the first size and the first filling amount includes:
[0045] Step S310, obtaining a first detection sample image, and converting the first detection sample image into a first grayscale image, and retrieving a corresponding first grayscale threshold in an operation parameter comparison table based on the first size and the first filling amount, wherein the operation parameter comparison table is used to characterize a mapping relationship between the size, filling amount, and light transmittance brightness of the silk quilt liner;
[0046] Step S320: Using a color-based image feature extraction algorithm to extract an area in the first grayscale image where the grayscale value is less than a first grayscale threshold, the area is recorded as a first highlight area, and a first highlight area corresponding to the first highlight area is calculated. The first highlight area is an area where the filling in the inner liner of the silk quilt is obviously thinner.
[0047] Step S330: obtaining a second detection sample image, converting the second detection sample image into a second grayscale image, and retrieving a corresponding second grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount;
[0048] Step S340: using a color-based image feature extraction algorithm to extract an area in the second grayscale image where the grayscale value is greater than the second grayscale threshold, and recording it as a first dark area; and calculating a first dark area corresponding to the first dark area, wherein the first dark area is an area where the filling in the inner liner of the silk quilt is obviously thicker;
[0049] Step S350, calculating the silk distribution uniformity index of the silk quilt liner based on the first highlight area, the first dark area and the first size, the larger the sum of the first highlight area and the first dark area, the lower the silk distribution uniformity index.
[0050] The quality inspection method for producing silk quilts described in this embodiment effectively improves the uniformity of the silk quilt liner leaving the factory and improves the consistency of the product by adding a silk uniformity inspection process in the silk quilt liner during the production process.
[0051] Specifically, the method for detecting the uniformity of the silk quilt liner in this embodiment is to place the silk quilt liner on a transparent inclined glass panel, and then release weak light illumination below it to obtain the light transmittance of the silk quilt liner under weak light conditions. This step is mainly used to detect areas in the silk quilt liner where the silk distribution is obviously thinner, and then release strong light illumination once to obtain the light transmittance of the silk quilt liner under strong light conditions. This step is mainly used to detect areas in the silk quilt liner where the silk distribution is obviously thicker.
[0052] Example 2
[0053] like Figure 2 As shown, this embodiment provides a quality detection device for producing silk quilts, the device comprising:
[0054] The calculation module 71 is used to determine the corresponding first illumination and second illumination based on the first size and the first filling amount after detecting that the silk quilt liner is located in the first detection area, the first detection area is a transparent inclined glass panel detection area, the first size is the size of the silk quilt liner of the current batch input by the operator through the control panel, and the first filling amount is the filling amount of the silk quilt liner of the current batch input by the operator through the control panel;
[0055] an acquisition module 72, configured to turn on a backlight located below the first detection area based on a first illumination, and obtain a first detection sample image through a camera located above the first detection area, and then turn on the backlight based on a second illumination, and obtain a second detection sample image through the camera, wherein the first illumination is greater than the second illumination;
[0056] The marking module 73 is used to determine the silk distribution uniformity index of the silk quilt liner currently located in the first detection area based on the first detection sample image, the second detection sample image, the first size and the first filling amount, and evaluate the quality valuation of the silk quilt liner based on the silk distribution uniformity index, the first filling amount and the first size; and when the quality valuation of the silk quilt liner is lower than a first preset threshold, mark the corresponding silk quilt liner as an unqualified product.
[0057] In this embodiment, the marking module 73 includes:
[0058] A first acquisition unit 731 is used to acquire a first detection sample image, convert the first detection sample image into a first grayscale image, and retrieve a corresponding first grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount, wherein the operation parameter comparison table is used to characterize a mapping relationship between the size, filling amount, and light transmittance brightness of the silk quilt inner liner;
[0059] A first calculation unit 732 is used to intercept a region in the first grayscale image whose grayscale value is less than a first grayscale threshold based on a color-based image feature extraction algorithm, record it as a first highlight region, and calculate a first highlight area corresponding to the first highlight region;
[0060] A second acquisition unit 733 is used to acquire a second detection sample image, convert the second detection sample image into a second grayscale image, and retrieve a corresponding second grayscale threshold from an operation parameter comparison table based on the first size and the first filling amount;
[0061] The second calculation unit 734 is used to intercept the area in the second grayscale image where the grayscale value is greater than the second grayscale threshold based on the color-based image feature extraction algorithm, record it as the first dark area, and calculate the first dark area corresponding to the first dark area;
[0062] The third calculation unit 735 is used to calculate the silk distribution uniformity index of the silk quilt liner based on the first highlight area, the first dark area and the first size. The larger the sum of the first highlight area and the first dark area is, the lower the silk distribution uniformity index is.
[0063] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0064] Example 3
[0065] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides a quality inspection device for producing silk quilts. The quality inspection device for producing silk quilts described below and the quality inspection method for producing silk quilts described above can be referenced to each other.
[0066] Figure 3 FIG. 8 is a block diagram of a quality inspection device 800 for producing a silk quilt according to an exemplary embodiment. Figure 3 As shown, the electronic device 800 may include: a processor 801 and a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.
[0067] Among them, the processor 801 is used to control the overall operation of the electronic device 800 to complete all or part of the steps in the quality detection method for producing silk quilts. The memory 802 is used to store various types of data to support the operation of the electronic device 800, and these data may include instructions for any application or method used to operate on the electronic device 800, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 may include: Wi-Fi module, Bluetooth module, NFC module.
[0068] In an exemplary embodiment, the electronic device 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned quality detection method for producing silk quilts.
[0069] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the quality detection method for producing silk quilts are implemented. For example, the computer-readable storage medium may be the memory 802 including the program instructions, and the program instructions may be executed by the processor 801 of the electronic device 800 to complete the quality detection method for producing silk quilts.
[0070] Example 4
[0071] Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a readable storage medium. The readable storage medium described below and the quality inspection method for producing silk quilts described above can be referenced to each other.
[0072] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the quality detection method for producing silk quilts in the above method embodiment.
[0073] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.
[0074] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A quality inspection method for producing silk quilts, characterized in that: The method comprises: After detecting that the silk quilt liner is located in the first detection area, the corresponding first illumination and second illumination are determined based on the first size and the first filling amount, the first detection area is a transparent inclined glass panel detection area, the first size is the size of the silk quilt liner of the current batch input by the operator through the control panel, and the first filling amount is the filling amount of the silk quilt liner of the current batch input by the operator through the control panel; Turning on a backlight located below the first detection area based on a first illumination, and acquiring a first detection sample image through a camera located above the first detection area, and then turning on the backlight based on a second illumination, and acquiring a second detection sample image through the camera, wherein the first illumination is greater than the second illumination; Based on the first detection sample image, the second detection sample image, the first size and the first filling amount, the silk distribution uniformity index of the silk quilt liner currently located in the first detection area is determined, and the quality valuation of the silk quilt liner is evaluated based on the silk distribution uniformity index, the first filling amount and the first size; and when the quality valuation of the silk quilt liner is lower than a first preset threshold, the corresponding silk quilt liner is marked as an unqualified product.
2. The quality inspection method for producing silk quilts according to claim 1, characterized in that: The method of determining the silk distribution uniformity index of the silk quilt liner currently located in the first detection area based on the first detection sample image, the second detection sample image, the first size and the first filling amount includes: Obtain a first detection sample image, convert the first detection sample image into a first grayscale image, and retrieve a corresponding first grayscale threshold in an operation parameter comparison table based on the first size and the first filling amount, wherein the operation parameter comparison table is used to characterize a mapping relationship between the size, filling amount, and light transmittance brightness of the silk quilt liner; Based on the color-based image feature extraction algorithm, an area in the first grayscale image whose grayscale value is less than the first grayscale threshold is intercepted and recorded as a first highlight area, and a first highlight area corresponding to the first highlight area is calculated; Acquire a second detection sample image, convert the second detection sample image into a second grayscale image, and retrieve a corresponding second grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount; Based on the color-based image feature extraction algorithm, an area in the second grayscale image with a grayscale value greater than a second grayscale threshold is intercepted and recorded as a first dark area, and a first dark area corresponding to the first dark area is calculated; The silk distribution uniformity index of the silk quilt liner is calculated based on the first highlight area, the first dark area and the first size. The larger the sum of the first highlight area and the first dark area is, the lower the silk distribution uniformity index is.
3. A quality inspection device for producing silk quilts, characterized in that: The device comprises: A calculation module, for determining a corresponding first illumination and a second illumination based on a first size and a first filling amount after detecting that the silk quilt liner is located in a first detection area, wherein the first detection area is a transparent inclined glass panel detection area, the first size is the size of the silk quilt liner of the current batch input by the operator through the control panel, and the first filling amount is the filling amount of the silk quilt liner of the current batch input by the operator through the control panel; an acquisition module, configured to turn on a backlight located below the first detection area based on a first illumination, and acquire a first detection sample image through a camera located above the first detection area, and then turn on the backlight based on a second illumination, and acquire a second detection sample image through the camera, wherein the first illumination is greater than the second illumination; A marking module is used to determine the silk distribution uniformity index of the silk quilt liner currently located in the first detection area based on the first detection sample image, the second detection sample image, the first size and the first filling amount, and to evaluate the quality valuation of the silk quilt liner based on the silk distribution uniformity index, the first filling amount and the first size; and when the quality valuation of the silk quilt liner is lower than a first preset threshold, the corresponding silk quilt liner is marked as an unqualified product.
4. The quality inspection device for producing silk quilts according to claim 3, characterized in that: The marking module comprises: A first acquisition unit is used to acquire a first detection sample image, convert the first detection sample image into a first grayscale image, and retrieve a corresponding first grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount, wherein the operation parameter comparison table is used to characterize a mapping relationship between the size, filling amount, and light transmittance brightness of the silk quilt inner liner; A first calculation unit is used to intercept a region in the first grayscale image whose grayscale value is less than a first grayscale threshold based on a color-based image feature extraction algorithm, record it as a first highlight region, and calculate a first highlight area corresponding to the first highlight region; A second acquisition unit is used to acquire a second detection sample image, convert the second detection sample image into a second grayscale image, and retrieve a corresponding second grayscale threshold value from an operation parameter comparison table based on the first size and the first filling amount; A second calculation unit is used to intercept a region in the second grayscale image whose grayscale value is greater than a second grayscale threshold based on a color-based image feature extraction algorithm, record it as a first dark region, and calculate a first dark area corresponding to the first dark region; The third calculation unit is used to calculate the silk distribution uniformity index of the silk quilt liner based on the first highlight area, the first dark area and the first size. The larger the sum of the first highlight area and the first dark area is, the lower the silk distribution uniformity index is.
5. A quality inspection device for producing silk quilts, characterized in that: include: Memory, used to store computer programs; A processor is used to implement the steps of the quality inspection method for producing silk quilts as described in any one of claims 1-2 when executing a program stored in a memory.
6. A medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the quality inspection method for producing silk quilts described in any one of claims 1-2 are implemented.
