Projection ray machine quality detection method, equipment and system

By using a test camera in the projector to take images with preset marks and determine the rotation angle of the projector screen, the problem that the prior art cannot detect the quality of the projector is solved, and the accuracy and reliability of the quality detection of the projector is achieved.

CN119666320APending Publication Date: 2025-03-21KUNSHANSHAN TITANIUM ZHIXING ZHIYUAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411804590.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The prior art cannot determine the rotation angle between the lens of the projector and the screen, resulting in the inability to effectively detect the quality of the projector.

Method used

By controlling the projector to be in the illuminated state, the screen rotation angle of the projector is determined based on the preset mark type and the captured image to be tested, and quality detection is performed based on this angle.

Benefits of technology

Accurate detection of the rotation angle of the projection optical machine screen is achieved, ensuring the accuracy and reliability of the detection of the quality of the projection optical machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119666320A_ABST
    Figure CN119666320A_ABST
Patent Text Reader

Abstract

The invention provides a projection light machine quality detection method, device and system, and the method comprises the steps: controlling a projection light machine to be in a lighted state, controlling a test camera to move to a target position according to a preset detection strategy, shooting a picture presented in the projection light machine, and obtaining a corresponding first to-be-detected image; a picture presented in the projection light machine has a preset mark; the target position is a position corresponding to the clearest image of the first to-be-detected image; determining a screen rotation angle of the projection light machine according to the type of the preset mark and the first to-be-detected image; detecting the quality of the projection light machine according to the screen rotation angle of the projection light machine; therefore, the screen rotation angle of the projection light machine can be accurately determined by using the projection light machine and the test camera, the quality of the projection light machine is detected according to the screen rotation angle, and the quality of the projection light machine is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of AR device testing technology, and in particular to a method, device and system for detecting the quality of a projection optical machine. Background Art

[0002] As the concept of the metaverse continues to be popular, glasses in the fields of augmented reality (AR) and mixed reality (MR) are becoming more and more popular among users due to their good interactivity.

[0003] Projection machines are optical components in AR and MR devices. For projection machines, the picture effect and space occupied are key factors affecting the quality of AR and MR devices. For example, when the assembly between the screen and the lens of the projection machine is deflected, it will not only affect the assembly space of the projection machine, but also affect the actual projection effect.

[0004] However, the prior art cannot determine the rotation angle between the lens of the projection light machine and the screen, and thus cannot detect the quality of the projection light machine, which affects the quality of the projection light machine. Summary of the invention

[0005] In response to the problems existing in the prior art, the embodiments of the present invention provide a method, electronic device and system for detecting the quality of a projection light machine, so as to solve or partially solve the technical problem in the prior art that the rotation angle between the lens of the projection light machine and the screen cannot be determined, and thus the quality of the projection light machine cannot be detected, which affects the quality of the projection light machine.

[0006] A first aspect of the present invention provides a method for detecting the quality of a projection light machine, the method comprising:

[0007] The projection light machine is controlled to be in a lighting state, and the test camera is controlled to move to a target position according to a preset detection strategy, and the picture presented in the projection light machine is photographed to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested;

[0008] Determining a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested;

[0009] The quality of the projection light machine is detected according to the screen rotation angle of the projection light machine.

[0010] In the above scheme, when the detection strategy is to use the real image projected by the projection light machine for detection, a perspective whiteboard is also provided between the projection light machine and the test camera, and the image presented by the projection light machine is projected onto the perspective whiteboard; the control of the test camera to move to the target position according to the pre-set detection strategy includes:

[0011] Obtaining the clearest object distance of the test camera; the clearest object distance is the object distance corresponding to the clearest first image to be tested when the test camera takes a picture of the perspective whiteboard;

[0012] Taking the perspective whiteboard as a reference, determining the target position of the test camera according to the clearest object distance;

[0013] The test camera is controlled to move to the target position.

[0014] In the above solution, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested includes:

[0015] Constructing a first coordinate system with the center point of the first image to be measured as the origin;

[0016] If the preset mark type is a straight-line mark, obtaining coordinates of any two points on the straight-line mark in the first image to be tested in the first coordinate system;

[0017] According to the formula Determine the screen rotation angle a of the projection light machine; wherein,

[0018] The x1 is the horizontal coordinate of the first point on the one-character mark, the x2 is the horizontal coordinate of the second point on the one-character mark, the y1 is the vertical coordinate of the first point, and the y2 is the vertical coordinate of the second point.

[0019] In the above scheme, when the detection strategy is to use the projected virtual image of the projection light machine for detection, controlling the test camera to move to the target position according to the preset detection strategy includes:

[0020] Determine a target distance between the test camera and the projection light machine; the target distance is used to ensure that the test camera can convert the inverted real image projected by the projection light machine into an upright virtual image;

[0021] Taking the projection light machine as a reference, determining the target position of the test camera according to the target distance;

