Projector optical data testing method, device, equipment and storage medium

By performing automatic follow-up projection and multiple optical inspections on the projector, the problem of inability to evaluate the dynamic optical performance of the projector in the prior art is solved, and a comprehensive evaluation of the projector's response capability and stability is achieved, ensuring that the projector is different Reliability and accuracy in the scenario.

CN118641156BActive Publication Date: 2024-11-05SHENZHEN ZHENHUO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411061354.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-05
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

The existing projector optical data testing methods are only carried out under static conditions, and it is impossible to fully evaluate the optical performance and responsiveness of the projector during dynamic use.

Method used

By obtaining the projector's test request, starting the projector, performing the first optical detection, determining the user's line of sight landing point, controlling the projector for automatic follow-up projection, performing the second optical detection after completion, generating the final detection result, including dynamic optical parameters and optical performance change curves to evaluate projector responsiveness and stability.

Benefits of technology

The accuracy of the projector's automatic follow-up function is verified, and the projector's responsiveness and stability during dynamic adjustment is detected, thereby ensuring the reliability and accuracy of the projector in different usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118641156B_ABST
    Figure CN118641156B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, equipment and storage medium for testing optical data of a projector, wherein the method comprises: obtaining a test request of a target projector, and starting the target projector based on the test request to obtain a projection point of the target projector; performing a first optical detection on the optical data of the target projector to obtain a first detection result, and performing a line of sight detection on the user to determine the user's line of sight landing point; controlling the target projector to automatically follow the projection according to the projection point and the line of sight landing point; after the target projector completes the automatic following projection, performing a second optical detection on the optical data of the target projector to obtain a second detection result; generating a final detection result of the projector according to the first detection result and the second detection result. This method can not only verify the accuracy of the automatic following function, but also detect the responsiveness and stability of the projector during the dynamic adjustment process, thereby ensuring the reliability and accuracy of the projector in different usage scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing, and in particular to a method, device, equipment and storage medium for testing optical data of a projector. Background Art

[0002] With the development of modern display technology, projectors have become an indispensable display device in the fields of office, education, home entertainment, etc. Projectors can amplify images or video signals and project them onto a large screen or wall, thus meeting the display needs in a variety of scenarios. However, as users' requirements for projection quality continue to increase, especially in interactive application scenarios, the optical performance and responsiveness of projectors have become key factors affecting user experience.

[0003] In actual use, users not only require the projected image to have high resolution, good color reproduction and brightness uniformity, but also hope that the projector can respond to user operations quickly and accurately. For example, during teaching or demonstration, users may need to dynamically adjust the projection position according to their line of sight or indicated direction in order to better display the content. To this end, the projector needs to have an automatic follow-up projection function, that is, to adjust the position of the projected image in real time according to the user's line of sight or indicated position, thereby improving the convenience and interactivity of use. However, existing projector optical detection methods are usually only performed under static conditions, and cannot fully evaluate the optical performance and responsiveness of the projector during dynamic use. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem that the existing test of the optical data of the projector is only carried out under static conditions and cannot comprehensively evaluate the optical performance and response capability of the projector during dynamic use.

[0005] A first aspect of the present invention provides a method for testing optical data of a projector, the method comprising:

[0006] Obtaining a test request of a target projector, and starting the target projector based on the test request to obtain a projection point of the target projector;

[0007] Performing a first optical detection on the optical data of the target projector to obtain a first detection result, and performing a sight line detection on the user to determine the sight line point of the user;

[0008] Control the target projector to automatically follow the projection according to the projection point and the sight point;

[0009] After the target projector completes the automatic follow-up projection, performing a second optical detection on the optical data of the target projector to obtain a second detection result;

[0010] A final detection result of the projector is generated according to the first detection result and the second detection result.

[0011] Optionally, in a first implementation manner of the first aspect of the present invention, the obtaining a test request of a target projector, starting the target projector based on the test request, and obtaining the projection point information of the target projector includes:

[0012] Acquire and parse a test request of a target projector, and initialize the target projector based on the parsing result to obtain initial projection parameters;

[0013] Starting the target projector, and controlling the target projector to project a corresponding projection image on a projection surface based on the initial projection parameters;

[0014] The projection image is photographed by an image capture device on the target projector to obtain image data containing projection points;

[0015] Performing image processing on the image data to extract pixel coordinate information of the projection point, and performing coordinate conversion on the pixel coordinate information according to geometric parameters of the projector to obtain physical coordinate information of the projection point;

[0016] The physical coordinate information is calibrated, and the calibrated physical coordinate information is used as the projection point information of the target projector.

[0017] Optionally, in a second implementation of the first aspect of the present invention, the optical data includes spectral data of the projection light of the target projector;

