Picture projection method and device of projector, electronic equipment and storage medium

By acquiring current projection scene information and historical projection records when the projector receives a projection command, determining the target projection information and correcting the image, the cumbersome operation problem when switching projector scenes is solved, achieving efficient and convenient image correction and improving the user experience.

CN122002011APending Publication Date: 2026-05-08ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ANKER INNOVATIONS TECH CO LTD
Filing Date
2024-10-30
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing technologies, projectors need to frequently perform image correction when switching scenes, which makes the operation cumbersome for users and affects the user experience.

Method used

When the projector receives a projection command, it acquires the current projection scene information and historical projection records, determines the target projection information that matches the current scene, and corrects the target image based on this information.

Benefits of technology

It enables efficient and convenient image correction after switching projector scenes, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122002011A_ABST
    Figure CN122002011A_ABST
Patent Text Reader

Abstract

The invention relates to a picture projection method and device of a projector, electronic equipment and a storage medium, and the method comprises the steps: obtaining projection scene information of the projector in a current projection scene when the projector receives a projection instruction and projects a target picture through the projector, and obtaining a preset historical projection record; determining target projection information matched with the current projection scene according to the acquired projection scene information and the historical projection record; and correcting the target picture according to the target projection information, and projecting the corrected target picture through the projector. Therefore, after the projection scene of the projector is replaced, the projection picture of the projector can be efficiently, simply and conveniently corrected, so that the picture projection can be efficiently and accurately performed through the projector, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of projector technology, and in particular to a method, apparatus, electronic device and storage medium for projecting images from a projector. Background Technology

[0002] Currently, to meet the needs of image or video projection and save costs, users generally choose projectors with strong portability, allowing them to project images to different locations, such as the living room and bedroom. Because of this, users may frequently move between locations. However, in projector applications, image calibration is required for different scenarios to ensure the projector displays a normal rectangular image on the projection surface.

[0003] In practical applications, once the projector's image effect is adjusted in one scene, it is necessary to perform automatic / manual ladder calibration or screen obstacle avoidance and other image correction operations on the projector when moving to another scene in order to readjust to a satisfactory image effect.

[0004] However, the need for automatic or manual image calibration of the projector every time the projector moves to a different application scenario is time-consuming, especially for high-frequency projection scenarios such as living rooms and bedrooms. Users may frequently switch between these two locations, and each time they move from the living room to the bedroom or vice versa, the image needs to be readjusted. Furthermore, minor adjustments are usually required after each automatic adjustment to achieve a satisfactory result. Therefore, the current technology's requirement to repeatedly calibrate the projector image when the scene changes significantly or when switching scenes creates cumbersome operations for users and negatively impacts the user experience. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and storage medium for projecting images from a projector, in order to solve the technical problem in the prior art that the need to repeatedly calibrate the projector image causes cumbersome operations for users and affects the user experience.

[0006] In a first aspect, embodiments of this application provide a method for projecting an image using a projector, the method comprising:

[0007] When the projector receives a projection command and projects the target image through the projector, it obtains the projection scene information of the projector in the current projection scene, as well as the preset historical projection records;

[0008] Based on the obtained projection scene information and the historical projection records, determine the target projection information that matches the current projection scene;

[0009] The target image is corrected based on the target projection information, and the corrected target image is projected through the projector.

[0010] As one possible implementation, the historical projection record is generated by the projector after completing the projection correction of the target image, and the steps for generating the historical projection record include:

[0011] Upon receiving an instruction to save the current projection scene, retrieve the projection scene information corresponding to the current projection scene;

[0012] If the projection scene information corresponding to the current projection scene is not saved in the historical projection record, the projection information of the currently corrected target image in the projector is obtained, and the projection scene information corresponding to the current projection scene and the projection information are saved to the historical projection record.

[0013] As one possible implementation, determining the target projection information matching the current projection scene based on the acquired projection scene information and the historical projection records includes:

[0014] Query the historical projection records to see if there is a target historical projection record corresponding to the projection scene information;

[0015] If it is determined that the target historical projection record exists, the historical projection information contained in the target historical projection record is determined as the target projection information that matches the current projection scene.

[0016] As one possible implementation, obtaining the projection scene information of the projector in the current projection scene includes:

[0017] The current projection mode of the projector and the scene image corresponding to the projector in the current projection scenario are determined; wherein, the scene image includes the projection image corresponding to the projector when the target image is projected onto the projection surface;

[0018] Perform image recognition on the scene image to obtain the feature values ​​corresponding to the scene image;

[0019] The projection mode and the feature value are updated in the projection scene information corresponding to the projector in the current projection scene.

[0020] As one possible implementation, the historical projection record includes multiple first historical projection records, and the step of querying the historical projection records to see if there is a target historical projection record corresponding to the projection scene information includes:

[0021] The projection mode and the feature value are matched with multiple first historical projection records in the historical projection record, wherein the first historical projection record includes the projector's historical projection mode, historical feature value, and first coordinate information of the projected image in the projector during the historical projection process;

[0022] If a first historical projection record is found that contains the same historical projection pattern as the projection pattern and the same historical feature value as the feature value, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information; the first historical projection record is determined as the target historical projection record.

[0023] The step of determining the historical projection information contained in the target historical projection record as target projection information that matches the current projection scene includes:

[0024] The first coordinate information recorded in the target historical projection record is determined as the target projection information.

[0025] As one possible implementation, updating the projection mode and the feature value to the projection scene information corresponding to the projector in the current projection scene includes:

[0026] Obtain the current attitude information of the projector;

[0027] The distance information between the projector and the projection surface in the current projection scene is determined by the distance sensor in the projector;

[0028] The projection mode, the feature value, the posture information, and the distance information are updated in the projection scene information corresponding to the current projection scene of the projector.

[0029] As one possible implementation, querying the historical projection records to see if a target historical projection record corresponding to the projection scene information exists includes:

[0030] The projection mode, the feature value, the posture information, and the distance information are matched with multiple first historical projection records in the historical projection record. The first historical projection record includes the projector's historical projection mode, historical feature value, historical posture information, historical distance information, and the first coordinate information of the projected image in the projector during the historical projection process.

[0031] If a first historical projection record is found that contains the same historical projection pattern as the projection pattern, the same historical feature value as the feature value, the same historical posture information as the posture information, and the difference between the historical distance information and the distance information is within a preset range, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information; and the first historical projection record is determined as the target historical projection record.

[0032] The step of determining the historical projection information contained in the target historical projection record as target projection information that matches the current projection scene includes:

[0033] The first coordinate information recorded in the target historical projection record is determined as the target projection information.

[0034] As one possible implementation, the method further includes:

[0035] If it is determined that there is no target historical projection record, a pre-stored list of historical projection records is displayed. The list of historical projection records includes multiple second historical projection records. The second historical projection record includes the scene identifier of the historical projection scene and the second coordinate information of the projected image in the projector during the historical projection process.

[0036] Receive a trigger operation for any of the second historical projection records in the historical projection record list;