[0022] The test camera is controlled to move to the target position.

[0023] In the above solution, if the preset mark type is a straight mark, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested includes:

[0024] Constructing a second coordinate system with the center point of the first image to be measured as the origin;

[0025] Obtaining coordinates of any two points on the straight-line mark in the first image to be tested in the second coordinate system;

[0026] According to the formula Determine the screen rotation angle a of the projection light machine; wherein,

[0027] The x3 is the horizontal coordinate of the third point on the one-shaped mark, the x4 is the horizontal coordinate of the fourth point on the one-shaped mark, the y3 is the vertical coordinate of the third point, and the y4 is the vertical coordinate of the fourth point.

[0028] In the above solution, if the preset mark type is a cross mark, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested includes:

[0029] Constructing a third coordinate system with the center point of the first image to be measured as the origin;

[0030] Determine a first slope value of a target identification line in the cross mark in the third coordinate system;

[0031] Control the test camera to move from the target position to the current position, and control the test camera at the current position to shoot the picture presented in the projection light machine again to obtain a second image to be tested; the second image to be tested includes a first edge line and a second edge line of the lens group of the projection light machine, and the first edge line and the second edge line are adjacent line segments;

[0032] Constructing a fourth coordinate system with the center point of the second image to be measured as the origin, wherein the fourth coordinate system coincides with the third coordinate system;

[0033] Determine a second slope value of the first edge line in the fourth coordinate system and determine a third slope value of the second edge line in the fourth coordinate system;

[0034] The screen rotation angle of the projection light machine is determined according to the first slope value, the second slope value and the third slope value.

[0035] In the above solution, the determining of the first slope value of the target identification line in the cross mark in the third coordinate system includes:

[0036] Obtaining coordinate values ​​of any two points on a target identification line in the cross mark in the third coordinate system; the target identification line is a vertical line in the cross mark;

[0037] According to the formula Determine the first slope value k of the target identification line in the first image to be tested; the x5 is the horizontal coordinate of the fifth point on the target identification line, the x6 is the horizontal coordinate of the sixth point on the target identification line, the y5 is the vertical coordinate of the fifth point, and the y6 is the vertical coordinate of the fifth point.

[0038] In the above solution, determining the screen rotation angle of the projection light machine according to the first slope value, the second slope value and the third slope value includes:

[0039] According to the formula Determine a first actual angle a1 between the first edge line and the target identification line;

[0040] According to the formula Determine a second actual angle a2 between the second edge line and the target identification line;

[0041] According to the formula Determine the screen rotation angle a of the projection light machine; where,

[0042] The a1 is a theoretical angle between the target identification line and the first tangent line, and the a2 is a theoretical angle between the target identification line and the second edge line.

[0043] A second aspect of the present invention provides a device for detecting the quality of a projection light machine, the device comprising:

[0044] A control unit, used to control the projection light machine to be in a lighting state, control the test camera to move to a target position according to a preset detection strategy, and shoot the picture presented in the projection light machine to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested;

[0045] A determination unit, configured to determine a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested;

[0046] The detection unit is used to detect the quality of the projection light machine according to the screen rotation angle of the projection light machine.

[0047] A third aspect of the present invention provides a system for quality inspection of a projection light machine, the system comprising: a test camera, a projection light machine and the device for quality inspection of the projection light machine described in the second aspect;

[0048] The projection light machine is placed on the table of the test bench;

[0049] The test camera is mounted on the moving mechanism of the test bench;

[0050] The detection device is electrically connected to the test camera and the projection optical machine, respectively, and the detection device is specifically used for:

[0051] The projection light machine is controlled to be in a lighting state, and the test camera is controlled to move to a target position according to a preset detection strategy, and the picture presented in the projection light machine is photographed to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested;

[0052] Determining a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested;

[0053] The quality of the projection light machine is detected according to the screen rotation angle of the projection light machine.

[0054] The present invention provides a method, device and system for detecting the quality of a projection light machine, the method comprising: controlling the projection light machine to be in a lighting state, controlling a test camera to move to a target position according to a preset detection strategy, photographing a picture presented in the projection light machine, and obtaining a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested; detecting the quality of the projection light machine according to the screen rotation angle of the projection light machine; in this way, the test camera can be used to photograph the image projected by the projection light machine, if the screen of the projection light machine is rotated, then the preset mark type in the first image to be tested photographed by the test camera is also deflected, so the preset mark type and the first image to be tested can be used to accurately determine the screen rotation angle of the projection light machine, and the quality of the projection light machine is detected according to the screen rotation angle to ensure the quality of the projection light machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0056] Figure 1 It shows a schematic diagram of the overall structure of a projection light machine quality detection system according to an embodiment of the present invention;

[0057] Figure 2It shows a schematic diagram of the overall structure of a projection light machine according to an embodiment of the present invention;

