Detection apparatus and detection method for projection lamp detection

CN122591205APending Publication Date: 2026-08-18MIND ELECTRONICS APPLIANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610687915.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-19
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0003]相关技术中,投影灯在出厂前需要对投影效果进行检测,目前对投影灯的检测依赖固定的专用光学暗室,检测工位与生产线物理分离,产品需人工搬运、排队等待,通常只能采用抽检方式,不仅检测效率低下、人力成本高,还存在不良品流出的风险,难以满足现代产线在线全检的需求

Benefits of technology

[0004]本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明的一个目的在于提出一种用于投影灯检测的检测设备。根据本发明的检测设备,实现了投影灯在线检测时的自动角度校准,在保证检测精度和可重复性的同时大幅提升了检测效率,能够满足产线高效全检的需求。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122591205A_ABST
    Figure CN122591205A_ABST
Patent Text Reader

Abstract

This invention discloses a testing device and method for inspecting projection lamps, relating to the field of projection lamp inspection technology. The testing device includes a main body, a testing fixture, an image acquisition device, and a control module. A darkroom is formed within the main body, with at least a portion of the walls of the darkroom forming a projection surface. The testing fixture is disposed within the darkroom and is used to support the projection lamp to be inspected. The testing fixture is equipped with an angle adjustment mechanism for adjusting the illumination angle of the projection lamp. The image acquisition device is disposed within the darkroom and is positioned opposite to the projection surface. The control module is adapted to control the angle adjustment mechanism to adjust the illumination angle of the projection lamp based on the image information acquired by the image acquisition device. According to the testing device of this invention, automatic angle calibration is achieved during online inspection of projection lamps, significantly improving inspection efficiency while ensuring inspection accuracy and repeatability, and meeting the needs of high-efficiency full inspection on production lines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of projection lamp testing technology, and in particular to a testing device and testing method for testing projection lamps. Background Technology

[0002] Vehicle projection lights can project patterns, logos, and other designs onto the ground, providing guidance to those around the vehicle when it turns or stops. They also enhance the vehicle's aesthetic appeal, and the projection effect can directly improve product quality.

[0003] In related technologies, projection lamps need to be tested for projection effect before leaving the factory. Currently, the testing of projection lamps relies on fixed, dedicated optical darkrooms. The testing station is physically separated from the production line, and products need to be manually handled and queued. Usually, only random sampling can be used, which is not only inefficient and labor-intensive, but also carries the risk of defective products being released, making it difficult to meet the needs of modern online full inspection. Furthermore, the current common use of simple fixed fixtures to support products makes it impossible to adjust for the initial installation angle deviation of the projection lamp, resulting in positional shifts and geometric deformations of the projected image. The accuracy of the test results is difficult to guarantee, and the repeatability of the test is poor, failing to meet the requirements of high-precision testing. Summary of the Invention

[0004] This invention aims to at least solve one of the technical problems existing in the prior art. Therefore, one object of this invention is to provide a detection device for inspecting projection lamps. According to the detection device of this invention, automatic angle calibration is achieved during online inspection of projection lamps, significantly improving inspection efficiency while ensuring detection accuracy and repeatability, and meeting the needs of high-efficiency full inspection on production lines.

[0005] The present invention also proposes a detection method for the above-mentioned detection equipment.

[0006] The detection device for testing projection lamps according to the present invention comprises: a main body having a dark chamber formed therein, at least a portion of the wall surface of the dark chamber being constructed as a projection surface; a testing fixture disposed within the dark chamber for supporting a projection lamp to be tested, the testing fixture being provided with an angle adjustment mechanism for adjusting the illumination angle of the projection lamp; an image acquisition device disposed within the dark chamber and opposite to the projection surface, the image acquisition device being used to acquire image information projected by the projection lamp onto the projection surface; and a control module electrically connected to both the angle adjustment mechanism and the image acquisition device, the control module being adapted to control the angle adjustment mechanism to adjust the illumination angle of the projection lamp based on the image information acquired by the image acquisition device.

[0007] According to the testing equipment of the present invention, by integrating the darkroom inside the main body of the equipment and using a test fixture that can automatically adjust the illumination angle of the projection lamp, the testing equipment can be directly deployed on the production line to complete online testing. This eliminates the need for manual handling and transportation, reducing labor costs, and also enables full inspection coverage, effectively preventing defective products from leaving the production line and meeting the testing needs of modern production lines. At the same time, the control module can automatically adjust the illumination angle of the projection lamp based on the acquired image information, effectively eliminating the positional shift and geometric deformation of the projected image caused by the initial installation angle deviation of the projection lamp. This ensures that the projected image is in the accurate position and shape during each test, improving the accuracy of the test results and the repeatability of product testing. It meets the requirements of high-precision testing while also improving testing efficiency, and can adapt to the production needs of online full inspection on the production line.