[0037] In response to the received trigger operation, the second historical projection record corresponding to the trigger operation is determined as the target historical projection record;

[0038] The determination of target projection information matching the current projection scene includes:

[0039] The second coordinate information recorded in the target historical projection record is determined as the target projection information.

[0040] As one possible implementation, the method further includes:

[0041] If it is determined that there is no historical projection record of the target, a correction rule is determined;

[0042] The target image is corrected according to the correction rules.

[0043] Once it is determined that the target image has been calibrated, the current target projection mode of the projector and the target scene image corresponding to the projector in the current projection scenario are determined. The target scene image includes the target projection image corresponding to the projector when the calibrated target image is projected onto the projection surface.

[0044] Determine the target feature value corresponding to the target scene image;

[0045] The target projection mode, the target feature value, and the corrected target image's target coordinate information in the projector are saved as a first historical projection record in the historical projection record.

[0046] As one possible implementation, the method further includes:

[0047] If it is determined that there is no target historical projection record and no trigger operation is received for any of the second historical projection records in the historical projection record list, a correction rule is determined;

[0048] The target image is corrected according to the correction rules.

[0049] Once it is determined that the target image correction is complete, the target scene identifier of the current projection scene input by the user is obtained;

[0050] The target scene identifier and the corrected target image's target coordinates in the projector are saved as a second historical projection record to the historical projection record list.

[0051] As one possible implementation, the step of performing image recognition on the scene image to obtain the feature values ​​corresponding to the scene image includes:

[0052] Corner information is extracted from the scene image using a preset corner detection method; wherein, the corner information includes the coordinate information of the corners in the scene image.

[0053] The corner information is determined as the feature value corresponding to the scene image.

[0054] As one possible implementation, the determination of whether the feature value is the same as the historical feature value is made in the following way:

[0055] Based on the attitude information, the distance information, and the corner information, determine the world coordinates corresponding to the corner information;

[0056] Based on the historical posture information, the historical distance information, and the historical corner information corresponding to the historical feature value, the historical world coordinates corresponding to the historical corner information are determined.

[0057] The point cloud corresponding to the world coordinates is compared with the historical point cloud corresponding to the historical world coordinates to determine the degree of overlap between the point cloud and the historical point cloud.

[0058] If the overlap is greater than a preset overlap threshold, the feature value is determined to be the same as the historical feature value; or, if the overlap is less than or equal to the overlap threshold, the feature value is determined to be different from the historical feature value.

[0059] As one possible implementation, correcting the target image based on the target projection information includes:

[0060] Based on the world coordinates and the historical world coordinates, determine the current coordinates and historical coordinates of the same physical space coordinate point;

[0061] Obtain the historical distance information corresponding to the distance information from the target projection information;

[0062] Based on the current coordinates, the historical coordinates, the distance information, and the historical distance information, determine the current horizontal and vertical offsets of the projector;

[0063] The projector is moved according to the horizontal and vertical offsets to correct the target image.

[0064] As one possible implementation, correcting the target image based on the target projection information includes:

[0065] Determine whether there are historical adjustment parameters corresponding to the target projection information within a preset historical time period. The historical adjustment parameters refer to the adjustment parameters that the user adjusts after the projector is calibrated according to the target projection information within the historical time period.

[0066] If the historical adjustment parameters exist, the target image is corrected based on the target projection information and the historical adjustment parameters; or...

[0067] In the absence of the historical adjustment parameters, the target image is corrected based on the target projection information.

[0068] Secondly, this application provides a screen projection device for a projector, the device comprising:

[0069] The acquisition module is used to acquire projection scene information of the projector in the current projection scene and to acquire preset historical projection records when the projector receives a projection instruction and projects the target image through the projector.

[0070] The determination module is used to determine the target projection information that matches the current projection scene based on the acquired projection scene information and the historical projection records.

[0071] The correction module is used to correct the target image according to the target projection information and project the corrected target image through the projector.

[0072] Thirdly, this application provides an electronic device, including: a processor and a memory, wherein the processor is configured to execute a projector screen projection program stored in the memory to implement the projector screen projection method described in any one of the first aspects.

[0073] Fourthly, this application provides a storage medium storing one or more programs that can be executed by one or more processors to implement the screen projection method of the projector described in any one aspect.

[0074] The technical solution provided in this application obtains projection scene information and preset historical projection records when the projector receives a projection command and projects a target image. Based on the obtained projection scene information and historical projection records, it determines target projection information matching the current projection scene, corrects the target image based on this target projection information, and projects the corrected target image through the projector. This technical solution, when projecting a target image, determines the target projection information from the historical projection records of the current projection scene, thereby correcting the target image to be projected. Compared to correcting the projector image every time the projection scene changes, this solution provides a simpler and more efficient way to correct the projected target image. It enables efficient and convenient correction of the projected image after changing the projection scene, thus achieving efficient and accurate image projection and improving the user experience. Attached Figure Description

[0075] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0076] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0077] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0078] Figure 1 A flowchart illustrating an embodiment of a projector's image projection method provided in this application;

[0079] Figure 2 A flowchart illustrating an embodiment of determining target projection information provided in this application;

[0080] Figure 3 A schematic diagram illustrating a process for adding a first historical projection record, provided as an embodiment of this application;

[0081] Figure 4 A flowchart illustrating another embodiment for determining target projection information provided in this application;

[0082] Figure 5 A schematic diagram illustrating another process for adding a first historical projection record, provided as an embodiment of this application;

[0083] Figure 6 A flowchart illustrating another embodiment of determining target projection information provided in this application;

[0084] Figure 7 A schematic diagram illustrating a process for adding a second historical projection record, provided as an embodiment of this application;

[0085] Figure 8 A schematic diagram illustrating the geometric relationship of a projector before and after movement, provided as an embodiment of this application;

[0086] Figure 9 A block diagram illustrating an embodiment of a screen projection device for a projector provided in this application;

[0087] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0088] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0089] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0090] To address the technical problem of cumbersome operation and negatively impacting user experience caused by repeated projector image calibration in existing technologies, this application provides a projector image projection method, apparatus, electronic device, and storage medium. This method enables the determination of target projection information during the projector's historical projection process in the current projection scene based on the projector's historical projection records. The target image to be projected is then calibrated based on this information. Compared to the need for image calibration every time the projection scene changes, this method provides a simpler and more efficient way to correct the projected image. It allows for efficient and convenient correction of the projected image after changing the projection scene, thereby achieving efficient and accurate image projection and improving the user experience.

[0091] The image projection method of the projector provided in this application will be further explained and described below with reference to the accompanying drawings and specific embodiments. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0092] See Figure 1 This is a flowchart illustrating an embodiment of a projector's image projection method provided in this application. Figure 1 As shown, the process may include the following steps:

[0093] Step 101: When the projector receives the projection instruction and projects the target image through the projector, obtain the projection scene information of the projector in the current projection scene, and obtain the preset historical projection records.

[0094] The aforementioned projector, also known as a projector, is a device that can project images or videos onto a screen.