[0058] Figure 3 A schematic diagram showing a corresponding screen rotation angle when there is an installation deviation between the screen and the lens of a projection light machine according to an embodiment of the present invention is shown;

[0059] Figure 4 Another schematic structural diagram of a projection light machine quality detection system according to an embodiment of the present invention is shown;

[0060] Figure 5 A schematic diagram of the process flow of a method for detecting quality of a projection light machine according to an embodiment of the present invention is shown;

[0061] Figure 6 A schematic diagram of a one-line mark according to an embodiment of the present invention is shown;

[0062] Figure 7 A schematic diagram showing a case where a screen rotation angle is detected by projecting a real image and the preset mark type is a straight line according to an embodiment of the present invention;

[0063] Figure 8 A schematic diagram showing the principle of detecting the rotation angle of a screen by projecting a virtual image according to an embodiment of the present invention is shown;

[0064] Fig. 9 A schematic diagram corresponding to the case where a screen rotation angle is detected by projecting a virtual image according to an embodiment of the present invention and the preset mark type is a straight mark is shown;

[0065] Fig.10 A schematic diagram of a cross-shaped mark according to an embodiment of the present invention is shown;

[0066] Fig.11 A schematic diagram corresponding to the case where a screen rotation angle is detected by projecting a virtual image according to an embodiment of the present invention and the preset mark type is a cross mark is shown;

[0067] Fig.12 A schematic diagram of the outline of a projection light machine lens mechanism according to an embodiment of the present invention is shown;

[0068] Fig.13 A schematic diagram of the outline of a projection light machine lens mechanism shot when the screen is rotated at an angle according to an embodiment of the present invention is shown;

[0069] Fig.14 A schematic diagram showing the principle of detecting the screen rotation angle by projecting a virtual image according to an embodiment of the present invention is shown;

[0070] Fig.15It shows a schematic structural diagram of another projection light machine quality detection system according to an embodiment of the present invention;

[0071] Fig.16 A schematic diagram showing a cross-shaped mark displayed on a whiteboard when another projection light machine quality detection system is used to detect the screen rotation angle according to an embodiment of the present invention is shown;

[0072] Fig.17 A schematic diagram showing a principle of detecting a screen rotation angle by using another projection light machine quality detection system according to an embodiment of the present invention;

[0073] Fig.18 A schematic structural diagram of a projection light machine quality detection device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0074] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0075] In order to better understand the technical solution of the present invention, a system for detecting the quality of a projection light machine is first introduced. Figure 1 As shown, the system includes: a projection light machine 1, a test camera 2 and a detection device (not shown in the figure).

[0076] The projection light machine 1 is placed on a six-axis platform of the test bench;

[0077] The test camera 2 is mounted on the mobile mechanism of the test bench;

[0078] The detection equipment is electrically connected to the test camera 2 and the projection light machine 1 respectively.

[0079] The test camera 2 includes a lens group, which includes multiple lenses for realizing a zoom function. The test camera 2 can be a camera with functions similar to those of a human eye, and is not limited here.

[0080] Specifically, refer to Figure 1 The test bench includes: a base 11, a positioning fixture 12, a support arm 13, and a six-axis platform 14; the moving mechanism includes: a rotating shaft 15;

[0081] A positioning fixture 12 is installed on the six-axis platform 14, and the positioning fixture 12 is used to fix the projection light machine 1;

[0082] The support arm 13 is horizontally mounted on the base 11;

[0083] The upper end of the rotating shaft 15 is connected to the support arm 13, and the rotating shaft 15 can move below the support arm 13, for example, it can slide left and right along the length direction of the support arm 13, and can also rotate around its own rotating axis below the support arm 13, thereby realizing position switching.

[0084] A test camera 2 is installed at the lower end of the rotating shaft 15. When the test camera 2 needs to be moved above the projection light machine 1, the detection equipment can control the rotating shaft 15 to slide along the length direction of the support arm 13 to drive the test camera 2 to move along the length direction of the support arm 13 until the test camera 2 is moved above the projection light machine 1.

[0085] Then, the detection device can determine the target position of the test camera 2 according to the pre-set detection strategy, control the rotation of the rotating shaft 15, fine-tune the position of the test camera 2, and control the test camera 2 to move to the target position. At this time, the test camera 2 can capture the screen imaging picture of the projection light machine 1 to obtain the first image to be tested, and transmit the first image to be tested to the detection device for analysis to obtain the screen rotation angle of the projection light machine.

[0086] It should be noted that the test camera 2 can only shoot the screen image when the screen of the projection light machine 1 is in a lighted state. Figure 1 The system also includes: a screen lighting device 3 placed on the table of the base 11, and the screen lighting device 3 is located on one side of the positioning fixture 12.

[0087] refer to Figure 2 The projection light machine 1 includes: a lens 21, a bracket 22, a screen 23, a circuit board 24, a metal reinforcement plate 25 and a gold wire 26; wherein,

