Skin care product production control method, system and equipment

By acquiring and analyzing images of capped skin care products and formulating a sampling plan, the problem of accuracy and efficiency in sealing testing of skin care products is solved, and product quality and production efficiency are improved.

CN118333472BActive Publication Date: 2024-09-06IRIS CHEMICAL IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410761074.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-06
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to accurately evaluate the sealing performance of skin care product bottles, and the sampling inspection method for adjusting the defective rate is not timely, resulting in low product quality control efficiency.

Method used

By obtaining images of capped skin care products, analyzing the number of defective products, formulating a sampling plan, using image analysis and automated detection to improve the accuracy and efficiency of sealing testing and reduce labor costs.

Benefits of technology

It can quickly understand the quality of capping, detect and deal with defective products in time, improve product quality and reliability, increase the response speed of the production process, reduce labor costs, and improve production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333472B
    Figure CN118333472B
Patent Text Reader

Abstract

The present application is applicable to the technical field of skin care product production control, and in particular, to a skin care product production control method, system and equipment. The skin care product production control method includes: obtaining a first group of skin care product images; wherein the first group of skin care product images is used to reflect the image of the skin care product after M caps are passed through the detection device for the first time, and M is an integer greater than 1; analyzing the first group of skin care product images to obtain the number of defective products; wherein the number of defective products is used to reflect the number of skin care products with poor appearance in the first group; formulating a sampling plan based on the number of defective products; and controlling the detection device to perform appearance inspection on the skin care products based on the sampling plan. The method can timely discover and handle products with poor appearance through image analysis and sampling plan formulation, improve product quality and reliability, and increase the response speed of the production process; through automated detection and targeted sampling plans, it can reduce labor costs and improve production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of skin care product production control, and in particular, relates to a skin care product production control method, system and equipment. Background Art

[0002] Skin care products refer to cosmetics used to protect skin health and improve skin texture. Common skin care products include cleansers, toners, essences, creams, etc. Skin care products usually appear on the market in bottled form, which is convenient for users to use and store. The production process of bottled skin care products usually includes raw material procurement, production and processing, packaging, quality inspection and other links.

[0003] In the prior art, after the skin care products are prepared, they are poured into bottles by a pouring device, and then the bottle caps are screwed and sealed with the bottle body by a capping device, and finally the sealing is tested. However, the testing of the sealing of skin care products in bottles usually adopts manual inspection or simple sealing test instruments, which cannot guarantee the accurate evaluation of the sealing, and at the same time cannot timely adjust the sampling method according to the defective rate. Summary of the invention

[0004] The embodiments of the present application provide a method, system and equipment for controlling the production of skin care products, which can solve the problem that it is difficult to ensure accurate evaluation of the sealing performance during the testing of the sealing performance of skin care product bottles, and at the same time, the sampling method cannot be adjusted in time according to the defective rate.

[0005] In a first aspect, the present application provides a method for production control of skin care products, comprising:

[0006] Acquire a first group of skin care product images; wherein the first group of skin care product images is used to reflect the images of the skin care products after passing through the detection device for the first time after M caps, and M is an integer greater than 1;

[0007] Analyze the first group of skin care product images to obtain a defective number; wherein the defective number is used to reflect the number of skin care products with poor appearance in the first group;

[0008] Formulate a sampling inspection plan based on the number of defects;

[0009] The detection device is controlled to perform appearance detection on the skin care products based on the sampling inspection plan.

[0010] The above technical solutions in the embodiments of the present application have at least the following technical effects:

[0011] The skin care product production control method provided by the present application obtains a first group of skin care product images reflecting the images of the skin care products after M caps that have passed through the detection device for the first time, and M is an integer greater than 1; then, the first group of skin care product images are analyzed to obtain a defective number reflecting the number of skin care products with poor appearance in the first group, so as to quickly understand the capping quality of the first batch of skin care products; then, a sampling inspection plan is formulated according to the defective number, so that the products can be sampled in a targeted manner to improve the sampling inspection efficiency and accuracy; finally, based on the sampling inspection plan, the detection device is controlled to perform appearance inspection on the skin care products to improve the accuracy and efficiency of product quality control. Through image analysis and sampling inspection plan formulation, the method can timely discover and deal with products with poor appearance, improve product quality and reliability, and increase the response speed of the production process; through automated detection and targeted sampling inspection plans, labor costs can be reduced and production efficiency can be improved.

[0012] In a possible implementation manner of the first aspect, acquiring a first group of skin care product images includes:

[0013] Obtaining skin care product production information; wherein the skin care product production information is used to reflect the model and quantity of the skin care products produced in this batch;

[0014] Analyze the skin care product production information to obtain an M value;

[0015] A first group of skin care product images is acquired based on the M value.

[0016] In a possible implementation of the first aspect, analyzing the first group of skin care product images to obtain the number of defective products includes:

[0017] Analyzing the first group of skin care product images to obtain a standard part image; wherein the standard part image is used to reflect the skin care products in the first group of skin care product images that meet the quality requirements;

[0018] Matching the standard part image with other skin care product images in the first group of skin care product images, and determining the skin care product image that does not match the standard part image as a defective product;

[0019] The defective products in the first group of skin care product images are accumulated to obtain a defective number.

[0020] In a possible implementation manner of the first aspect, analyzing the first group of skin care product images to obtain a standard part image includes:

[0021] Comparing all the skin care product images in the first group of skin care product images with each other to obtain a first convergent group; wherein the first convergent group is used to reflect the set of skin care product images in the first group of skin care product images, the size differences between the skin care products being within a preset range and the largest number of which;

[0022] Comparing the skin care product images of the first similar group with images of preset sizes;

[0023] If the size difference between the skin care product images in the first similar group and the preset size image is within a preset size difference range, one of the skin care product images in the first similar group is determined as a standard part image.

[0024] In a possible implementation manner of the first aspect, the analyzing the first group of skin care product images to obtain the standard part images further includes:

[0025] If the difference between the skin care product image of the first similarity group and the preset size image is outside the preset size difference range, a second similarity group is obtained and a bad signal is issued; wherein the second similarity group is used to reflect the collection of the skin care product images other than the first similarity group in the first group of skin care products, and the bad signal is used to indicate that the front end capping device may be abnormal;

[0026] receiving feedback information; wherein the feedback information is used to indicate whether the capping device is abnormal;

[0027] If the feedback information indicates that there is no abnormality in the capping device, comparing the skin care product images of the second similarity group with the preset size images;