[0095] Accordingly, the target image mentioned above is the image to be projected by the projector, which can be an image or a video, and this application embodiment does not limit it.

[0096] The aforementioned projection command refers to the command used to instruct the projector to project the target image. This command can be generated and sent to the projector via a remote control device, or it can be triggered by a preset button on the projector.

[0097] The aforementioned current projection scenario refers to the actual scenario in which the projector is located, which can be the user's living room, bedroom, classroom, etc. This application embodiment does not limit this.

[0098] The aforementioned scene information refers to information related to the current projection scene of the projector, which may include, but is not limited to: scene image, feature values ​​of the scene image, and projection mode of the projector in the current projection scene.

[0099] The aforementioned historical projection records refer to the projector's historical projection records within a historical time period. These records may include all historical projection records of the projector within that historical time period. Each historical projection record may include, but is not limited to, the projector's projection scene, the projection scene information corresponding to the projection scene, and the projector's projection information within that historical time period.

[0100] In practical applications, to meet the needs of image or video projection and save costs, users generally choose projectors with strong mobility, allowing them to project images to different locations, such as the living room and bedroom. Because of this, users may frequently move between locations. However, in projector applications, image calibration is required for different scenarios to ensure the projector displays a normal rectangular image on the projection surface.

[0101] However, the need for automatic or manual image calibration of the projector every time the projector is moved to a new application scenario is time-consuming, especially for high-frequency projection scenarios such as the living room and bedroom. Users may frequently switch between these two locations, and each time they move from the living room to the bedroom or vice versa, the image needs to be readjusted. Moreover, minor adjustments are usually required after each automatic adjustment to achieve a satisfactory result. Therefore, the repeated image calibration of the projector in existing technologies creates cumbersome operations for users and negatively impacts the user experience.

[0102] In response, when the projector receives a projection command and projects the target image, before correcting the target image, it can first obtain the projection scene information of the projector in the current projection scene, as well as obtain the preset historical projection records, so as to correct the target image according to the historical projection records, thereby quickly and accurately correcting the target image.

[0103] The aforementioned historical projection record can be generated by the projector after completing the projection correction of the target image. This generation can be achieved through the following steps: Upon receiving an instruction to save the current projection scene, the projector obtains the projection scene information corresponding to the current projection scene. Then, if the historical projection record does not contain projection scene information corresponding to the current projection scene, the projected information of the corrected target image in the projector is obtained, and the projection scene information corresponding to the current projection scene and the aforementioned projection information are saved to the aforementioned historical projection record. The aforementioned projection information can be the coordinate information of the corrected target image in the projector.

[0104] In one embodiment, when a user moves the projector to a new projection scene for the first time (e.g., from the living room to the bedroom), the image to be projected can be calibrated before projecting the target image. After the image is calibrated, projection scene information related to that scene can be obtained, and this projection scene information, along with the coordinates of the calibrated image within the projector, can be saved as a historical projection record in the historical projection record. The aforementioned projection scene information refers to information related to the scene in which the projector is located, which may include, but is not limited to: scene images, feature values ​​of the scene images, and the projection mode of the projector in the current projection scene.

[0105] Based on this, the executing entity of this application embodiment can obtain the projection scene information of the projector in the current projection scene. The projection scene information refers to scene information related to the current projection scene, which may include, but is not limited to: scene image, feature value of scene image, and projection mode of projector in the current projection scene.

[0106] As an optional implementation, the current projection mode of the projector and the scene image corresponding to the projector in the current projection scene can be determined. The scene image may include the projection image corresponding to the projector when projecting the target image onto the projection surface of the current projection scene.

[0107] Subsequently, image recognition can be performed on the scene image to obtain the feature values ​​corresponding to the scene image, and the projection mode and feature values ​​can be updated in the projection scene information corresponding to the projector's current projection scene. Furthermore, the aforementioned scene image can also be determined as the projection scene information corresponding to the projector's current projection scene.

[0108] As an exemplary implementation, the feature values ​​of the aforementioned scene image can be the corner points in the scene image. Based on this, when recognizing the scene image and determining the corresponding feature values, corner information can be extracted from the scene image using a preset corner detection method. The aforementioned corner detection method can be Harris corner detection, and the aforementioned corner information can be the coordinate information of the corner points in the scene image. The aforementioned corner points refer to extreme points, that is, points with particularly prominent attributes in a certain aspect, such as special points like wall corners in the scene image.

[0109] Then, the corner information can be determined as the feature values ​​corresponding to the scene image.

[0110] As another optional implementation, in addition to using the above projection mode and feature value as the projection scene information corresponding to the current projection scene of the projector, the current attitude information of the projector can also be obtained. Here, the attitude information refers to the attitude information of the projector when projecting the target image. The attitude information may include the relative positional relationship between the components in the projector.

[0111] As an exemplary implementation, information such as acceleration and direction when the projector moves can be detected by a gravity sensor (e.g., a G-Sensor) to calculate the current attitude information of the projector.

[0112] Subsequently, the distance information between the projector and the projection surface in the current projection scene can be determined by the distance sensor inside the projector, and the above projection mode, feature value, attitude information and distance information can be determined as the projection scene information corresponding to the current projection scene of the projector.

[0113] At this point, the projection scene information corresponding to the current projection scene of the projector can be determined.

[0114] Step 102: Based on the obtained projection scene information and historical projection records, determine the target projection information that matches the current projection scene.

[0115] Step 103: Correct the target image based on the target projection information, and project the corrected target image through a projector.

[0116] The following provides a unified explanation of steps 102 and 103:

[0117] The aforementioned target projection information refers to the coordinate information of each corner in the projector's optical engine within the polygon formed by the image to be projected.

[0118] When the projector projects the image to be projected, if the coordinate information of the image to be projected in the projector's optical engine meets the preset conditions, the projected image can form a rectangle on the projection surface.

[0119] In one embodiment, the projector's historical projection record may include historical projection information corresponding to the projector's historical projection images. Based on this, the execution subject of this application embodiment can determine target projection information matching the current projection scene based on the obtained projection scene information and the target's historical projection distance, thereby correcting the target image based on the target projection information, and projecting the corrected target image through the projector.

[0120] As an optional implementation, one can query the historical projection records to see if there is a target historical projection record that corresponds to the projection scene information mentioned above.

[0121] As for how to specifically determine whether a target historical projection record corresponding to the projection scene information exists in the historical projection records, this will be explained in detail below. Figure 2 and Figure 4 This will be explained in more detail here.

[0122] Optionally, if it is determined that the aforementioned target historical projection record exists, the historical projection information contained in the target historical projection record can be determined as the target projection information that matches the current projection scenario.

[0123] Conversely, if it is determined that there is no target historical projection record, it can be determined whether there is a target historical projection record in the preset second historical projection record. The second historical projection record may include the scene identifier of the projection scene and the projection information under the projection scene corresponding to the scene identifier.

[0124] As for how the existence of a target historical projection record is determined in the preset second historical projection record, it will be explained below. Figure 6 The process shown will be explained in detail here.