[0088] The metal reinforcement plate 25 is mainly used to provide mechanical support for the circuit board 24, and the gold wire 26 realizes the functional connection between the screen 23 and the circuit board 24. In actual applications, the screen 23 and the metal reinforcement plate 25 are connected by gluing, and the bracket 22 (plastic body) is fixed on the metal reinforcement plate 25 and the screen 23 by molding process (MOC, Molding on Chip) or bracket mounting (HM, Holder mount). The bracket 22 can protect the gold wire 26 and the screen 23. Then, the lens 21 is bonded to the surface of the plastic body through the active alignment process (AA, Active Alignment). Figure 3 As shown, if there is an assembly deviation between the screen 23 and the lens 21 during the assembly process, it will cause a rotation deviation between the screen 23 and the lens 21, and the screen 23 will have a screen rotation angle a relative to the lens 21.

[0089] The picture presented on the screen 23 in this embodiment is used as the photographed object, and the test camera 2 can photograph the projected real image of the screen 23, or convert the projected real image into a projected virtual image for photographing. The screen 23 can be an LCD display screen or other types of display screens.

[0090] It should be noted that in order to quickly and accurately determine the screen rotation angle of the projection light machine 1, a preset mark is preset in the screen imaging picture of the projection light machine 1; for example, it can be a cross mark or a straight mark, etc. It is worth noting that if the mark type is different, the method of determining the screen rotation angle is also different.

[0091] After installing the test camera 2 and the projection light machine 1 on the test bench, the test camera 2 needs to be calibrated so that the image plane of the test camera 2 and the lens of the projection light machine 1 are completely horizontal, ensuring that the optical center of the test camera 2 is perpendicular to and coincides with the center of the photosensitive chip in the lens of the projection light machine 1; and ensuring that the optical center of the test camera 2 is vertical and does not shift when the test camera 2 moves up and down.

[0092] After calibration, the system can be used to determine the screen rotation angle of the projection light machine 1, as follows:

[0093] The detection device is first used to control the projection light machine 1 to be in a lighting state, and control the test camera 2 to move to the target position according to the preset detection strategy, and shoot the picture presented in the projection light machine 1 to obtain the corresponding first image to be tested; the picture presented in the projection light machine 1 has a preset mark;

[0094] Then, the screen rotation angle of the projection light machine 1 is determined according to the type of the preset mark and the first image to be tested; and the quality of the projection light machine 1 is tested according to the screen rotation angle of the projection light machine 1 .

[0095] The detection strategies of the present invention may include two types: one is to detect using the real image projected by the projection light machine, and the other is to detect using the virtual image projected by the projection light machine.

[0096] When the detection strategy is to use the real image projected by the projection light machine for detection, refer to Figure 4 A transparent whiteboard 4 is also arranged between the projection light 1 and the test camera 2 , and the picture presented by the projection light machine 1 is projected onto the transparent whiteboard 4 .

[0097] Among them, the present invention controls the test camera 2 to move to the target position according to a preset detection strategy, and the specific implementation method of determining the screen rotation angle of the projection light machine 1 according to the type of preset mark and the first image to be tested will be described in detail in the subsequent method embodiments related to the detection equipment, so it will not be repeated here.

[0098] Based on the same inventive concept as the above embodiment, the present invention also provides a method for detecting the quality of a projection light machine, which is applied to the detection device mentioned in the above embodiment, such as Figure 5 As shown, the method comprises the following steps:

[0099] S510, control the projection light machine to be in a lighting state, control the test camera to move to the target position according to a preset detection strategy, shoot the picture presented in the projection light machine, and obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; determine the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested.

[0100] The control screen lighting device lights up the screen and switches the picture presented on the projection light machine screen to a picture with a preset mark. Since the target position that the test camera needs to reach is different under different detection strategies in the present invention, it is necessary to first determine the target position that the test camera should reach according to the pre-set detection strategy, and then control the test camera to move to the target position, shoot the picture presented in the projection light machine, and obtain the corresponding first image to be tested. The target position is the position corresponding to the clearest image of the first image to be tested;

[0101] Specifically, there are two detection strategies: one is to use the real image projected by the projection light machine for detection, and the other is to use the virtual image projected by the projection light machine for detection.

[0102] When the detection strategy is to use the real image projected by the projection light machine for detection, refer to Figure 4 A perspective whiteboard is also provided between the projection light machine and the test camera, and the image presented by the projection light machine is projected onto the perspective whiteboard; the test camera is controlled to move to the target position according to the pre-set detection strategy, including:

[0103] Obtain the clearest object distance of the test camera; the clearest object distance is the object distance corresponding to the clearest first image to be tested when the test camera takes pictures of the picture on the perspective whiteboard;

[0104] Using the perspective whiteboard as a reference, determine the target position of the test camera based on the clearest object distance;