[0028] Determine one of the skin care product images of the second convergent group whose difference between the skin care product image and the preset size image is within the preset size difference range as a standard part image;

[0029] If the feedback information indicates that the capping device is abnormal, a shutdown inspection signal is issued.

[0030] In a possible implementation manner of the first aspect, matching the standard part image with other skin care product images in the first group of skin care product images, and determining the skin care product image that does not match the standard part as a defective product, includes:

[0031] Analyze the standard part image to generate a bottle cap reference line; wherein the bottle cap reference line is used to reflect the highest horizontal line of the height of the skin care product within a preset height range;

[0032] Generating a corresponding contrast line for each of the top edges of the bottle caps of the other skin care product images in the first group of skin care product images;

[0033] Matching the contrast line in the first group of skin care product images with the bottle cap reference line;

[0034] If the comparison line is higher than the bottle cap baseline, the skin care product image corresponding to the comparison line is determined as a defective product; if the comparison line is not parallel to the bottle cap baseline, the skin care product image corresponding to the comparison line is determined as a defective product.

[0035] In a possible implementation of the first aspect, analyzing the standard part image to generate a bottle cap reference line includes:

[0036] Analyze the standard part image to obtain a standard part reference line; wherein the standard part reference line is used to reflect the horizontal line at the highest point of the bottle cap of the skin care product in the standard part image;

[0037] If the standard part image is determined from the first convergent group, a first adjustment value is obtained; wherein the first adjustment value is used to reflect the extent to which the height of the skin care product in the standard part image exceeds the minimum acceptable height;

[0038] Adjusting the standard part reference line based on the first adjustment value to obtain a bottle cap reference line;

[0039] If the standard component image is determined from the second convergent group, a second adjustment value is obtained; wherein the second adjustment value is less than the first adjustment value;

[0040] The standard part reference line is adjusted based on the second adjustment value to obtain a bottle cap reference line.

[0041] In a possible implementation manner of the first aspect, formulating a sampling inspection plan according to the defective number includes:

[0042] Inputting the skin care product production information into a learning model to obtain a first sampling inspection rule; wherein the learning model is trained using multiple sets of training data, each set of training data in the multiple sets of training data includes the skin care product production information and a first sampling inspection rule, and the first sampling inspection rule is used to reflect a normal sampling inspection frequency and sampling inspection quantity corresponding to the skin care product production information;

[0043] Compare the defect number with a preset defect threshold, and if the defect number is less than the preset defect threshold, determine the first sampling rule as the sampling plan;

[0044] If the defect number is greater than or equal to the preset defect threshold, then the difference between the defect number and the preset defect threshold is calculated;

[0045] Matching the difference with a preset difference range to obtain a sampling adjustment value that matches the preset difference range; wherein the sampling adjustment value is used to reflect the frequency and quantity of sampling inspections of skin care products that need to be increased;

[0046] The first sampling inspection rule is adjusted based on the sampling inspection adjustment value to obtain a sampling inspection plan.

[0047] In a second aspect, the present application embodiment provides a skin care product production management and control system, including:

[0048] An acquisition module, used for acquiring a first group of skin care product images; wherein the first group of skin care product images is used to reflect the images of the skin care products after passing through the detection device for the first time after M caps, and M is an integer greater than 1;

[0049] A first analysis module, configured to analyze the first group of skin care product images to obtain a defective number; wherein the defective number is used to reflect the number of skin care products with poor appearance in the first group;

[0050] The second analysis module is used to formulate a sampling inspection plan according to the defective number;

[0051] A control module is used to control the detection device to perform appearance detection on the skin care products based on the sampling scheme.

[0052] In the third aspect, an embodiment of the present application provides a skin care product production control device, comprising a capping device, a detection device and a control device, wherein the control device is electrically connected to the capping device and the detection device, and the control device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the methods described in the first aspect when executing the computer program.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above-mentioned first aspects is implemented.

[0054] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a skin care product production control device, the skin care product production control device executes the skin care product production control method described in any one of the first aspects above.

[0055] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0057] Figure 1 It is a flow chart of the skin care product production control method provided in the embodiment of the present application;

[0058] Figure 2 It is a schematic diagram of the implementation process of step S100 in the skin care product production control method provided in an embodiment of the present application;

[0059] Figure 3 It is a schematic diagram of the implementation process of step S200 in the skin care product production control method provided in an embodiment of the present application;

[0060] Figure 4 It is a schematic diagram of the implementation process of step S210 in the skin care product production control method provided in an embodiment of the present application;

[0061] Figure 5 It is a schematic diagram of the implementation process of step S220 in the skin care product production control method provided in an embodiment of the present application;

[0062] Figure 6 It is a schematic diagram of the implementation process of step S221 in the skin care product production control method provided in an embodiment of the present application;

[0063] Figure 7 It is a schematic diagram of the implementation process of step S300 in the skin care product production control method provided in an embodiment of the present application;

[0064] Figure 8 It is a structural schematic diagram of a skin care product production control system provided in an embodiment of the present application;

[0065] Fig. 9 It is a structural schematic diagram of the control device of the skin care product production control equipment provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0067] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0068] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0069] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0070] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0071] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0072] Skin care products refer to cosmetics used to protect skin health and improve skin texture. Common skin care products include cleansers, toners, essences, creams, etc. Skin care products usually appear on the market in bottled form, which is convenient for users to use and store. The production process of bottled skin care products usually includes raw material procurement, production and processing, packaging, quality inspection and other links.

[0073] In the prior art, after the skin care products are prepared, they are poured into bottles by a pouring device, and then the bottle caps are screwed and sealed with the bottle body by a capping device, and finally the sealing is tested. However, the testing of the sealing of skin care products in bottles usually adopts manual inspection or simple sealing test instruments, which cannot guarantee the accurate evaluation of the sealing, and at the same time cannot timely adjust the sampling method according to the defective rate.

[0074] To solve the above problems, the embodiments of the present application provide a method, system and device for production control of skin care products. In the method, by obtaining a first group of skin care product images reflecting the images of skin care products after M caps that have passed through the detection device for the first time, and M is an integer greater than 1; then, according to the first group of skin care product images, an analysis is performed to obtain a defective number reflecting the number of skin care products with poor appearance in the first group, so as to quickly understand the capping quality of the first batch of skin care products; then, a sampling inspection plan is formulated according to the defective number, and the product can be sampled in a targeted manner to improve the sampling efficiency and accuracy; finally, based on the sampling inspection plan, the detection device is controlled to perform appearance inspection on the skin care products to improve the accuracy and efficiency of product quality control. Through image analysis and sampling inspection plan formulation, the method can timely discover and deal with products with poor appearance, improve product quality and reliability, and increase the response speed of the production process; through automated detection and targeted sampling inspection plans, labor costs can be reduced and production efficiency can be improved.