[0008] According to some embodiments of the present invention, a portion of the bottom surface of the darkroom is configured as the projection surface, the test fixture is disposed on another portion of the bottom surface of the darkroom and located on one side of the projection surface, and the image acquisition device is disposed on the top surface of the darkroom and is disposed opposite to the projection surface in the height direction.

[0009] According to some embodiments of the present invention, the image acquisition device is configured as a plurality of such devices spaced apart from each other along the length direction, and the control module is used to control the plurality of image acquisition devices to acquire images synchronously, and to stitch together the acquired partial images to generate a panoramic projection image.

[0010] According to some embodiments of the present invention, the main body of the device includes: a detection chamber, in which the dark chamber is formed, and a detection port communicating with the dark chamber is formed at one end of the detection chamber near the testing fixture; and an operating door, which is movably connected to the end of the detection chamber where the detection port is provided, and the operating door is used to open or close the detection port.

[0011] According to some embodiments of the present invention, the detection device further includes: a display, the display being disposed outside the detection chamber and above the operating door, the display being electrically connected to the control module, and the display being used to display the detection results of the projection lamp.

[0012] According to some embodiments of the present invention, the detection device further includes: a barcode scanner, which is disposed on the outside of the detection chamber and located to the side of the operation door. The barcode scanner is used to identify the identity information of the projection lamp to be detected and transmit the identified identity information to the control module for recording.

[0013] The detection method according to the present invention is briefly described below.

[0014] The detection method according to the present invention is used in the detection device described in any of the above embodiments. The control module is configured to execute the detection method, which includes: controlling the image acquisition device to acquire image information projected by the projection lamp onto the projection surface; analyzing the position parameters of the image information to determine whether the current projection position meets a preset standard; if not, controlling the angle adjustment mechanism to adjust the illumination angle of the projection lamp until the projection position meets the requirements, and then outputting the detection result.

[0015] Since the detection method according to the present invention includes the detection device described in any of the above embodiments, the detection method according to the present invention can automatically complete the calibration of the projection lamp illumination angle and the analysis of image information, thus achieving high-precision and high-efficiency detection.

[0016] According to some embodiments of the present invention, the image acquisition devices are configured as multiple devices spaced apart from each other; before analyzing the positional parameters of the image information, the detection method further includes: controlling the multiple image acquisition devices to simultaneously acquire multiple local images, calculating the perspective transformation relationship between two adjacent local images, and stitching and fusing the multiple local images into a panoramic projection image.

[0017] According to some embodiments of the present invention, analyzing the position parameters of the panoramic projection image to determine whether the current projection position meets a preset standard includes: performing subpixel-level image registration between the panoramic projection image and a pre-stored standard digital template, calculating translational deviation and perspective distortion parameters, and comparing them with preset thresholds; if neither the translational deviation nor the perspective distortion parameters exceed the preset thresholds, the projection position is determined to meet the preset standard; if at least one of the translational deviation and the perspective distortion parameters exceeds the preset thresholds, it is determined to not meet the preset standard, and the control module calculates and adjusts the angle adjustment mechanism according to the translational deviation and / or the perspective distortion parameters to adjust the illumination angle of the projection lamp, and then repeats the above acquisition, stitching, registration, and comparison steps until the projection position meets the preset standard.

[0018] According to some embodiments of the present invention, after the projection position meets a preset standard, a multi-dimensional visual quality analysis is performed on the panoramic projection image, and the projector lamp is comprehensively judged as qualified based on the analysis results; the multi-dimensional visual quality analysis includes basic optical parameter analysis and depth image quality index analysis; the basic optical parameter analysis includes at least one of the following: brightness, brightness uniformity, chromaticity coordinates, pattern geometry, gradient distribution, and stray light intensity; the depth image quality index analysis includes at least one of the following: grayscale distribution analysis: calculating the grayscale histogram of the panoramic projection image, and measuring the shape of the grayscale histogram. The image is analyzed to determine the pixel distribution from dark to bright areas to assess whether dark details are missing, midtone richness is adequate, and bright areas are overexposed. Global contrast quantization involves locating the average brightness value of the brightest area and the average brightness value of the darkest area within the effective projection region and calculating their ratio; alternatively, the Michelson contrast formula can be used to calculate the global contrast value. Complex defect identification involves calling a pre-trained deep learning model to perform pixel-level semantic segmentation on the panoramic projection image to automatically identify, locate, and classify complex defects, including at least one of microscopic brightness cloudiness, local texture loss, and irregularly shaped stray light spots.

