A correction method, device, equipment and storage medium

Through automatic keystone correction method and device, the angle parameters of the projection equipment are optimized using three-dimensional reconstruction technology, which solves the problem of poor correction effect caused by structural changes in the projection equipment during transportation or use, and realizes effective correction of non-rectangular projection images, improving User experience and device stability.

CN115733963BActive Publication Date: 2024-12-10CHENGDU XGIMI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111017352.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-12-10
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

Existing projection equipment is easily impacted during transportation or use, resulting in changes in structural state and affecting the correction effect of the projected screen. The existing correction methods also require high structural state of the equipment and are difficult to operate, so they cannot effectively correct non-rectangular projected screens.

Method used

Provide a correction method and device, by detecting the trigger operation of the automatic keystone correction function, obtaining user-specific correction parameters, and using three-dimensional reconstruction technology to optimize the angle parameters of the projection equipment relative to the carrier, realize automatic keystone correction, and improve the correction of the projected picture. Effect.

Benefits of technology

The accuracy of the angle of the projection device relative to the carrier is improved, user operations are simplified, and the requirements for the structural status of the equipment are reduced, and non-rectangular projected images are effectively corrected, which improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115733963B_ABST
    Figure CN115733963B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a correction method, apparatus, device and storage medium. When a trigger operation for an automatic trapezoidal correction function is detected, a first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the first projection picture is automatically subjected to trapezoidal correction according to the optimized angle parameter. That is, after the automatic trapezoidal correction function of the projection device is triggered, the embodiments of the present application can optimize the angle parameter obtained by the three-dimensional reconstruction using the correction parameter corresponding to the current user, thereby improving the accuracy of the angle of the projection device relative to the carrier, thereby improving the correction effect of the first projection picture and meeting the needs of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of optical technology, and in particular to a correction method, device, equipment and storage medium. Background Art

[0002] In daily use of projection equipment, the projected image usually becomes a non-rectangular shape such as a trapezoid due to factors such as the projection equipment being placed in an inclined position or the projection direction not being perpendicular to the projection surface, thus affecting the user's viewing experience.

[0003] At present, the projection image is mainly corrected by structured light. This method has high requirements on the structural state of the projection equipment. If the projection equipment is subjected to impact such as falling during transportation or use, causing its structural state to change, it will affect the correction effect of the projection image.

[0004] Application Contents

[0005] The embodiments of the present application provide a correction method, device, equipment and storage medium, which can improve the correction effect of the projection picture.

[0006] In a first aspect, an embodiment of the present application provides a correction method, which is applied to a projection device, and the method includes:

[0007] Displaying a first projection image;

[0008] When a trigger operation for the automatic keystone correction function is detected, obtaining a first correction parameter corresponding to the current user;

[0009] Optimizing the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter, the angle parameter being the angle parameter of the projection device relative to the carrier that carries the projection image;

[0010] Automatically perform keystone correction on the first projection image according to the optimized angle parameters.

[0011] In a second aspect, an embodiment of the present application provides a correction device, which is arranged in a projection device, and the device includes a display module, an acquisition module, an optimization module and a correction module;

[0012] A display module, used for displaying a first projection picture;

[0013] An acquisition module, configured to acquire a first correction parameter corresponding to a current user when a trigger operation for the automatic keystone correction function is detected;

[0014] An optimization module, used to optimize an angle parameter obtained based on three-dimensional reconstruction according to a first correction parameter, where the angle parameter is an angle parameter of the projection device relative to a carrier that carries the projection image;

[0015] The correction module is used to automatically perform keystone correction on the first projection image according to the optimized angle parameters.

[0016] In a third aspect, an embodiment of the present application provides a projection device, including an automatic projection correction system and a memory; the automatic projection correction system includes a camera module, a projection optical machine and a processor;

[0017] A projection optical machine, used for projecting a projection image;

[0018] A camera module, used for shooting projection images;

[0019] a memory for storing computer program instructions;

[0020] When the computer program instructions are executed by a processor, the method according to the first aspect is implemented.