[0125] In one embodiment, as described in step 101, the projector's historical projection record may include multiple first historical projection records. In addition to projection scene information, the first historical projection record may also include the first coordinate information of the projected image in the projector during the historical projection process. The first coordinate information is the historical projection information recorded in the first historical projection record.

[0126] Based on this, if it is determined that a target historical projection record exists in the historical projection record, the first coordinate information in the target historical projection record can be determined as the target projection information corresponding to the projector when the historical projection screen is displayed.

[0127] As another optional implementation, the projector may include a second historical projection record, which, in addition to including scene identifiers, may also include second coordinate information of the projected image in the projector during the historical projection process.

[0128] Based on this, if it is determined that the historical projection record includes a second historical projection record, the second coordinate information in the second historical projection record can be determined as the target projection information corresponding to the projector when the historical projection screen is displayed.

[0129] In one embodiment, as described in step 101, the target scene information corresponding to the current projection scene may include feature values ​​of the scene image and distance information between the projector and the projection surface, whereby the feature values ​​are corner information in the scene image. Based on this, when correcting the target image according to the target projection information, a common physical space coordinate point can be determined based on the world coordinates corresponding to the corner information and the historical world coordinates corresponding to the historical corner information included in the historical feature values. The current coordinates and historical coordinates of this physical space coordinate point as imaged in the distortion-corrected image of the projector's camera can then be determined.

[0130] Next, the historical distance information corresponding to the distance information in the aforementioned target projection information can be obtained. Based on the current coordinates, historical coordinates, distance information, and historical distance information, the current horizontal and vertical offsets of the projector can be determined. Here, the horizontal and vertical offsets refer to the projector's current offset relative to the target projection information in the historical projection records.

[0131] As an optional implementation method, you can refer to Figure 8 The geometric relationships are shown, and the horizontal and vertical offsets mentioned above are determined by the following formula (I), see [reference]. Figure 8 The diagram below illustrates the geometric relationship of a projector before and after movement, as provided in an embodiment of this application.

[0132]

[0133] Wherein, the historical coordinates are (x0, y0), the current coordinates are (x1, y1), the historical distance information is d0, the distance information is d1, and the c... x c y f x , and f y These are all internal parameters of the camera in the projector.

[0134] Finally, the projector can be moved according to the above horizontal and vertical offsets to correct the target image.

[0135] In one embodiment, due to different user habits, after the projector is calibrated according to the target projection information and the user saves the historical projection record in this scenario, it may not conform to the user's projection habits. Therefore, the user adjusts some parameters in the projection scenario. In this embodiment, the execution subject can record the parameters adjusted by the user.

[0136] Based on this, when the execution subject of this application corrects the target image according to the target projection information, it can determine whether there are historical adjustment parameters corresponding to the target projection information within a preset historical time period. The aforementioned historical adjustment parameters refer to the adjustment parameters that the user adjusts after the projector is corrected according to the target projection information within the historical time period.

[0137] Optionally, if the aforementioned historical adjustment parameters exist, the target image can be corrected based on the aforementioned target projection information and historical adjustment parameters.

[0138] As an exemplary implementation, the target projection information can be corrected according to the aforementioned historical adjustment parameters to obtain new target projection information, and the target image projected by the projector can be corrected according to the new target projection information.

[0139] Conversely, in the absence of historical adjustment parameters, the target image can be corrected based on the target projection information.

[0140] Furthermore, if the aforementioned historical projection record includes a scene image, before correcting the target image based on the target projection information, the execution subject of this application embodiment may replace the target image with the scene image in the historical projection record and ask in a pop-up whether to apply the image effect of the scene image corresponding to the historical projection record.

[0141] Optionally, if the user selects "Yes", the execution entity of this application embodiment can correct the target image based on the determined target projection information when it detects the user's trigger operation on the "Yes" button.

[0142] The technical solution provided in this application obtains projection scene information and preset historical projection records when the projector receives a projection command and projects a target image. Based on the obtained projection scene information and historical projection records, it determines target projection information matching the current projection scene, corrects the target image based on this target projection information, and projects the corrected target image through the projector. This technical solution, when projecting a target image, determines the target projection information from the historical projection records of the current projection scene, thereby correcting the target image to be projected. Compared to correcting the projector image every time the projection scene changes, this solution provides a simpler and more efficient way to correct the projected target image. It enables efficient and convenient correction of the projected image after changing the projection scene, thus achieving efficient and accurate image projection and improving the user experience.

[0143] See Figure 2 This is a flowchart illustrating an embodiment of determining target projection information provided in this application. Figure 2 The process shown is in Figure 1 Based on the illustrated process, this section describes how to determine the target's historical projection records and target projection information when the scene information includes projection patterns and feature values. For example... Figure 2 As shown, the process may include the following steps:

[0144] Step 201: Match the projection mode and feature value with multiple first historical projection records in the historical projection record. The first historical projection record includes the projector's historical projection mode, historical feature value, and the first coordinate information of the projected image in the projector during the historical projection process.

[0145] Step 202: If a first historical projection record is found that contains the same historical projection pattern as the above projection pattern and has the same historical feature value as the above feature value, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information.

[0146] Step 203: Determine the first historical projection record as the target historical projection record.

[0147] The following provides a unified explanation of steps 201 to 203:

[0148] The aforementioned first historical projection record refers to the record of the projector projecting images during a historical time period, which may include, but is not limited to: historical projection modes, historical feature values, historical scene images, and the first coordinate information of the projected image in the projector during the historical projection process.

[0149] Since the aforementioned historical feature values ​​are the feature values ​​corresponding to the historical scene images, the projection scene corresponding to the historical projection record can be determined through these historical feature values.

[0150] In one embodiment, the execution subject of this application embodiment can be through Figure 3 The process shown saves the projector's first historical projection record. See also... Figure 3 This is a schematic diagram illustrating a process for adding a first historical projection record, provided in an embodiment of this application. Figure 3 As shown, the process may include: when the machine, i.e. the projector, is placed in a scene, after the user completes the correction of the image, the execution subject of this application embodiment may output a pop-up window asking whether to intelligently memorize the image effect in the scene after detecting that the image correction is completed. The image effect refers to the projection effect corresponding to the projected image, which may include projection information, such as the coordinate information of the projected image in the projector.

[0151] Optionally, upon receiving a trigger operation for the "Yes" button, the execution entity in this embodiment can capture a scene image of the projector in the current scene using a connected camera. This scene image includes an image of the projector projecting the image onto the projection surface. Then, the feature values ​​corresponding to this scene image can be determined.

[0152] At the same time, the current projection mode of the projector can be determined, and this feature value and projection mode can be identified as projection scene information.

[0153] Afterwards, the coordinate information after image correction can be obtained, and a scene record (i.e., the first historical projection record) can be established by combining the above projection scene information and coordinate information, and the scene record can be saved to the database (i.e., the historical projection record).

[0154] Based on this, when the executing entity of this application queryes whether there is a target historical projection record corresponding to the projection scene information from the historical projection record, it can match the above projection mode and feature value with multiple first historical projection records in the historical projection record to match the target historical projection record.