[0018] The performing a first optical detection on the optical data of the target projector to obtain a first detection result includes:

[0019] Performing spectral sampling processing on the projection light of the target projector to obtain original spectral data, and generating a color temperature distribution diagram and a color gamut diagram of the projection light according to the original spectral data;

[0020] Performing spatial analysis on the color temperature distribution diagram to obtain a color temperature uniformity index;

[0021] Performing brightness calibration processing on the projection image according to the color temperature uniformity index and the color gamut diagram to obtain a calibrated brightness distribution matrix;

[0022] Performing contrast analysis on the brightness distribution matrix to obtain a local contrast map;

[0023] A comprehensive evaluation is performed based on the local contrast map and the color gamut map to obtain a first detection result.

[0024] Optionally, in a third implementation of the first aspect of the present invention, controlling the target projector to automatically follow the projection according to the projection point and the sight point includes:

[0025] Calculate the coordinate distance between the sight point and the projection point, and determine the magnitude relationship between the coordinate distance and a preset distance threshold;

[0026] If it is determined that the coordinate distance is less than or equal to the distance threshold, calculating the adjustment angle of the target projector for automatic follow-up projection according to the coordinate distance;

[0027] Performing interpolation smoothing processing on the adjustment angle to obtain a smooth adjustment curve, and generating a drive control instruction of a drive system of the target projector according to the smooth adjustment curve to obtain a drive control sequence;

[0028] The driving system is controlled by the driving control instruction so that the target projector performs automatic follow-up projection.

[0029] Optionally, in a fourth implementation manner of the first aspect of the present invention, after the target projector completes automatic follow-up projection, performing a second optical detection on the optical data of the target projector, and obtaining a second detection result, further comprising:

[0030] Performing dynamic range analysis on the second detection result to obtain a dynamic optical parameter set;

[0031] Reconstructing the automatic following trajectory of the target projector during the automatic following projection process according to the dynamic optical parameter set to obtain an optical performance change curve;

[0032] Performing inflection point detection processing on the optical performance change curve to obtain a key change node set, and evaluating the optical stability of the target projector according to the key change node set to obtain a stability index;

[0033] Performing correlation analysis on the stability index and the second detection result to obtain a follow-up influence factor;

[0034] The second detection result is corrected according to the follow-up influence factor to obtain a corrected second detection result.

[0035] Optionally, in a fifth implementation of the first aspect of the present invention, performing inflection point detection processing on the optical performance change curve to obtain a key change node set, and evaluating the optical stability of the target projector according to the key change node set to obtain a stability index includes:

[0036] Performing differentiation processing on the optical performance change curve to obtain a first-order derivative curve, and identifying local extreme value points in the first-order derivative curve to obtain a candidate inflection point set;

[0037] Performing threshold screening on the candidate inflection point set to obtain a key change node set;

[0038] The slopes of the curve segments between adjacent key change nodes in the key change node set are calculated to obtain a slope change sequence, and the optical stability of the target projector is evaluated according to the slope change sequence to obtain a stability index.

[0039] Optionally, in a sixth implementation manner of the first aspect of the present invention, generating a final detection result of the projector according to the first detection result and the second detection result includes:

[0040] Performing parameter extraction and comparison on the first detection result and the second detection result to obtain a key optical parameter comparison set;

[0041] Calculating and processing parameter changes before and after automatic follow-up projection according to the key optical parameter comparison set to obtain a parameter deviation matrix;

[0042] Performing statistical analysis on the parameter deviation matrix to obtain an automatic following influence index, and evaluating the dynamic stability performance of the projector according to the automatic following influence index to obtain a dynamic performance score;

[0043] Performing multi-dimensional analysis on the dynamic performance score and the parameter deviation matrix to obtain an automatic following effect feature vector;

[0044] The automatic following projection performance of the projector is comprehensively evaluated according to the automatic following effect feature vector to obtain a final detection result.

[0045] A second aspect of the present invention provides a device for testing optical data of a projector, the device comprising:

[0046] A test starting module, used to obtain a test request of a target projector, and start the target projector based on the test request to obtain a projection point of the target projector;

[0047] A first detection module is used to perform a first optical detection on the optical data of the target projector to obtain a first detection result, and perform a sight line detection on the user to determine the sight line point of the user;

[0048] An automatic following projection module, used for controlling the target projector to perform automatic following projection according to the projection point and the sight point;

[0049] A second detection module, configured to perform a second optical detection on the optical data of the target projector after the target projector completes the automatic follow-up projection, to obtain a second detection result;

[0050] A result generating module is used to generate a final detection result of the projector according to the first detection result and the second detection result.