[0075] The skin care product production control method provided in the embodiment of the present application can be applied to the skin care product production control equipment. In this case, the skin care product production control equipment is the executor of the skin care product production control method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of the skin care product production control equipment.

[0076] For example, the skin care product production control equipment may include a capping device, a detection device and a control device, and the control device is electrically connected to the capping device and the detection device. The capping device is used to cap the bottle body containing the skin care product. The capping device may include an automatic cap supply device, an alignment device, a torque control component, etc. The input end of the automatic cap supply device is connected to the bottle cap feeding end, and the automatic cap supply device is used to transmit the bottle cap to the alignment device. The automatic cap supply device may be a vibrating disc cap supply machine, a spiral cap supply machine, etc., but not limited to this. The alignment device is connected to the output end of the automatic cap supply device, and the alignment device is used to receive the bottle cap transmitted by the automatic cap supply device and align the bottle cap with the bottle mouth. The alignment device may be a mechanical arm, a rotating alignment disk driven by a servo motor, etc., but not limited to this. The torque control component is used to rotate the bottle cap on the alignment device until the bottle cap is connected and sealed with the bottle body. The torque control component may be a magnetic powder clutch / electromagnetic torque controller, a servo motor with a torque sensor, etc., but not limited to this. The control device monitors and controls the entire capping process and the detection process.

[0077] The control device may be a station (STAION, ST) in a WLAN, and may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a desktop computer, a smart large screen, a smart TV and other terminal devices, a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, an in-vehicle device, an Internet of Vehicles terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set-top box (STB), a customer premises equipment (customer premises equipment) equipment, CPE) and / or other equipment for communicating on wireless systems and next-generation communication systems, for example, mobile terminals in 5G networks or mobile terminals in future evolved public land mobile networks (Public Land Mobile Network, PLMN) networks, etc.

[0078] In order to better understand the skin care product production control method provided in the embodiment of the present application, the specific implementation process of the skin care product production control method provided in the embodiment of the present application is exemplarily introduced below.

[0079] Figure 1 A schematic flow chart of a skin care product production control method provided in an embodiment of the present application is shown, and the skin care product production control method includes:

[0080] S100, obtaining a first group of skin care product images; wherein the first group of skin care product images is used to reflect the images of the skin care products after passing through the detection device for the first time after M caps, and M is an integer greater than 1.

[0081] It can be understood that after the skin care products are capped by the capping device, they are usually transferred to the detection device through a conveying device (such as a conveyor belt). The detection device can count the skin care products entering the detection device through sensors or other imaging devices such as cameras. When the number of skin care products entering the detection device reaches M, the first group of skin care product images is acquired through a camera or other imaging device. The first group of skin care product images can also be acquired before entering the detection device, that is, acquired during the transmission process (requiring the transmission device to operate stably), etc., but not limited to this.

[0082] As an optional embodiment of this application, please refer to Figure 2 In step S100, a first group of skin care product images is obtained, including:

[0083] S110, obtaining skin care product production information; wherein the skin care product production information is used to reflect the model and quantity of the skin care products produced in this batch.

[0084] It is understandable that the skin care product production information can be manually input or extracted from a production management system (such as ERP, MES system), etc., but not limited to this. The production management system usually pre-sets the production plan for each batch of skin care products, including model, planned output, raw material information, etc. Real-time production batch data is automatically imported through an API interface or data synchronization mechanism.

[0085] S120, analyzing the skin care product production information to obtain an M value.

[0086] It is understandable that in the actual production process, it is crucial to ensure that the product quality meets national standards or industry specifications. Therefore, the inspection strategy usually combines the "first inspection" and "patrol inspection" mechanisms. The first inspection refers to the inspection of the first batch of products at the beginning of production. The number of first inspections can be adjusted according to the actual production situation when the national standards are met, so as to achieve the purpose of both ensuring quality and taking efficiency into account. For example, it can be adjusted according to the number of skin care products produced in the batch. When the production quantity is large, the number of first inspections can be appropriately increased to ensure that the consistency and stability of the product are fully verified before large-scale production. It can also be adjusted according to the model of skin care products. For example, for skin care products with high quality requirements, such as high-end, special efficacy or sensitive skin products, even if the production quantity is not large, the proportion or absolute number of first inspections should be appropriately increased. This is because such products often have higher standards for quality and higher consumer expectations. Any minor defects may lead to a decline in consumer trust and damage to brand reputation. The M value can be manually entered; it can also be obtained from the production database, or obtained through a learning model, etc., but is not limited to this. The skin care product database refers to a database that contains all skin care product production information and corresponding M values. These data can be obtained through laboratory experiments, on-site measurements and monitoring, and past experience. After obtaining, the collected data will be sorted, classified and archived, useful information and rules will be extracted, and the relevant data will be saved in the database to form a skin care product database. The learning model is trained through multiple sets of training data, and each set of training data in the multiple sets of training data includes skin care product production information and M values.

[0087] S130, acquiring a first group of skin care product images based on the M value.

[0088] It is understood that after the M value is obtained, when the number of skin care products entering the detection device reaches M, the first group of skin care product images is acquired through a camera or other imaging device. The first M skin care products may also be photographed before entering the detection device to obtain the first group of skin care product images; the M skin care products entering the detection area may also be photographed in sequence to obtain multiple skin care product images to form the first group of skin care product images, and so on, but not limited thereto.

[0089] With this setting, M samples are selected for image acquisition and analysis in a targeted manner according to the model and quantity information of the production batch, which avoids blind detection, reduces unnecessary resource consumption, improves detection efficiency and accuracy, and can adapt to different production scales and different quality requirements.

[0090] S200, analyzing the first group of skin care product images to obtain a defective number; wherein the defective number is used to reflect the number of skin care products with poor appearance in the first group.

[0091] It can be understood that poor appearance includes cap position deviation and bottle cap alignment problem. Cap position deviation means that the bottle cap is not tightened to the correct designed position, which may be too high or tilted, resulting in an uneven appearance or affecting the sealing. Bottle cap alignment problem means that the joint between the bottle cap and the bottle body is not fully aligned, such as the thread is not fully engaged or the cap surface is misaligned with the bottle shoulder, affecting the appearance and the consumer's first impression of the product quality. The first group of skin care product images can be processed by multiple image processing methods to determine the target object in the image to determine the number of poor appearance in the first group of skin care product images.