[0019] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0020] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is an isometric view of a detection device according to an embodiment of the present invention; Figure 2 This is a front view of a detection device according to an embodiment of the present invention; Figure 3 This is a side view of a detection device according to an embodiment of the present invention; Figure 4 This is a flowchart of a detection method according to an embodiment of the present invention.

[0021] Figure label: 1. Testing equipment; 11. Main body of equipment; 111. Darkroom; 112. Detection chamber; 113. Operating door; 12. Testing fixture; 13. Monitor; 14. Barcode scanner. Detailed Implementation

[0022] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0023] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, features defined with "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more. In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0024] In related technologies, projection lamps need to be tested for projection effect before leaving the factory. Currently, the testing of projection lamps relies on fixed, dedicated optical darkrooms. The testing station is physically separated from the production line, and products need to be manually handled and queued. Usually, only random sampling can be used, which is not only inefficient and labor-intensive, but also carries the risk of defective products being released, making it difficult to meet the needs of modern online full inspection. Furthermore, the current common use of simple fixed fixtures to support products makes it impossible to adjust for the initial installation angle deviation of the projection lamp, resulting in positional shifts and geometric deformations of the projected image. The accuracy of the test results is difficult to guarantee, and the repeatability of the test is poor, failing to meet the requirements of high-precision testing.

[0025] The following is for reference. Figures 1-3 The detection device 1 according to an embodiment of the present invention is described.

[0026] like Figures 1-3As shown, the detection device 1 for projector lamp detection according to the present invention includes a device body 11, a testing fixture 12, an image acquisition device, and a control module. A darkroom 111 is formed within the device body 11, and at least a portion of the walls of the darkroom 111 are constructed as a projection surface. The darkroom 111 is an enclosed space that isolates external ambient light, preventing external light from interfering with the acquired projected image. The projector lamp projects a pattern onto the projection surface within the darkroom 111, thereby ensuring that the signal obtained during subsequent image acquisition is not mixed with stray light interference, improving the accuracy of the detection results.

[0027] The test fixture 12 is set in the dark chamber 111 to support the projection lamp to be tested. The test fixture 12 is equipped with an angle adjustment mechanism, which can adjust the illumination angle of the projection lamp, effectively avoiding positional shift and geometric deformation of the projected image, and improving the repeatability and accuracy of the test results.

[0028] The image acquisition device is installed in the darkroom 111 and is positioned opposite to the projection surface. It is used to acquire image information projected onto the projection surface by the projection lamp and convert the optical projection signal into a digital signal that can be analyzed and processed by the control module.

[0029] The control module is electrically connected to both the angle adjustment mechanism and the image acquisition device. The control module is adapted to control the angle adjustment mechanism to adjust the projection lamp's illumination angle based on the image information acquired by the image acquisition device. The control module can automatically control the angle adjustment mechanism to adjust the projection lamp's illumination angle based on the image information acquired by the image acquisition device, achieving automated angle calibration without manual adjustment, thus improving both adjustment accuracy and detection efficiency.

[0030] When testing the projector lamp, it is first fixed on the test fixture 12, and then turned on to project the pattern onto the projection surface of the dark chamber 111. At this time, the image acquisition device captures the projected image from the direction opposite to the projection surface, obtains image information, and transmits it to the control module. The control module analyzes the image information to determine if there is any positional offset or geometric deformation in the projected image. If so, it calculates the angle deviation and drives the angle adjustment mechanism to automatically adjust the illumination angle of the projector lamp. After adjustment, the image acquisition device acquires the projected image again, and the control module verifies the correction effect until the projected image reaches the preset accurate position and shape. Then, the formal testing phase begins. Finally, the control module analyzes the projected image to determine if the projector lamp meets the qualification standards. The entire calibration and testing process is automated, ensuring the accuracy of the test results and significantly improving testing efficiency, thus adapting to the production needs of online full inspection on production lines.