[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the method described in the first aspect is implemented.

[0022] The correction method, device, equipment and storage medium provided in the embodiments of the present application, when a triggering operation for the automatic trapezoidal correction function is detected, obtains a first correction parameter corresponding to the current user, then optimizes the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter, and then performs automatic trapezoidal correction on the first projection screen according to the optimized angle parameter. That is, after the automatic trapezoidal correction function of the projection device is triggered, the embodiments of the present application can optimize the angle parameter obtained by the three-dimensional reconstruction using the correction parameter corresponding to the current user, thereby improving the accuracy of the angle of the projection device relative to the carrier, thereby improving the correction effect of the first projection screen and meeting the needs of the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A schematic diagram of a scenario of a correction method provided in an embodiment of the present application;

[0025] Figure 2 A flowchart of a calibration method provided in an embodiment of the present application;

[0026] Figure 3 A flowchart of another calibration method provided in an embodiment of the present application;

[0027] Figure 4 A schematic diagram of an adjustment interface provided in an embodiment of the present application;

[0028] Figure 5 A schematic diagram of a prompt information provided in an embodiment of the present application;

[0029] Figure 6 A flowchart of another calibration method provided in an embodiment of the present application;

[0030] Figure 7 A structural diagram of a correction device provided in an embodiment of the present application;

[0031] Figure 8 A structural diagram of a projection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0033] It should be noted that, in this article, relational terms such as first and second, etc. are only used 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 these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0034] When using a projection device to project a projection image, the shape of the projection image on the carrier is usually distorted due to factors such as the tilt of the projection device, the non-perpendicularity of the projection direction of the projection device and the carrier that carries the projection image, which affects the user's viewing experience. Therefore, the projection image needs to be corrected so that its shape meets the user's needs.

[0035] At present, the main method is to use camera modules and projection optical machines to build a structured light system, which is used to reconstruct the projection scene in three dimensions, obtain the angle of the projection device relative to the projection image, and correct the projection image based on the angle. Some methods also achieve correction of the projection image by manually adjusting the placement of the projection device.

[0036] The former has high requirements on the structural state of the projection equipment. If the projection equipment is impacted during transportation or use, causing its structural state to change, it will affect the relative position relationship between the camera module and the projection optical machine and the optical performance of the projection optical machine, etc., resulting in a deviation in the angle between the projection equipment and the projection screen, and the correction effect of the projection screen will deteriorate. The latter has high requirements on users and is more difficult to operate. It is impossible to effectively correct the projection screen by simply adjusting the placement of the projection equipment.

[0037] To this end, an embodiment of the present application provides a correction method, which can improve the correction effect of the projection image and meet the user's usage needs.

[0038] The correction method provided in the embodiment of the present application can be applied to Figure 1 In the scene shown, the scene may include a projection device 10 and a carrier 11. The projection device 10 may be a device, such as a projector, capable of projecting an image or video onto the carrier 11. The projection device 10 may be used in homes, offices, schools, entertainment venues, and the like.

[0039] The carrier 11 may be a tool capable of displaying images or videos, for example, in the embodiment of the present application, it may be used to display the projection screen projected by the projection device 10. The carrier 11 may be, for example, a projection screen or a wall.

[0040] The projection device 10 can optimize the angle parameters obtained based on the three-dimensional reconstruction according to the correction parameters corresponding to the current user, thereby improving the correction effect of the projection picture and meeting the user's usage needs.

[0041] Based on the above scenario, the correction method provided by the embodiment of the present application is described below in combination with a specific embodiment. The method can be Figure 1 The projection device shown is implemented.

[0042] Figure 2 A flowchart of a calibration method provided in an embodiment of the present application.

[0043] like Figure 2 As shown, the correction method may include the following steps:

[0044] S210: Display a first projection image.

[0045] S220: When a trigger operation for the automatic keystone correction function is detected, obtain a first correction parameter corresponding to the current user.

[0046] S230 , optimizing angle parameters obtained based on three-dimensional reconstruction according to the first correction parameters.

[0047] The angle parameter is an angle parameter of the projection device relative to a carrier that carries the projection image.

[0048] S240: Automatically perform keystone correction on the first projection image according to the optimized angle parameters.

[0049] Thus, when a trigger operation for the automatic trapezoidal correction function is detected, the first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the first projection picture is automatically subjected to trapezoidal correction according to the optimized angle parameter. That is, after the automatic trapezoidal correction function of the projection device is triggered, the embodiment of the present application can optimize the angle parameter obtained by the three-dimensional reconstruction using the correction parameter corresponding to the current user, thereby improving the accuracy of the angle of the projection device relative to the carrier, thereby improving the correction effect of the first projection picture and meeting the needs of the user.