[0092] In one possible implementation, see Figure 3 In step S200, the first group of skin care product images are analyzed to obtain the number of defective products, including:

[0093] S210, analyzing the first group of skin care product images to obtain standard part images; wherein the standard part images are used to reflect the skin care products in the first group of skin care product images that meet the quality requirements.

[0094] It is understandable that, usually, the standard parts images are obtained from the standard parts database, but the standard parts images obtained in this way may not cover all possible normal variations. Factors such as changes in production conditions (such as slight differences in raw materials from different batches, changes in ambient temperature and humidity, etc.), equipment aging, etc. may lead to slight differences in product appearance, and fixed standard parts images may be difficult to adapt to these changes, resulting in misjudgment. Moreover, in large-scale production, there are many product models, and each model requires a corresponding standard parts image, which leads to a large and complex database, the matching process may become slow, and the computing resources are required to be high, affecting production efficiency, and the standard parts image library needs to be updated and maintained regularly. By analyzing the first group of skin care product images to obtain standard parts images, the limitations of traditional reliance on preset standard parts databases are overcome, the adaptability and efficiency are improved, and it can better adapt to slight changes in production conditions, including differences in raw material batches, environmental factors, equipment conditions, etc. This reduces the possibility of misjudgment due to production variations, improves the accuracy of detection, and reduces production management costs to a certain extent.

[0095] In one possible implementation, see Figure 4 In step S210, the first group of skin care product images are analyzed to obtain a standard part image, including:

[0096] S211, compare all skin care product images in the first group of skin care product images to obtain a first convergent group; wherein the first convergent group is used to reflect the set of skin care product images in the first group of skin care product images, in which the size differences between the skin care products are within a preset range and the number of the skin care product images is the largest.

[0097] It is understandable that image processing algorithms, such as feature matching, contour recognition and other technologies, can be used to compare all skin care product images in the first group of skin care product images, find skin care product images with size differences within a preset range, and confirm them as a set as the first convergence group. This process automatically selects the closest ideal sample set. Since the poor appearance is caused by the cap position offset or the bottle cap alignment problem, it will affect the cap height of the skin care product, so the size difference can be understood as the height difference.

[0098] S212: Compare the skin care product images of the first similar group with the images of a preset size.

[0099] It can be understood that the preset size image refers to the image of the skin care product when the bottle cap of the skin care product is screwed to the tightest state.

[0100] S213a: If the size difference between the skin care product images in the first similar group and the preset size image is within a preset size difference range, one of the skin care product images in the first similar group is determined as a standard part image.

[0101] It can be understood that the preset size difference refers to the size difference between the skin care product image and the preset size image when the capping state of the skin care product is at the maximum acceptable level, and the size difference refers to the height difference of the skin care product. Generally speaking, the skin care product image in the first convergence group that is closest in size to the preset size image will be determined as the standard part. If the convergence of the first convergence group is greater than the preset threshold, that is, the skin care product images in the first convergence group are highly consistent, any skin care product image in the first convergence group can be used as the standard part image.

[0102] In one possible implementation, see Figure 4 In step S210, the first group of skin care product images are analyzed to obtain a standard part image, and the method further includes:

[0103] S213b, if the difference between the skin care product image of the first convergence group and the preset size image is outside the preset size difference range, a second convergence group is obtained and a bad signal is issued; wherein the second convergence group is used to reflect the collection of other skin care product images in the first group of skin care products except the first convergence group, and the bad signal is used to indicate that the front end capping device may have an abnormality.

[0104] It can be understood that if the difference between the skin care product image of the first convergent group and the preset size image is outside the preset size difference range, it means that the capping size deviation of most products in the first group of skin care product images is large and may not meet the quality standards. The issuance of a bad signal is essentially a warning, indicating that the front-end capping device may have problems such as improper adjustment, wear, or inaccurate setting parameters, and needs to be checked and adjusted immediately. By identifying anomalies, obtaining alternative sets, and initiating a feedback process, the ability to respond quickly to problems and continuously optimize in production is reflected. The skin care product images of the first convergent group in the first group of skin care product images can be marked by image processing technology, and the remaining skin care product images without abnormal marking can be automatically classified into the second convergent group.

[0105] S214, receiving feedback information; wherein the feedback information is used to indicate whether the capping device is abnormal.

[0106] It can be understood that the feedback information is a direct result of the response to the bad signal, and includes diagnostic information of the current state of the capping device. The diagnostic information can be manually confirmed or input on the detection device after manual diagnosis, or the diagnostic information can be sent to the detection device through a monitoring device configured by the capping device, etc., but not limited to this. The monitoring device can display and monitor the operating state of the capping device (such as capping torque, capping action, etc.) through the detection of the sensor.

[0107] S215a: If the feedback information indicates that there is no abnormality in the capping device, the skin care product images of the second similarity group are compared with the preset size images.

[0108] It can be understood that if the feedback information indicates that there is no abnormality in the capping device, it means that the dimensional deviation problem of the first convergence group may not be caused by a direct failure of the capping device, but may involve other factors, such as raw material changes, temporary operating errors or equipment aging.

[0109] Optionally, in step S215a, if the feedback information indicates that there is no abnormality in the capping device, the skin care product production control method further includes:

[0110] S2151a, obtaining the historical maintenance record of the capping device.

[0111] It can be understood that the historical maintenance record includes the date, maintenance type, fault record, maintenance record and other information of all maintenance activities of the capping device from the beginning of use to the present. The historical maintenance record can be obtained from the ERP system, computer maintenance management system (CMMS) or a dedicated equipment database. The equipment database contains relevant information of all equipment, such as maintenance information, production line information, production quantity information and so on.

[0112] S2152a, analyzing the historical maintenance records of the capping device to obtain the next maintenance information; wherein the maintenance information is used to reflect the next maintenance time and maintenance items of the capping device.

[0113] It is understandable that the maintenance records can be deeply analyzed through data analysis techniques such as statistical analysis, trend prediction or machine learning models. In this case, due to the instability of the capping quality of the capping device, the capping device may need to be maintained in advance, and the time of the next maintenance and specific maintenance items can be formulated based on the law of equipment maintenance and the prediction of the occurrence time of potential failures.

[0114] S2153a, updating the maintenance information into the capping device maintenance plan.

[0115] In this way, this step strengthens the preventive maintenance strategy of the equipment. Through active analysis and planning, it reduces production interruptions caused by equipment problems, extends equipment life, and also improves overall production efficiency and quality control. This practice embodies the concepts of lean production and total productive maintenance (TPM), emphasizing the improvement of the reliability and efficiency of the production system through continuous improvement and preventive maintenance.