[0051] A third aspect of the present invention provides a device for testing projector optical data, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the device for testing projector optical data executes the steps of the above-mentioned method for testing projector optical data.

[0052] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the above-mentioned method for testing projector optical data.

[0053] The above-mentioned projector optical data testing method, device, equipment and storage medium obtain the test request of the target projector, and start the target projector based on the test request to obtain the projection point of the target projector; perform a first optical detection on the optical data of the target projector to obtain a first detection result, and perform a line of sight detection on the user to determine the user's line of sight point; control the target projector to automatically follow the projection according to the projection point and the line of sight point; after the target projector completes the automatic following projection, perform a second optical detection on the optical data of the target projector to obtain a second detection result; generate the final detection result of the projector according to the first detection result and the second detection result. This method can not only verify the accuracy of the automatic following function, but also detect the responsiveness and stability of the projector during the dynamic adjustment process, thereby ensuring the reliability and accuracy of the projector in different usage scenarios.

[0054] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a schematic diagram of a first embodiment of a method for testing optical data of a projector according to an embodiment of the present invention;

[0057] Figure 2 A schematic diagram of an embodiment of a device for testing optical data of a projector according to an embodiment of the present invention;

[0058] Figure 3 Schematic diagram of an embodiment of a test device for projector optical data in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device end including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or device ends.

[0061] To facilitate understanding of this embodiment, a method for testing optical data of a projector disclosed in an embodiment of the present invention is first described in detail. Figure 1 As shown, the method comprises the following steps:

[0062] 101. Obtain a test request of a target projector, and start the target projector based on the test request to obtain a projection point of the target projector;

[0063] In one embodiment of the present invention, the step of obtaining a test request for a target projector, and starting the target projector based on the test request to obtain projection point information of the target projector includes: obtaining and parsing the test request for the target projector, and initializing the target projector based on the parsing result to obtain initial projection parameters; starting the target projector, and controlling the target projector to project a corresponding projection image on a projection surface based on the initial projection parameters; photographing the projection image by an image capture device on the target projector to obtain image data containing projection points; performing image processing on the image data to extract pixel coordinate information of the projection points, and performing coordinate conversion on the pixel coordinate information according to the geometric parameters of the projector to obtain physical coordinate information of the projection points; and calibrating the physical coordinate information, and using the calibrated physical coordinate information as the projection point information of the target projector.

[0064] Specifically, a test request of a target projector is obtained, and the test request is parsed to extract the required parameters and settings. This process generally includes receiving a data packet of a test request, which contains specific requirements and requirements of the test, such as the resolution of the projected image, the projection distance, the projection angle and other parameters. The data packet is parsed, various parameters are extracted and these parameters are checked and verified to ensure their integrity and correctness. After parsing the test request, the target projector is initialized based on the parsing result. The specific implementation steps include configuring the hardware and software settings of the projector according to the initial projection parameters in the test request. For example, the light source brightness, focal length, image processing mode, etc. of the projector are set. These settings ensure that the projector can accurately project an image that meets the test requirements after startup. Next, the target projector is started and controlled to project the corresponding projection image on the projection surface based on the initial projection parameters. In this process, the projector will work according to the set parameters and project the standard image or pattern specified in the test request, which usually includes a checkered pattern for calibration, a color test pattern, etc., for subsequent optical detection. In order to obtain the image data of the projection point, the projection image is photographed by an image capture device on the target projector. The image capture device is usually a high-resolution camera that can accurately record the details of the projected image. The captured image data needs to include complete information of the projection point for subsequent processing. After obtaining the image data, it is necessary to perform image processing on the data to extract the pixel coordinate information of the projection point. Image processing usually includes the following steps: First, the captured image is preprocessed, such as denoising, contrast enhancement, etc., and then the image recognition algorithm is used to identify specific points in the projected image, such as projection points or marker points. The core of image processing is to accurately identify and extract the pixel coordinate information of these points. The extracted pixel coordinate information needs to be converted into physical coordinate information, which is based on the geometric parameters of the projector. The geometric parameters include the installation angle of the projector, the projection distance, the lens parameters, etc. Based on these geometric parameters, the geometric transformation formula can be used to convert the pixel coordinates into actual physical coordinates. After the coordinate transformation, the obtained physical coordinate information needs to be calibrated to eliminate possible system errors. The calibration process usually includes comparative analysis of multiple projection points at known positions, and optimizing the coordinate transformation model through mathematical methods such as the least squares method, thereby improving the accuracy of the physical coordinates. Finally, the calibrated physical coordinate information is used as the projection point information of the target projector.

