CN-122002011-A - Picture projection method and device for projector, electronic equipment and storage medium
Abstract
The application relates to a picture projection method, a device, an electronic device and a storage medium of a projector, wherein the method comprises the steps of obtaining projection scene information of the projector under the current projection scene and obtaining a preset historical projection record when the projector receives a projection instruction and projects a target picture through the projector; determining target projection information matched with the current projection scene according to the acquired projection scene information and the history 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 and simply corrected, so that the efficient and accurate picture projection through the projector is realized, and the user experience is improved.
Inventors
- LIU HUACHAO
- LUO MING
- HUANG HUAJIN
- CHEN YU
- LI XIAO
Assignees
- 安克创新科技股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241030
Claims (17)
- 1. A picture projection method of a projector, the method comprising: When a projector receives a projection instruction and projects a target picture through the projector, acquiring projection scene information of the projector under the current projection scene, and acquiring a preset historical projection record; determining target projection information matched with the current projection scene according to the acquired projection scene information and the history projection record; And correcting the target picture according to the target projection information, and projecting the corrected target picture through the projector.
- 2. The method of claim 1, wherein the history projection record is generated by the projector triggered after completion of projection correction of a target frame, the step of generating the history projection record comprising: When receiving an instruction for storing the current projection scene, acquiring projection scene information corresponding to the current projection scene; And when the projection scene information corresponding to the current projection scene is not stored in the history projection record, acquiring the projection information of the target picture in the projector after the current correction, and storing the projection scene information and the projection information corresponding to the current projection scene into the history projection record.
- 3. The method of claim 1, wherein the determining target projection information matching the current projection scene based on the acquired projection scene information and the historical projection record comprises: Inquiring whether a target historical projection record corresponding to the projection scene information exists in the historical projection record; in the case that the target history projection record exists, the history projection information contained in the target history projection record is determined as target projection information matched with the current projection scene.
- 4. A method according to claim 3, wherein said obtaining projection scene information of said projector at a current projection scene comprises: determining a current projection mode of the projector and a scene image corresponding to the projector under a current projection scene, wherein the scene image comprises a projection picture corresponding to the projector when the projector projects the target picture to a projection plane; Performing image recognition on the scene image to obtain a characteristic value corresponding to the scene image; And updating the projection mode and the characteristic value into the projection scene information corresponding to the projector under the current projection scene.
- 5. The method of claim 4, wherein the history projection record comprises a plurality of first history projection records, the querying from the history projection records whether there is a target history projection record corresponding to the projection scene information, comprising: Matching the projection mode and the characteristic value with a plurality of first history projection records in the history projection records, wherein the first history projection records comprise the history projection mode of the projector, the history characteristic value and first coordinate information of a projection picture in the projector in the history projection process; Determining that a target historical projection record corresponding to the projection scene information exists in the historical projection record under the condition that the included historical projection mode is matched with a first historical projection record which is the same as the projection mode and the historical characteristic value is the same as the characteristic value; The determining the historical projection information contained in the target historical projection record as target projection information matched with the current projection scene comprises the following steps: and determining the first coordinate information recorded in the target history projection record as the target projection information.
- 6. The method of claim 4, wherein the updating the projection mode and the feature value into the projection scene information corresponding to the projector at the current projection scene comprises: acquiring current attitude information of the projector; Determining distance information between the projector and a projection surface in the current projection scene through a distance sensor in the projector; And updating the projection mode, the characteristic value, the gesture information and the distance information into the projection scene information corresponding to the current projection scene of the projector.
- 7. The method of claim 6, wherein the querying from the history projections whether there is a target history projection record corresponding to the projection scene information comprises: matching the projection mode, the characteristic value, the gesture information and the distance information with a plurality of first history projection records in the history projection records, wherein the first history projection records comprise the history projection mode, the history characteristic value, the history gesture information and the history distance information of the projector and first coordinate information of a projection picture in the projector in the history projection process; When the history projection mode is matched with the first history projection record which is contained, the history characteristic value is the same as the projection mode, the history posture information is the same as the posture information, and the difference value between the history distance information and the distance information belongs to a first history projection record in a preset range, determining that a target history projection record corresponding to the projection scene information exists in the history projection record; The determining the historical projection information contained in the target historical projection record as target projection information matched with the current projection scene comprises the following steps: and determining the first coordinate information recorded in the target history projection record as the target projection information.
- 8. A method according to claim 3, characterized in that the method further comprises: displaying a pre-stored history projection record list under the condition that the target history projection record does not exist, wherein the history projection record list comprises a plurality of second history projection records, and the second history projection records comprise scene identifications of history projection scenes and second coordinate information of projection pictures in the projector in the history projection process; Receiving a trigger operation for any one of the second history projections in the history projection list; Responding to the received triggering operation, and determining the second history projection record corresponding to the triggering operation as a target history projection record; The determining target projection information matched with the current projection scene comprises the following steps: and determining the second coordinate information recorded in the target history projection record as the target projection information.
- 9. A method according to claim 3, characterized in that the method further comprises: Determining a correction rule if it is determined that the target history projection record does not exist; Correcting the target picture according to the correction rule; Under the condition that the correction of the target picture is determined to be completed, determining a current target projection mode of the projector and a target scene image corresponding to the projector in a current projection scene, wherein the target scene image comprises a target projection picture corresponding to the projector when the corrected target picture is projected to a projection plane; Determining a target characteristic value corresponding to the target scene image; And storing the target projection mode, the target characteristic value and the target coordinate information of the corrected target picture in the projector as a first historical projection record into the historical projection record.
- 10. The method of claim 8, wherein the method further comprises: Determining a correction rule if it is determined that the target history projection record does not exist and a trigger operation for any of the second history projections in the history projection record list is not received; Correcting the target picture according to the correction rule; Under the condition that the correction of the target picture is determined to be completed, acquiring a target scene identifier of the current projection scene input by a user; and storing the target scene identification and the corrected target coordinate information of the target picture in the projector as a second historical projection record to the historical projection record list.
- 11. The method of claim 7, wherein the performing image recognition on the scene image to obtain the feature value corresponding to the scene image comprises: Extracting corner information from the scene image by a preset corner detection method, wherein the corner information comprises coordinate information of corners in the scene image; And determining the corner information as a characteristic value corresponding to the scene image.
- 12. The method of claim 11, wherein determining whether the characteristic value is the same as the historical characteristic value is performed by: according to the attitude information, the distance information and the angular point information, determining world coordinates corresponding to the angular point information; according to the historical attitude information, the historical distance information and the historical corner information corresponding to the historical characteristic value, determining historical world coordinates corresponding to the historical corner information; comparing the point cloud corresponding to the world coordinates with the historical point cloud corresponding to the historical world coordinates to determine the coincidence degree of the point cloud and the historical point cloud; and determining that the characteristic value is the same as the historical characteristic value under the condition that the contact ratio is larger than a preset contact ratio threshold value, or determining that the characteristic value is not the same as the historical characteristic value under the condition that the contact ratio is smaller than or equal to the contact ratio threshold value.
- 13. The method of claim 12, wherein correcting the target frame based on the target projection information comprises: Determining the current coordinate and the historical coordinate of the same physical space coordinate point according to the world coordinate and the historical world coordinate; Acquiring historical distance information corresponding to the distance information in the target projection information; determining a current horizontal offset and a current vertical offset of the projector according to the current coordinates, the historical coordinates, the distance information and the historical distance information; And moving the projector according to the horizontal offset and the vertical offset to correct the target picture.
- 14. The method of claim 1, wherein correcting the target picture based on the target projection information comprises: Determining whether a history adjustment parameter corresponding to the target projection information exists in a preset history time period, wherein the history adjustment parameter refers to an adjustment parameter for adjusting the projector by a user after the projector is corrected according to the target projection information in the history time period; Correcting the target picture in the presence of the history adjustment parameter based on the target projection information and the history adjustment parameter, or And correcting the target picture according to the target projection information in the condition that the history adjustment parameters are not present.
- 15. A picture projection apparatus of a projector, the apparatus comprising: the acquisition module is used for acquiring the projection scene information of the projector in the current projection scene and acquiring a preset historical projection record when the projector receives a projection instruction and projects a target picture through the projector; The determining module is used for determining target projection information matched with the current projection scene according to the acquired projection scene information and the history projection record; And the correction module is used for correcting the target picture according to the target projection information and projecting the corrected target picture through the projector.
- 16. An electronic device comprising a processor and a memory, wherein the processor is configured to execute a screen projection program of a projector stored in the memory, so as to implement the screen projection method of the projector according to any one of claims 1 to 14.
- 17. A storage medium storing one or more programs executable by one or more processors to implement the method of projecting a picture of a projector according to any one of claims 1 to 14.
Description
Picture projection method and device for projector, electronic equipment and storage medium Technical Field The present application relates to the field of projector technologies, and in particular, to a method and apparatus for projecting a picture of a projector, an electronic device, and a storage medium. Background Currently, in order to meet the projection requirement of images or videos and save cost, a user generally selects a projector with a strong movement attribute, so that different places, such as a living room and a bedroom, can be subjected to picture projection through the projector in the use process. Based on this, the user may frequently move the place when using, however, in the application to the projector, correction of the screen is required for different scenes so that the projector can present a normal rectangular screen on the projection surface. In practical application, after the picture effect of the projector is adjusted in one scene, once the projector moves to another scene, the projector needs to be subjected to automatic/manual ladder correction or picture correction operations such as curtain entering obstacle avoidance, and the like again, so that the picture effect can be readjusted to be satisfied. However, it is time consuming to perform automatic or manual screen correction on the projector every time it is moved to an application scene, especially for some high frequency projection scenes, such as living room and room, the user may need to switch between these two places frequently, and the user needs to readjust the screen once every time he moves from living room to room or from room to living room, and typically only needs to fine tune slightly after each automatic adjustment is completed to achieve a satisfactory effect. Therefore, when the scene is obviously changed or switched in the prior art, the correction of the picture of the projector needs to be repeatedly performed, so that complicated operation is caused for the user, and the user experience is affected. Disclosure of Invention The application provides a picture projection method, a device, electronic equipment and a storage medium of a projector, which are used for solving the technical problems that in the prior art, the picture of the projector needs to be repeatedly corrected to cause complicated operation to a user and influence the user experience. In a first aspect, an embodiment of the present application provides a method for projecting a picture of a projector, including: When a projector receives a projection instruction and projects a target picture through the projector, acquiring projection scene information of the projector under the current projection scene, and acquiring a preset historical projection record; determining target projection information matched with the current projection scene according to the acquired projection scene information and the history projection record; And correcting the target picture according to the target projection information, and projecting the corrected target picture through the projector. As a possible implementation manner, the history projection record is triggered by the projector to generate after completing the projection correction of the target picture, and the step of generating the history projection record includes: When receiving an instruction for storing the current projection scene, acquiring projection scene information corresponding to the current projection scene; And when the projection scene information corresponding to the current projection scene is not stored in the history projection record, acquiring the projection information of the target picture in the projector after the current correction, and storing the projection scene information and the projection information corresponding to the current projection scene into the history projection record. As a possible implementation manner, the determining, according to the acquired projection scene information and the historical projection record, target projection information matched with the current projection scene includes: Inquiring whether a target historical projection record corresponding to the projection scene information exists in the historical projection record; in the case that the target history projection record exists, the history projection information contained in the target history projection record is determined as target projection information matched with the current projection scene. As a possible implementation manner, the obtaining the projection scene information of the projector under the current projection scene includes: determining a current projection mode of the projector and a scene image corresponding to the projector under a current projection scene, wherein the scene image comprises a projection picture corresponding to the projector when the projector projects the target picture to a projection plane; Performing image recognition on the scen