[0105] Control the test camera to move to the target position.

[0106] In the present invention, the perspective whiteboard can achieve up and down perspective, and the picture presented on the projection light machine screen can be projected onto the perspective whiteboard. Then, the test camera is controlled to move to the target position corresponding to the clearest first image to be tested. At the target position, the test camera is controlled to shoot the image on the perspective whiteboard to obtain the first image to be tested.

[0107] Since the image displayed on the projection light machine screen has a preset mark, when the type of the preset mark is different, the method of determining the screen rotation angle of the projection light machine is also different. Figure 6 As shown in FIG. 1 , if the type of the preset mark is a font, then the first image to be tested can be obtained as follows: Figure 7 shown.

[0108] In one embodiment, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested includes:

[0109] Constructing a first coordinate system with the center point of the first image to be measured as the origin;

[0110] If the preset mark type is a straight-line mark, obtaining coordinates of any two points on the straight-line mark in the first image to be tested in the first coordinate system;

[0111] Determine the screen rotation angle a of the projection light machine according to formula (1):

[0112]

[0113] In formula (1), x1 is the horizontal coordinate of the first point on the one-line mark, x2 is the horizontal coordinate of the second point on the one-line mark, y1 is the vertical coordinate of the first point, and y2 is the vertical coordinate of the second point.

[0114] Specifically, in Figure 7 In the figure, the center point of the first image to be tested is O1. Since the test camera and the projection light machine have been calibrated in advance, the X-axis in the first coordinate system established based on O1 is parallel to the lens. Then the angle between the straight mark and the X-axis is the angle a between the screen of the projection light machine and the lens.

[0115] It can be understood that each pixel point in the first image to be tested obtained under this detection strategy has a unique coordinate, so after parsing the first image to be tested, the coordinates of each pixel point in the first image to be tested can be obtained, and then Figure 7 The coordinates of any two points in the glyph mark.

[0116] In another embodiment, when the detection strategy is to use the projection of a virtual image by a projection light machine for detection, reference Figure 1 There is no need to set up a transparent whiteboard between the test camera and the projection light machine. The test camera is controlled to move to the target position according to the pre-set detection strategy, including:

[0117] Determine the target distance between the test camera and the projection light machine; the target distance is used to ensure that the test camera can convert the inverted real image projected by the projection light machine into an upright virtual image;

[0118] Based on the projection light machine, determine the target position of the test camera according to the target distance;

[0119] Control the test camera to move to the target position.

[0120] Specifically, the imaging principle of the projection light machine is: when the object distance of the projection light machine is less than 2 times the focal length and greater than 1 times the focal length, the projection light machine forms an inverted and enlarged real image. Refer to Figure 8 , in the projection light machine, when the distance u (the object distance of the projection light machine) between the screen 23 and the lens 21 is less than 2 times the focal length and greater than 1 times the focal length, the picture presented on the projection light machine screen forms an enlarged real image.

[0121] Then, using the enlarged real image as the image source of the test camera, move the test camera to the target position. In Figure 8 , the distance between the target position and the projection light machine is z, z = z1 + d, d is the entrance pupil distance of the projection light machine, and z1 is the distance between the real image projected by the projection light machine and the test camera (the test camera lens). If z1 is less than one focal length f1 of the test camera (z1 < f1), the test camera can convert the real image projected by the projection light machine into an upright virtual image. At this time, the test camera can be controlled to take a picture of the virtual image to obtain the corresponding first image to be measured.

[0122] Similarly, when the detection strategy is to use the projected virtual image of the projection light machine for detection, if the types of the preset marks presented on the projection light machine screen are different, the methods for determining the screen rotation angle of the projection light machine are also different.

[0123] As Figure 6 shown, if the type of the preset mark is a single-line type, then the first image to be measured obtained under this detection strategy can be as Fig. 9 shown.

[0124] In one implementation, if the preset mark type is a single-line mark, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be measured includes:

[0125] Construct a second coordinate system with the center point of the first image to be measured as the origin;

[0126] Obtain the coordinates of any two points on the single-line mark in the first image to be measured in the second coordinate system;

[0127] Determine the screen rotation angle a of the projection light machine according to formula (2);

[0128]

[0129] In formula (2), x3 is the abscissa of the third point on the single-line mark, x4 is the abscissa of the fourth point on the single-line mark, y3 is the ordinate of the third point, and y4 is the ordinate of the fourth point.

[0130] Specifically, in Fig. 9 In the figure, the center point of the first image to be tested is O2. Since the test camera and the projection light machine have been calibrated in advance, the X-axis in the second coordinate system established based on O2 is parallel to the lens. Then the angle between the straight mark and the X-axis is the angle a between the screen of the projection light machine and the lens.