[0065] 102. Perform a first optical detection on the optical data of the target projector to obtain a first detection result, and perform a sight line detection on the user to determine the sight line point of the user;

[0066] In one embodiment of the present invention, the optical data includes spectral data of the projection light of the target projector; the first optical detection of the optical data of the target projector to obtain the first detection result includes: performing spectral sampling processing on the projection light of the target projector to obtain original spectral data, and generating a color temperature distribution map and a color gamut map of the projection light according to the original spectral data; performing spatial analysis processing on the color temperature distribution map to obtain a color temperature uniformity index; performing brightness calibration processing on the projected image according to the color temperature uniformity index and the color gamut map to obtain a calibrated brightness distribution matrix; performing contrast analysis processing on the brightness distribution matrix to obtain a local contrast mapping; and performing comprehensive evaluation based on the local contrast mapping and the color gamut map to obtain the first detection result.

[0067] Specifically, first, the projection light of the target projector is spectrally sampled to obtain the original spectrum data. This step is usually completed by a high-precision spectrometer, which can capture the spectral distribution information of the projection light in the visible light range, that is, the light intensity of the light at different wavelengths. Assume that the spectrum data is S(λ), where λ represents the wavelength and S(λ) represents the light intensity at the wavelength. According to the acquired original spectrum data, the color temperature distribution diagram and color gamut diagram of the projection light can be generated. The color temperature distribution diagram shows the color temperature distribution of the projection light in different areas, and the color gamut diagram shows the distribution range of the projection light in the color space. The step of generating the color temperature distribution diagram includes calculating the color temperature value of each pixel. Next, the color temperature distribution diagram is spatially analyzed to obtain the color temperature uniformity index. The color temperature uniformity index is used to measure whether the color temperature of the projection image is uniform in different areas. According to the color temperature uniformity index and the color gamut diagram, the projection image is brightness calibrated to obtain a calibrated brightness distribution matrix. The purpose of brightness calibration is to eliminate brightness errors caused by uneven color temperature and color distortion. Then, the calibrated brightness distribution matrix is ​​subjected to contrast analysis to obtain a local contrast map. The contrast analysis is achieved by calculating the contrast values ​​of different regions in the image. Finally, a comprehensive evaluation is performed based on the local contrast map and the color gamut map to obtain the first detection result. The goal of the comprehensive evaluation is to evaluate the optical performance of the projected image through an overall analysis of brightness, contrast, and color distribution.

[0068] Specifically, an image capture device is used to capture the user's face and eye images. Next, the captured images are processed using a deep learning algorithm. First, a pre-trained deep learning model (e.g., a model based on a convolutional neural network) is used to detect the face and eye regions in the image. Commonly used face detection algorithms include OpenCV's Haar cascade classifier, face key point detection in the Dlib library, etc. These algorithms can quickly and accurately identify facial feature points in the image, such as eyes, nose, and mouth. After identifying the eye region, the position of the eyeball and pupil is further refined. A refined convolutional neural network (e.g., EyeNet) can be used to accurately locate the center of the pupil. The core of this step is to extract the pixel coordinates of the pupil from the eye image. Based on the position of the pupil center and the position of the facial feature points, the user's line of sight direction can be estimated. To achieve this goal, a regression model can be trained that inputs the eye image and the pupil position, outputs the line of sight direction vector, and finally converts the line of sight direction vector into the line of sight landing point on the screen.

[0069] 103. Control the target projector to automatically follow the projection according to the projection point and the sight point;

[0070] In one embodiment of the present invention, controlling the target projector to automatically follow the projection according to the projection point and the line of sight point includes: calculating the coordinate distance between the line of sight point and the projection point, and determining the relationship between the coordinate distance and a preset distance threshold; if it is determined that the coordinate distance is less than or equal to the distance threshold, calculating the adjustment angle of the target projector to automatically follow the projection according to the coordinate distance; performing interpolation and smoothing processing on the adjustment angle to obtain a smooth adjustment curve, and generating a drive control instruction for the drive system of the target projector according to the smooth adjustment curve to obtain a drive control sequence; controlling the drive system through the drive control instruction so that the target projector automatically follows the projection.