[0050] The above steps are described in detail below:

[0051] In S210, the first projection picture may be an uncorrected original projection picture projected by the projection device onto the carrier.

[0052] In one embodiment, when the projection device is turned on, a first projection picture can be projected onto the carrier for display.

[0053] In S220, the triggering operation here may be an operation for triggering the automatic keystone correction function, that is, an operation for turning on the automatic keystone correction function.

[0054] Exemplarily, the automatic trapezoidal correction function can be triggered by clicking or touching the automatic trapezoidal correction function control. Of course, other operations that can turn on the automatic trapezoidal correction function can also be used. The embodiment of the present application does not limit the specific form of the automatic trapezoidal correction function control, for example, it can be in the form of a physical switch, a button, or a text box. Alternatively, the above-mentioned triggering operation can also be a voice operation for triggering the automatic trapezoidal correction function, for example, it can be a voice operation with the semantics of "automatic trapezoidal correction".

[0055] When the automatic keystone correction function is turned on, the projection device can perform automatic keystone correction on the first projection image, which can reduce the requirements on the user, simplify the user's operation, and improve the correction efficiency.

[0056] The first correction parameter may be a correction parameter corresponding to the current user, and different users may correspond to different correction parameters.

[0057] In one embodiment, when a trigger operation for the automatic keystone correction function is detected, a first correction parameter corresponding to the current user may be acquired, thereby satisfying the correction requirements of different users.

[0058] In S230, 3D reconstruction is a technology for reconstructing 3D information of a projection scene. In one embodiment, the 3D information of the projection scene can be reconstructed using a structured light system (automatic projection correction system) in the projection device. The angular parameters of the projection device relative to the carrier can be determined through 3D information reconstruction. The angular parameters here can include the size and direction of the angle.

[0059] In one embodiment, the automatic projection correction system may include a projection optical machine, a camera module and a processor.

[0060] The projection optical machine can be used to project a projection image onto the carrier, the camera module can be used to capture the projection image or other images on the carrier, and the processor can be used to correct the shape of the projection image on the carrier.

[0061] Specifically, the projection light machine can project specific light information onto the surface and background of an object, which is collected by the camera module. The processor calculates information such as the object's position and depth based on the changes in the light signal caused by the object, and then restores the entire three-dimensional space. The angle between the projection device and the carrier is calculated based on the restored three-dimensional space.

[0062] Of course, the automatic projection correction system may also adopt other structures besides the above, as long as the angle between the projection device and the carrier can be determined.

[0063] In actual applications, the projection device may be impacted, causing the angle between it and the projection screen to change, which in turn causes the shape of the projection screen to be distorted. For example, the shape of the projection screen changes from a rectangle to a non-rectangular shape, affecting the user's viewing experience.

[0064] Based on this, the embodiment of the present application can use the first correction parameter to optimize the angle parameter obtained based on the three-dimensional reconstruction, thereby improving the accuracy of the angle between the projection device and the carrier, and further improving the correction effect of the projection picture.

[0065] In one embodiment, the first correction parameter and the angle parameter may be superimposed to obtain an optimized angle parameter.

[0066] For example, the angle parameter may be divided along the horizontal direction and the vertical direction to obtain the components of the angle parameter in the horizontal direction and the vertical direction. Similarly, the first correction parameter may also be divided to obtain its components in the horizontal direction and the vertical direction.

[0067] When the direction of the horizontal component of the first correction parameter is consistent with the direction of the horizontal component of the angle parameter, the horizontal component of the first correction parameter can be added to the horizontal component of the angle parameter; when the direction of the horizontal component of the first correction parameter is opposite to the direction of the horizontal component of the angle parameter, the horizontal component of the first correction parameter can be subtracted from the horizontal component of the angle parameter, thereby obtaining the optimized horizontal component of the angle parameter.

[0068] Similarly, the component of the optimized angle parameter in the vertical direction can be obtained, and then the optimized angle parameter can be obtained.

[0069] In S240, the first projection image is automatically subjected to keystone correction according to the optimized angle parameters, which can compensate for the defect of the projection device being impacted during transportation or use, improve the correction effect of the first projection image, and meet the current user's usage needs.

[0070] In one embodiment, Figure 3 As shown, before S210, the calibration method provided in the embodiment of the present application may include the following steps:

[0071] S310: Display a first adjustment interface.