[0131] It is worth noting that when the detection strategy is to use the projected virtual image of the projection light machine for detection, each pixel point in the first image to be tested obtained under this detection strategy also has a unique coordinate. Therefore, after parsing the first image to be tested, the coordinates of each pixel point in the first image to be tested can be obtained, and then Fig. 9 The coordinates of any two points in the glyph mark.

[0132] In another embodiment, when the detection strategy is to use a virtual image projected by a projection light machine for detection, and the preset mark type is a cross mark, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be detected includes:

[0133] Constructing a third coordinate system with the center point of the first image to be measured as the origin;

[0134] Determine a first slope value of the target identification line in the cross mark in the third coordinate system;

[0135] Control the test camera to move from the target position to the current position, and control the test camera to shoot the picture presented in the projection light machine again at the current position to obtain a second image to be tested; the second image to be tested includes a first edge line and a second edge line of the lens group of the projection light machine, and the first edge line and the second edge line are adjacent line segments;

[0136] A fourth coordinate system is constructed with the center point of the second image to be measured as the origin, and the fourth coordinate system coincides with the third coordinate system;

[0137] Determine a second slope value of the first edge line in the fourth coordinate system and determine a third slope value of the second edge line in the fourth coordinate system;

[0138] The screen rotation angle of the projection light machine is determined according to the first slope value, the second slope value and the third slope value.

[0139] In one embodiment, determining a first slope value of a target identification line in a cross-shaped mark in a third coordinate system includes:

[0140] Obtain the coordinate values ​​of any two points on the target identification line in the cross mark in the third coordinate system; the target identification line is the vertical line in the cross mark;

[0141] The first slope value k of the target identification line in the first image to be tested is determined according to formula (3):

[0142]

[0143] In formula (3), x5 is the horizontal coordinate of the fifth point on the target identification line, x6 is the horizontal coordinate of the sixth point on the target identification line, y5 is the vertical coordinate of the fifth point, and y6 is the vertical coordinate of the fifth point.

[0144] In one embodiment, determining the screen rotation angle of the projection light machine according to the first slope value, the second slope value, and the third slope value includes:

[0145] The first actual angle a1 between the first edge line and the target identification line is determined according to formula (4):

[0146]

[0147] The second actual angle a2 between the second edge line and the target identification line is determined according to formula (5):

[0148]

[0149] Determine the screen rotation angle a of the projection light machine according to formula (6):

[0150]

[0151] Wherein, a1 is the theoretical angle between the target identification line and the first edge line, and a2 is the theoretical angle between the target identification line and the second edge line.

[0152] Specifically, if Fig.10 As shown in FIG. 1 , if the type of the preset mark is a cross mark, then the first image to be tested can be obtained as follows: Fig.11 shown.

[0153] exist Fig.11 In the figure, the center point of the first image to be measured is O3, the cross mark includes a horizontal line and a vertical line, and the target identification line 111 of this embodiment is the vertical line in the cross mark. Then, two points can be randomly selected on the target identification line 111, and the coordinates of the two points in the third coordinate system can be determined. The first slope value k of the target identification line can be calculated according to the coordinates of the two points and formula (3).

[0154] Then the test camera is controlled to move from the target position to the current position. The current position refers to the position where the test camera can capture the projection camera lens mechanism outline (the maximum outer shape of the lens). The lens mechanism outline can be as follows: Fig.12Adjust the focal length of the test camera until the image is clearest, and then shoot the outline of the lens mechanism of the projection light machine to obtain the second image to be tested. Fig.13 shown.

[0155] The center point of the second image to be measured is O4. Based on the fourth coordinate system established by O4, two points can be randomly selected on the first edge line, and the coordinates of the two points in the fourth coordinate system can be determined. The second slope value k1 of the first edge line can be calculated according to the coordinates of the two points. Similarly, two points can be randomly selected on the second edge line, and the coordinates of the two points in the fourth coordinate system can be determined. The third slope value k2 of the second edge line can be calculated according to the coordinates of the two points.

[0156] Since the origins of the third and fourth coordinate systems coincide, continue to refer to Fig.14 , there is an actual angle a1 between the first edge line 141 of the lens mechanism contour and the target identification line 111, and there is an actual angle a2 between the second edge line 142 of the lens mechanism contour and the target identification line 111. Then a1 can be determined using formula (4), and a2 can be determined using formula (5).

[0157] Finally, the screen rotation angle a of the projection light machine is determined according to a1, a2 and formula (6).

[0158] Here, the theoretical angle between the target identification line and the first edge line, and the theoretical angle between the target identification line and the second edge line can be determined based on empirical values, and are not limited here.

[0159] In this way, the screen rotation angle of the projection light machine can be determined according to the above two detection strategies.

[0160] In practical applications, if you want to further reduce the detection cost, you can also detect the screen rotation angle of the projection light machine based on the following scheme, such as Fig.15 As shown, the projection light machine 1 and the display whiteboard 5 are fixed on the same plane, and the horizontality between the display whiteboard 5 and the projection light machine 1 must be ensured to ensure that the image projected onto the whiteboard by the projection light machine 1 will not be deformed.

