Projector control method and device, projector and storage medium
By monitoring the fluctuations in projector sensor data, using a second sensor to collect data and determine the set conditions, the problem of false triggering caused by abnormal sensor vibration and external force vibration is solved, and the viewing experience and usage experience of the projected image are improved.
Patent Information
- Application Number
- CN202410458152.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-16
- Publication Date
- 2025-10-24
AI Technical Summary
When the projector's sensor data fluctuates abnormally, the speaker vibrates, or there is external force, it is easy to mistakenly trigger the ladder calibration or focus, affecting the visual experience of the projected image.
By monitoring the fluctuation of the first sensor data, the second sensor is used to collect the data of the projector, and the reference data is used to determine whether the set conditions are met. The picture correction is only performed after the data is stable.
It effectively avoids abnormal sensor data fluctuations and false triggering caused by external vibrations, and improves the viewing experience and user experience of the projected image.
Smart Images

Figure CN120835131A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of projectors, and particularly relates to a projector control method and device, a projector and a storage medium. BACKGROUND
[0002] A projector is a display device that can project an image or a video onto a projection surface (a screen or a wall, etc.). Based on the portability of the projector, a user can move the projector during projection to project the image or the video in different directions to meet different needs. Moreover, the projector is generally configured with a keystone or focusing function, and when a sensor detects that the projector is moved, the keystone or focusing function can be triggered.
[0003] However, in actual application, due to factors such as abnormal fluctuation of data collected by the sensor itself, vibration of the speaker of the projector, or vibration of the projector caused by other external forces, the data collected by the sensor is prone to fluctuation, which may cause the algorithm to mistakenly believe that the projector is moved, and thus the keystone or focusing function is mistakenly triggered, affecting the visual effect of the projection picture. SUMMARY
[0004] In view of this, in order to solve the technical problem of mistaken triggering of the keystone or focusing function due to factors such as abnormal fluctuation of data collected by the sensor itself, vibration of the speaker of the projector, or vibration of the projector caused by other external forces, the present disclosure provides a projector control method and device, a projector and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a projector control method is provided, and the projector control method comprises:
[0006] monitoring whether first data of a projector collected by a first sensor fluctuates;
[0007] if the first data fluctuates, collecting second data of the projector N times based on a second sensor; wherein N is a positive integer greater than or equal to 1;
[0008] if it is determined based on reference data that the N second data meet a set condition, and the first data no longer fluctuates, controlling the projector to perform picture correction.
[0009] In an optional embodiment, when the second sensor comprises a camera sensor, the second data comprises a current image collected by the camera sensor, the reference data comprises reference feature data, and the set condition comprises a first condition.
[0010] The determination based on the reference data that the N second data meet the set condition comprises:
[0011] determine, based on the reference feature data, that N of the current images satisfy the first condition.
[0012] In an optional implementation, when the second sensor comprises a time-of-flight sensor, the second data comprises current time-of-flight data collected by the time-of-flight sensor, the reference data comprises a reference value of a set parameter between the projector and the projection surface, and the set condition comprises a second condition.
[0013] The determining, based on the reference data, that N of the second data satisfy a set condition comprises:
[0014] determining, based on N of the current time-of-flight data, N of current values of the set parameter between the projector and the projection surface, wherein N of the current time-of-flight data and N of the current values correspond to each other in a one-to-one manner.
[0015] If a difference between at least one of the current values and the reference value is greater than or equal to a difference threshold, it is determined that N of the current time-of-flight data satisfy the second condition.
[0016] In an optional implementation, when the second sensor comprises a camera sensor and a time-of-flight sensor, the second data comprises current images collected by the camera sensor and current time-of-flight data collected by the time-of-flight sensor, the reference data comprises reference feature data and a reference value of a set parameter between the projector and the projection surface, and the set condition comprises a first condition and a second condition.
[0017] The determining, based on the reference data, that N of the second data satisfy a set condition comprises:
[0018] determining, based on the reference feature data, that N of the current images satisfy the first condition.
[0019] and / or,
[0020] determining, based on N of the current time-of-flight data, N of current values of the set parameter between the projector and the projection surface, wherein N of the current time-of-flight data and N of the current values correspond to each other in a one-to-one manner.
[0021] If a difference between at least one of the current values and the reference value is greater than or equal to a difference threshold, it is determined that N of the current time-of-flight data satisfy the second condition.
[0022] In an optional implementation, the determining, based on the reference feature data, that N of the current images satisfy the first condition comprises:
[0023] perform feature analysis on the N current images based on the reference feature data to determine N similarities between the N current images and the reference feature data; wherein the N current images and the N similarities correspond one-to-one;
[0024] If at least one of the similarities is greater than or equal to a similarity threshold, it is determined that the N current images satisfy a first condition.
[0025] In an optional implementation, the set parameters include at least one of the following:
[0026] a pitch angle, a yaw angle, and a distance value.
[0027] In an optional implementation, after the control of the projector to perform picture correction, the projector control method includes:
[0028] updating the reference data based on the data of the projector collected by the second sensor.
[0029] In an optional implementation, the projector control method includes:
[0030] After the projector is powered on, if the first data does not fluctuate, the reference data corresponding to the current power-on is determined based on the data of the projector collected by the second sensor.
[0031] In an optional implementation, the first sensor includes a gyroscope sensor and / or an acceleration sensor.
[0032] According to a second aspect of the embodiments of the present disclosure, a projector control device is provided, and the projector control device includes:
[0033] a monitoring module configured to monitor whether the first data of the projector collected by the first sensor fluctuates;
[0034] and is further configured to collect N second data of the projector based on the second sensor if the first data fluctuates; wherein N is a positive integer greater than or equal to 1;
[0035] a correction module configured to control the projector to perform picture correction if the N second data satisfy a set condition based on the reference data, and the first data no longer fluctates.
[0036] According to a third aspect of the embodiments of the present disclosure, a projector is provided, and the projector includes:
[0037] a processor;
[0038] a memory for storing instructions executable by the processor;
[0039] The processor is configured to perform the projector control method according to any one of the first aspect.
[0040] According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, and the storage medium stores one or at least one program, and the one or at least one program can be executed by one or at least one processor to implement the projector control method according to any one of the first aspect.
[0041] The technical solution provided by the embodiments of the present disclosure can have the following beneficial effects: in the present disclosure, when it is monitored that the data collected by the first sensor fluctuates, the data of the projector collected by the second sensor can be based on, and then when it is determined based on the reference data that the data collected by the second sensor meets the set condition, the projector is controlled to perform picture correction after the first data no longer fluctuates, so that the picture correction such as focusing and / or focusing can be better avoided due to the abnormal jumping of the data collected by the sensor itself, the vibration of the speaker of the projector or other external forces causing the projector to vibrate, and the like, the viewing experience of the projection picture can be better improved, and the use experience is improved.
[0042] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0043] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.
[0044] Figure 1 is a flowchart of a projector control method according to an exemplary embodiment.
[0045] Figure 2 is a block diagram of a projector control device according to an exemplary embodiment.
[0046] Figure 3 is a block diagram of a projector according to an exemplary embodiment. DETAILED DESCRIPTION
[0047] The embodiments of the present application will be described below with reference to the accompanying drawings and preferred embodiments, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in the specification. The present application can also be implemented or applied by means of other different specific embodiments, and the details in the specification can be modified or changed based on different views and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, and are not intended to limit the protection scope of the present application.
[0048] It is to be noted that the drawings provided in the following embodiments merely illustrate the basic concept of the present application in a schematic manner, and only the components related to the present application are shown in the drawings, rather than the number, shape and size of the components in actual implementation. The actual implementation of each component can be a random change, and the component layout pattern can be more complex.
[0049] The implementation manners of the present application will be described below with reference to the drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present specification. The present application can also be implemented or applied by other different specific embodiments, and each detail in the present specification can be modified or changed based on different views and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, but not for limiting the protection scope of the present application.
[0050] The present disclosure provides a projector control method and device, a projector and a storage medium. In the present disclosure, when it is monitored that the data collected by the first sensor fluctuates, the data of the projector collected by the second sensor is then acquired, and then, when it is determined based on the reference data that the data collected by the second sensor meets the set condition, the projector is controlled to perform picture correction after the first data no longer fluctuates, so that the picture correction such as focusing and / or focusing can be better avoided due to the abnormal fluctuation of the data collected by the sensor itself, the vibration of the speaker of the projector or other external force causing the projector to vibrate, and the visual effect of the projection picture can be better improved, and the use experience can be improved. In addition, the scheme of the present disclosure is simple, easy to implement, and has good practicability and economy.
[0051] In one example embodiment, a projector control method is provided, which can be applied to a projector. As shown in the drawings, the method can include: Figure 1 As shown in the drawings, the method can include:
[0052] S110, monitoring whether the first data of the projector collected by the first sensor fluctuates;
[0053] S120, if the first data fluctuates, acquiring the second data of the projector collected by the second sensor N times; wherein N is a positive integer greater than or equal to 1;
[0054] S130, if it is determined based on the reference data that the N second data meets the set condition, controlling the projector to perform picture correction after the first data no longer fluctuates.
[0055] In step S110, the first sensor can include a gyroscope sensor, can also include an acceleration sensor, and can also include other sensors for detecting whether the projector moves, which are not limited. Correspondingly, the first data can include the data of the projector collected by the gyroscope sensor, can also include the data of the projector collected by the acceleration sensor, and can also include the data of the projector collected by other sensors, which are not limited.
[0056] The gyroscope sensor can be used to measure and track the rotation angle of the object, so as to determine whether the projector moves. The acceleration sensor can detect the acceleration and direction when the device moves, so as to determine whether the projector moves.
[0057] The data of the projector currently collected by the first sensor can be recorded as current first data, and the data of the projector collected by the first sensor last time can be recorded as reference first data. If the difference between the current first data and the reference first data is relatively large, for example, the difference between the current first data and the reference first data is greater than or equal to a set threshold, it is considered that the first data fluctuates.
[0058] It should be noted that in addition to determining whether the first data fluctuates by the above-mentioned manner, it can also be determined by other manners, which are not limited.
[0059] In step S120, in the case that it is determined that the first data fluctuates, the data of the projector collected by the second sensor can be based on the second sensor, which can be recorded as second data. It should be noted that the second sensor can collect second data once, or can collect more than once, which are not limited.
[0060] It should be noted that the more times the second data collected by the second sensor, the better the error caused by single collection can be avoided, so as to ensure the reliability of the projector control method. The less times the second data collected by the second sensor, the better the data processing amount can be reduced, and the power consumption can be reduced. The number (N) of times of collecting the second data by the second sensor can be set based on actual conditions, and the specific value thereof can not be limited.
[0061] The second sensor can include a camera sensor, can also include a time of flight sensor, and can also include other sensors, which can be set based on actual needs, and the specific conditions of the sensor can not be limited. Time of flight is a distance measurement technology that calculates distance by measuring the time required for light or other signals to be transmitted and received. The camera sensor is a device that records images by focusing light on a light-sensitive element through an optical lens.
[0062] In step S130, the reference data can be data set by a user, which can represent that the projector is in a stable state required by the user. The specific data can be set according to the user's requirement, which is not limited. Of course, the reference data can also be data determined when the projector is in a non-moving state last time, that is, data determined when the first data of the projector is not fluctuated last time. Wherein, after the projector is turned on, in the case that the first data is not fluctuated, the data of the projector can be collected based on the second sensor, and then the reference data corresponding to the current time of turning on can be determined based on the collected data. After the reference data is determined, when the first data is monitored to fluctuate, whether the N second data meets the set condition can be determined based on the reference data.
[0063] Wherein, the set condition can be set based on actual requirement, for example, the set condition can be configured based on a threshold, or the set condition can be configured based on other information, which is not limited.
[0064] In some embodiments,
[0065] When the second sensor includes a camera sensor, the second data can include a current image collected by the camera sensor, the reference data can include reference feature data, and the set condition can include a first condition. In this case, whether the N current images meet the first condition can be determined based on the reference feature data. If it is determined that the N current images meet the first condition based on the reference feature data, it can be considered that the N second data meets the set condition based on the reference data.
[0066] In this embodiment, the N current images can be analyzed based on the reference feature data to determine N similarities between the N current images and the reference feature data, that is, to determine the similarity between each current feature image and the reference feature data. If at least one of the N similarities is greater than or equal to a similarity threshold, it is determined that the N current images meet the first condition. It should be noted that the similarity threshold can be determined according to actual conditions, and the specific value thereof can not be limited. For example, the similarity threshold can be 90%.
[0067] In some embodiments,
[0068] When the second sensor includes a time-of-flight sensor, the second data can include current time-of-flight data collected by the time-of-flight sensor, the reference data can include a reference value of a set parameter between the projector and the projection surface, and the set condition can also include a second condition. In this case, whether the N current time-of-flight data meets the second condition can be determined based on the reference value. If the N current time-of-flight data meets the second condition, it can be considered that the N second data meets the set condition based on the reference data.
[0069] It should be noted that the set parameter can include the pitch angle, can include the yaw angle, can include the distance value, and can be set to include other parameters according to actual needs, and no limitation is made thereto. For example, the set parameter can include the pitch angle, the yaw angle, and the distance value, in which case the reference data can include a first reference value of the pitch angle, a second reference value of the yaw angle, and a third reference value of the distance value between the projector and the projection surface.
[0070] In this embodiment, N current values of the set parameter between the projector and the projection surface can be determined based on N current time-of-flight data, that is, a corresponding current value can be determined based on each current time-of-flight data. Then, a difference between each current value and the reference value is determined, and if at least one of the N differences is greater than or equal to the difference threshold, it is determined that the N current time-of-flight data satisfies the second condition. It should be noted that the difference threshold can be set according to actual needs, and no limitation is made to the specific value thereof. For example, the difference threshold corresponding to the pitch angle and the yaw angle can be 1°, and the difference threshold corresponding to the distance value can be 1.5% of the corresponding reference value.
[0071] In some embodiments,
[0072] When the second sensor includes a camera sensor and a time-of-flight sensor, the second data can include a current image collected by the camera sensor and current time-of-flight data collected by the time-of-flight sensor, and the reference data can include reference feature data and reference values of the set parameter between the projector and the projection surface. In this case, if N current images are determined to satisfy the first condition based on the reference feature data, and / or N current time-of-flight data are determined to satisfy the second condition based on the reference values, it is considered that the second data satisfies the set condition based on the reference data.
[0073] That is, in this embodiment, determining that the second data satisfies the set condition based on the reference data can include three cases. Case 1, N current images satisfy the first condition based on the reference feature data; Case 2, N current time-of-flight data satisfy the second condition based on the reference values; and Case 3, N current images satisfy the first condition based on the reference feature data, and N current time-of-flight data satisfy the second condition based on the reference values.
[0074] It should be noted that determining that N current images satisfy the first condition based on the reference feature data and determining that N current time-of-flight data satisfy the second condition based on the reference values can be implemented according to the above-mentioned other embodiments, and no redundancy is made thereto.
[0075] In the method, when it is monitored that the data collected by the first sensor fluctuates, the data of the projector collected by the second sensor can be based on, and then, in the case that it is determined based on the reference data that the data collected by the second sensor satisfies the set condition, the projector is controlled to perform picture correction after the first data no longer fluctuates.
[0076] Compared with adjusting the trigger threshold of the sensor according to the size of the volume of the audio-video equipment, so as to eliminate the false triggering caused by the vibration of the loudspeaker, the method of the present application can better avoid false triggering of picture correction and / or focusing caused by abnormal fluctuation of the data collected by the sensor, vibration of the loudspeaker of the projector or other external forces causing the projector to vibrate, and can better improve the viewing of the projection picture and enhance the use experience. In addition, the scheme of the method is simple and easy to implement, and has good practicability and economy.
[0077] In one exemplary embodiment, a projector control method applicable to a projector is provided. In the method, the first sensor can include a gyroscope sensor and an acceleration sensor, and the second sensor can include a camera sensor.
[0078] In the method, after the projector is turned on, in the case that the first data detected by the first sensor does not fluctuate, that is, in the case that the first data is in a stable state, it is indicated that the projector does not move, and in this case, an image can be collected by the camera sensor, and then image preprocessing is performed on the image, so as to better perform subsequent feature analysis.
[0079] The image preprocessing can include image denoising, image enhancement and other operations, and is not limited to this. After the above image preprocessing is completed, feature extraction can be performed on the image, the feature data of the image is analyzed and saved, as the initial reference feature data corresponding to the current time of turning on, for use in subsequent feature analysis.
[0080] In the method, when it is monitored that the data collected by the first sensor fluctuates, the data of the projector collected by the second sensor can be based on, and then, in the case that it is determined based on the reference data that the data collected by the second sensor satisfies the set condition, the projector is controlled to perform picture correction after the first data no longer fluctuates.
[0081] Wherein, after the picture correction is completed, a new image can be collected by the camera sensor, and the feature data of the image is extracted, and then the feature data is used to replace the original reference feature data, that is, the feature data is used as the new reference feature data, so as to control the subsequent picture correction.
[0082] Wherein, the similarity between the current feature data and the reference feature data can be determined based on a local feature matching algorithm, or the similarity between the current feature data and the reference feature data can be determined based on a structure matching algorithm, or the similarity between the current feature data and the reference feature data can be determined in other ways, which are not limited.
[0083] Wherein, when the similarity between the current feature data and the reference feature data is determined based on a local feature matching algorithm, SIFT, SURF, ORB and other algorithms can be used to detect key points in the image and extract local feature descriptors around the key points. Then, the similarity between the two images is determined by matching these descriptors.
[0084] Wherein, when the similarity between the current feature data and the reference feature data is determined based on a structure matching algorithm, the similarity can be determined based on shape context matching or contour-based matching, which are not limited.
[0085] In this method, when the data collected by the first sensor is found to fluctuate, at least one current image can be collected based on the camera sensor, and then when the similarity between the feature data of the at least one current image and the reference feature data is greater than or equal to the similarity threshold, the projector is controlled to perform picture correction after the first data no longer fluctuates, so that the picture correction such as focusing and / or focusing can be better avoided due to the abnormal jumping of the sensor data itself, the vibration of the projector's speaker or other external forces causing the projector to vibrate, and the projection picture can be better improved to improve the use experience.
[0086] In one example embodiment, a projector control method is provided, which can be applied to a projector. In this method, the first sensor can include a gyroscope sensor and an acceleration sensor, and the second sensor can include a time-of-flight sensor.
[0087] In this method, after the projector is turned on, when the first data detected by the first sensor does not fluctuate, that is, when the first data is in a stable state, it means that the projector does not move, in this case, the time-of-flight data can be collected by the time-of-flight sensor, and then the pitch angle, yaw angle and distance value between the projector and the projection surface are calculated based on the time-of-flight data, and the calculated values are used as a set of reference values.
[0088] When the first data collected by the first sensor is detected to fluctuate, the time-of-flight sensor is controlled to collect one or more current time-of-flight data immediately, and then the pitch angle, the yaw angle and the distance value between the projector and the projection surface at this moment are calculated based on each current time-of-flight data as a set of current values corresponding to the current time-of-flight data.
[0089] Then, the difference between each current value and the corresponding reference value is calculated, and it is determined whether the difference exceeds the corresponding difference threshold. If all the differences do not exceed the corresponding difference threshold, no picture correction such as keystone correction or focusing is performed. If at least one difference is greater than or equal to the corresponding difference threshold, the picture correction such as keystone correction or focusing is performed after the projector stops moving. That is, after the first data no longer fluctuates, the projector is controlled to perform the picture correction such as keystone correction or focusing.
[0090] In some embodiments,
[0091] The difference threshold corresponding to the pitch angle and the yaw angle can be 1°, and the difference threshold corresponding to the distance value can be 1.5% of the corresponding reference value. In the reference data, the reference value corresponding to the pitch angle is A0, the reference value corresponding to the yaw angle is B0, and the reference value corresponding to the distance value is C0. In this embodiment, the time-of-flight sensor collects one current time-of-flight data, and then determines the current value corresponding to the pitch angle as A1, the current value corresponding to the yaw angle as B1, and the current value corresponding to the distance value as C1 based on the above current time-of-flight data. In this embodiment, if the difference angle between A0 and A1 is less than 1°, the difference angle between B0 and B1 is less than 1°, and the difference distance between C0 and C1 is less than 1.5%*C0, no picture correction is performed. Otherwise, the picture correction such as keystone correction or focusing is performed after the projector stops moving. That is, after the first data no longer fluctuates, the projector is controlled to perform the picture correction such as keystone correction or focusing.
[0092] After the picture correction is completed, a new time-of-flight data can be collected by the time-of-flight sensor, and the pitch angle, the yaw angle and the distance value between the projector and the projection surface at this moment are calculated based on the newly collected time-of-flight data, and then the above newly calculated data is used to replace the original reference value, that is, the above newly calculated data is used as a new set of reference values for subsequent control of picture correction.
[0093] It should be noted that when determining whether the first data fluctuates, no time threshold is set, but the fluctuation is determined based on instantaneous data. As long as the data fluctuates, the time-of-flight sensor is controlled to collect one or more current time-of-flight data immediately.
[0094] In the method, when it is monitored that the data collected by the first sensor fluctuates, at least one current time-of-flight data can be collected based on the time-of-flight sensor, and then the pitch angle, the yaw angle and the distance value between the current projector and the projection surface are calculated based on the current time-of-flight data as current values. When the difference between the at least one current value and the corresponding reference value is greater than or equal to the percentage threshold value of the corresponding reference value, the projector is controlled to perform picture correction after the first data no longer fluctuates, so that the picture correction such as gradient correction and / or focusing can be better avoided due to abnormal data fluctuation of the sensor, vibration of the speaker of the projector or other external force causing the projector to vibrate, and the projection picture can be better improved and the use experience can be improved.
[0095] In an example embodiment, a projector control method is provided, which can be applied to a projector. In the method, the first sensor can include a gyroscope sensor and an acceleration sensor, and the second sensor can include a camera sensor and a time-of-flight sensor.
[0096] In the method, after the projector is turned on, when the first data detected by the first sensor does not fluctuate, a time-of-flight data can be collected by the time-of-flight sensor, and then the pitch angle, the yaw angle and the distance value between the projector and the projection surface are calculated based on the time-of-flight data as a set of reference values. At the same time, an image can be collected by the camera sensor, and then image preprocessing is performed on the image. After the image preprocessing is completed, feature extraction is performed on the image, and the feature data of the image is analyzed and saved as initial reference feature data corresponding to the current start-up. The reference values and the reference feature data can be recorded as original reference data corresponding to the current start-up.
[0097] When it is monitored that the first data collected by the first sensor fluctuates, one or more current images can be immediately collected by the camera sensor, and one or more current time-of-flight data can be immediately collected by the time-of-flight sensor.
[0098] Then, feature analysis is performed on the collected current images to determine the current feature data corresponding to each current image. Then, the current feature data is compared with the reference feature data. Based on each current time-of-flight data, the pitch angle, the yaw angle and the distance value between the projector and the projection surface at this time are calculated as a set of current values corresponding to the current time-of-flight data. Then, the difference between each current value and the corresponding reference value is calculated, and it is judged whether the difference exceeds the corresponding difference threshold value.
[0099] If the similarity between the current feature data and the reference feature data does not reach a pre-set similarity threshold (e.g., 90%) and the difference does not exceed the corresponding difference threshold, no picture correction such as gradient correction or focusing is performed. Otherwise, the picture correction such as gradient correction or focusing is performed after the projector stops moving. That is, the picture correction such as gradient correction or focusing is performed by the projector after the first data stops fluctuating.
[0100] After the picture correction is completed, a new image can be captured by the camera sensor, and a new time-of-flight data can be captured by the time-of-flight sensor. Then, the feature data of the image is extracted, and the feature data is used to replace the original reference feature data, that is, the feature data is used as new reference feature data, and
[0101] The pitch angle, the yaw angle, and the distance value between the projector and the projection surface can be calculated based on the newly captured time-of-flight data, and the newly calculated data is used to replace the original reference value, that is, the newly calculated data is used as a new set of reference values. In this way, the update of the reference data is completed.
[0102] In the method, when the first data captured by the first sensor is found to fluctuate, the data of the projector captured by the second sensor is used, and the picture correction is performed by the projector after the first data stops fluctuating when the data captured by the second sensor meets the set condition based on the reference data. Thus, the picture correction such as gradient correction and / or focusing can be better avoided due to the abnormal fluctuation of the data captured by the sensor, the vibration of the speaker of the projector, or other external forces causing the vibration of the projector, and the projection picture can be better improved, and the user experience can be better improved. In addition, the method has a simple scheme, is easy to implement, and has good practicability and economy.
[0103] In one example embodiment, a projector control device is provided for a projector. The device can be used to implement the above-mentioned projector control method. For example, referring to FIG. 10, the device can include a monitoring module 10 and a correction module 20. Figure 2
[0104] The monitoring module 10 is configured to monitor whether the first data of the projector captured by the first sensor fluctuates.
[0105] The monitoring module 10 is further configured to, if the first data fluctuates, capture N times of second data of the projector by the second sensor, where N is a positive integer greater than or equal to 1.
[0106] The correction module 20 is configured to, if the N second data meets the set condition based on the reference data, control the projector to perform the picture correction after the first data stops fluctuating.
[0107] In one example embodiment, a projector control device is provided, which is applied to a projector. Referring to Figure 2 As shown, in the device, the correction module 20 can be configured to:
[0108] When the second sensor comprises a camera sensor, the second data comprises a current image captured by the camera sensor, the reference data comprises reference feature data, and the N current images are determined to satisfy the first condition based on the reference feature data;
[0109] and / or,
[0110] When the second sensor comprises a time-of-flight sensor, the second data comprises current time-of-flight data captured by the time-of-flight sensor, the reference data comprises reference values of the set parameters between the projector and the projection surface, and the N current time-of-flight data are determined to satisfy the second condition based on the reference values;
[0111] and / or,
[0112] When the second sensor comprises a camera sensor and the time-of-flight sensor, the second data comprises a current image captured by the camera sensor and current time-of-flight data captured by the time-of-flight sensor, the reference data comprises reference feature data and reference values of the set parameters between the projector and the projection surface, and the N current images are determined to satisfy the first condition based on the reference feature data, and / or the N current time-of-flight data are determined to satisfy the second condition based on the reference values.
[0113] In one example embodiment, a projector control device is provided, which is applied to a projector. Referring to Figure 2 As shown, in the device, the correction module 20 can be configured to:
[0114] performing feature analysis on the N current images based on the reference feature data to determine N similarities between the N current images and the reference feature data; wherein the N current images and the N similarities are in one-to-one correspondence;
[0115] If at least one similarity is greater than or equal to a similarity threshold, the N current images are determined to satisfy the first condition.
[0116] In one example embodiment, a projector control device is provided, which is applied to a projector. Referring to Figure 2 As shown, in the device, the correction module 20 can be configured to:
[0117] determining N current values of the set parameters between the projector and the projection surface based on the N current time-of-flight data; wherein the N current time-of-flight data and the N current values are in one-to-one correspondence;
[0118] If the difference between at least one current value and the reference value is greater than or equal to the difference threshold, it is determined that the N current flight time data meet the second condition.
[0119] In an exemplary embodiment, a projector control device is provided, which is applied to a projector. In the device, setting parameters include at least one of the following:
[0120] Pitch angle, yaw angle, and distance value.
[0121] In an exemplary embodiment, a projector control device is provided, which is applied to a projector. Figure 2 As shown, in the device, the correction module 20 can be used to:
[0122] After controlling the projector to perform image correction, data of the projector is collected based on the second sensor to update the reference data.
[0123] In an exemplary embodiment, a projector control device is provided, which is applied to a projector. Figure 2 As shown, in the device, the correction module 20 can be used to:
[0124] After the projector is powered on, if the first data does not fluctuate, data of the projector is collected based on the second sensor to determine reference data corresponding to the current power-on.
[0125] In an exemplary embodiment, a projector is provided, which may include any device with a projection function, without limitation.
[0126] refer to Figure 3 As shown, the projector 100 may include at least one processor 101, a memory 102, at least one network interface 104, and another user interface 103. The various components in the projector 100 are coupled together via a bus system 105. It will be appreciated that the bus system 105 is used to enable communication between these components. In addition to a data bus, the bus system 105 also includes a power bus, a control bus, and a status signal bus. However, for clarity, all of these buses will be labeled as the bus system 105.
[0127] The user interface 103 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball), a touch pad, or a touch screen.
[0128] It is to be appreciated that the memory 102 in the embodiments of the present application can be a volatile memory or a nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), which is used as an external cache. By way of example, and not limitation, a number of forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). Memory 102 described herein is intended to include, without being limited to, these and any other suitable types of memory.
[0129] In some embodiments, the memory 102 stores the following elements, executable units or data structures, or a subset of them, or an extended set of them: an operating system 1021 and an application program 1022.
[0130] The operating system 1021 contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 1022 contains various application programs, such as a Media Player, a Browser, etc., for implementing various application services. The program for implementing the method of the embodiments of the present application can be included in the application program 1022.
[0131] In the embodiments of the present application, the processor 101 is configured to execute the method provided by each method embodiment by invoking the program or instruction stored in the memory 102, specifically, the program or instruction stored in the application program 1022.
[0132] The method disclosed by the embodiments of the present application can be applied to the processor 101 or implemented by the processor 101. The processor 101 can be an integrated circuit chip having a signal processing capability. In the implementation process, the steps of the method can be completed by an integrated logic circuit or an instruction in the form of software in the processor 101. The processor 101 described above can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as a hardware code processor for execution, or a combination of hardware and software units in the code processor for execution. The software unit can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and combines the hardware to complete the above method.
[0133] It can be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or at least one application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other electronic unit for executing functions described in the present application, or a combination thereof.
[0134] For software implementation, the technology described herein can be implemented by units performing functions described herein. Software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0135] The embodiment of the present application further provides a storage medium (computer readable storage medium). The storage medium stores one or at least one program. The storage medium can include a volatile memory such as a random access memory, and can also include a non-volatile memory such as a read-only memory, a flash memory, a hard disk or a solid state disk, and can also include a combination of the above-mentioned memories.
[0136] When the one or at least one program stored in the storage medium is executed by the one or at least one processor. When the storage medium is applied to the projector, the above-mentioned method executed by the projector can be implemented. The processor is used to execute the control program of the projector stored in the memory, so as to implement the above-mentioned method executed by the projector.
[0137] Those skilled in the art should further appreciate that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be realized in electronic hardware, computer software, or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, each example has been described in general terms in the above description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0138] It should be noted that in the specification, "one embodiment", "an embodiment", "exemplary embodiment", "some embodiments" and the like mean that the described embodiment can include a particular feature, structure or characteristic, but not necessarily every embodiment. In addition, such phrases do not necessarily refer to the same embodiment. In addition, when a particular feature, structure or characteristic is described in connection with an embodiment, it is within the knowledge of those skilled in the art to implement such feature, structure or characteristic in connection with other embodiments described explicitly or implicitly.
[0139] It should be noted that in this paper, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or projector including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or projector. Without more limitations, the element defined by the sentence "including a" does not exclude the existence of other identical elements in the process, method, article or projector including the element.
[0140] The above embodiments are only preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Any equivalent replacement or transformation of the present application made by those skilled in the art based on the present application is within the protection scope of the present application.
Claims
1. A method of controlling a projector, characterized by, The projector control method includes: monitoring whether first data of the projector collected by the first sensor fluctuates; If the first data fluctuates, collecting the second data of the projector N times based on the second sensor; wherein N is a positive integer greater than or equal to 1; If it is determined based on the reference data that the N second data meet the set conditions, the projector is controlled to perform image correction after the first data no longer fluctuates.
2. The projector control method according to claim 1, characterized in that, When the second sensor includes a camera sensor, the second data includes a current image captured by the camera sensor, the reference data includes reference feature data, and the set condition includes a first condition; The determining, based on the reference data, that the N second data satisfy a set condition includes: It is determined based on the reference feature data that the N current images satisfy the first condition.
3. The projector control method according to claim 2, characterized by, When the second sensor includes a time-of-flight sensor, the second data includes current time-of-flight data collected by the time-of-flight sensor, the reference data includes a reference value of a setting parameter between the projector and the projection surface, and the setting condition includes a second condition; The determining, based on the reference data, that the N second data satisfy a set condition includes: Determining N current values of the setting parameters between the projector and the projection surface based on the N current flight time data; wherein the N current flight time data correspond one to one to the N current values; If the difference between at least one of the current values and the reference value is greater than or equal to a difference threshold, it is determined that the N current flight time data meet the second condition.
4. The projector control method according to claim 2, wherein: When the second sensor includes a camera sensor and a time-of-flight sensor, the second data includes a current image captured by the camera sensor and current time-of-flight data captured by the time-of-flight sensor, the reference data includes reference feature data and reference values of setting parameters between the projector and the projection surface, and the setting conditions include a first condition and a second condition; The determining, based on the reference data, that the N second data satisfy a set condition includes: Determining, based on the reference feature data, that N current images satisfy the first condition; and / or, Determining N current values of the setting parameters between the projector and the projection surface based on the N current flight time data; wherein the N current flight time data correspond one to one to the N current values; If the difference between at least one of the current values and the reference value is greater than or equal to a difference threshold, it is determined that the N current flight time data meet the second condition.
5. The projector control method according to claim 2 or 4, characterized by, The determining, based on the reference feature data, that the N current images satisfy the first condition includes: performing feature analysis on the N current images based on the reference feature data to determine N similarities between the N current images and the reference feature data; wherein the N current images correspond one to one with the N similarities; If at least one of the similarities is greater than or equal to a similarity threshold, it is determined that the N current images meet the first condition.
6. The projector control method according to claim 3 or 4, characterized by, The setting parameters include at least one of the following: Pitch, yaw, and distance values.
7. The method of claim 1-4, wherein, After the control of the projector to carry out picture correction, the projector control method comprises: Based on the second sensor collecting the data of the projector, updating the reference data.
8. The method of claim 1-4, wherein, The projector control method comprises: After the projector is started, in the case where the first data does not fluctuate, based on the second sensor collecting the data of the projector, determining the reference data corresponding to the current start.
9. The method of claim 1-4, wherein, The first sensor comprises a gyroscope sensor and / or an acceleration sensor.
10. A projector control device, characterized by comprising: The projector control device comprises: A monitoring module is configured to monitor whether the first data of the projector collected by the first sensor fluctuates; And if the first data fluctuates, the second sensor collects the second data of the projector for N times, wherein N is a positive integer greater than or equal to 1; A correction module is configured to, if the N second data determined based on the reference data satisfies a set condition, control the projector to carry out picture correction after the first data no longer fluctuates.