[0031] According to the present invention, the testing device 1 integrates the darkroom 111 inside the main body 11 of the device, and is equipped with a test fixture 12 that can automatically adjust the illumination angle of the projection lamp. This allows the testing device 1 to be directly deployed on the production line to complete online testing, eliminating the need for manual handling and transportation, reducing labor costs, and achieving full inspection coverage. This effectively prevents defective products from leaving the production line and meets the testing needs of modern production lines. At the same time, the control module can automatically adjust the illumination angle of the projection lamp based on the collected image information, effectively eliminating the positional shift and geometric deformation of the projected image caused by the initial installation angle deviation of the projection lamp. This ensures that the projected image is in the accurate position and shape during each test, improving the accuracy of the test results and the repeatability of product testing. This meets the requirements of high-precision testing while also improving testing efficiency, and can adapt to the production needs of online full inspection on the production line.

[0032] Therefore, the detection device 1 according to the present invention realizes automatic angle calibration during online detection of the projection lamp, which greatly improves detection efficiency while ensuring detection accuracy and repeatability, and can meet the needs of high-efficiency full inspection of the production line.

[0033] According to some embodiments of the present invention, part of the bottom surface of the dark chamber 111 is constructed as a projection surface, and the test fixture 12 is disposed on another part of the bottom surface of the dark chamber 111 and located on one side of the projection surface, so that the projection lamp installed on the test fixture 12 can tilt towards the projection surface of the bottom surface of the dark chamber 111 to project a pattern, simulating the actual use scenario of the projection lamp on the vehicle projecting a pattern towards the ground. The test results are closer to the projection effect in actual use, which can effectively improve the reference value of the test results.

[0034] The image acquisition device is set on the top surface of the darkroom 111 and is positioned relative to the projection surface in the height direction. It can directly face the projection surface to complete image acquisition, effectively avoiding image distortion caused by the shooting angle, further improving the accuracy of the acquired image information, and helping to improve the accuracy of subsequent analysis and detection results.

[0035] According to some embodiments of the present invention, the image acquisition device is configured as multiple devices spaced apart from each other along the length direction. The control module is used to control the multiple image acquisition devices to acquire images synchronously, and to stitch the acquired multiple local images to generate a panoramic projection image. When the projection graphic covers a wide area, multiple image acquisition devices can cover different areas of the projection surface respectively, and then the control module can stitch the local images into a complete panoramic projection image, thereby achieving high-precision acquisition of the projection image.

[0036] By arranging multiple image acquisition devices at intervals along the length direction, each image acquisition device can be responsible for a local area of ​​the projection surface along the length direction. Appropriate overlap can be set between the areas to facilitate feature matching and stitching by the control module, effectively avoiding image breaks or repetitions at the stitching points.

[0037] The control module controls multiple image acquisition devices to acquire images synchronously, ensuring that the acquisition time of each local image is consistent. This guarantees that the stitched panoramic projection image is consistent with the actual projection effect, further improving the accuracy of the panoramic projection image and providing a reliable data foundation for subsequent position calibration and quality analysis.

[0038] The control module performs a comprehensive analysis of the stitched panoramic projection image, enabling more accurate determination of defects such as overall positional shifts, edge geometric distortions, and local pattern incompleteness or blurring. This avoids the edge distortion and insufficient resolution issues commonly found with single cameras in large fields of view. Consequently, the applicability and detection accuracy of inspection device 1 are further improved, achieving high-precision and high-reliability automated inspection.

[0039] According to some embodiments of the present invention, such as Figures 1-3 As shown, the main body 11 of the equipment includes a detection chamber 112 and an operating door 113. A dark chamber 111 is formed inside the detection chamber 112. A detection port communicating with the dark chamber 111 is formed at one end of the detection chamber 112 near the testing fixture 12. The operating door 113 is movably connected to the end of the detection chamber 112 where the detection port is provided. The operating door 113 is used to open or close the detection port.

[0040] By setting up the detection chamber 112 and the operating door 113, the sealing of the darkroom 111 is ensured, and the loading and unloading of the projection lamp is also facilitated.

[0041] During the testing process, the operation door 113 can completely isolate the darkroom 111 from the external environment after it is closed, effectively preventing stray light from entering the darkroom 111 through the testing port, ensuring that the projection surface only receives the light emitted by the projection lamp, thereby ensuring that the image information acquired by the image acquisition device is not interfered with by ambient light, and improving the accuracy and repeatability of the test results.

[0042] The operating door 113 is movably connected to the inspection chamber 112, for example, by hinge or sliding connection, so that the operating door 113 can be easily opened or closed. Simply opening the operating door 113 allows for quick loading and unloading of the projection light through the inspection port, improving loading and unloading efficiency and meeting the cycle requirements of online full inspection on the production line.