[0116] S216a, determining one of the skin care product images in the second convergent group whose difference value between the skin care product image and the preset size image is within the preset size difference range as a standard part image.

[0117] With this setting, in the actual production process, the number of defective products is often a minority. The standard part images are directly selected from the convergent group with known but relatively small deviations, avoiding the tedious process of screening all products one by one, which significantly saves time and resources. It not only takes into account the actual production situation (that is, there are relatively few defective products), but also makes full use of existing data resources. Through intelligent screening, it quickly locates the product closest to the ideal size as a template to guide subsequent production, reduce misjudgment, and accelerate the optimization of the production process.

[0118] S215b: If the feedback information indicates that the capping device is abnormal, a shutdown inspection signal is issued.

[0119] With this setting, the feedback information confirms that the capping device is faulty or not working properly. It may be due to mechanical damage, sensor failure, control system error or other reasons that the capping process does not meet the expected standards. Once the capping device is confirmed to be abnormal, the system will automatically or manually issue a shutdown command through the operator. This signal will immediately stop all operations related to the capping device in the production line to avoid the continued production of potentially unqualified products. At the same time, this signal is also the starting point for initiating the maintenance and troubleshooting process, notifying the relevant maintenance team or technicians to intervene and conduct a comprehensive inspection and necessary repairs on the capping device.

[0120] S220, matching the standard part image with other skin care product images in the first group of skin care product images, and determining the skin care product image that does not match the standard part image as a defective product.

[0121] It can be understood that if the standard part image is determined by the skin care product images of the first convergent group, then the other skin care product images are the skin care product images of the second convergent group; if the standard part image is determined by the skin care product images of the second convergent group, then the other skin care product images are all the skin care product images of the first group of skin care product images except the standard part image.

[0122] In one possible implementation, see Figure 5 In step S220, the standard part image is matched with other skin care product images in the first group of skin care product images, and the skin care product image that does not match the standard part image is determined as a defective product, including:

[0123] S221, analyzing the standard part image to generate a bottle cap reference line; wherein the bottle cap reference line is used to reflect the highest horizontal line of the height of the skin care product within a preset height range.

[0124] It can be understood that the bottle cap baseline is a virtual line and can be mapped by a transmitting device. For example, the bottle cap baseline is materialized by an infrared transmitter and displayed in a detection device. When the skin care products are subsequently transmitted to the detection device, they can be intuitively compared and observed. The preset height range can be set manually based on laboratory experiments, past experience, etc.; it can also be obtained through a learning model, etc., but is not limited to this. The learning model is obtained by training with multiple sets of training data, and each set of training data in the multiple sets of training data includes the model specifications and preset height range of the skin care products.

[0125] In one possible implementation, see Figure 6 In step S221, the standard part image is analyzed to generate a bottle cap reference line, including:

[0126] S2211, analyzing the standard part image to obtain a standard part baseline; wherein the standard part baseline is used to reflect the horizontal line at the highest point of the bottle cap of the skin care product in the standard part image.

[0127] It can be understood that the standard part reference line is the same as the height of the skin care product in the standard part image. The top of the skin care product bottle cap can be identified by a pattern recognition algorithm, and a horizontal line can be drawn accordingly (for example, a horizontal line tangent to the highest point of the top of the skin care product bottle cap in the standard part image, and the horizontal line can be perpendicular to the height of the skin care product), which is the standard part reference line.

[0128] S2212a: If the standard part image is determined from the first convergent group, a first adjustment value is obtained; wherein the first adjustment value is used to reflect the extent to which the height of the skin care product in the standard part image exceeds the minimum acceptable height.

[0129] It can be understood that the first adjustment value is a preset value, which can be obtained through laboratory experiments, on-site measurements and monitoring, past experience, etc., or through learning models, etc., but is not limited to this. Through this value, it can be understood what the allowable range of variation of product size is in actual production. The minimum height refers to the height of the skin care product when the bottle cap is tightened to the tightest; the height of the skin care product exceeds the acceptable minimum height. It refers to the height of the skin care product when the bottle cap just changes from a leaking state to a sealed state and the bottle cap will not loosen, or the bottle cap just changes from a loose state (i.e., a state where the bottle cap can be twisted with a force less than a preset force) to a tightened state with a certain fit with the bottle body (i.e., a state where the bottle cap cannot be twisted with a force less than a preset force), and the height of the skin care product when the bottle cap is in a sealed state. The first adjustment value refers to the height difference between the bottle cap and the acceptable degree.

[0130] S2213a, adjusting the standard part reference line based on the first adjustment value to obtain the bottle cap reference line.

[0131] It is understandable that the standard part baseline was originally set based on the product size under theoretical or ideal conditions, but in actual production, considering various factors (such as material elasticity, equipment accuracy fluctuations, process variability, etc.), the product size may have a certain deviation. Therefore, adjusting the baseline based on the first adjustment value is essentially combining the theoretical standard with the actual production situation, so that subsequent dimensional inspections are closer to actual production requirements and avoid misjudgments caused by overly strict standards. The bottle cap baseline is obtained by moving the standard part baseline upward by the first adjustment value.

[0132] S2212b: If the standard component image is determined from the second convergent group, a second adjustment value is obtained; wherein the second adjustment value is smaller than the first adjustment value.

[0133] It is understandable that the second adjustment value can be obtained in a similar manner to step S2212a. However, when determining the second adjustment value, it is necessary to obtain a tolerance value, which is used to indicate the degree to which the detection standard or requirement needs to be improved when an abnormality occurs in the production line. The tolerance value can be set manually based on laboratory experiments, past experience, etc.; it can also be obtained through a learning model, etc., but is not limited to this. The learning model is obtained by training with multiple sets of training data, and each set of training data in the multiple sets of training data includes the model specifications of the skin care products and the corresponding tolerance values. The second adjustment value is obtained by subtracting the tolerance value from the first adjustment value.

[0134] S2213b, adjusting the standard part reference line based on the second adjustment value to obtain the bottle cap reference line.