[0072] The first adjustment interface includes a second projection picture after automatic trapezoidal correction and at least one guide control, and the guide control includes guide information for adjusting a projection picture of a non-preset shape to a projection picture of a preset shape.

[0073] S320: In response to a first input of the current user to the target guidance control, determine a first correction parameter corresponding to the current user.

[0074] Among them, the at least one guide control includes a target guide control, and the target guide control corresponds to the shape of the first projection picture.

[0075] S330, recording the first calibration parameter.

[0076] S340: Store the first calibration parameter and the user information of the current user in association with each other in a target storage area.

[0077] The above steps are described in detail below:

[0078] In S310, the first adjustment interface may be an interface for correcting the first projection picture. The second projection picture, i.e., the projection picture obtained by correcting the first projection picture using the angle parameters obtained by 3D reconstruction, may also be understood as the projection picture obtained after the first automatic correction of the first projection picture.

[0079] The guide control may be a control for guiding the user to correct the shape of the first projection picture, for example, may be a rotation control.

[0080] The guide control may include guide information for adjusting the projection picture of a non-preset shape to a projection picture of a preset shape, and the guide information may include, for example, a correction direction and / or a correction angle. Through the guide control, the user can quickly correct the first projection picture to a preset shape. The preset shape may be a shape that meets the user's usage requirements, such as a rectangle.

[0081] The first adjustment interface may include one guide control or multiple guide controls.

[0082] When the first adjustment interface includes a guide control, the guide control may be a control for correcting the shape of the first projection image to a default shape, and the user only needs to follow the instructions of the guide control, which is simple and convenient.

[0083] When the first adjustment interface includes multiple guide controls, the user can select a suitable guide control according to needs, thereby correcting the first projection image to a shape that meets their needs, thereby achieving personalized adjustment.

[0084] Exemplary, reference Figure 4 , Figure 4 Take the example of four guide controls, which represent left rotation, right rotation, upward rotation and downward rotation. Different rotation controls correspond to different screen shapes. For example, the shape of the second projection screen is Figure 4 When you move the shape to the left, you can adjust the guide controls on the left.

[0085] The guide control can quickly change the shape of the second projection image from Figure 4 Keystone correction shown to Figure 4 In practical applications, the shape of the second projection image may be other non-rectangular shapes except the trapezoid.

[0086] In S320, the target guide control is a control among the above guide controls that corresponds to the shape of the second projection screen. When the first adjustment interface includes only one guide control, the target guide control is the guide control.

[0087] When the first adjustment interface includes multiple guide controls, the target guide control may be one or more of the multiple guide controls, that is, the shape of the second projection screen may be adjusted to a preset shape through one correction direction, or the shape of the second projection screen may be adjusted to a preset shape through multiple correction directions. When multiple correction directions need to be adjusted, the corresponding target guide controls may be adjusted in sequence.

[0088] The first input may be an input for changing the shape of the second projection image. For example, the first input may act on a target guide control to change the rotation direction and / or rotation angle of the target guide control, thereby changing the shape of the second projection image and achieving correction of the second projection image.

[0089] In one embodiment, the first input can be directly used as the first correction parameter, or a certain operation can be performed on the first input to obtain a correction parameter corresponding to the first input as the first correction parameter. The specific operation rules are not limited in the embodiment of the present application.

[0090] The first input may include one input or multiple inputs.

[0091] Taking the first input including multiple inputs as an example, in one embodiment, S320 may include the following steps:

[0092] Count the number of times the current user inputs the target guidance control and the step value corresponding to each input. The step value includes the input direction and angle.

[0093] The step value corresponding to each input is accumulated to obtain the correction direction and correction angle as the first correction parameter corresponding to the current user.

[0094] For example, in the horizontal left direction, there are three inputs, and the step value corresponding to each input is 0.5 degrees, so the first correction parameter is to rotate 1.5 degrees to the left.

[0095] In S330, the first calibration parameter is recorded, and the first calibration parameter can be directly obtained when the projection device is used next time, without manual adjustment by the user, thereby simplifying the user's operation and improving the calibration efficiency.

[0096] In S340, the user information may be information for identifying the user, for example, may include account information of an application that can control the projection device, a user name, a password, an ID, facial information, or an ID number.