[0043] According to some embodiments of the present invention, such as Figures 1-3 As shown, the testing device 1 also includes a display 13. The display 13 is located outside the testing chamber 112 and above the operating door 113. The display 13 is electrically connected to the control module. The display 13 is used to display the test results of the projection lamp. It can provide operators with intuitive and real-time test feedback at the testing site, making it easy to quickly grasp the qualified status of the projection lamp.

[0044] By positioning the display 13 outside the testing chamber 112 and above the operating door 113, operators can conveniently view the test results on the screen without moving after loading or unloading the projection lamp, reducing redundant operations and improving work efficiency. By electrically connecting the display 13 to the control module, the operator can receive and display the test conclusions analyzed by the control module in real time.

[0045] According to some embodiments of the present invention, such as Figures 1-3 As shown, the testing device 1 also includes a barcode scanner 14, which is located on the outside of the testing chamber 112 and on the side of the operating door 113. The barcode scanner is used to identify the identity information of the projector lamp to be tested and transmit the identified identity information to the control module for recording. This enables automatic identification and information traceability of the projector lamp to be tested, thereby improving the automation level and data management capabilities of the testing process.

[0046] By placing the barcode scanner 14 outside the inspection chamber 112 and to the side of the operating door 113, the unused space in front of the inspection chamber 112 is fully utilized, and a reasonable human-machine interaction layout is formed with the operating door 113. Before opening the operating door 113 to retrieve or place the projector, the operator can easily scan the identification label on the surface of the projector without making significant changes to their position. The operation flow is short and smooth, meeting the cycle time requirements of fast production line operations.

[0047] The identification information recognized by the barcode scanner 14 may include data such as the projector lamp's model, batch number, production date, unique serial number, and standard parameters to be tested. After receiving this identification information, the control module associates and stores it with the subsequently generated test results to form a traceable test record. When a non-conforming product is detected, the production process, raw material batch, and test data of the projector lamp can be quickly traced through the identification information, facilitating the identification of the root cause of the problem and the implementation of corrective measures.

[0048] The following is for reference. Figure 4 The detection method according to the present invention is briefly described.

[0049] like Figure 4 As shown, the detection method according to the present invention is used in the detection device 1 in any of the above embodiments. The control module is configured to execute the detection method, which includes: controlling the image acquisition device to acquire image information projected by the projection lamp onto the projection surface; analyzing the position parameters of the image information to determine whether the current projection position meets the preset standard; if not, controlling the angle adjustment mechanism to adjust the illumination angle of the projection lamp until the projection position meets the requirements, and then outputting the detection result.

[0050] First, the control module controls the image acquisition device to acquire image information projected onto the projection surface by the projector lamp. The image acquisition device, in the absence of stray light interference provided by the darkroom 111, converts the optical pattern projected by the projector lamp into a digital image signal and transmits it to the control module.

[0051] Secondly, the control module analyzes the positional parameters of the image information to determine whether the current projection position conforms to the preset standard. The control module has a built-in image analysis algorithm that can extract the edge, center coordinates, geometric dimensions, and morphological features of the projected graphic, compare them with the preset standard position and shape, and identify whether there is a positional offset or geometric deformation.

[0052] If the current projection position is determined not to meet the preset standard, the angle adjustment mechanism is activated to adjust the illumination angle of the projector lamp. Based on the analyzed angle deviation, the control module sends a drive command to the angle adjustment mechanism, causing it to move the projector lamp to adjust its illumination angle until the position and shape of the projected image meet the set requirements.

[0053] Finally, once the projection position meets the requirements, the test results are output. At this point, the control module analyzes and determines the quality parameters of the calibrated projection image, and ultimately outputs the test result indicating whether the projection lamp is qualified.

[0054] According to the detection method of the present invention, the image acquisition device is controlled to acquire image information projected by the projection lamp onto the projection surface in the dark chamber 111, and the position parameters of the image information are analyzed by the image analysis algorithm built into the control module. The method automatically determines whether the current projection position meets the preset standard. When a position offset or geometric deformation is detected, the control angle adjustment mechanism adaptively adjusts the illumination angle of the projection lamp according to the angle deviation obtained from the analysis, so as to realize the automatic calibration of the projection position. The detection result is output after the position and shape of the projected graphic meet the set requirements. Thus, the automated and high-precision detection of the projection quality of the projection lamp is realized, the detection efficiency and consistency are improved, and the reliable judgment of the factory quality of the projection lamp is ensured.