[0135] In this way, if the standard part image is determined from the first convergence group, it means that the capping quality of the skin care products is stable and ideal, which usually means that the capping quality of the skin care products in this group shows relatively stable and close to the ideal state. The definition of the first convergence group implies that although these products may have certain deviations in size or capping height, these deviations are relatively small, and overall they tend to meet or slightly exceed the preset minimum acceptance standard. Therefore, the capping quality of the standard part image selected from the first convergence group represents the better performance of the production line under the current conditions and can be used as a more optimistic quality control benchmark. In this case, by obtaining the first adjustment value and adjusting the bottle cap baseline based on it, it is actually to ensure product quality while taking into account the actual feasibility and a certain degree of tolerance in production, ensuring that quality control is both strict and flexible, which helps to maintain the efficient operation of the production line and the high-quality output of the product. If the standard part image is determined from the second convergence group, it reflects that in the current production conditions or batches, the capping quality may fluctuate or be slightly lower than the ideal state. In this case, the second adjustment value obtained will be smaller than the first adjustment value, indicating that the control requirements for the capping height are stricter, aiming to control product quality by narrowing the tolerance range and reducing potential unqualified products.

[0136] S222: Generate a corresponding contrast line for each of the top edges of the bottle caps of the other skin care product images in the first group of skin care product images.

[0137] It is understood that the top edge of the bottle cap of the skin care product image can be identified by the image recognition algorithm and the computer vision algorithm. Once the precise position of the top of the bottle cap is determined, a straight line or a highlight area is drawn on the image. This line is the required contrast line, which is used to intuitively indicate the top edge position of the bottle cap. Contrast lines include horizontal lines, oblique lines, and curves. For example, when the joint of the bottle cap and the bottle body is aligned, the contrast line is a horizontal line; when the joint of the bottle cap and the bottle body is aligned, the contrast line is an oblique line or a curve, which depends on the placement angle of the skin care product.

[0138] S223, matching the contrast lines in the first group of skin care product images with the bottle cap baselines.

[0139] It can be understood that during the matching process, the offset between the two lines (the difference in the vertical and horizontal directions) can be calculated to ensure that the positioning of the comparison line is accurate.

[0140] S224, if the comparison line is higher than the bottle cap reference line, the skin care product image corresponding to the comparison line is determined as a defective product; if the comparison line is not parallel to the bottle cap reference line, the skin care product image corresponding to the comparison line is determined as a defective product.

[0141] It can be understood that whether the comparison line is completely higher than or partially higher than the bottle cap baseline, the comparison line is higher than the bottle cap baseline. Whether the comparison line is higher than or lower than the bottle cap baseline, as long as the comparison line is not parallel to the bottle cap baseline, the skin care product image corresponding to the comparison line is determined as a defective product.

[0142] With this setting, the sealing and correct installation of the bottle cap are comprehensively and strictly screened, ensuring that only those skin care products with proper sealing and standard appearance can pass the inspection, thus improving the consumer experience and the overall quality of the product.

[0143] S230, accumulating the defective products in the first group of skin care product images to obtain a defective number.

[0144] It can be understood that the number of defective products can help users understand or estimate the pass rate of the current production batch, evaluate the efficiency of the production line and the effectiveness of quality control, and decide whether the production process needs to be adjusted or optimized.

[0145] S300, formulate sampling plan based on the number of defective items.

[0146] It can be understood that the sampling plan includes the frequency of sampling and the quantity of each sampling.

[0147] In one possible implementation, see Figure 7 In step S300, a sampling inspection plan is formulated according to the number of defective products, including:

[0148] S310, input the skin care product production information into the learning model to obtain the first sampling rule; wherein the learning model is trained using multiple sets of training data, each set of training data in the multiple sets of training data includes the skin care product production information and the first sampling rule, and the first sampling rule is used to reflect the normal sampling frequency and sampling quantity corresponding to the skin care product production information.

[0149] It can be understood that the first sampling rule is a sampling scheme obtained without considering the operating status of the equipment and the quality of the product. For example, assuming that the sampling scheme of the skin care product model SF910 trained by the learning model shows that the production of 0-2000 pieces, the sampling frequency is once every 10 minutes, and 3 pieces are sampled at a time; the production of 2001-5000 pieces, the sampling frequency is once every 8 minutes, and 3 pieces are sampled at a time; the production of 5001-10000 pieces, the sampling frequency is once every 5 minutes, and 5 pieces are sampled at a time; the production of more than 10000 pieces, the sampling frequency is once every 10 minutes, and 10 pieces are sampled at a time. Then input the skin care product model SF910 and the corresponding production quantity of 9000 into the learning model, then the first sampling rule is that the sampling frequency is once every 5 minutes, and 5 pieces are sampled at a time, and so on.

[0150] S320a, comparing the number of defective products with a preset defective threshold value, if the number of defective products is less than the preset defective threshold value, determining the first sampling rule as the sampling scheme.

[0151] It can be understood that the preset defect threshold is a set value, which can be obtained through laboratory experiments, on-site measurements and monitoring, past experience, etc., or through learning models, etc., but is not limited to this. When the actual number of defects is lower than the preset standard, it indicates that the production process is stable and the quality control is good, so it is sufficient to use the originally set first sampling inspection rule without adding additional detection costs and complexity.

[0152] S320b: If the number of defective components is greater than or equal to the preset defective threshold, the difference between the number of defective components and the preset defective threshold is calculated.

[0153] It can be understood that the difference = the number of defects - the preset defect threshold.

[0154] S330, matching the difference with a preset difference range to obtain a sampling adjustment value that matches the preset difference range; wherein the sampling adjustment value is used to reflect the frequency and quantity that need to be increased for sampling skin care products.

[0155] It can be understood that the preset difference range represents a difference interval, and different difference intervals correspond to different sampling adjustment values. The corresponding relationship can be obtained through laboratory experiments, on-site measurements and monitoring, past experience, etc., or through learning models, etc., but not limited to this. The sampling adjustment value can be manually input by humans, or obtained from the sampling database, etc., but not limited to this. The sampling database contains the preset difference range and the corresponding sampling adjustment value.

[0156] S340, adjusting the first sampling rule based on the sampling adjustment value to obtain a sampling plan.

[0157] It can be understood that the sampling plan = (the sampling frequency value reflected in the first sampling rule - the time value reflected in the sampling adjustment value) + the sampling quantity value reflected in the first sampling rule + the quantity reflected in the sampling adjustment value). For example, when the sampling frequency reflected in the first sampling rule is once every 6 minutes and the number of sampling is 5, and the sampling frequency reflected in the sampling adjustment value is once every 2 minutes and the number of sampling is 1, then the sampling plan is a sampling frequency of 4 (6-2) minutes and a sampling quantity of 6 (5+1), and so on.