[0155] Optionally, if a first historical projection record is found that contains the same historical projection pattern as the aforementioned projection pattern and has the same historical feature value as the aforementioned feature value, it can be determined that there exists a target historical projection record in the historical projection records that corresponds to the projection scene information. Then, this first historical projection record can be identified as the target historical projection record.

[0156] It should be noted that the aforementioned historical feature value and feature value being the same can mean that the two values ​​are completely identical, or that the two values ​​are both within a preset range. This application embodiment does not impose any restrictions on this.

[0157] Similarly, the above-mentioned historical posture information and posture information being the same can be completely identical, or both can be within a preset range. This application embodiment does not impose any restrictions on this. For example, the included angle between two components, the included angle included in the historical posture information is 30°, and the included angle included in the posture information is 35°. Both are within the range of [30°, 40°], so it can be determined that they are the same.

[0158] As an exemplary implementation, the feature values ​​of the aforementioned scene image can be the corner points in the scene image. Based on this, when recognizing the scene image and determining the corresponding feature values, corner information can be extracted from the scene image using a preset corner detection method. The aforementioned corner detection method can be Harris corner detection, and the aforementioned corner information can be the corner coordinates in the scene image. The aforementioned corner points refer to extreme points, that is, points with particularly prominent attributes in a certain aspect, such as special points like wall corners in the scene image.

[0159] Then, the corner information can be determined as the feature values ​​corresponding to the scene image.