[0055] Since the detection method according to the present invention includes the detection device 1 in any of the above embodiments, the detection method according to the present invention can automatically complete the calibration of the projection lamp illumination angle and the analysis of image information, thus achieving high-precision and high-efficiency detection.

[0056] According to some embodiments of the present invention, the image acquisition devices are configured as multiple devices spaced apart from each other; before analyzing the positional parameters of the image information, the detection method further includes: controlling multiple image acquisition devices to synchronously acquire multiple local images, calculating the perspective transformation relationship between two adjacent local images, and stitching and fusing the multiple local images into a panoramic projection image.

[0057] By synchronously acquiring images from multiple image acquisition devices, it is possible to ensure that all local images are acquired at the same time. The control module then stitches these local images into a complete panoramic projection image, achieving high-precision acquisition of the projection image.

[0058] The control module calculates the perspective transformation relationship between two adjacent local images, matching the overlapping area features of adjacent images and accurately correcting perspective deviations caused by different acquisition positions. It then stitches and merges multiple local images into a complete panoramic projection image, fully restoring the entire pattern projected by the projector. This provides complete and accurate image data for subsequent location analysis and quality inspection. The stitched panoramic projection image ensures both the integrity of the overall pattern and the acquisition resolution of each local area, effectively improving the accuracy of subsequent detection and analysis.

[0059] According to some embodiments of the present invention, analyzing the position parameters of a panoramic projection image to determine whether the current projection position meets a preset standard includes: performing sub-pixel-level image registration between the panoramic projection image and a pre-stored standard digital template, calculating translational deviation and perspective distortion parameters, and comparing them with preset thresholds; if neither the translational deviation nor the perspective distortion parameters exceed the preset thresholds, the projection position is determined to meet the preset standard; if at least one of the translational deviation and perspective distortion parameters exceeds the preset threshold, it is determined not to meet the preset standard, and the control module calculates adjustment instructions based on the translational deviation and / or perspective distortion parameters, controls the angle adjustment mechanism to adjust the illumination angle of the projection lamp, and then repeats the above acquisition, stitching, registration, and comparison steps until the projection position meets the preset standard.

[0060] First, the control module performs subpixel-level image registration between the stitched and blended panoramic projected image and a pre-stored standard digital template. Since the standard digital template is a pre-stored ideal pattern that the projector should project at a standard illumination angle, the control module, through a subpixel-level registration algorithm, can perform point-by-point matching between the panoramic projected image and the standard digital template with subpixel precision, calculating the translational deviation between the two and the perspective distortion parameters caused by the deviation in the projection angle.

[0061] Secondly, the control module compares the calculated translational deviation and perspective distortion parameters with preset thresholds to determine whether the current projection position meets the preset standards. If neither the translational deviation nor the perspective distortion parameter exceeds the preset threshold, the projection position is determined to meet the preset standards, and the projection position and shape of the projector lamp meet the requirements, allowing direct entry into the detection result output stage. If at least one of the translational deviation and perspective distortion parameters exceeds the preset threshold, the current projection position is determined to not meet the preset standards, indicating that the projector lamp has perspective distortion caused by an illumination angle deviation.

[0062] After determining that the projector does not meet the preset standard, the control module calculates adjustment commands based on translational deviation and / or perspective deformation parameters, and controls the angle adjustment mechanism to adjust the illumination angle of the projector lamp. The control module calculates the horizontal and vertical angle corrections based on the direction and magnitude of the translational deviation, and calculates the corrections for the pitch and yaw angles of the projector lamp based on the perspective deformation parameters. The control module combines these corrections into an adjustment command and sends it to the angle adjustment mechanism, causing the angle adjustment mechanism to drive the projector lamp to adjust its illumination angle.

[0063] Finally, the control module repeats the above steps of image acquisition, local image stitching, subpixel-level registration, and threshold comparison. After multiple iterations of calibration, until the translation deviation and perspective distortion parameters converge to the preset threshold range, i.e., the projection position meets the preset standard, the final detection result is output.

[0064] By matching the panoramic projected image with a standard digital template through subpixel-level image registration, translational deviation and perspective distortion parameters can be extracted at subpixel resolution, improving the detection sensitivity and quantification accuracy of positional deviation. Simultaneously, the translational deviation and perspective distortion parameters are compared with preset thresholds, and adjustments are made accordingly to drive the angle adjustment mechanism for closed-loop iterative calibration. This ensures precise correction of the projection position, thereby achieving high-precision automated calibration and detection of the projection lamp's illumination angle and projection position, effectively guaranteeing the accuracy and reliability of the detection results.