[0158] In this way, the preliminary sampling rules are adjusted according to the obtained sampling adjustment value, realizing personalized and targeted optimization of the sampling plan. This dynamic adjustment can not only respond quickly to problems in production, but also ensure that monitoring efforts are increased when necessary to effectively curb the outflow of defective products. At the same time, after the production situation improves, it can be restored to the regular sampling level in a timely manner to maintain a balance between efficiency and quality control.

[0159] S400, controlling the detection device to perform appearance detection on the skin care products based on the sampling inspection plan.

[0160] It is understandable that the detection instruction can be started according to the determined sampling frequency by timing. For example, if the frequency is set to once every 4 minutes, the detection device will trigger a detection event at the end of each cycle. When the preset time is reached, the control system sends an instruction to the detection device. According to the number of random inspections, the device can randomly or in a certain order select a corresponding number of products from the production line for inspection. During the inspection, the height of the bottle cap of the selected skin care product is compared with the bottle cap baseline. The comparison can be performed in a manner similar to steps S222 to S224 to obtain the production quality of the batch of skin care products sampled.

[0161] With this setting, defective products can be automatically identified through image analysis, which not only greatly improves the speed and accuracy of detection and reduces misjudgments caused by human factors, but also continuously monitors the production process, detects quality problems in a timely manner, and ensures the quality stability of each batch of skin care products. Dynamically adjusting the sampling plan based on the number of defective products collected in real time means that when problems occur in production, the inspection efforts can be immediately strengthened, while regular sampling is maintained when production conditions are good. This flexibility effectively balances quality control and production efficiency and avoids excessive consumption of resources. When the analysis results show that there may be an abnormality in the capping device, the system can issue an early warning signal in time and shut down for inspection, which helps to discover and solve equipment problems in advance, reduce the production of defective products, and avoid larger-scale quality accidents, reflecting the shift from passive response to active prevention. Dynamic sampling plans also help to reasonably allocate quality control resources and maximize cost-effectiveness.

[0162] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0163] Corresponding to the skin care product production control method described in the above embodiment, the embodiment of the present application also provides a skin care product production control system, and each module of the system can implement each step of the skin care product production control method. Figure 8 A structural block diagram of a skin care product production control system provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0164] Reference Figure 8 , the skin care products production control system includes:

[0165] The acquisition module is used to acquire a first group of skin care product images; wherein the first group of skin care product images is used to reflect the images of the skin care products after passing through the detection device for the first time after M caps, and M is an integer greater than 1.

[0166] The first analysis module is used to analyze the first group of skin care product images to obtain the number of defective products; wherein the number of defective products is used to reflect the number of skin care products with poor appearance in the first group.

[0167] The second analysis module is used to formulate a sampling plan based on the number of defective products.

[0168] The control module is used to control the detection device to perform appearance detection on the skin care products based on the sampling plan.

[0169] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0170] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above modules is used as an example for illustration. In practical applications, the above functions can be assigned to different modules as needed, that is, the internal structure of the system can be divided into different modules to complete all or part of the functions described above. The modules in the embodiment can be integrated into a processing unit, or each module can exist physically alone, or two or more modules can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the modules are only for the convenience of distinguishing from each other, and are not used to limit the scope of protection of this application. The specific working process of the modules in the above system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0171] The embodiment of the present application also provides a skin care product production control device, including a capping device, a detection device and a control device, and the control device is electrically connected to the capping device and the detection device. Fig. 9 This is a schematic diagram of the structure of a control device 6 provided in an embodiment of the present application. Fig. 9 As shown, the control device 6 of this embodiment includes: at least one processor 60 ( Fig. 9 Only one is shown), at least one memory 61 ( Fig. 9 Only one is shown) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the control device 6 implements the steps in any of the above-mentioned embodiments of the skin care product production control method, or implements the functions of the modules in the above-mentioned device embodiments.

[0172] Exemplarily, the computer program 62 may be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the control device 6.

[0173] The control device 6 can be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The skin care product production control device can include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art can understand that Fig. 9 It is only an example of the control device 6 and does not constitute a limitation on the control device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.

[0174] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0175] In some embodiments, the memory 61 may be an internal storage unit of the control device 6, such as a hard disk or memory of the control device 6. In other embodiments, the memory 61 may also be an external storage device of the control device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the control device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the control device 6. The memory 61 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0176] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0177] An embodiment of the present application provides a computer program product. When the computer program product is run on a skin care product production control device, the skin care product production control device implements the steps in any of the above-mentioned method embodiments.

[0178] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the skin care product production control equipment, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0179] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0180] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0181] In the embodiments provided in the present application, it should be understood that the disclosed skin care product production control system, equipment and method can be implemented in other ways. For example, the above-described skin care product production control system and equipment embodiments are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0182] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0183] 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 skin care product production control method, characterized in that: include: Acquire a first group of skin care product images; wherein the first group of skin care product images is used to reflect the images of the skin care products after passing through the detection device for the first time after M caps, and M is an integer greater than 1; Analyze the first group of skin care product images to obtain a defective number; wherein the defective number is used to reflect the number of skin care products with poor appearance in the first group; Formulate a sampling inspection plan based on the number of defects; Controlling the detection device to perform appearance detection on the skin care products based on the sampling inspection scheme; The step of analyzing the first group of skin care product images to obtain the number of defective products includes: Analyzing the first group of skin care product images to obtain a standard part image; wherein the standard part image is used to reflect the skin care products in the first group of skin care product images that meet the quality requirements; Matching the standard part image with other skin care product images in the first group of skin care product images, and determining the skin care product image that does not match the standard part image as a defective product; Accumulating the defective products in the first group of skin care product images to obtain a defective number; The step of analyzing the first group of skin care product images to obtain a standard part image includes: Comparing all the skin care product images in the first group of skin care product images with each other to obtain a first convergent group; wherein the first convergent group is used to reflect the set of skin care product images in the first group of skin care product images, the size differences between the skin care products being within a preset range and the largest number of which; Comparing the skin care product images of the first similar group with images of preset sizes; If the size difference between the skin care product images in the first similar group and the preset size image is within a preset size difference range, determining one of the skin care product images in the first similar group as a standard part image; The step of analyzing the first group of skin care product images to obtain a standard part image further includes: If the difference between the skin care product image of the first similarity group and the preset size image is outside the preset size difference range, a second similarity group is obtained and a bad signal is issued; wherein the second similarity group is used to reflect the set of other skin care product images in the first group of skin care product images except the first similarity group, and the bad signal is used to indicate that the front end capping device may be abnormal; receiving feedback information; wherein the feedback information is used to indicate whether the capping device is abnormal; If the feedback information indicates that there is no abnormality in the capping device, comparing the skin care product images of the second similarity group with the preset size images; Determine one of the skin care product images of the second convergent group whose difference between the skin care product image and the preset size image is within the preset size difference range as a standard part image; If the feedback information indicates that the capping device is abnormal, a shutdown inspection signal is issued; The method of formulating a sampling inspection plan according to the defective number includes: Inputting the skin care product production information into a learning model to obtain a first sampling inspection rule; wherein the learning model is trained using multiple sets of training data, each set of training data in the multiple sets of training data includes the skin care product production information and a first sampling inspection rule, and the first sampling inspection rule is used to reflect a normal sampling inspection frequency and sampling inspection quantity corresponding to the skin care product production information; Compare the defect number with a preset defect threshold, and if the defect number is less than the preset defect threshold, determine the first sampling rule as the sampling plan; If the defect number is greater than or equal to the preset defect threshold, then the difference between the defect number and the preset defect threshold is calculated; Matching the difference with a preset difference range to obtain a sampling adjustment value that matches the preset difference range; wherein the sampling adjustment value is used to reflect the frequency and quantity of sampling inspections of skin care products that need to be increased; The first sampling inspection rule is adjusted based on the sampling inspection adjustment value to obtain a sampling inspection plan.