[0071] Specifically, the coordinate distance between the sight point and the projection point is calculated. The distance d between the two points can be calculated by the Euclidean distance formula in three-dimensional space. Next, it is determined whether the calculated distance d is within the preset distance threshold range. The judgment condition is that the coordinate distance is less than or equal to the distance threshold. This is because when the distance between the sight point and the projection point is large, direct adjustment may cause large errors due to precision problems. By setting a threshold, it is ensured that accurate adjustments are made only when the distance is small, which can reduce the accumulation of errors and improve the accuracy of adjustments. In order to make the projection adjustment process smoother, the calculated adjustment angle needs to be interpolated and smoothed to obtain a smooth adjustment curve. Interpolation and smoothing can use common interpolation algorithms, such as spline interpolation or Gaussian smoothing. According to the smooth adjustment curve, a drive control instruction for the projector drive system is generated to obtain a drive control sequence. The drive control instruction is used to control the stepper motor or servo motor of the projector to adjust the projection angle. Finally, the drive system is controlled by the drive control instruction so that the target projector automatically follows the projection. The drive system receives the drive control sequence D and adjusts the direction of the projector according to the specified angle and speed so that the projected image is consistent with the user's line of sight.

[0072] 104. After the target projector completes the automatic follow-up projection, a second optical detection is performed on the optical data of the target projector to obtain a second detection result;

[0073] In one embodiment of the present invention, after the target projector completes automatic following projection, a second optical detection is performed on the optical data of the target projector to obtain a second detection result, and the method further includes: performing a dynamic range analysis on the second detection result to obtain a dynamic optical parameter set; reconstructing the automatic following trajectory of the target projector during the automatic following projection process according to the dynamic optical parameter set to obtain an optical performance change curve; performing inflection point detection processing on the optical performance change curve to obtain a key change node set, and evaluating the optical stability of the target projector according to the key change node set to obtain a stability index; performing correlation analysis processing on the stability index and the second detection result to obtain a following influence factor; and correcting the second detection result according to the following influence factor to obtain a corrected second detection result.

[0074] Specifically, first, the second detection result is subjected to a dynamic range analysis to obtain a dynamic optical parameter set. This step extracts the characteristics of the optical parameters changing over time by performing Fourier transform and wavelet analysis on the time series of the optical data. In specific implementation, the continuous wavelet transform (CWT) method can be used. Next, the automatic following trajectory of the target projector in the automatic following projection process is reconstructed according to the dynamic optical parameter set to obtain an optical performance change curve. This step involves a complex trajectory reconstruction algorithm. The Kalman filter combined with the particle filter method can be used to reconstruct the automatic following trajectory and obtain the optical performance change curve in combination with the dynamic optical parameters. Then, the optical performance change curve is subjected to inflection point detection processing to obtain a key change node set. This step can use a curvature-based inflection point detection algorithm. By setting a curvature threshold and local maximum detection, the key change node can be identified. The optical stability of the target projector is evaluated according to the key change node set to obtain a stability index. This step can use an entropy-based evaluation method. Next, the stability index and the second detection result are subjected to correlation analysis processing to obtain a follow-up influence factor. This step can use a nonlinear correlation analysis method based on mutual information. The mutual information calculation formula is:

[0075] ;

[0076] Among them, I(X;Y) is the mutual information, X represents the stability index, Y represents the various indicators of the second detection result, p(x,y) is the joint probability distribution, and p(x) and p(y) are the marginal probability distributions. By calculating the mutual information, the degree to which each indicator is affected by the automatic following projection, that is, the following influence factor, can be obtained. Finally, the second detection result is corrected according to the following influence factor to obtain the corrected second detection result. This step can adopt the weighted regression analysis method.

[0077] Furthermore, the inflection point detection processing is performed on the optical performance change curve to obtain a key change node set, and the optical stability of the target projector is evaluated based on the key change node set to obtain a stability index, which includes: differentiating the optical performance change curve to obtain a first-order derivative curve, and identifying local extreme points in the first-order derivative curve to obtain a candidate inflection point set; threshold screening processing is performed on the candidate inflection point set to obtain a key change node set; the slope of the curve segment between adjacent key change nodes in the key change node set is calculated to obtain a slope change sequence, and the optical stability of the target projector is evaluated based on the slope change sequence to obtain a stability index.

[0078] Specifically, it is necessary to first differentiate the optical performance change curve to obtain a first-order derivative curve. This step can be achieved by numerical differentiation method. Considering that the optical performance change curve may have noise, Savitzky-Golay filter can be used for smooth differentiation. The specific implementation steps are as follows: the optical performance change curve is represented as a discrete time series f(t), and then the Savitzky-Golay filter is applied for differentiation. Next, the local extreme point identification is performed on the obtained first-order derivative curve to obtain a set of candidate inflection points. This step can be achieved by comparing the derivative values ​​of adjacent points. Specifically, if the derivative value of a point is greater than the derivative value of its adjacent points before and after, then the point is a local maximum point; if it is less than the derivative value of the adjacent points before and after, then it is a local minimum point. These local extreme points constitute a set of candidate inflection points. Then, the set of candidate inflection points is threshold screened to obtain a set of key change nodes. This step involves curvature calculation and threshold setting. After calculating the curvature of the candidate inflection point, a threshold τ can be set, and only points with a curvature greater than τ are retained as key change nodes. The selection of the threshold τ can be based on statistical methods, such as using the quartile rule. Then, the slope of the curve segment between adjacent key change nodes in the key change node set is calculated to obtain a slope change sequence. For two adjacent key change nodes, a slope change sequence can be obtained by calculating the slopes of all adjacent key change node pairs. Finally, the optical stability of the target projector is evaluated based on the slope change sequence to obtain a stability index. This step can adopt a comprehensive evaluation method based on entropy and volatility. Finally, the optical stability of the target projector is evaluated based on the slope change sequence to obtain a stability index. This step can adopt a comprehensive evaluation method based on entropy and volatility. First, calculate the standard deviation σ and normalized entropy H of the slope change sequence, and then define the stability index S:

[0079] ;

[0080] in, is the weight coefficient, which is used to balance the influence of entropy and standard deviation. This formula comprehensively considers the regularity of slope change (through entropy) and fluctuation amplitude (through standard deviation), and can effectively reflect the optical stability of the projector.

[0081] 105. Generate a final detection result of the projector according to the first detection result and the second detection result.

[0082] In one embodiment of the present invention, generating the final detection result of the projector based on the first detection result and the second detection result includes: performing parameter extraction and comparison on the first detection result and the second detection result to obtain a key optical parameter comparison set; calculating and processing parameter changes before and after automatic following projection based on the key optical parameter comparison set to obtain a parameter deviation matrix; performing statistical analysis on the parameter deviation matrix to obtain an automatic following influence index, and evaluating the dynamic stability performance of the projector based on the automatic following influence index to obtain a dynamic performance score; performing multi-dimensional analysis and processing on the dynamic performance score and the parameter deviation matrix to obtain an automatic following effect feature vector; and performing a comprehensive evaluation on the automatic following projection performance of the projector based on the automatic following effect feature vector to obtain a final detection result.

[0083] Specifically, firstly, it is necessary to extract and compare the parameters of the first detection result and the second detection result to obtain a comparison set of key optical parameters. This step involves feature extraction and similarity analysis of multidimensional data. In specific implementation, the principal component analysis (PCA) method can be used to extract key optical parameters. For each detection result, a feature matrix X is constructed, in which each row represents a sample and each column represents an optical parameter. Then, by solving the characteristic equation, the eigenvectors corresponding to the first k largest eigenvalues ​​are selected to form a projection matrix P. The reduced-dimensional data are obtained by X' = XP, and these data constitute a comparison set of key optical parameters. Next, the parameter changes before and after the automatic follow-up projection are calculated and processed according to the comparison set of key optical parameters to obtain a parameter deviation matrix. This step can be achieved by calculating the relative rate of change. Then, the parameter deviation matrix is ​​statistically analyzed to obtain an automatic follow-up influence index. This step can use a multivariate anomaly detection method, such as the Mahalanobis distance. In the specific implementation, the mean vector μ and covariance matrix Σ of the deviation matrix D are first calculated, and then the Mahalanobis distance of each sample point x is calculated, and the dynamic stability performance of the projector is evaluated according to the automatic following influence index to obtain the dynamic performance score. This step can adopt the fuzzy logic evaluation method. First, several fuzzy sets are defined, such as "stable", "relatively stable", "unstable", etc., and then the membership function is determined according to the influence index I. Then, the dynamic performance score and the parameter deviation matrix are subjected to multi-dimensional analysis and processing to obtain the automatic following effect feature vector. This step can use tensor decomposition methods, such as Tucker decomposition. The dynamic performance score S and the parameter deviation matrix D can be combined into a third-order tensor T, and then Tucker decomposition is performed to obtain the automatic following effect feature vector. Finally, the automatic following projection performance of the projector is comprehensively evaluated according to the automatic following effect feature vector to obtain the final detection result. This step can adopt the support vector regression (SVR) method, and an SVR model can be trained using historical data.

[0084] In this embodiment, the target projector's projection point is obtained by obtaining a test request of the target projector and starting the target projector based on the test request; a first optical detection is performed on the optical data of the target projector to obtain a first detection result, and a line of sight detection is performed on the user to determine the user's line of sight point; the target projector is controlled to automatically follow the projection according to the projection point and the line of sight point; after the target projector completes the automatic following projection, a second optical detection is performed on the optical data of the target projector to obtain a second detection result; and a final detection result of the projector is generated according to the first detection result and the second detection result. This method can not only verify the accuracy of the automatic following function, but also detect the responsiveness and stability of the projector during the dynamic adjustment process, thereby ensuring the reliability and accuracy of the projector in different usage scenarios.