[0161] Control the projection light machine to be lit, and the projection light machine projects a cross mark onto the adjusted display whiteboard, such as Fig.16 As shown, the two lines in the cross-shaped mark on the whiteboard are not deformed or bent.

[0162] If there is a misalignment between the screen and the lens of the projection machine, such as Fig.17 As shown, after being projected onto the display whiteboard, there is an angle a between the horizontal line 171 in the cross-shaped mark and the horizontal edge of the display whiteboard, and the angle is the screen rotation angle.

[0163] The height H between the center point of the cross mark and the horizontal edge of the display whiteboard and the distance L between the extension line of the horizontal line 171 can be measured by a laser rangefinder, and the screen rotation angle a can be determined according to formula (7):

[0164]

[0165] In this way, the screen rotation angle a of the projection light machine can be determined by the above method.

[0166] S511, detecting the quality of the projection light machine according to the screen rotation angle of the projection light machine.

[0167] After the screen rotation angle of the projection light machine is determined, the quality of the projection light machine can be tested according to the screen rotation angle of the projection light machine, and whether the quality of the projection light machine meets the product requirements can be further determined. For example: if the screen rotation angle of the projection light machine is greater than the rotation angle threshold, it is determined that the screen rotation angle cannot meet the product requirements and the quality of the projection light machine is unqualified; if the screen rotation angle of the projection light machine is less than or equal to the rotation angle threshold, it is determined that the screen rotation angle can meet the product requirements and the quality of the projection light machine is qualified. Among them, the rotation angle threshold can be determined based on the product structure and model of the projection light machine, and is not limited here.

[0168] In the present invention, a test camera can be used to capture the image projected by the projection light machine. If the screen of the projection light machine is rotated, then the preset mark type in the first image to be tested captured by the test camera will also be deflected. Therefore, the preset mark type and the first image to be tested can be used to accurately determine the screen rotation angle of the projection light machine, and the quality of the projection light machine can be detected according to the screen rotation angle to ensure the quality of the projection light machine.

[0169] Based on the same inventive concept as the above-mentioned embodiment, the embodiment of the present invention also provides a device for detecting the quality of a projection light machine, such as Fig.18 As shown, the detection equipment includes:

[0170] The control unit 181 is used to control the projection light machine to be in a lighting state, control the test camera to move to a target position according to a preset detection strategy, and shoot the picture presented in the projection light machine to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested;

[0171] A determination unit 182, configured to determine a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be measured;

[0172] The detection unit 183 is used to detect the quality of the projection light machine according to the screen rotation angle of the projection light machine.

[0173] Since the device introduced in the embodiment of the present invention is a device for implementing the projection light machine quality detection of the embodiment of the present invention, based on the method introduced in the embodiment of the present invention, the person skilled in the art can understand the specific structure and deformation of the device, so it is not repeated here. All devices used in the method of the embodiment of the present invention belong to the scope of protection of the present invention.

[0174] Through one or more embodiments of the present invention, the present invention has the following beneficial effects or advantages:

[0175] The present invention provides a method, device and system for detecting the quality of a projection light machine, the method comprising: controlling the projection light machine to be in a lighting state, controlling a test camera to move to a target position according to a preset detection strategy, photographing a picture presented in the projection light machine, and obtaining a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is a position corresponding to the clearest image of the first image to be tested; determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested; detecting the quality of the projection light machine according to the screen rotation angle of the projection light machine; in this way, the test camera can be used to photograph the image projected by the projection light machine, if the screen of the projection light machine is rotated, then the preset mark type in the first image to be tested photographed by the test camera is also deflected, so the preset mark type and the first image to be tested can be used to accurately determine the screen rotation angle of the projection light machine, and the quality of the projection light machine is detected according to the screen rotation angle to ensure the quality of the projection light machine.

[0176] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0177] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for detecting the quality of a projection light machine, characterized in that: The method comprises: Control the projection light machine to be in a lighting state; control the test camera to move to a target position according to a preset detection strategy, and shoot the picture presented in the projection light machine to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested; Determining a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested; The quality of the projection light machine is detected according to the screen rotation angle of the projection light machine.

2. The method according to claim 1, characterized in that When the detection strategy is to use the real image projected by the projection light machine for detection, a perspective whiteboard is also provided between the projection light machine and the test camera, and the image presented by the projection light machine is projected onto the perspective whiteboard; controlling the test camera to move to the target position according to the pre-set detection strategy includes: Obtaining the clearest object distance of the test camera; the clearest object distance is the object distance corresponding to the clearest first image to be tested when the test camera takes a picture of the perspective whiteboard; Taking the perspective whiteboard as a reference, determining the target position of the test camera according to the clearest object distance; The test camera is controlled to move to the target position.