[0160] Based on this, when determining whether a feature value is the same as a historical feature value, it can be determined in the following way: First, the current attitude information of the projector can be obtained (including but not limited to: the projector's yaw angle and pitch angle, etc.), and the distance information between the projector and the projection surface in the current projection scene can be determined by a preset distance sensor. The aforementioned projection surface can refer to the plane where the target image projected by the projector is located, such as the wall in the current projection scene.

[0161] Then, based on the aforementioned attitude information, distance information, and corner information, the world coordinates corresponding to the corner information can be determined. Here, world coordinates refer to the coordinates of the corner corresponding to the corner information in actual space. Furthermore, based on the aforementioned historical attitude information, historical distance information, and historical corner information corresponding to historical feature values, the historical world coordinates corresponding to the historical corner information can be determined.

[0162] Then, the point cloud corresponding to the world coordinates can be compared with the historical point cloud corresponding to the historical corner information in the historical world coordinates to determine the degree of overlap between the point cloud and the historical point cloud.

[0163] Finally, it can be determined whether the overlap degree is greater than a preset overlap degree threshold. Optionally, if the overlap degree is greater than the preset overlap degree threshold, it can be determined that the feature value is the same as the historical feature value. Conversely, if the overlap degree is less than the preset overlap degree threshold, it can be determined that the feature value is different from the historical feature value.

[0164] Optionally, if no target historical projection record is matched, the execution entity of this application embodiment may determine the target historical projection record from the second historical projection record. The second historical projection record includes the scene identifier corresponding to the projection scene of the projector and the second coordinate information of the projected image in the projector during the historical projection process.

[0165] As for how the target historical projection record is determined from the second historical projection record, it will be explained below. Figure 6 The process shown will be explained in detail here.

[0166] Optionally, if no matching target historical projection record is found, the target image can be corrected automatically or manually. Specifically, a correction rule can be determined, which refers to an automatic correction rule or a manual correction rule selected by the user; this embodiment of the application does not impose any limitations on this.

[0167] Then, the target image can be corrected according to the correction rules. After confirming that the target image correction is complete, the current target projection mode of the projector and the target scene image corresponding to the projector in the current projection scenario are determined. The target scene image includes the target projection image corresponding to the projector when the corrected target image is projected onto the projection surface.

[0168] Based on this, the target feature value corresponding to the aforementioned target scene image can be determined, and the target projection mode, target feature value, and target coordinate information of the corrected target image in the projector can be stored as a first historical projection record in a preset first database. This first database is used to store historical projection records.

[0169] Step 204: Determine the first coordinate information recorded in the target's historical projection record as the target projection information.

[0170] In this embodiment of the application, if it is determined that there is a target historical projection record in the historical projection record, the first coordinate information recorded in the historical projection record can be determined as the target projection information, so as to correct the target image according to the target projection information.

[0171] The technical solution provided in this application matches the projection mode and feature value with multiple first historical projection records in the historical projection record. The first historical projection record includes the projector's historical projection mode, historical feature value, and first coordinate information of the projected image in the projector during the historical projection process. When a first historical projection record containing the same historical projection mode and the same historical feature value is matched, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information. The first historical projection record is then determined as the target historical projection record, and the first coordinate information recorded in the target historical projection record is determined as the target projection information. This technical solution determines the target's historical projection record from historical projection records by using the feature values ​​and projection mode corresponding to the projection scene. This allows for the determination of the target projection information corresponding to the target image, enabling the correction of the target image. Compared to the previous method of correcting the projector's image every time the projection scene is changed, this method can correct the projected image more easily and efficiently. It enables efficient and simple correction of the projector's projected image after changing the projection scene, thereby achieving efficient and accurate image projection through the projector and improving the user experience.

[0172] See Figure 4 This is a flowchart illustrating another embodiment of determining target projection information provided in this application. Figure 4 The process shown is in Figure 1 Based on the illustrated process, this paper describes how to determine the target's historical projection records and target projection information, given scene information including projection mode, feature values, projector attitude information, and distance information between the projector and the projection surface. For example... Figure 4 As shown, the process may include the following steps:

[0173] Step 401: Match the projection mode, feature value, posture information, and distance information with multiple first historical projection records in the historical projection record. The first historical projection record includes the projector's historical projection mode, historical feature value, historical posture information, historical distance information, and the first coordinate information of the projected image in the projector during the historical projection process.

[0174] Step 402: If a first historical projection record is matched with the same historical projection mode, the same historical feature value, the same historical attitude information, and the difference between the historical distance information and the distance information is within a preset range, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information.

[0175] Step 403: Determine the above-mentioned first historical projection record as the target historical projection record.

[0176] The following provides a unified explanation of steps 401 to 403:

[0177] The aforementioned first historical projection record refers to the record of the projector projecting images during a historical time period. That is, the historical projection record includes historical projection records, which may include, but are not limited to: historical projection mode, historical feature value, historical scene image, historical posture information of the projector during the historical projection process, distance information of the projector from the projection surface during the historical projection process, and the first coordinate information of the projected image in the projector during the historical projection process.

[0178] Since the aforementioned historical feature values ​​are the feature values ​​corresponding to the historical scene images, the projection scene corresponding to the historical projection record can be determined through these historical feature values.

[0179] In one embodiment, the execution subject of this application embodiment can be through Figure 5 The process shown saves the projector's first historical projection record. See also... Figure 5 This is a schematic diagram illustrating another process for adding a first historical projection record provided in an embodiment of this application. Figure 5 As shown, the process may include: when the machine, i.e. the projector, is placed in a scene, after the user completes the correction of the image, the execution subject of this application embodiment may output a pop-up window asking whether to intelligently memorize the image effect in the scene after detecting that the image correction is completed. The image effect refers to the projection effect corresponding to the projected image, which may include projection information, such as the coordinate information of the projected image in the projector.

[0180] Optionally, upon receiving a trigger operation for the "Yes" button, the execution entity in this embodiment can capture a scene image of the projector in the current scene using a connected camera. This scene image includes an image of the projector projecting the image onto the projection surface. Then, the feature values ​​corresponding to this scene image can be determined.

[0181] Then, the current projection mode of the projector can be determined, and the attitude information of the projector can be calculated through the G-Sensor (accelerometer), as well as the distance information between the projector and the projection surface can be measured through the TOF (Time of Flight) sensor.

[0182] Then, the aforementioned feature values, projection patterns, pose information, and distance information can be determined as intelligent scene information.

[0183] After that, the coordinate information after the image correction can be obtained, and a scene record (i.e., the first historical projection record) can be established by combining the above intelligent scene information and coordinate information, and the scene record can be saved to the historical projection record.

[0184] Based on this, when the execution subject of this application determines the historical projection records of the projector in the current projection scenario, it can match the above-mentioned projection mode, feature value, posture information, and distance information with multiple first historical projection records in the historical projection records, thereby matching the target historical projection record.

[0185] Optionally, if a first historical projection record is matched, containing the same historical projection pattern as the aforementioned projection pattern, the same historical feature values, the same historical attitude information as the aforementioned attitude information, and the difference between the historical distance information and the distance information within a preset range, it can be determined that among the multiple first historical projection records in the historical projection records, there exists a target historical projection record corresponding to the projection scene information. Then, this first historical projection record can be identified as the target historical projection record.

[0186] It should be noted that the aforementioned historical feature value and feature value being the same can mean that the two values ​​are completely identical, or that the two values ​​are both within a preset range. This application embodiment does not impose any restrictions on this.

[0187] Similarly, the above-mentioned historical posture information and posture information being the same can be completely identical, or both can be within a preset range. This application embodiment does not impose any restrictions on this. For example, the included angle between two components, the included angle included in the historical posture information is 30°, and the included angle included in the posture information is 35°. Both are within the range of [30°, 40°], so it can be determined that they are the same.

[0188] As an exemplary implementation, the feature values ​​of the aforementioned scene image can be the corner points in the scene image. Based on this, when recognizing the scene image and determining the corresponding feature values, corner information can be extracted from the scene image using a preset corner detection method. The aforementioned corner detection method can be Harris corner detection, and the aforementioned corner information can be the corner coordinates in the scene image. The aforementioned corner points refer to extreme points, that is, points with particularly prominent attributes in a certain aspect, such as special points like wall corners in the scene image.

[0189] Then, the corner information can be determined as the feature values ​​corresponding to the scene image.

[0190] Based on this, when determining whether a feature value is the same as a historical feature value, it can be determined in the following way: First, the current attitude information of the projector can be obtained (including but not limited to: the projector's yaw angle and pitch angle, etc.), and the distance information between the projector and the projection surface in the current projection scene can be determined by a preset distance sensor. The aforementioned projection surface can refer to the plane where the target image projected by the projector is located, such as the wall in the current projection scene.

[0191] Then, based on the aforementioned attitude information, distance information, and corner information, the world coordinates corresponding to the corner information can be determined. Here, world coordinates refer to the coordinates of the corner corresponding to the corner information in actual space, and the historical world coordinates corresponding to the historical corner information can be determined based on the aforementioned historical attitude information, historical distance information, and historical corner information corresponding to historical feature values.

[0192] Then, the point cloud corresponding to the world coordinates can be compared with the historical point cloud corresponding to the historical corner information in the historical world coordinates to determine the degree of overlap between the point cloud and the historical point cloud.

[0193] Finally, it can be determined whether the overlap degree is greater than a preset overlap degree threshold. Optionally, if the overlap degree is greater than the preset overlap degree threshold, it can be determined that the feature value is the same as the historical feature value. Conversely, if the overlap degree is less than the preset overlap degree threshold, it can be determined that the feature value is different from the historical feature value.

[0194] Optionally, if no target historical projection record is matched, the execution entity of this application embodiment may determine the target historical projection record from the second historical projection record. The second historical projection record includes the scene identifier corresponding to the projection scene of the projector and the second coordinate information of the projected image in the projector during the historical projection process.

[0195] As for how the target historical projection record is determined from the second historical projection record, it will be explained below. Figure 6 The process shown will be explained in detail here.

[0196] Optionally, if no matching target historical projection record is found, the target image can be corrected automatically or manually. Specifically, a correction rule can be determined, which refers to an automatic correction rule or a manual correction rule selected by the user; this embodiment of the application does not impose any limitations on this.

[0197] Then, the target image can be corrected according to the correction rules. After confirming that the target image correction is complete, the current target projection mode of the projector and the target scene image corresponding to the projector in the current projection scenario are determined. The target scene image includes the target projection image corresponding to the projector when the corrected target image is projected onto the projection surface.

[0198] Based on this, the target feature values ​​corresponding to the aforementioned target scene image can be determined, and the target posture information of the projector in the current projection scene, as well as the target distance information to the projection surface, can be obtained. Then, the aforementioned target projection mode, target feature values, target posture information, target distance information, and the target coordinate information of the corrected target image in the projector can be stored as a first historical projection record in a preset first database. This first database is used to store historical projection records.

[0199] Step 404: Determine the first coordinate information recorded in the target historical projection record as the target projection information.

[0200] In this embodiment of the application, when it is determined that there is a target historical projection record among a plurality of preset first historical projection records, the first coordinate information recorded in the target historical projection record can be determined as the target projection information, so as to correct the target image according to the target projection information.

[0201] The technical solution provided in this application matches projection mode, feature value, posture information, and distance information with multiple first historical projection records in historical projection records. The first historical projection record includes the projector's historical projection mode, historical feature value, historical posture information, historical distance information, and the first coordinate information of the projected image in the projector during the historical projection process. When a first historical projection record containing the same historical projection mode, the same historical feature value, the same historical posture information, and the difference between the historical distance information and the distance information is within a preset range is matched, it is determined that there is a target historical projection record in the historical projection records that corresponds to the projection scene information. The first historical projection record is then determined as the target historical projection record, and the first coordinate information recorded in the target historical projection record is determined as the target projection information. This technical solution determines the target historical projection record from multiple first historical projection records included in the historical projection record by using the feature values ​​and projection mode corresponding to the projection scene. This determines the target projection information corresponding to the target image and corrects the target image. Compared to the need to correct the projector image every time the projection scene is changed, this method can correct the projected image more easily and efficiently. It enables efficient and simple correction of the projected image after changing the projection scene, thereby achieving efficient and accurate image projection through the projector and improving the user experience.

[0202] See Figure 6 This is a flowchart illustrating another embodiment of determining target projection information provided in this application. Figure 6 The process shown is in Figure 2 or Figure 3Based on the illustrated process, this section describes how to determine the target's historical projection record and target projection information from the second historical projection record when it is determined that no target historical projection record exists. For example... Figure 6 As shown, the process may include the following steps:

[0203] Step 601: If it is determined that there is no target historical projection record, display a pre-stored list of historical projection records. The list of historical projection records includes multiple second historical projection records. The second historical projection record includes the scene identifier of the historical projection scene and the second coordinate information of the projected image in the projector during the historical projection process.

[0204] Step 602: Receive a trigger operation for any second historical projection record in the historical projection record list.

[0205] Step 603: In response to the received trigger operation, determine the second historical projection record corresponding to the trigger operation as the target historical projection record.

[0206] The following provides a unified explanation of steps 601 to 603:

[0207] The aforementioned second historical projection record refers to the record of the projector projecting images during a historical time period, which may include, but is not limited to: the scene identifier of the corresponding scene during the historical projection process (such as the scene name entered by the user) and the second coordinate information of the projected image in the projector during the historical projection process.

[0208] Since the scene identifier is associated with the projection scene of the projector, the projection scene corresponding to the historical projection record can be determined through the scene identifier.

[0209] In one embodiment, the execution subject of this application embodiment can be through Figure 7 The process shown saves the projector's second historical projection record. See also... Figure 7 This is a schematic diagram illustrating a process for adding a second historical projection record, provided in an embodiment of this application. Figure 7 As shown, the process may include: when the projector is placed in a scene, after the user completes the image calibration, the execution subject of this application embodiment may output a pop-up window asking whether to intelligently memorize the image effect in the scene after detecting that the image calibration is completed.

[0210] Optionally, upon receiving a trigger operation for the "Yes" button, the execution entity of this application embodiment may output an input box so that the user can input the scene name of the projection scene corresponding to the projector through the input box.

[0211] Subsequently, the executing entity of this application embodiment can obtain the coordinate information after image correction, establish an intelligent memory scene record (i.e., the second historical projection record) with the above-mentioned intelligent scene information and coordinate information, and save the scene record to the historical projection record list.

[0212] Based on this, when the executing entity of this application determines that there is no target historical projection record in the first historical projection record, it can output a pre-stored list of historical projection records, which may include multiple second historical projection records as described above.

[0213] Optionally, when a user triggers an operation on any second historical projection record in the aforementioned historical projection record list, the user may, in response to the received trigger operation, determine the second historical projection record corresponding to the trigger operation as the target historical projection record.

[0214] Conversely, if it is determined that there is no target historical projection record and no trigger operation is received for any second historical projection record in the aforementioned historical projection record list, the target image can be corrected automatically or manually. Specifically, a correction rule can be determined, which refers to an automatic correction rule or a manual correction rule selected by the user; this application embodiment does not limit this.

[0215] Afterwards, the target image can be corrected according to the correction rules. Once the correction of the target image is completed, a pop-up window can be displayed asking whether to intelligently memorize the image effect of the scene.

[0216] Optionally, upon receiving a trigger operation for the "Yes" button, the execution entity of this application embodiment may output an input box so that the user can input the scene identifier (e.g., scene name) of the projection scene corresponding to the projector through the input box.

[0217] Based on this, the executing entity of this application embodiment can obtain the target scene identifier of the current projection scene input by the user, and store the target scene identifier and the target coordinate information of the corrected target image in the projector as a second projection record in the historical projection record.

[0218] Step 604: Determine the second coordinate information in the target's historical projection record as the target projection information.

[0219] In this embodiment of the application, after determining the target historical projection record from the multiple second historical projection records included in the historical projection record list, the second coordinate information recorded in the target historical projection record can be determined as the target projection information, so as to correct the target image according to the target projection information.

[0220] The technical solution provided in this application, when it is determined that no target historical projection record exists, displays a pre-stored list of historical projection records. This list includes multiple second historical projection records, each containing a scene identifier of the historical projection scene and second coordinate information of the projected image in the projector during the historical projection process. It receives a trigger operation for any second historical projection record in the list, and in response to the received trigger operation, determines the second historical projection record corresponding to the trigger operation as the target historical projection record, and determines the second coordinate information in the target historical projection record as the target projection information. This technical solution, by outputting a list of historical projection records when no historical projection record can be obtained through scene information, and allowing the user to manually select the corresponding target historical projection record, directly corrects the target image based on the target projection information in the target historical projection record. Compared to the need to correct the projector image every time the projection scene is changed, this method provides a simpler and more efficient way to correct the projected image. It enables efficient and convenient correction of the projected image after changing the projection scene, thereby achieving efficient and accurate image projection and improving the user experience.

[0221] See Figure 9 This is a block diagram illustrating an embodiment of a projector's image projection device provided in this application. Figure 9 As shown, the device may include:

[0222] The acquisition module 91 is used to acquire projection scene information of the projector in the current projection scene and to acquire preset historical projection records when the projector receives a projection instruction and projects the target image through the projector.

[0223] The determining module 92 is used to determine the target projection information that matches the current projection scene based on the acquired projection scene information and the historical projection records;

[0224] The correction module 93 is used to correct the target image according to the target projection information and project the corrected target image through the projector.

[0225] like Figure 10 The diagram shown is a structural schematic of an electronic device according to an embodiment of this application, including a processor 1001, a communication interface 1002, a memory 103, and a communication bus 1004. The processor 1001, communication interface 1002, and memory 1003 communicate with each other via the communication bus 1004.

[0226] Memory 1003 is used to store computer programs;

[0227] In one embodiment of this application, the processor 1001, when executing a program stored in the memory 1003, implements the image projection method of the projector provided in any of the foregoing method embodiments, including:

[0228] When the projector receives a projection command and projects the target image through the projector, it obtains the projection scene information of the projector in the current projection scene, as well as the preset historical projection records;

[0229] Based on the obtained projection scene information and the historical projection records, determine the target projection information that matches the current projection scene;

[0230] The target image is corrected based on the target projection information, and the corrected target image is projected through the projector.

[0231] This application also provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the projector image projection method provided in any of the foregoing method embodiments.

[0232] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0233] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0234] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.