[0085] The above describes the method for testing the optical data of the projector in the embodiment of the present invention. The following describes the device for testing the optical data of the projector in the embodiment of the present invention. Figure 2 , an embodiment of a device for testing optical data of a projector in an embodiment of the present invention comprises:

[0086] A test starting module 201 is used to obtain a test request of a target projector, and start the target projector based on the test request to obtain a projection point of the target projector;

[0087] A first detection module 202 is used to perform a first optical detection on the optical data of the target projector to obtain a first detection result, and perform a sight line detection on the user to determine the sight line point of the user;

[0088] An automatic following projection module 203 is used to control the target projector to perform automatic following projection according to the projection point and the sight point;

[0089] A second detection module 204, configured to perform a second optical detection on the optical data of the target projector after the target projector completes the automatic follow-up projection, to obtain a second detection result;

[0090] The result generating module 205 is configured to generate a final detection result of the projector according to the first detection result and the second detection result.

[0091] In an embodiment of the present invention, the projector optical data testing device runs the above-mentioned projector optical data testing method, and the projector optical data testing device obtains a test request from a target projector, and starts the target projector based on the test request to obtain the projection point of the target projector; performs a first optical detection on the optical data of the target projector to obtain a first detection result, and performs a line of sight detection on the user to determine the user's line of sight point; controls the target projector to automatically follow the projection according to the projection point and the line of sight point; after the target projector completes the automatic following projection, performs a second optical detection on the optical data of the target projector to obtain a second detection result; generates the final detection result of the projector according to the first detection result and the second detection result. This method can not only verify the accuracy of the automatic following function, but also detect the responsiveness and stability of the projector during the dynamic adjustment process, thereby ensuring the reliability and accuracy of the projector in different usage scenarios.

[0092] above Figure 2 The device for testing optical data of a projector in an embodiment of the present invention is described in detail from the perspective of modular functional entities. The device for testing optical data of a projector in an embodiment of the present invention is described in detail from the perspective of hardware processing.

[0093] Figure 3 3 is a schematic diagram of the structure of a projector optical data test device provided by an embodiment of the present invention. The projector optical data test device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage device terminals) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the projector optical data test device 300. Furthermore, the processor 310 may be configured to communicate with the storage medium 330, and execute a series of instruction operations in the storage medium 330 on the projector optical data test device 300 to implement the steps of the above-mentioned projector optical data test method.

[0094] The projector optical data test device 300 may further include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the projector optical data testing device shown does not constitute a limitation on the projector optical data testing device provided by the present invention, and may include more or less components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0095] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the projector optical data testing method.

[0096] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0097] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0098] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for testing optical data of a projector, characterized in that: The method for testing the optical data of the projector comprises: Obtaining a test request of a target projector, and starting the target projector based on the test request to obtain a projection point of the target projector; Performing a first optical detection on the optical data of the target projector to obtain a first detection result, and performing a sight line detection on the user to determine the sight line point of the user; Control the target projector to automatically follow the projection according to the projection point and the sight point; After the target projector completes the automatic follow-up projection, performing a second optical detection on the optical data of the target projector to obtain a second detection result; A final detection result of the projector is generated according to the first detection result and the second detection result, and the final detection result of the projector is generated according to the first detection result and the second detection result, comprising: performing parameter extraction and comparison on the first detection result and the second detection result to obtain a key optical parameter comparison set; performing calculation and processing on parameter changes before and after automatic following projection according to the key optical parameter comparison set to obtain a parameter deviation matrix; performing statistical analysis on the parameter deviation matrix to obtain an automatic following influence index, and evaluating the dynamic stability performance of the projector according to the automatic following influence index to obtain a dynamic performance score; performing multi-dimensional analysis and processing on the dynamic performance score and the parameter deviation matrix to obtain an automatic following effect feature vector; and performing a comprehensive evaluation on the automatic following projection performance of the projector according to the automatic following effect feature vector to obtain a final detection result.

2. The method for testing projector optical data according to claim 1, characterized in that: The step of obtaining a test request of a target projector, starting the target projector based on the test request, and obtaining projection point information of the target projector includes: Acquire and parse a test request of a target projector, and initialize the target projector based on the parsing result to obtain initial projection parameters; Starting the target projector, and controlling the target projector to project a corresponding projection image on a projection surface based on the initial projection parameters; The projection image is photographed by an image capture device on the target projector to obtain image data containing projection points; Performing image processing on the image data to extract pixel coordinate information of the projection point, and performing coordinate conversion on the pixel coordinate information according to geometric parameters of the projector to obtain physical coordinate information of the projection point; The physical coordinate information is calibrated, and the calibrated physical coordinate information is used as the projection point information of the target projector.