[0097] The first correction parameter and the user information of the current user are associated and stored in the target storage area. When the user uses the projection device next time, the correction parameter corresponding to the user can be obtained based on the user information of the user, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the correction parameter to obtain a projection screen that meets the user's needs, without the need for the user to make manual adjustments, thereby simplifying the user's operation and improving efficiency. Among them, the above-mentioned target storage area can be the local storage area of ​​the projection device, or it can be a cloud storage area or a blockchain storage area, which is not limited in this application.

[0098] The embodiment of the present application does not limit the target storage area.

[0099] In one embodiment, S220 may include the following steps:

[0100] Get the user information of the current user;

[0101] According to the user information, a first correction parameter corresponding to the current user is acquired from the target storage area.

[0102] In one embodiment, assuming that the above-mentioned application capable of controlling the projection device is referred to as a projection application, a user can log in to the projection application through a mobile phone to remotely control the projection device, and the mobile phone can then serve as a remote controller for the projection device. After the user logs in to the projection application through a mobile phone, he or she can input a trigger operation for the automatic keystone correction function, and when the projection device detects the trigger operation, the user's account information in the projection application can be obtained, and the account information can be used as the user information of the user.

[0103] In one embodiment, the user's image can be collected, and the user information of the current user can be determined based on the face recognition result; the user information of the current user can also be determined based on the user name and password of the user logging into the projection device. Of course, the user information of the current user can also be determined in other ways, which are not limited in the embodiments of the present application.

[0104] According to the user information, the target storage area is searched to obtain the first correction parameter corresponding to the user information.

[0105] In one embodiment, after the projection device is turned on, the first adjustment interface may be automatically displayed, and the user may input calibration information in the first adjustment interface according to actual needs.

[0106] In one embodiment, the first adjustment interface may be displayed when the user has a correction requirement. Based on this, before S310, the correction method may further include the following steps:

[0107] Prompt information is displayed, where the prompt information is used to prompt the user whether to correct the shape of the first projection image.

[0108] The prompt information can be, for example, Figure 5 In the prompt box shown, if the user selects "Yes", it means that the user needs to correct the shape of the first projection image again, and the first adjustment interface can be displayed at this time; if the user selects "No", it means that the user does not need to correct the shape of the first projection image again, and the prompt box can be exited at this time, that is, the first adjustment interface will no longer be displayed.

[0109] Therefore, it can be determined whether to display the first adjustment interface according to the actual needs of the user, thereby meeting the personalized needs of the user.

[0110] Accordingly, S310 may include the following steps:

[0111] In response to the user inputting the display prompt information, a first adjustment interface is displayed.

[0112] The input here may be an input for displaying the first adjustment interface, for example, Figure 5 The “yes” shown means that the first adjustment interface will be displayed only when the user selects “yes” in the prompt box, thereby satisfying the user's actual correction needs.

[0113] In one embodiment, Figure 6 As shown, before S210, the calibration method provided in the embodiment of the present application may further include the following steps:

[0114] S610: Displaying a second projection image after automatic keystone correction.

[0115] S620: When a correction triggering operation for the second projection picture is detected, determine a shape of the second projection picture.

[0116] S630: Determine a target guidance control corresponding to the shape of the second projection image according to the correspondence between the non-preset shape and the guidance information.

[0117] S640: Display a second adjustment interface.

[0118] Among them, the second adjustment interface includes a target guidance control and a second projection screen.

[0119] S650: In response to a second input of the current user to the target guidance control, determine a first correction parameter corresponding to the current user.

[0120] The above steps are described in detail below:

[0121] In S610, the display process of the second projection picture is similar to the display process of the first projection picture. For details, please refer to the description of the first projection picture. For the sake of brevity, it will not be repeated here.

[0122] In S620, the correction triggering operation here may be an operation of triggering a correction function of the second projection picture. When the shape of the second projection picture needs to be corrected, the corresponding correction function needs to be triggered.

[0123] Exemplarily, the correction trigger control can be clicked or touched to trigger the correction function of the second projection screen, so that the shape of the second projection screen can be corrected. Of course, other methods can also be used, and the embodiments of the present application are not limited. The embodiments of the present application do not limit the specific form of the correction trigger control, for example, it can be in the form of a physical switch, a button, or a text box.

[0124] When a correction triggering operation for the second projection picture is detected, the shape of the second projection picture can be determined, providing a basis for subsequent determination of the target guidance control.

[0125] In S630, the target guide control may be a guide control for adjusting the shape of the second projection picture to a preset shape.