[0235] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for projecting an image using a projector, characterized in that, The method includes: When the projector receives a projection command and projects the target image through the projector, it obtains the projection scene information of the projector in the current projection scene, as well as the preset historical projection records; Based on the obtained projection scene information and the historical projection records, determine the target projection information that matches the current projection scene; The target image is corrected based on the target projection information, and the corrected target image is projected through the projector.

2. The method according to claim 1, characterized in that, The historical projection record is generated by the projector after the projection correction of the target image is completed. The steps for generating the historical projection record include: Upon receiving an instruction to save the current projection scene, retrieve the projection scene information corresponding to the current projection scene; If the projection scene information corresponding to the current projection scene is not saved in the historical projection record, the projection information of the currently corrected target image in the projector is obtained, and the projection scene information corresponding to the current projection scene and the projection information are saved to the historical projection record.

3. The method according to claim 1, characterized in that, The step of determining the target projection information matching the current projection scene based on the acquired projection scene information and the historical projection records includes: Query the historical projection records to see if there is a target historical projection record corresponding to the projection scene information; If it is determined that the target historical projection record exists, the historical projection information contained in the target historical projection record is determined as the target projection information that matches the current projection scene.

4. The method according to claim 3, characterized in that, The step of obtaining the projection scene information of the projector in the current projection scene includes: The current projection mode of the projector and the scene image corresponding to the projector in the current projection scenario are determined; wherein, the scene image includes the projection image corresponding to the projector when the target image is projected onto the projection surface; Perform image recognition on the scene image to obtain the feature values ​​corresponding to the scene image; The projection mode and the feature value are updated in the projection scene information corresponding to the projector in the current projection scene.