3. The method for testing projector optical data according to claim 2, characterized in that: The optical data includes spectral data of the projection light of the target projector; The performing a first optical detection on the optical data of the target projector to obtain a first detection result includes: Performing spectral sampling processing on the projection light of the target projector to obtain original spectral data, and generating a color temperature distribution diagram and a color gamut diagram of the projection light according to the original spectral data; Performing spatial analysis on the color temperature distribution diagram to obtain a color temperature uniformity index; Performing brightness calibration processing on the projection image according to the color temperature uniformity index and the color gamut diagram to obtain a calibrated brightness distribution matrix; Performing contrast analysis on the brightness distribution matrix to obtain a local contrast map; A comprehensive evaluation is performed based on the local contrast map and the color gamut map to obtain a first detection result.

4. The method for testing projector optical data according to claim 1, characterized in that: The controlling the target projector to automatically follow the projection according to the projection point and the sight point comprises: Calculate the coordinate distance between the sight point and the projection point, and determine the magnitude relationship between the coordinate distance and a preset distance threshold; If it is determined that the coordinate distance is less than or equal to the distance threshold, calculating the adjustment angle of the target projector for automatic follow-up projection according to the coordinate distance; Performing interpolation smoothing processing on the adjustment angle to obtain a smooth adjustment curve, and generating a drive control instruction of a drive system of the target projector according to the smooth adjustment curve to obtain a drive control sequence; The driving system is controlled by the driving control instruction so that the target projector performs automatic follow-up projection.

5. The method for testing projector optical data according to claim 1, characterized in that: After the target projector completes the automatic follow-up projection, a second optical detection is performed on the optical data of the target projector to obtain a second detection result, and the method further includes: Performing dynamic range analysis on the second detection result to obtain a dynamic optical parameter set; Reconstructing the automatic following trajectory of the target projector during the automatic following projection process according to the dynamic optical parameter set to obtain an optical performance change curve; Performing inflection point detection processing on the optical performance change curve to obtain a key change node set, and evaluating the optical stability of the target projector according to the key change node set to obtain a stability index; Performing correlation analysis on the stability index and the second detection result to obtain a follow-up influence factor; The second detection result is corrected according to the follow-up influence factor to obtain a corrected second detection result.

6. The method for testing projector optical data according to claim 5, characterized in that: The performing inflection point detection processing on the optical performance change curve to obtain a key change node set, and evaluating the optical stability of the target projector according to the key change node set to obtain a stability index includes: Performing differentiation processing on the optical performance change curve to obtain a first-order derivative curve, and identifying local extreme value points in the first-order derivative curve to obtain a candidate inflection point set; Performing threshold screening on the candidate inflection point set to obtain a key change node set; The slopes of the curve segments between adjacent key change nodes in the key change node set are calculated to obtain a slope change sequence, and the optical stability of the target projector is evaluated according to the slope change sequence to obtain a stability index.

7. A device for testing optical data of a projector, characterized in that: The testing device for the projector optical data comprises: A test starting module, used to obtain a test request of a target projector, and start the target projector based on the test request to obtain a projection point of the target projector; A first detection module is used to perform a first optical detection on the optical data of the target projector to obtain a first detection result, and perform a sight line detection on the user to determine the sight line point of the user; An automatic following projection module, used for controlling the target projector to perform automatic following projection according to the projection point and the sight point; A second detection module, configured to perform a second optical detection on the optical data of the target projector after the target projector completes the automatic follow-up projection, to obtain a second detection result; A result generation module is used to generate a final detection result of the projector according to the first detection result and the second detection result, wherein the generating the final detection result of the projector according to the first detection result and the second detection result comprises: performing parameter extraction and comparison on the first detection result and the second detection result to obtain a key optical parameter comparison set; performing calculation and processing on parameter changes before and after automatic following projection according to the key optical parameter comparison set to obtain a parameter deviation matrix; performing statistical analysis on the parameter deviation matrix to obtain an automatic following influence degree index, and evaluating the dynamic stability performance of the projector according to the automatic following influence degree index to obtain a dynamic performance score; performing multi-dimensional analysis and processing on the dynamic performance score and the parameter deviation matrix to obtain an automatic following effect feature vector; performing a comprehensive evaluation on the automatic following projection performance of the projector according to the automatic following effect feature vector to obtain a final detection result.

8. A test device for projector optical data, characterized in that: The projector optical data testing device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the projector optical data testing device to perform the steps of the projector optical data testing method according to any one of claims 1 to 6.

9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by a processor, the steps of the method for testing projector optical data as described in any one of claims 1 to 6 are implemented.