[0126] For example, Figure 4 As shown, if the shape of the second projection image is Figure 4 In the case where the shape of the second projection screen can be adjusted to a preset shape by only adjusting the guide control, the target guide control can be determined to be the guide control corresponding to the left trapezoid.

[0127] In S640, the controls included in the second adjustment interface may include only target guidance controls, that is, only guidance controls related to the shape of the second projection screen, and no guidance controls irrelevant to the shape of the second projection screen.

[0128] For example, the target guide control is Figure 4 If the guide control corresponds to the trapezoid on the left, the second adjustment interface only includes the guide controls corresponding to this shape and the row.

[0129] This can simplify the user's operation, and the user does not need to determine the target guide control from multiple guide controls, thereby reducing the number of corrections and improving correction efficiency.

[0130] In S650, the process of determining the first correction parameter can refer to the above embodiment, and for the sake of brevity, it will not be repeated here.

[0131] In one embodiment, when the shape of the corrected projection image meets the user's needs, the adjustment interface may be exited.

[0132] For example, when no input to the adjustment interface is detected within the set time, it is considered that the shape of the corrected projection image meets the requirements, and the adjustment interface can be exited at this time; or, the user closes the button to exit the adjustment interface to exit the adjustment interface; or, after the user adjusts once, a prompt box pops up to prompt the user whether to continue adjusting. If the user selects "No", the adjustment interface can be exited.

[0133] In one embodiment, the first projection picture may be corrected in the following manner to obtain the second projection picture:

[0134] Obtaining first position coordinates of a target point in a first projection picture in a first coordinate system, where the first projection picture is obtained by a camera module photographing a carrier that carries the projection picture, and the first coordinate system is a coordinate system where the camera module is located;

[0135] Determine the second position coordinates of the target point in the second coordinate system according to the association relationship between the first coordinate system and the second coordinate system, and the first position coordinates, where the second coordinate system is the coordinate system where the projection optical machine is located;

[0136] Performing plane fitting on the second position coordinates of the target point to obtain a fitting plane;

[0137] According to the angle between the fitting plane and the plane where the second coordinate system is located, the first projection picture is corrected to obtain the second projection picture.

[0138] The target point can be any point on the first projection screen. The first coordinate system is the spatial rectangular coordinate system where the camera module is located, and the origin of the first coordinate system is the center point of the lens of the camera module, that is, the first position coordinate is the position coordinate of the target point in the spatial rectangular coordinate system of the camera module.

[0139] The second coordinate system is a spatial rectangular coordinate system established with the optical center of the projection optical machine lens as the origin.

[0140] The association relationship between the first coordinate system and the second coordinate system is also the conversion relationship between the position coordinates of a point in space in the first coordinate system and the second coordinate system. The embodiment of the present application does not specifically limit the determination process of the conversion relationship.

[0141] Under normal circumstances, the carrier is a plane. After obtaining the position coordinates of multiple target points on the plane in the second coordinate system, the carrier can be fitted in the second coordinate system to obtain a fitting plane. The angle between the fitting plane and the plane where the second coordinate system is located is the angle between the carrier and the projection device. According to the angle, the first projection picture can be corrected to obtain the second projection picture.

[0142] Thus, the angle between the projection device and the carrier can be obtained through geometric calculations, and the first projection image can be automatically corrected according to the angle, without the user having to adjust the placement of the projection device, thereby simplifying the user's operation and improving efficiency.

[0143] Based on the same inventive concept, the embodiment of the present application also provides a correction device, which can be set in a projection device, and the projection device can be a device capable of projecting an image or video onto a carrier, such as a projector. Figure 7 The correction device provided in the embodiment of the present application is described in detail. The device can be arranged in a projection device.

[0144] Figure 7 A structural diagram of a correction device provided in an embodiment of the present application.

[0145] like Figure 7 As shown, the correction device may include a display module 71, an acquisition module 72, an optimization module 73 and a correction module 74;

[0146] Display module 71, used for displaying a first projection picture;

[0147] An acquisition module 72, configured to acquire a first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected;

[0148] The optimization module 73 is used to optimize the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter, where the angle parameter is the angle parameter of the projection device relative to the carrier that carries the projection image.

[0149] The correction module 74 is used to perform automatic trapezoidal correction on the first projection image according to the optimized angle parameters.

[0150] The above correction device is described in detail below, as shown below:

[0151] In one embodiment, the display module 71 is further used to display a first adjustment interface before displaying the first projection picture, the first adjustment interface including the second projection picture after automatic keystone correction and at least one guide control, the guide control including guide information for adjusting the projection picture of a non-preset shape to the projection picture of a preset shape;

[0152] The device may further include: a determination module,

[0153] A determination module, configured to determine a first correction parameter corresponding to the current user in response to a first input of the current user to the target guidance control;

[0154] The at least one guide control includes a target guide control, and the target guide control corresponds to the shape of the second projection picture.

[0155] In one embodiment, the first input includes at least one input;

[0156] Identify modules, specifically for:

[0157] Count the number of times the current user inputs the target guidance control and the step value corresponding to each input. The step value includes the input direction and angle.

[0158] The step value corresponding to each input is accumulated to obtain the correction direction and correction angle as the first correction parameter corresponding to the current user.

[0159] In one embodiment, the device may further include:

[0160] a recording module, configured to record the first correction parameter after the determination module determines the first correction parameter corresponding to the current user in response to the first input of the current user to the target guidance control;

[0161] The storage module is used to associate and store the first calibration parameter with the user information of the current user in a target storage area.

[0162] In one embodiment, the acquisition module 72 is specifically configured to:

[0163] Get the user information of the current user;

[0164] According to the user information, a first correction parameter corresponding to the current user is acquired from the target storage area.

[0165] In one embodiment, the display module 71 is further used to display the second projection picture after automatic keystone correction before displaying the first projection picture;

[0166] The determination module is further used to determine the shape of the second projection picture when a correction trigger operation for the second projection picture is detected;

[0167] The determination module is further used to determine the target guidance control corresponding to the shape of the second projection picture according to the correspondence between the non-preset shape and the guidance information, and the guidance information is used to adjust the projection picture of the non-preset shape to the projection picture of the preset shape;

[0168] The display module 71 is further used to display a second adjustment interface, which includes a target guidance control and a second projection screen;

[0169] The determination module is further used to determine a first correction parameter corresponding to the current user in response to a second input of the current user to the target guidance control.

[0170] In one embodiment, the optimization module 73 is specifically configured to:

[0171] The first correction parameter and the angle parameter are superimposed to obtain an optimized angle parameter.

[0172] Thus, when a trigger operation for the automatic trapezoidal correction function is detected, the first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the first projection picture is automatically subjected to trapezoidal correction according to the optimized angle parameter. That is, after the automatic trapezoidal correction function of the projection device is triggered, the embodiment of the present application can optimize the angle parameter obtained by the three-dimensional reconstruction using the correction parameter corresponding to the current user, thereby improving the accuracy of the angle of the projection device relative to the carrier, thereby improving the correction effect of the first projection picture and meeting the needs of the user.

[0173] Figure 7 Each module in the device shown has the function of realizing Figure 2 , Figure 3 and Figure 6 The functions of each step in the process can achieve the corresponding technical effects, so for the sake of brevity, they will not be described in detail here.

[0174] Based on the same inventive concept, the embodiment of the present application further provides a projection device, which may be a device capable of projecting an image or video onto a carrier, such as a projector. Figure 8 The projection device provided in the embodiment of the present application is described in detail.

[0175] like Figure 8 As shown, the projection device may include an automatic projection correction system 81 and a memory 82 for storing computer program instructions.

[0176] The automatic projection correction system 81 may include a camera module 810 , a projection optical machine 811 and a processor 812 .

[0177] The projection optical machine 811 is used to project the projection image; the camera module 810 is used to shoot the projection image.

[0178] The processor 812 may include a central processing unit (CPU) or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0179] The memory 82 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 82 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 82 may include a removable or non-removable (or fixed) medium, or the memory 82 is a non-volatile solid-state memory. In one example, the memory 82 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0180] The processor 812 reads and executes the computer program instructions stored in the memory 82 to implement Figure 2 , Figure 3 and Figure 6 The method in the embodiment shown in the figure is achieved Figure 2 , Figure 3 and Figure 6 The corresponding technical effects achieved by executing the method in the illustrated embodiment are not described in detail here for the sake of brevity.

[0181] In one example, the projection device may further include a communication interface 83 and a bus 84. Figure 8 As shown, the automatic projection correction system 81, the memory 82, and the communication interface 83 are connected via a bus 84 and communicate with each other.