[0065] According to some embodiments of the present invention, after the projection position meets the preset standard, a multi-dimensional visual quality analysis is performed on the panoramic projection image, and the projector lamp is comprehensively judged as qualified based on the analysis results. The multi-dimensional visual quality analysis includes basic optical parameter analysis and depth image quality index analysis. The basic optical parameter analysis includes at least one of the following: brightness, brightness uniformity, chromaticity coordinates, pattern geometric size, gradient distribution, and stray light intensity. The depth image quality index analysis includes at least one of the following: grayscale distribution analysis: calculate the grayscale histogram of the panoramic projection image, and quantify the pixel distribution from dark to bright areas of the image by evaluating the shape of the grayscale histogram to determine whether dark details are missing, midtone richness, and whether bright areas are overexposed; global contrast quantization: locate the average brightness value of the brightest block and the average brightness value of the darkest block in the effective projection area and calculate the ratio between the two; or use the Michelson contrast formula to calculate the global contrast value; complex defect identification: call a pre-trained deep learning model to perform pixel-level semantic segmentation on the panoramic projection image to automatically identify, locate, and classify complex defects, which include at least one of microscopic brightness cloud spots, local texture loss, and irregularly shaped stray light spots.

[0066] By performing multi-dimensional visual quality analysis on panoramic projection images, the detection method can not only evaluate the basic optical performance of the projection lamp, but also delve into image quality issues that are difficult to capture with traditional indicators.

[0067] When the control module performs basic optical parameter analysis on the panoramic projection image, it extracts one or more parameters from the panoramic projection image, including brightness, brightness uniformity, chromaticity coordinates, pattern geometry, gradient distribution, and stray light intensity. It then compares these parameters with preset qualification standards to determine whether the projection lamp meets the factory requirements in terms of basic optical performance.

[0068] When performing depth image quality index analysis on the panoramic projection image, the control module performs at least one of the following: grayscale distribution analysis, global contrast quantization, and complex defect identification. In grayscale distribution analysis, the control module calculates the grayscale histogram of the panoramic projection image. By evaluating the shape of the grayscale histogram, it quantifies the pixel distribution from dark to bright areas to determine whether dark details are missing, midtone richness is sufficient, and whether bright areas are overexposed. In global contrast quantization, the control module locates the average brightness value of the brightest block and the average brightness value of the darkest block within the effective projection area and calculates their ratio, or uses the Michelson contrast formula to calculate the global contrast value to quantify and evaluate the brightness and darkness gradation of the projection image. In complex defect identification, the control module calls a pre-trained deep learning model to perform pixel-level semantic segmentation on the panoramic projection image to automatically identify, locate, and classify at least one complex defect among microscopic brightness cloud spots, local texture loss, and irregularly shaped stray light spots.

[0069] The control module makes a comprehensive judgment based on all the results of the basic optical parameter analysis and depth image quality index analysis, and outputs the final test result of whether the projection lamp is qualified.

[0070] By performing multi-dimensional visual quality analysis on the panoramic projected image after the projection position is calibrated, covering basic optical parameters and depth image quality indicators, the optical output quality of the projector lamp can be comprehensively evaluated from multiple aspects such as brightness, color, geometric size, grayscale distribution, contrast, and complex defects. Among them, grayscale distribution analysis and global contrast quantization enable quantitative evaluation of the image's brightness and darkness levels, while pixel-level semantic segmentation based on a pre-trained deep learning model can automatically identify complex defects that are difficult to detect, such as microscopic brightness clouds, local texture loss, and irregular stray light spots. This achieves comprehensive, high-precision, automated detection of the projector lamp's visual quality, effectively improving the comprehensiveness of the detection and the reliability of the judgment results.

[0071] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0072] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A testing device for detecting projection lamps, characterized in that, include: The device body (11) has a darkroom (111) formed inside it, and at least part of the wall surface of the darkroom (111) is constructed as a projection surface; Test fixture (12), the test fixture (12) is set in the dark chamber (111), the test fixture (12) is used to carry the projection lamp to be tested, and the test fixture (12) is provided with an angle adjustment mechanism for adjusting the illumination angle of the projection lamp; An image acquisition device is provided in the darkroom (111) and is positioned opposite to the projection surface. The image acquisition device is used to acquire image information projected onto the projection surface by the projection lamp. The control module is electrically connected to both the angle adjustment mechanism and the image acquisition device. The control module is adapted to control the angle adjustment mechanism to adjust the illumination angle of the projection lamp based on the image information acquired by the image acquisition device.