3. The method according to claim 2, characterized in that Determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested includes: Constructing a first coordinate system with the center point of the first image to be measured as the origin; If the preset mark type is a straight-line mark, obtaining coordinates of any two points on the straight-line mark in the first image to be tested in the first coordinate system; According to the formula Determine the screen rotation angle a of the projection light machine; wherein, The x1 is the horizontal coordinate of the first point on the one-character mark, the x2 is the horizontal coordinate of the second point on the one-character mark, the y1 is the vertical coordinate of the first point, and the y2 is the vertical coordinate of the second point.

4. The method according to claim 1, characterized in that When the detection strategy is to use the projected virtual image of the projection light machine for detection, controlling the test camera to move to the target position according to the preset detection strategy includes: Determine a target distance between the test camera and the projection light machine; the target distance is used to ensure that the test camera can convert the inverted real image projected by the projection light machine into an upright virtual image; Taking the projection light machine as a reference, determining the target position of the test camera according to the target distance; The test camera is controlled to move to the target position.

5. The method according to claim 4, characterized in that If the preset mark type is a straight mark, determining the screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested includes: Constructing a second coordinate system with the center point of the first image to be measured as the origin; Obtaining coordinates of any two points on the straight-line mark in the first image to be tested in the second coordinate system; According to the formula Determine the screen rotation angle a of the projection light machine; wherein, The x3 is the horizontal coordinate of the third point on the one-shaped mark, the x4 is the horizontal coordinate of the fourth point on the one-shaped mark, the y3 is the vertical coordinate of the third point, and the y4 is the vertical coordinate of the fourth point.

6. The method according to claim 4, characterized in that If the preset mark type is a cross mark, determining the screen rotation angle of the projection light machine according to the preset mark type and the first image to be tested includes: Constructing a third coordinate system with the center point of the first image to be measured as the origin; Determine a first slope value of a target identification line in the cross mark in the third coordinate system; Control the test camera to move from the target position to the current position, and control the test camera at the current position to shoot the picture presented in the projection light machine again to obtain a second image to be tested; the second image to be tested includes a first edge line and a second edge line of the lens group of the projection light machine, and the first edge line and the second edge line are adjacent line segments; Constructing a fourth coordinate system with the center point of the second image to be measured as the origin, wherein the fourth coordinate system coincides with the third coordinate system; Determine a second slope value of the first edge line in the fourth coordinate system and determine a third slope value of the second edge line in the fourth coordinate system; The screen rotation angle of the projection light machine is determined according to the first slope value, the second slope value and the third slope value.

7. The method according to claim 6, characterized in that The determining of a first slope value of the target identification line in the cross mark in the third coordinate system includes: Obtaining coordinate values ​​of any two points on a target identification line in the cross mark in the third coordinate system; the target identification line is a vertical line in the cross mark; According to the formula Determine the first slope value k of the target identification line in the first image to be tested; the x5 is the horizontal coordinate of the fifth point on the target identification line, the x6 is the horizontal coordinate of the sixth point on the target identification line, the y5 is the vertical coordinate of the fifth point, and the y6 is the vertical coordinate of the fifth point.

8. The method according to claim 6, characterized in that Determining the screen rotation angle of the projection light machine according to the first slope value, the second slope value and the third slope value includes: According to the formula Determine a first actual angle a1 between the first edge line and the target identification line; According to the formula Determine a second actual angle a2 between the second edge line and the target identification line; According to the formula Determine the screen rotation angle a of the projection light machine; where, The a1 is a theoretical angle between the target identification line and the first tangent line, and the a2 is a theoretical angle between the target identification line and the second edge line.

9. A device for detecting the quality of a projection light machine, characterized in that: The device comprises: A control unit, used to control the projection light machine to be in a lighting state, control the test camera to move to a target position according to a preset detection strategy, and shoot the picture presented in the projection light machine to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested; A determination unit, configured to determine a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested; The detection unit is used to detect the quality of the projection light machine according to the screen rotation angle of the projection light machine.

10. A system for detecting the quality of a projection light machine, characterized in that: The system comprises: a test camera, a projection light machine and a device for quality detection of the projection light machine according to claim 9; The projection light machine is placed on the table of the test bench; The test camera is mounted on the moving mechanism of the test bench; The detection device is electrically connected to the test camera and the projection optical machine, respectively, and the detection device is specifically used for: The projection light machine is controlled to be in a lighting state, and the test camera is controlled to move to a target position according to a preset detection strategy, and the picture presented in the projection light machine is photographed to obtain a corresponding first image to be tested; the picture presented in the projection light machine has a preset mark; the target position is the position corresponding to the clearest image of the first image to be tested; Determining a screen rotation angle of the projection light machine according to the type of the preset mark and the first image to be tested; The quality of the projection light machine is detected according to the screen rotation angle of the projection light machine.