Control method of projection equipment and projection equipment
By adjusting the optical-mechanical brightness of the projection equipment to reduce power frequency interference fringes, and performing automatic correction at the target brightness, the problem of low projector image clarity is solved and the correction accuracy and user experience are improved.
Patent Information
- Application Number
- CN202310905261.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-21
- Publication Date
- 2025-01-21
AI Technical Summary
When using a projector for projection, the images collected by the camera module are often affected by the industrial frequency interference fringes, resulting in poor image clarity, which in turn affects the projector's correction accuracy.
Obtain the current projection image of the projection device through the camera module, and adjust the optical machine brightness to the target brightness to reduce power frequency interference stripes. Then, an automated correction step of the projected image is performed at the target brightness.
By adjusting the brightness of the optical machine, the power frequency interference fringes of the projected image are reduced, and the clarity of the projected image is improved, thereby improving the projector's calibration accuracy and user experience.
Smart Images

Figure CN119342186A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of projection technology, and in particular to a control method for a projection device and a projection device. Background Art
[0002] When using a projector for projection, it is usually necessary to calibrate the projected image. Specifically, the camera module in the projector can shoot the projected image projected by the optical machine onto the screen, and the projected image can be processed by an image algorithm to focus, calibrate, and enter the projected image. However, when using a camera module to shoot the optical machine projection area, affected by factors such as the optical machine's own frequency and the ambient light frequency, industrial frequency interference stripes will appear on the image captured by the camera module. Such industrial frequency interference stripes will cause the captured image to have poor clarity, thereby affecting the accuracy of subsequent corrections of the projector. Summary of the invention
[0003] The present application at least provides a control method for a projection device and a projection device.
[0004] In a first aspect, the present application provides a method for controlling a projection device, comprising:
[0005] Acquire the current projection image of the projection device through the camera module;
[0006] By adjusting the optical and mechanical brightness of the projection device to a target brightness, the projection image meets the preset conditions;
[0007] When the optical machine brightness is at the target brightness, a step of automatically correcting the projection image is performed on the projection device.
[0008] In an optional implementation manner, the method further includes:
[0009] Under the current projection picture, obtaining the initial brightness corresponding to the optical machine in the projection device;
[0010] When the optical machine is at the initial brightness, image features of the projection picture are extracted.
[0011] In an optional implementation manner, the method further includes:
[0012] A target image feature is obtained, where the target image feature is extracted from a target projection screen, where the target projection screen is a projection screen projected by the projection device during a test phase before the device leaves the factory, and is an image stored when a preset condition is met.
[0013] In an optional implementation manner, the method further includes:
[0014] Determining the similarity between the image feature and the target image feature;
[0015] When the similarity is less than or equal to a preset value, the initial brightness is adjusted to re-execute the step of extracting the image features of the projection picture until the similarity is greater than the preset value to obtain the target brightness.
[0016] In an optional implementation manner, the step of re-executing the step of extracting the image features of the projection picture by adjusting the initial brightness includes:
[0017] The initial brightness is adjusted by using a brightness gradient downward method to re-execute the step of extracting the image features of the projection picture.
[0018] In an optional implementation manner, the brightness value of the brightness gradient downward is a fixed value or is determined by the similarity;
[0019] The smaller the similarity is, the larger the brightness value of the brightness gradient is, and the larger the similarity is, the smaller the brightness value of the brightness gradient is.
[0020] In an optional implementation manner, the step of automatically correcting the projection image includes at least one of the following:
[0021] Focus, ladder calibration, scene entry or obstacle avoidance.
[0022] In an optional implementation manner, the method further includes:
[0023] After the projection device completes the step of automatically correcting the projection image, the optical machine is controlled to switch from the target brightness to the initial brightness, wherein the target brightness is less than the initial brightness.
[0024] In a second aspect, the present application provides a projection device, comprising:
[0025] A camera module, used to obtain the current projection image of the projection device;
[0026] An optical-mechanical module, used for adjusting the optical-mechanical brightness of the projection device to a target brightness so that the projection image meets a preset condition;
[0027] The correction module performs the step of automatically correcting the projection image on the projection device when the optical machine brightness is at the target brightness.
[0028] In a third aspect, the present application provides a projection device, comprising: a processor and a memory, wherein the processor is used to execute a control program of the projection device stored in the memory to implement the control method of the projection device described in any one of the first aspects.
[0029] In the present application, first, the first projection screen of the current projection can be obtained, and the current projection screen of the display device can be obtained, and the first brightness of the current projection screen can be determined. Then, the corresponding image features can be extracted from the projection screen, and the similarity between the image features and the target features can be determined, wherein the target features are features extracted from the target screen. Here, the target screen can be a projection screen with no interference or weak interference. Next, the second brightness corresponding to the projection screen can be determined when the similarity meets the preset conditions, and the first brightness corresponding to the projection screen can be adjusted to the second brightness. Therefore, the present application can reduce the power frequency interference stripes of the projection screen by adjusting the brightness of the projection screen, so that the projection screen achieves a higher clarity, and then perform an automatic correction step of the projection screen, so that the user has a better experience of viewing the automatically corrected projection screen.
[0030] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solution of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0032] Figure 1 A flow chart showing a method for controlling a projection device provided by the present application is shown;
[0033] Figure 2 A flow chart showing another method for controlling a projection device provided by the present application is shown;
[0034] Figure 3 A flow chart showing another method for controlling a projection device provided by the present application is shown;
[0035] Figure 4 A flow chart showing another method for controlling a projection device provided by the present application is shown;
[0036] Figure 5 A schematic diagram of a projection device provided by the present application is shown;
[0037] Figure 6 A schematic diagram of another projection device provided by the present application is shown. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below in conjunction with the drawings in the present application. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The components of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.
[0039] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0040] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0041] To facilitate understanding of this embodiment, a control method for a projection device disclosed in this application is first introduced in detail. The execution subject of the control method for a projection device provided in this application is generally a projection device. In some possible implementations, the control method for the projection device can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0042] See also Figure 1 As shown, it is a flow chart of a control method of a projection device provided by the present application, the method comprises steps S101 to S107, wherein:
[0043] S101: Acquire the current projection image of the projection device through a camera module.
[0044] In the present application, the projection device may be, but is not limited to, a projector, on which a camera module is provided, and the camera module is used to capture a projection image of the projection device, and the camera module may be a camera.
[0045] Furthermore, when it is detected that the projection device is started and there is a projection picture, the camera module is awakened, and the current projection picture of the projection device is obtained through the camera module. The projection picture can be directly projected onto a screen or a flat wall.
[0046] Specifically, the projection picture can be understood as being extracted from the image captured by the camera module, for example, the projection picture is obtained by partially extracting the image captured by the camera module. S103: Adjusting the optical brightness of the projection device to the target brightness so that the projection picture meets the preset conditions.
[0047] In the present application, the projection device is also provided with an optical machine, which is used to provide a light source for the projection device, and the brightness of the light source is adjustable.
[0048] In the initial stage of the projection device, the optical machine of the projection device is configured to an initial brightness. When the optical machine is at the initial brightness, the projection image projected by the projection device may have power frequency interference stripes, resulting in unclear projection images.
[0049] Furthermore, the present application adjusts the optical brightness of the projection device to reduce the power frequency interference stripes in the projection image, thereby making the clarity of the projection image meet the preset conditions. The preset conditions can be understood as the optimal clarity of the projection image with the least power frequency interference stripes.
[0050] Specifically, the process of adjusting the optical brightness of the projection device can be understood as a step-by-step process, which is adjusted in sequence until the projection picture meets the preset conditions. The target brightness corresponding to the optical machine is found. The target brightness can be understood as: the projection picture of the optical machine at this brightness meets the preset conditions.
[0051] It should be understood that after determining the target brightness, the distance information between the projection device and the projection area can be analyzed based on the projection picture. Specifically, the distance information between the projection device and the projection area can be estimated based on the size of the collected projection picture. The specific method of determining the distance information is not limited in this application, and is subject to implementation. After determining the distance information, a mapping relationship between the distance information and the corresponding target brightness can be established, and the mapping relationship can be stored in a mapping table.
[0052] When the projection device is started again, the real-time projection picture can be obtained to analyze the real-time projection picture and obtain the distance information between the real-time projection picture and the projection area. Then, the target brightness having a mapping relationship with the distance information can be found in the above mapping table, and the optical and mechanical brightness of the projection device can be directly adjusted to the target brightness, thereby improving the efficiency of determining the target brightness.
[0053] S105: When the optical machine brightness is at the target brightness, perform a step of automatically correcting the projection image on the projection device.
[0054] In the present application, the automated correction step can be used to instruct adjustment of the projection parameters of the projection device to improve the viewability of the projected image and enhance the viewing experience of the user. Specifically, when one or more correction steps are included in the automated correction, a correction order can be pre-set when multiple correction steps are included, and based on the correction order, the automated correction steps of the projected image are sequentially performed on the projection device. Here, the specific correction steps included in the automated correction are described as follows and will not be expanded here.
[0055] In a specific implementation, before executing each correction step based on the above correction order, it can be determined whether the current projection picture meets the execution conditions for executing the correction step. If so, the correction step is executed. If not, it is determined whether the projection picture has achieved the correction target of the correction step. If so, the correction conditions of the next correction step are executed. If not, the target brightness is redetermined to re-execute the steps of automatic correction of the projection picture on the projection device.
[0056] It can be seen from the above description that in the present application, first, the current projection screen of the projection device can be obtained through the camera module, and the projection screen can be adjusted to the target brightness by adjusting the optical and mechanical brightness of the projection screen to meet the preset conditions. Then, the step of automatic correction of the projection screen can be performed on the projection device at the target brightness. Therefore, the present application can reduce the power frequency interference stripes of the projection screen by adjusting the optical and mechanical brightness, so that the projection screen can achieve a higher clarity, and then perform the automatic correction step of the projection screen, so that the user can have a better experience of viewing the automatically corrected projection screen.
[0057] like Figure 2 FIG. 1 is a flow chart of another method for controlling a projection device provided by the present application, wherein the method comprises steps S201 to S202, wherein:
[0058] S201: Under the current projection picture, obtaining the initial brightness corresponding to the optical machine in the projection device.
[0059] S202: When the optical machine is at the initial brightness, extract image features of the projection image.
[0060] In the present application, under the current projection screen, the optical-mechanical parameters of the projection device can be obtained, and based on the optical-mechanical parameters, the current brightness value of the optical machine can be read, and the brightness value can be determined as the above-mentioned initial brightness.
[0061] Next, when the optical machine is at the initial brightness, the image features of the projection picture can be extracted. Specifically, the image features corresponding to the projection picture can be extracted by an image analysis algorithm, and the image features include multiple feature points, wherein the feature points refer to points in the projection picture that have distinct characteristics and can effectively reflect the essential features of the projection picture, and can identify objects in the image.
[0062] Here, the projection picture can be preprocessed first. Considering that the projection picture is often affected by external environmental noise during digitization and transmission, the projection picture can be denoised first. Next, the denoised projection picture can be image enhanced to enhance the image features and improve the visual effect of the projection picture. The specific implementation methods of denoising and image enhancement processing are not limited in this application, and are subject to what can be implemented.
[0063] After the projection picture is preprocessed, feature points in the projection picture may be extracted to obtain image features of the projection picture. Here, the method of extracting feature points in the image is subject to practicability and is not specifically limited in the present disclosure.
[0064] In the present application, the image features of the projection picture when the optical machine is at the initial brightness can be extracted, so as to facilitate the comparison of the image features with the target image features described below, so that the comparison results can indicate the similarity between the projection picture at the initial brightness and the target projection picture described below.
[0065] In an optional embodiment, after extracting the image features of the projection image, the above Figure 1 The corresponding embodiment also includes the following process:
[0066] A target image feature is obtained, where the target image feature is extracted from a target projection screen, where the target projection screen is a projection screen projected by the projection device during a test phase before the device leaves the factory, and is an image stored when a preset condition is met.
[0067] In the present application, the target projection screen is a screen containing the same content as the projection screen, and the target projection screen meets the correction conditions, that is, the number of power frequency interference stripes in the target projection screen is small or there are no interference stripes.
[0068] It should be understood that, in the test phase before the projection device leaves the factory, in order to adapt to different calibration environments, at least one calibration image can be set for the projection device, and the calibration image can be projected by the projection device. Then, the number of power frequency interference fringes in the projection image captured by the camera module can be reduced by adjusting the optical machine brightness, so as to obtain the preset projection images corresponding to each calibration image. Next, the image features of each preset projection image can be extracted and stored in the query file.
[0069] Based on this, a correction image can be added to the multimedia data to be projected, so that when the projection device projects the multimedia data to be projected, the correction image is also projected into the projection area, so that the camera module can capture the projection picture corresponding to the correction image.
[0070] After determining the image features corresponding to the projection screen, the image features stored in the query file can be compared one by one to obtain target image features that match the image features of the projection screen, wherein the target image features can be the image features in the query file that have the highest similarity to the image features of the projection screen. Here, the preset projection screen corresponding to the target image features can be determined as the target projection screen.
[0071] In the present application, during the testing phase before the projection device leaves the factory, the projection device can adapt to a variety of possible correction environments, determine at least one preset projection screen, and store the image features of each preset projection screen in a query file, thereby facilitating the subsequent correction of the projection screen of the projection device by directly searching for the target image features corresponding to the image features of the current projection screen based on the query file.
[0072] like Figure 3 FIG. 1 is a flow chart of another method for controlling a projection device provided by the present application, wherein the method comprises steps S301 to S302, wherein:
[0073] S301: Determine the similarity between the image feature and the target image feature.
[0074] S302: When the similarity is less than or equal to a preset value, the initial brightness is adjusted to re-execute the step of extracting the image features of the projection picture until the similarity is greater than the preset value to obtain a target brightness.
[0075] In the present application, the above similarity can be used to indicate the proportion of power frequency interference stripes in the projection picture. Specifically, the higher the similarity between the image feature and the target image feature, the fewer power frequency interference stripes in the projection picture.
[0076] When determining the similarity, the initial brightness of the optical machine can be gradually adjusted multiple times according to a certain brightness gradient until the brightness of the optical machine reaches the target brightness. Specifically, after each adjustment of the initial brightness, the camera module can capture the current projection image of the projection device under the brightness of the optical machine and extract the image features of the projection image.
[0077] Next, the similarity between the extracted image features and the target image features may be determined, and the similarity may be compared with a preset value.
[0078] In an optional solution of the embodiment of the present invention, the similarity involved above can be calculated by the following formula:
[0079] Accordingly, the preset value corresponding to the above similarity can be set to: (80%).
[0080] For example, the calculated similarity is 85%, which is greater than the preset value 80%. It can be determined that the projection picture at this time meets the preset conditions. Therefore, the optical machine brightness corresponding to the projection picture with a similarity of 85% is used as the target brightness.
[0081] For another example, the calculated similarity is 62%, which is less than the preset value of 80%. It can be determined that the projection picture at this time does not meet the preset conditions. Therefore, the optical machine brightness can continue to be adjusted according to the above brightness gradient, and the similarity between the above image features and the target image features can be calculated in real time until the similarity is greater than or equal to the preset value.
[0082] In the present application, the initial brightness of the optical machine can be gradually adjusted multiple times according to a certain brightness gradient, and after each adjustment, the image features of the projected picture are re-extracted, and the image features are compared with the target image features to determine the target brightness, thereby avoiding the optical machine brightness dropping too quickly and missing the target brightness, which will adversely affect the subsequent correction of the projected picture.
[0083] In an optional implementation, the above step S22, by adjusting the initial brightness, to re-execute the step of extracting the image features of the projection picture, specifically includes the following:
[0084] The initial brightness is adjusted by using a brightness gradient downward method to re-execute the step of extracting the image features of the projection picture.
[0085] In the present application, a brightness gradient can be preset, and the initial brightness of the optical machine can be gradually reduced according to the brightness gradient by the above-mentioned brightness gradient downward exploration method. Here, the brightness gradient can be a uniform gradient or a non-uniform gradient, so as to achieve a uniform or non-uniform reduction in the brightness of the optical machine to adapt to different brightness adjustment spans.
[0086] For example, when adjusting the optical machine brightness based on the brightness gradient, when the optical machine brightness is close to the preset lower limit of the brightness value, the brightness adjustment gradient can be a non-uniform gradient to avoid a large brightness adjustment span, which affects the quality of the collected projection image. In addition, when the optical machine brightness is not close to the preset lower limit of the brightness value, the brightness adjustment gradient can be a uniform gradient, so that the brightness of the projection image is uniformly reduced, while improving the adjustment speed during the adjustment process.
[0087] In the present application, the optical machine brightness can be adjusted based on a preset brightness gradient, and the brightness gradient can be a uniform gradient or a non-uniform gradient, so as to achieve a uniform reduction or non-uniform reduction of the optical machine brightness to adapt to different brightness adjustment environments.
[0088] In an optional implementation, in the above step S22, the brightness value of the brightness gradient downward is a fixed value or is determined by the similarity;
[0089] The smaller the similarity is, the larger the brightness value of the brightness gradient is, and the larger the similarity is, the smaller the brightness value of the brightness gradient is.
[0090] In the present application, the brightness value of the brightness gradient is fixed as described in the embodiment corresponding to step S22 above, which will not be repeated here. In addition, the brightness gradient can also be adaptively determined based on the similarity between the image feature and the target image feature.
[0091] In specific implementation, multiple similarity intervals can be pre-divided, and a corresponding brightness value can be set for each similarity interval. After determining the above similarity, the similarity interval corresponding to the similarity can be determined, and the brightness value corresponding to the similarity interval can be obtained to adjust the light machine brightness based on the brightness value.
[0092] In the present application, when setting the corresponding brightness gradient for the similarity interval, the smaller the similarity, the larger the corresponding brightness value can be, thereby reducing the number of brightness adjustments and saving adjustment time. On the contrary, the greater the similarity, the smaller the corresponding brightness value can be, and the projection screen is already close to the target projection screen. At this time, the brightness gradient can be smaller, thereby avoiding the brightness value adjustment span being too large and missing the target brightness.
[0093] In an optional embodiment, in the above Figure 1 In a corresponding embodiment, the step of automatically correcting the projection image includes at least one of the following:
[0094] Focus, ladder calibration, scene entry or obstacle avoidance.
[0095] In the present application, any step can be selected from the above-mentioned focusing, ladder calibration, entering the screen and obstacle avoidance as the above-mentioned automatic correction step, and the correction order of each correction step when performing automatic correction can be determined according to the actual usage needs of the user. The present disclosure does not make any specific limitations on this.
[0096] It should be understood that each of the above-mentioned correction steps has a corresponding execution condition, and when the projection picture meets the execution condition, the correction step can be performed on the projection picture. Here, focusing refers to adjusting the projection lens of the projection device to find the point that makes the projection picture clearest. Therefore, the execution condition corresponding to focusing may be that the projection picture clarity is poor. Ladder calibration refers to adjusting the picture to a regular rectangle. Therefore, the execution condition corresponding to ladder calibration may be that the projection picture is not a regular rectangle. Entering the screen refers to adjusting the picture to the projection area. Therefore, the execution condition corresponding to entering the screen may be that the projection picture is not entirely located in the projection area. Obstacle avoidance refers to detecting obstacles in the projection area and adjusting the size of the projection picture based on the location of the obstacle to avoid the obstacle blocking the projection picture. Therefore, the execution condition corresponding to obstacle avoidance may be that there are obstacles in the projection area.
[0097] In the present application, the power frequency interference stripes of the projection screen can be reduced by adjusting the brightness of the projection screen so that the projection screen can achieve a higher clarity, and then the projection screen can be automatically corrected to provide users with a better viewing experience of the automatically corrected projection screen.
[0098] In an optional embodiment, after the projection device completes the step of automatically correcting the projection image, the above Figure 1 The corresponding implementation method also includes the following process:
[0099] The optical machine is controlled to switch from the target brightness to the initial brightness, wherein the target brightness is smaller than the initial brightness.
[0100] In the present application, it is considered that when calibrating the projection screen, the screen brightness of the projection screen is adjusted in order to reduce the number of power frequency interference stripes. However, the adjusted screen brightness may not be suitable for users viewing the projection screen.
[0101] Based on this, after the projection image is automatically calibrated, the initial brightness of the optical machine can be obtained, and the calibrated optical machine brightness can be restored to the first brightness. Here, the initial brightness is usually the optical machine brightness pre-set by the viewing object to meet its viewing needs.
[0102] In the present application, after the projection image is corrected, the optical machine brightness can be restored to the above-mentioned initial brightness, so that the image brightness of the projection image is restored to the image brightness before calibration, so as to improve the viewing experience of the viewing object when watching the projection image next time.
[0103] See also Figure 4 FIG. 4 is a flowchart of another method for controlling a projection device provided by the present application, wherein the method includes steps S401 to S406, wherein:
[0104] S401: Capture the current projection image through the above-mentioned camera module.
[0105] In the present application, the method of capturing the projection image is as described in the above step S101 and will not be repeated here.
[0106] S402: Extract image features of the projection image and obtain target features of the target image.
[0107] S403: Calculate the similarity between the above image features and the target features.
[0108] S404: Determine whether the similarity exceeds a similarity threshold, if so, execute S406, if not, execute S405.
[0109] S405: Adjust the brightness of the light machine.
[0110] In the present application, the similarity threshold is the above-mentioned preset value, and the method of calculating the similarity between the above-mentioned image features and the target image features and adjusting the optical machine brightness based on the similarity is as described in the above-mentioned steps S301 to S302, which will not be repeated here.
[0111] S406: Determine calibration parameters corresponding to the projection image, and calibrate the projection image according to the calibration parameters.
[0112] In the present application, the process of calibrating the projection image according to the calibration parameters is the step of automatically calibrating the projection image on the projection device in the above step S105, which will not be repeated here.
[0113] The specific implementation of this embodiment is as described above. Figure 1 The corresponding embodiments are described and will not be repeated here.
[0114] In summary, in the present application, the current projection screen of the projection device can be first obtained through the camera module, and the projection screen can be adjusted to the target brightness by adjusting the optical and mechanical brightness of the projection screen to meet the preset conditions. Then, the projection device can be subjected to the step of automatic correction of the projection screen at the target brightness. Therefore, the present application can reduce the power frequency interference stripes of the projection screen by adjusting the optical and mechanical brightness so that the projection screen can achieve a higher clarity, and then perform the automatic correction step of the projection screen so that the user can have a better experience of viewing the automatically corrected projection screen.
[0115] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0116] Based on the same inventive concept, the present application also provides a projection device corresponding to the control method of the projection device. Since the principle of solving the problem by the device in the present application is similar to the control method of the above-mentioned projection device in the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0117] Reference Figure 5 , which is a schematic diagram of a projection device provided by the present application, the projection device comprises: a camera module 51, an optical machine module 52, and a correction module 53; wherein,
[0118] The camera module 51 is used to obtain the current projection image of the projection device;
[0119] An optical-mechanical module 52 is used to adjust the optical-mechanical brightness of the projection device to a target brightness so that the projection image meets a preset condition;
[0120] The correction module 53 performs a step of automatically correcting the projection image on the projection device when the optical machine brightness is at the target brightness.
[0121] In the present application, the current projection screen of the projection device can be first obtained through the camera module, and the projection screen can be adjusted to the target brightness by adjusting the optical and mechanical brightness of the projection screen to meet the preset conditions. Then, the projection device can be subjected to the step of automatic correction of the projection screen at the target brightness. Therefore, the present application can reduce the power frequency interference stripes of the projection screen by adjusting the optical and mechanical brightness, so that the projection screen can achieve a higher clarity, and then perform the automatic correction step of the projection screen, so that the user can have a better experience of viewing the automatically corrected projection screen.
[0122] In a possible implementation manner, the device further includes an extraction module 54, which is used to:
[0123] Under the current projection picture, obtaining the initial brightness corresponding to the optical machine in the projection device;
[0124] When the optical machine is at the initial brightness, image features of the projection image are extracted.
[0125] In a possible implementation manner, the extraction module 54 is further configured to:
[0126] A target image feature is obtained, where the target image feature is extracted from a target projection screen, where the target projection screen is a projection screen projected by the projection device during a test phase before the device leaves the factory, and is an image stored when a preset condition is met.
[0127] In a possible implementation manner, the extraction module 54 is further configured to:
[0128] Determining the similarity between the image feature and the target image feature;
[0129] When the similarity is less than or equal to a preset value, the initial brightness is adjusted to re-execute the step of extracting the image features of the projection picture until the similarity is greater than the preset value to obtain the target brightness.
[0130] In a possible implementation manner, the extraction module 54 is further configured to:
[0131] The initial brightness is adjusted by using a brightness gradient downward method to re-execute the step of extracting the image features of the projection picture.
[0132] In a possible implementation manner, the brightness value of the brightness gradient downward is a fixed value or is determined by the similarity;
[0133] The smaller the similarity is, the larger the brightness value of the brightness gradient is, and the larger the similarity is, the smaller the brightness value of the brightness gradient is.
[0134] In a possible implementation manner, the step of automatically correcting the projection image includes at least one of the following:
[0135] Focus, ladder calibration, scene entry or obstacle avoidance.
[0136] In a possible implementation manner, the device further includes a brightness switching module 55, which is used to:
[0137] After the projection device completes the step of automatically correcting the projection image, the optical machine is controlled to switch from the target brightness to the initial brightness, wherein the target brightness is less than the initial brightness.
[0138] For descriptions of the processing flow of each unit in the device and the interaction flow between each unit, reference may be made to the relevant descriptions in the above method embodiments, which will not be described in detail here.
[0139] Corresponds to Figure 1 The control method of the projection device in the present application also provides another projection device 600, such as Figure 6 As shown, it is a schematic diagram of the structure of the projection device 600 provided in this application, including:
[0140] Processor 61, memory 62, and bus 63; memory 62 is used to store execution instructions, including internal memory 621 and external memory 622; the internal memory 621 is also called internal memory, which is used to temporarily store the operation data in the processor 61 and the data exchanged with the external memory 622 such as a hard disk. The processor 61 exchanges data with the external memory 622 through the internal memory 621. When the computer device 600 is running, the processor 61 communicates with the memory 62 through the bus 63, so that the processor 61 executes the following instructions:
[0141] Acquire the current projection image of the projection device through the camera module;
[0142] By adjusting the optical and mechanical brightness of the projection device to a target brightness, the projection image meets the preset conditions;
[0143] When the optical machine brightness is at the target brightness, a step of automatically correcting the projection image is performed on the projection device.
[0144] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the control method of the projection device described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0145] The present application also provides a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the control method of the projection device described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0146] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0147] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0150] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0151] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the present application, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for controlling a projection device, characterized in that: include: Acquire the current projection image of the projection device through the camera module; By adjusting the optical and mechanical brightness of the projection device to a target brightness, the projection image meets the preset conditions; When the optical machine brightness is at the target brightness, a step of automatically correcting the projection image is performed on the projection device.
2. The method according to claim 1, characterized in that The method further comprises: Under the current projection picture, obtaining the initial brightness corresponding to the optical machine in the projection device; When the optical machine is at the initial brightness, image features of the projection picture are extracted.
3. The method according to claim 2, characterized in that The method further comprises: A target image feature is obtained, where the target image feature is extracted from a target projection screen, where the target projection screen is a projection screen projected by the projection device during a test phase before the device leaves the factory, and is an image stored when a preset condition is met.
4. The method according to claim 3, characterized in that The method further comprises: Determining the similarity between the image feature and the target image feature; When the similarity is less than or equal to a preset value, the initial brightness is adjusted to re-execute the step of extracting the image features of the projection picture until the similarity is greater than the preset value to obtain the target brightness.
5. The method according to claim 4, characterized in that The step of re-executing the step of extracting the image features of the projection picture by adjusting the initial brightness includes: The initial brightness is adjusted by using a brightness gradient downward method to re-execute the step of extracting the image features of the projection picture.
6. The method according to claim 5, characterized in that The brightness value of the brightness gradient downward is a fixed value or is determined by the similarity; The smaller the similarity is, the larger the brightness value of the brightness gradient is, and the larger the similarity is, the smaller the brightness value of the brightness gradient is.
7. The method according to claim 1, characterized in that The step of automatically correcting the projection image includes at least one of the following: Focus, ladder calibration, scene entry or obstacle avoidance.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: After the projection device completes the step of automatically correcting the projection image, the optical machine is controlled to switch from the target brightness to the initial brightness, wherein the target brightness is less than the initial brightness.
9. A projection device, characterized in that: include: A camera module, used to obtain the current projection image of the projection device; An optical-mechanical module, used for adjusting the optical-mechanical brightness of the projection device to a target brightness so that the projection image meets a preset condition; The correction module performs the step of automatically correcting the projection image on the projection device when the optical machine brightness is at the target brightness.
10. A projection device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a control program of the projection device stored in the memory to implement the control method of the projection device according to any one of claims 1 to 8.