2. The detection device according to claim 1, characterized in that, Part of the bottom surface of the darkroom (111) is constructed as the projection surface. The test fixture (12) is set on another part of the bottom surface of the darkroom (111) and located on one side of the projection surface. The image acquisition device is set on the top surface of the darkroom (111) and is set opposite to the projection surface in the height direction.

3. The detection device according to claim 2, characterized in that, The image acquisition device is constructed as a plurality of such devices spaced apart from each other along the length direction. The control module is used to control the plurality of image acquisition devices to acquire images synchronously, and to stitch together the acquired partial images to generate a panoramic projection image.

4. The detection device according to claim 1, characterized in that, The main body of the equipment (11) includes: The test chamber (112) contains the dark chamber (111), and a test port communicating with the dark chamber (111) is formed at one end of the test chamber (112) near the test fixture (12). An operating door (113) is movably connected to one end of the detection chamber (112) where the detection port is located. The operating door (113) is used to open or close the detection port.

5. The detection device according to claim 4, characterized in that, Also includes: The display (13) is located outside the detection chamber (112) and above the operation door (113). The display (13) is electrically connected to the control module and is used to display the detection results of the projection lamp.

6. The testing equipment according to claim 4, characterized in that, Also includes: The barcode scanner (14) is located on the outside of the detection chamber (112) and on the side of the operation door (113). The barcode scanner is used to identify the identity information of the projection lamp to be detected and to transmit the identified identity information to the control module for recording.

7. A detection method for use in the detection equipment according to any one of claims 1-6, characterized in that, The control module is configured to execute the detection method, which includes: The image acquisition device is controlled to acquire image information projected onto the projection surface by the projection lamp; The positional parameters of the image information are analyzed to determine whether the current projection position meets the preset standard. If it does not meet the standard, the angle adjustment mechanism is controlled to adjust the illumination angle of the projection lamp until the projection position meets the requirements, and then the detection result is output.

8. The detection method according to claim 7, characterized in that, The image acquisition device is constructed as a plurality of devices spaced apart from each other; Before analyzing the positional parameters of the image information, the detection method further includes: controlling multiple image acquisition devices to simultaneously acquire multiple local images, calculating the perspective transformation relationship between two adjacent local images, and stitching and fusing the multiple local images into a panoramic projection image.

9. The detection method according to claim 8, characterized in that, Analyze the position parameters of the panoramic projection image to determine whether the current projection position meets a preset standard, including: The panoramic projection image is registered with a pre-stored standard digital template at the subpixel level, the translation deviation and perspective distortion parameters are calculated, and compared with a preset threshold. If neither the translation deviation nor the perspective deformation parameter exceeds the preset threshold, the projection position is determined to meet the preset standard. If at least one of the translation deviation and the perspective deformation parameter exceeds a preset threshold, it is determined that it does not meet the preset standard. The control module calculates and adjusts the angle adjustment mechanism according to the translation deviation and / or the perspective deformation parameter to adjust the illumination angle of the projection lamp. Then, the above acquisition, stitching, registration and comparison steps are repeated until the projection position meets the preset standard.

10. The detection method according to claim 9, characterized in that, After the projection position meets the preset standard, a multi-dimensional visual quality analysis is performed on the panoramic projection image, and the projector lamp is judged to be qualified based on the analysis results. The multi-dimensional visual quality analysis includes basic optical parameter analysis and depth image quality index analysis. The basic optical parameter analysis includes at least one of the following: brightness, brightness uniformity, chromaticity coordinates, pattern geometry, gradient distribution, and stray light intensity; The depth image quality index analysis includes at least one of the following: Gray-scale distribution analysis: Calculate the gray-scale histogram of the panoramic projection image, and by evaluating the shape of the gray-scale histogram, quantify and analyze the pixel distribution of the image from dark to bright areas to determine whether dark details are missing, midtone richness, and whether bright areas are overexposed. Global contrast quantization: Locate the average brightness value of the brightest block and the average brightness value of the darkest block within the effective projection area, and calculate the ratio between the two. Alternatively, the Michelson contrast formula can be used to calculate the global contrast value; Complex Defect Identification: A pre-trained deep learning model is invoked to perform pixel-level semantic segmentation on the panoramic projection image to automatically identify, locate, and classify complex defects, which include at least one of microscopic brightness cloud spots, local texture loss, and irregularly shaped stray light spots.