2. The skin care product production control method according to claim 1, characterized in that: The step of acquiring a first group of skin care product images comprises: Obtaining skin care product production information; wherein the skin care product production information is used to reflect the model and quantity of the skin care products produced in this batch; Analyze the skin care product production information to obtain an M value; A first group of skin care product images is acquired based on the M value.

3. The skin care product production control method according to claim 1, characterized in that: The step of matching the standard part image with other skin care product images in the first group of skin care product images and determining the skin care product image that does not match the standard part as a defective product includes: Analyze the standard part image to generate a bottle cap reference line; wherein the bottle cap reference line is used to reflect the highest horizontal line of the height of the skin care product within a preset height range; Generating a corresponding contrast line for each of the top edges of the bottle caps of the other skin care product images in the first group of skin care product images; Matching the contrast line in the first group of skin care product images with the bottle cap reference line; If the comparison line is higher than the bottle cap baseline, the skin care product image corresponding to the comparison line is determined as a defective product; if the comparison line is not parallel to the bottle cap baseline, the skin care product image corresponding to the comparison line is determined as a defective product.

4. The skin care product production control method according to claim 3, characterized in that: The step of analyzing the standard part image to generate a bottle cap reference line includes: Analyze the standard part image to obtain a standard part reference line; wherein the standard part reference line is used to reflect the horizontal line at the highest point of the bottle cap of the skin care product in the standard part image; If the standard part image is determined from the first convergent group, a first adjustment value is obtained; wherein the first adjustment value is used to reflect the extent to which the height of the skin care product in the standard part image exceeds the minimum acceptable height; Adjusting the standard part reference line based on the first adjustment value to obtain a bottle cap reference line; If the standard component image is determined from the second convergent group, a second adjustment value is obtained; wherein the second adjustment value is less than the first adjustment value; The standard part reference line is adjusted based on the second adjustment value to obtain a bottle cap reference line.

5. A skin care product production control system, characterized in that: include: An acquisition module, used for acquiring a first group of skin care product images; wherein the first group of skin care product images is used to reflect the images of the skin care products after passing through the detection device for the first time after M caps, and M is an integer greater than 1; A first analysis module, configured to analyze the first group of skin care product images to obtain a defective number; wherein the defective number is used to reflect the number of skin care products with poor appearance in the first group; The second analysis module is used to formulate a sampling inspection plan according to the defective number; A control module, used for controlling the detection device to perform appearance detection on the skin care products based on the sampling scheme; Wherein, the first analysis module is further used for: Analyzing the first group of skin care product images to obtain a standard part image; wherein the standard part image is used to reflect the skin care products in the first group of skin care product images that meet the quality requirements; Matching the standard part image with other skin care product images in the first group of skin care product images, and determining the skin care product image that does not match the standard part image as a defective product; Accumulating the defective products in the first group of skin care product images to obtain a defective number; The step of analyzing the first group of skin care product images to obtain a standard part image includes: Comparing all the skin care product images in the first group of skin care product images with each other to obtain a first convergent group; wherein the first convergent group is used to reflect the set of skin care product images in the first group of skin care product images, the size differences between the skin care products being within a preset range and the largest number of which; Comparing the skin care product images of the first similar group with images of preset sizes; If the size difference between the skin care product images in the first similar group and the preset size image is within a preset size difference range, determining one of the skin care product images in the first similar group as a standard part image; The step of analyzing the first group of skin care product images to obtain a standard part image further includes: If the difference between the skin care product image of the first similarity group and the preset size image is outside the preset size difference range, a second similarity group is obtained and a bad signal is issued; wherein the second similarity group is used to reflect the set of other skin care product images in the first group of skin care product images except the first similarity group, and the bad signal is used to indicate that the front end capping device may be abnormal; receiving feedback information; wherein the feedback information is used to indicate whether the capping device is abnormal; If the feedback information indicates that there is no abnormality in the capping device, comparing the skin care product images of the second similarity group with the preset size images; Determine one of the skin care product images of the second convergent group whose difference between the skin care product image and the preset size image is within the preset size difference range as a standard part image; If the feedback information indicates that the capping device is abnormal, a shutdown inspection signal is issued; The second analysis module is also used for: Inputting the skin care product production information into a learning model to obtain a first sampling inspection rule; wherein the learning model is trained using multiple sets of training data, each set of training data in the multiple sets of training data includes the skin care product production information and a first sampling inspection rule, and the first sampling inspection rule is used to reflect a normal sampling inspection frequency and sampling inspection quantity corresponding to the skin care product production information; Compare the defect number with a preset defect threshold, and if the defect number is less than the preset defect threshold, determine the first sampling rule as the sampling plan; If the defect number is greater than or equal to the preset defect threshold, then the difference between the defect number and the preset defect threshold is calculated; Matching the difference with a preset difference range to obtain a sampling adjustment value that matches the preset difference range; wherein the sampling adjustment value is used to reflect the frequency and quantity of sampling inspections of skin care products that need to be increased; The first sampling inspection rule is adjusted based on the sampling inspection adjustment value to obtain a sampling inspection plan.

6. A skin care product production control equipment, characterized in that: The method comprises a capping device, a detection device and a control device, wherein the control device is electrically connected to the capping device and the detection device, and the control device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the method according to any one of claims 1 to 4 when executing the computer program.