[0182] The communication interface 83 is mainly used to implement communication between various modules, devices and / or equipment in the embodiments of the present application.

[0183] Bus 84 includes hardware, software or both, and each component of projection equipment is coupled to each other. For example, but not limitation, bus 84 may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 84 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0184] The projection device can execute the correction method in the embodiment of the present application after displaying the first projection picture, thereby realizing the combination Figure 2 , Figure 3 and Figure 6 The correction method described and Figure 7 Description of the correction device.

[0185] In addition, in combination with the correction method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the correction methods in the above embodiment is implemented.

[0186] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0187] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0188] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0189] The above reference is according to the method of the present application embodiment, the flow chart of the device (system) and the computer program product and / or the block diagram of the present application embodiment. It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0190] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A calibration method, characterized in that: Applied to a projection device, the method comprises: Displaying a first projection image; When a trigger operation for the automatic keystone correction function is detected, obtaining a first correction parameter corresponding to the current user, wherein the first correction parameter includes an angle parameter; Optimizing an angle parameter obtained based on three-dimensional reconstruction according to the first correction parameter, the angle parameter being an angle parameter of the projection device relative to a carrier that carries the projection screen; Automatically performing keystone correction on the first projection image according to the optimized angle parameters; The optimizing the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter includes: Superimposing the first correction parameter and the angle parameter to obtain an optimized angle parameter; The obtaining of a first correction parameter corresponding to the current user includes: Obtain user information of the current user; According to the user information, a first correction parameter corresponding to the current user is acquired from a target storage area.

2. The method according to claim 1, characterized in that Before displaying the first projection picture, the method further includes: Displaying a first adjustment interface, wherein the first adjustment interface includes a second projection picture after automatic keystone correction and at least one guide control, wherein the guide control includes guide information for adjusting a projection picture of a non-preset shape to a projection picture of a preset shape; In response to a first input of the current user to the target guidance control, determining a first correction parameter corresponding to the current user; The at least one guide control includes the target guide control, and the target guide control corresponds to the shape of the second projection screen.

3. The method according to claim 2, characterized in that The first input includes at least one input; The step of determining a first correction parameter corresponding to the current user in response to a first input of the current user to the target guidance control comprises: Counting the number of inputs of the current user to the target guidance control and the step value corresponding to each input, wherein the step value includes the input direction and angle; The step value corresponding to each input is accumulated to obtain a correction direction and a correction angle as a first correction parameter corresponding to the current user.

4. The method according to claim 2, characterized in that: After determining a first correction parameter corresponding to the current user in response to the first input of the current user to the target guidance control, the method further includes: Recording the first calibration parameter; The first correction parameter and the user information of the current user are associated and stored in a target storage area.

5. The method according to claim 1, characterized in that: Before displaying the first projection picture, the method further includes: Display the second projection image after automatic keystone correction; In case a correction triggering operation for the second projection picture is detected, determining a shape of the second projection picture; Determining a target guidance control corresponding to the shape of the second projection picture according to a correspondence between the non-preset shape and the guidance information, wherein the guidance information is used to adjust the projection picture of the non-preset shape to the projection picture of the preset shape; Displaying a second adjustment interface, wherein the second adjustment interface includes the target guidance control and the second projection screen; In response to a second input of the current user to the target guidance control, a first correction parameter corresponding to the current user is determined.

6. A calibration device, characterized in that: Set in the projection equipment, the device includes a display module, an acquisition module, an optimization module and a correction module; The display module is used to display the first projection picture; The acquisition module is used to acquire a first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected, wherein the first correction parameter includes an angle parameter; The optimization module is used to optimize the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter, wherein the angle parameter is the angle parameter of the projection device relative to the carrier that carries the projection picture; The correction module is used to perform automatic trapezoidal correction on the first projection image according to the optimized angle parameters; The optimization module is specifically used for: Superimposing the first correction parameter and the angle parameter to obtain an optimized angle parameter; The acquisition module is specifically used for: Obtain user information of the current user; According to the user information, a first correction parameter corresponding to the current user is acquired from a target storage area.

7. A projection device, characterized in that: It includes an automatic projection correction system and a memory; the automatic projection correction system includes a camera module, a projection optical machine and a processor; The projection optical machine is used to project a projection image; The camera module is used to shoot the projection image; a memory for storing computer program instructions; When the computer program instructions are executed by the processor, the method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.