Rendering
Practical Applications of Machine Vision in the Cosmetics Industry
Jul 31,2026
Project Background
Smart manufacturing has become the core driving force behind the transformation and upgrading of the global manufacturing sector. In the highly competitive beauty industry, companies face a dual challenge: boosting efficiency while ensuring quality. On one hand, they must ramp up production speeds to meet growing market demand; on the other, they must rigorously control product quality and safety to earn consumer trust. Traditional quality inspection relies on manual visual checks, which are not only inefficient and slow but also heavily influenced by subjective factors, making it difficult to ensure consistent and reliable results. Particularly on high-speed production lines, the speed bottleneck of manual inspection severely constrains further capacity expansion.
In recent years, machine vision technology has advanced rapidly. By leveraging an “optical imaging + algorithmic processing” approach, it can transform “invisible defects” into “visible contrast images,” significantly enhancing detection accuracy and efficiency. As a result, it has increasingly become a key technological enabler for the smart manufacturing transformation of the cosmetics industry.
Prospects for the Cosmetics Industry
The global beauty industry is experiencing unprecedented rapid growth. According to Euromonitor International, the global beauty market is projected to reach US$150 billion by 2025, with a compound annual growth rate of approximately 18%—far outpacing the overall consumer goods sector. This explosive expansion is driven primarily by rising consumer spending, the emergence of dynamic emerging markets, and a surge in demand for personalized, customized products.
On the production side, beauty products are rapidly evolving toward greater variety and smaller batch sizes, with packaging formats becoming increasingly diverse, thereby placing higher demands on production efficiency and quality management. Against this backdrop, the widespread adoption of machine vision systems in areas such as package inspection, defect detection, code reading and traceability, and positioning guidance provides critical technological support for lean manufacturing in the cosmetics industry.
Meanwhile, the deep integration of machine vision technology with digital platforms such as MES systems and MII (Manufacturing Intelligence Platform) is enabling the beauty industry to establish a full‑process, traceable quality‑control system, laying a solid foundation for enterprises’ digital transformation.
Overview of Light Source Selection for Machine Vision
1. Common Types of Light Sources and Their Characteristics
Coaxial light : When the light is aligned with the camera’s optical axis, it effectively suppresses reflections and is well suited for detecting defects on highly reflective, planar surfaces. High‑angle ring light: Illuminates the surface at a steep angle, enhancing surface texture and accentuating three‑dimensional features. Low‑angle ring light: Shines close to the surface, delivering excellent detection of scratches and raised or recessed characters. Backlight: Projects light from behind the object, creating high‑contrast outlines and ideal for positioning and dimension measurement. High‑uniformity line light: Provides a linear, evenly distributed beam of light and serves as the standard illumination source for line‑scan cameras.
2. Comparison of Two Imaging Modes: Area Scan and Line Scan
Area-array imaging : It employs a area‑scan camera that captures a complete 2D image in a single exposure, making it suitable for stationary objects or those moving at low speeds. Its field of view is flexibly adjustable, and its algorithms are relatively straightforward, making it well suited for most positioning, object recognition, and character‑reading applications.
Line-array imaging : It employs a line-scan camera that acquires images via progressive line-by-line scanning, making it well-suited for continuously moving production lines. It enables large‑format, high‑resolution imaging and excels particularly in high‑speed motion scenarios, ensuring uniformity and consistency across the image.
Each of the two imaging approaches has its own advantages; in practical applications, the choice should be made by considering the product’s motion characteristics, the required inspection accuracy, and the production speed. In this project, both area‑scan and line‑scan cameras were employed across all stages, successfully capturing the necessary feature information and demonstrating the broad applicability of both methods.
Case Studies of Machine Vision Applications in the Beauty Industry
Case 1: Angular Positioning and Recognition of Cosmetic Bottle Caps (Area Scan + High-Angle Ring Light)
✫ Application Background
On an automated filling production line, the angle and position of the bottle cap directly determine the success rate of subsequent processes, such as capping and labeling. If the cap’s angular deviation is excessive, it may damage the capping mechanism or result in a poor seal, compromising product integrity.
✫ Detailed Explanation of Lighting Schemes
High‑angle ring lighting is one of the most commonly used illumination schemes for positioning cap‑type workpieces. By adjusting the relative angle between the light source and the workpiece, structural features such as edges on the cap surface can produce distinct light‑and‑dark contrasts in the image, facilitating algorithmic extraction of feature points and angle calculation. Compared with low‑angle ring lighting, high‑angle ring lighting provides a more complete representation of the workpiece’s overall contour, making it well suited for pose estimation of three‑dimensional components like caps.
Case Study 2: Defect Inspection of Cosmetic Bottle Inner Shells (Line Scan + Coaxial Illumination)
✫ Application Background
During the molding process, the inner surface of plastic packaging is prone to developing subtle defects such as microbubbles, cracks, and black spots. These defects are difficult to detect with the naked eye but may lead to product contamination or package failure during subsequent filling operations, posing significant quality risks.
✫ Detailed Explanation of Lighting Schemes
This solution employs a line-scan camera in conjunction with a coaxial illumination source to perform scanning and imaging. The coaxial light, utilizing a specialized optical beam-splitting configuration, directs light along the camera’s optical axis onto the surface under inspection, effectively eliminating specular reflections that conventional lighting sources produce on highly reflective surfaces and preserving defect information intact within the image grayscale. Coupled with the line-scan camera’s high-speed, line-by-line scanning capability, it enables comprehensive, all‑around inspection of the inner shell, achieving inspection speeds exceeding 2 meters per second and meeting the real-time detection requirements of high‑speed production lines.
Case 3: Bottle‑body Code Reading and Character Recognition Inspection (Line‑Scan + High‑Uniform Line Light / Area‑Scan + Coaxial Illumination)
✫ Application Background
In the construction of a product traceability system, each product must be assigned a unique identification code—either a Data Matrix or a one-dimensional barcode—to enable end-to-end traceability across the entire supply chain, from raw materials and manufacturing through logistics to sales. At the same time, character-based information on the product surface, such as the production date and batch number, must be rigorously verified to ensure accuracy and compliance.
✫ Detailed Explanation of Lighting Schemes
Code reading and character recognition place stringent demands on light source uniformity. Coaxial illumination, leveraging a beam-splitting structure to suppress irregular reflections, ensures stable contrast for barcodes on highly reflective bottle surfaces; meanwhile, highly uniform line illumination provides a light field with no pronounced brightness or darkness transitions for line-scan systems, effectively mitigating shadowing and reflection artifacts in character regions, resulting in complete, crisp stroke rendering and enabling OCR recognition rates exceeding 99.5%.
Case 4: Bottle Bottom Type Recognition (Coaxial Illumination)
✫ Application Background
Products from different batches or series may exhibit variations in bottle‑bottom geometry, such as bottom diameter, surface texture, and sealing method. When multiple product types are manufactured on the same production line, a machine‑vision system must rapidly identify the bottle‑bottom type to guide downstream processes and ensure proper handling—e.g., adjusting fill volumes or selecting appropriate accessories.
✫ Detailed Explanation of Lighting Schemes
In this scene, the coaxial illumination fully leverages its exceptional ability to reveal fine details on highly reflective surfaces. By precisely adjusting the relative angle between the light source and the camera, the edges of the concave‑convex structure at the bottle’s base produce sharply defined, high‑contrast outlines in the image, facilitating the extraction of shape, area, texture, and other features by downstream algorithms. Moreover, distinct bottle bases exhibit significant differences across these feature dimensions, enabling the system to achieve accurate classification into specific types.
Summary and Outlook
Machine vision technology has become a critical enabler of the beauty industry’s smart manufacturing transformation. From precision inspection of raw materials and assembly of bottle‑cap components to packaging coding and traceability, as well as identification of bottle‑base types, machine vision plays an irreplaceable role across every stage of a product’s lifecycle. By carefully selecting appropriate lighting sources—such as coaxial, ring, or line illumination—and imaging modes—whether area‑scan or line‑scan—and integrating high‑performance image‑processing algorithms, “invisible defects” can be effectively converted into “visible contrast images,” providing objective, quantifiable criteria for quality control.
In the future, as AI‑driven deep learning continues to gain traction, the intelligence of machine vision systems will keep advancing, injecting stronger momentum into the high‑quality development of the beauty industry.
Previous:
Related News