5. The method according to claim 4, characterized in that, The historical projection record includes multiple first historical projection records. The step of querying the historical projection record to determine if a target historical projection record corresponding to the projection scene information exists includes: The projection mode and the feature value are matched with multiple first historical projection records in the historical projection record, wherein the first historical projection record includes the projector's historical projection mode, historical feature value, and first coordinate information of the projected image in the projector during the historical projection process; If a first historical projection record is found that contains the same historical projection pattern as the projection pattern and the same historical feature value as the feature value, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information; the first historical projection record is determined as the target historical projection record. The step of determining the historical projection information contained in the target historical projection record as target projection information that matches the current projection scene includes: The first coordinate information recorded in the target historical projection record is determined as the target projection information.

6. The method according to claim 4, characterized in that, The step of updating the projection mode and the feature value to the projection scene information corresponding to the projector in the current projection scene includes: Obtain the current attitude information of the projector; The distance information between the projector and the projection surface in the current projection scene is determined by the distance sensor in the projector; The projection mode, the feature value, the posture information, and the distance information are updated in the projection scene information corresponding to the current projection scene of the projector.

7. The method according to claim 6, characterized in that, The step of querying the historical projection records to see if there is a target historical projection record corresponding to the projection scene information includes: The projection mode, the feature value, the posture information, and the distance information are matched with multiple first historical projection records in the historical projection record. The first historical projection record includes the projector's historical projection mode, historical feature value, historical posture information, historical distance information, and the first coordinate information of the projected image in the projector during the historical projection process. If a first historical projection record is found that contains the same historical projection pattern as the projection pattern, the same historical feature value as the feature value, the same historical posture information as the posture information, and the difference between the historical distance information and the distance information is within a preset range, it is determined that there is a target historical projection record in the historical projection record that corresponds to the projection scene information; and the first historical projection record is determined as the target historical projection record. The step of determining the historical projection information contained in the target historical projection record as target projection information that matches the current projection scene includes: The first coordinate information recorded in the target historical projection record is determined as the target projection information.

8. The method according to claim 3, characterized in that, The method further includes: If it is determined that there is no target historical projection record, a pre-stored list of historical projection records is displayed. The list of historical projection records includes multiple second historical projection records. The second historical projection record includes the scene identifier of the historical projection scene and the second coordinate information of the projected image in the projector during the historical projection process. Receive a trigger operation for any of the second historical projection records in the historical projection record list; In response to the received trigger operation, the second historical projection record corresponding to the trigger operation is determined as the target historical projection record; The determination of target projection information matching the current projection scene includes: The second coordinate information recorded in the target historical projection record is determined as the target projection information.

9. The method according to claim 3, characterized in that, The method further includes: If it is determined that there is no historical projection record of the target, a correction rule is determined; The target image is corrected according to the correction rules. Once it is determined that the target image has been calibrated, the current target projection mode of the projector and the target scene image corresponding to the projector in the current projection scenario are determined. The target scene image includes the target projection image corresponding to the projector when the calibrated target image is projected onto the projection surface. Determine the target feature value corresponding to the target scene image; The target projection mode, the target feature value, and the corrected target image's target coordinate information in the projector are saved as a first historical projection record in the historical projection record.

10. The method according to claim 8, characterized in that, The method further includes: If it is determined that there is no target historical projection record and no trigger operation is received for any of the second historical projection records in the historical projection record list, a correction rule is determined; The target image is corrected according to the correction rules. Once it is determined that the target image correction is complete, the target scene identifier of the current projection scene input by the user is obtained; The target scene identifier and the corrected target image's target coordinates in the projector are saved as a second historical projection record to the historical projection record list.

11. The method according to claim 7, characterized in that, The step of performing image recognition on the scene image to obtain the feature values ​​corresponding to the scene image includes: Corner information is extracted from the scene image using a preset corner detection method; wherein, the corner information includes the coordinate information of the corners in the scene image. The corner information is determined as the feature value corresponding to the scene image.

12. The method according to claim 11, characterized in that, The following method is used to determine whether the feature value is the same as the historical feature value: Based on the attitude information, the distance information, and the corner information, determine the world coordinates corresponding to the corner information; Based on the historical posture information, the historical distance information, and the historical corner information corresponding to the historical feature value, the historical world coordinates corresponding to the historical corner information are determined. The point cloud corresponding to the world coordinates is compared with the historical point cloud corresponding to the historical world coordinates to determine the degree of overlap between the point cloud and the historical point cloud. If the overlap is greater than a preset overlap threshold, the feature value is determined to be the same as the historical feature value; or, if the overlap is less than or equal to the overlap threshold, the feature value is determined to be different from the historical feature value.

13. The method according to claim 12, characterized in that, The step of correcting the target image based on the target projection information includes: Based on the world coordinates and the historical world coordinates, determine the current coordinates and historical coordinates of the same physical space coordinate point; Obtain the historical distance information corresponding to the distance information from the target projection information; Based on the current coordinates, the historical coordinates, the distance information, and the historical distance information, determine the current horizontal and vertical offsets of the projector; The projector is moved according to the horizontal and vertical offsets to correct the target image.

14. The method according to claim 1, characterized in that, The step of correcting the target image based on the target projection information includes: Determine whether there are historical adjustment parameters corresponding to the target projection information within a preset historical time period. The historical adjustment parameters refer to the adjustment parameters that the user adjusts after the projector is calibrated according to the target projection information within the historical time period. If the historical adjustment parameters exist, the target image is corrected based on the target projection information and the historical adjustment parameters; or... In the absence of the historical adjustment parameters, the target image is corrected based on the target projection information.

15. A projection device for a projector, characterized in that, The device includes: The acquisition module is used to acquire projection scene information of the projector in the current projection scene and to acquire preset historical projection records when the projector receives a projection instruction and projects the target image through the projector. The determination module is used to determine the target projection information that matches the current projection scene based on the acquired projection scene information and the historical projection records. The correction module is used to correct the target image according to the target projection information and project the corrected target image through the projector.

16. An electronic device, characterized in that, include: A processor and a memory, the processor being configured to execute a projector screen projection program stored in the memory to implement the projector screen projection method according to any one of claims 1 to 14.

17. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the screen projection method of the projector according to any one of claims 1 to 14.