EP-4738812-A1 - SCREEN PROJECTION METHOD AND DEVICE OF PROJECTOR, ELECTRONIC DEVICE AND STORAGE MEDIUM
Abstract
Disclosed are a screen projection method and device of a projector, an electronic device, and a storage medium. The screen projection method includes: when the projector receives a projection instruction and projects a target screen through the projector, acquiring (101) projection scenario information of the projector in a current projection scenario, and acquiring a preset historical projection record; determining (102) target projection information matching the current projection scenario according to the acquired projection scenario information and historical projection record; and correcting (103) the target screen according to the target projection information, and projecting the corrected target screen through the projector, which can correct the projection screen of the projector efficiently and simply after the projection scenario of the projector is changed, thereby efficiently and accurately projecting a screen through the projector and improving user experience.
Inventors
- LIU, Huachao
- LUO, MING
- Huang, Huajin
- CHEN, YU
- LI, XIAO
Assignees
- Shenzhen Oceanwing Smart Innovations Technology Co., Ltd
Dates
- Publication Date
- 20260506
- Application Date
- 20251029
Claims (15)
- A screen projection method of a projector, comprising: - when the projector receives a projection instruction and projects a target screen through the projector, acquiring (101) projection scenario information of the projector in a current projection scenario, and acquiring a preset historical projection record; - determining (102) target projection information matching the current projection scenario according to the acquired projection scenario information and historical projection record; and - correcting (103) the target screen according to the target projection information, and projecting the corrected target screen through the projector.
- The screen projection method of claim 1, wherein the historical projection record is triggered by the projector after completing projection correction of the target screen, and is generated through steps of: - when an instruction of saving the current projection scenario is received, acquiring the projection scenario information corresponding to the current projection scenario; and - when the projection scenario information corresponding to the current projection scenario is not saved in the historical projection record, acquiring projection information of the current corrected target screen in the projector, and saving the projection scenario information corresponding to the current projection scenario and the projection information into the historical projection record.
- The screen projection method of claim 1 or 2, wherein said determining target projection information matching the current projection scenario according to the acquired projection scenario information and historical projection record comprises: - inquiring from the historical projection record whether a target historical projection record corresponding to the projection scenario information is present; and - when it is determined that the target historical projection record is present, determining historical projection information comprised in the target historical projection record as the target projection information matching the current projection scenario.
- The screen projection method of claim 3, wherein said acquiring projection scenario information of the projector in a current projection scenario comprises: - determining a current projection mode of the projector, and a scenario image of the projector in the current projection scenario, the scenario image comprising a projection screen when the projector projects the target screen onto a projection surface; - performing image recognition on the scenario image to obtain a feature value corresponding to the scenario image; and - updating the projection mode and the feature value to the projection scenario information of the projector in the current projection scenario.
- The screen projection method of claim 4, wherein the historical projection record comprises a plurality of first historical projection records, and said inquiring from the historical projection record whether a target historical projection record corresponding to the projection scenario information is present comprises: - matching (201) the projection mode and the feature value with the plurality of first historical projection records in the historical projection record, the first historical projection record comprising a historical projection mode and a historical feature value of the projector, and first coordinate information of a projection screen in the projector during a historical projection process; - in a case where the first historical projection record is matched, in which the historical projection mode is the same as the projection mode and the historical feature value is the same as the feature value, determining (202) that the target historical projection record corresponding to the projection scenario information is present in the historical projection record; and - determining (203) the first historical projection record as the target historical projection record, and - said determining historical projection information comprised in the target historical projection record as the target projection information matching the current projection scenario comprises: - determining (204) the first coordinate information recorded in the target historical projection record as the target projection information.
- The screen projection method of claim 4 or 5, wherein said updating the projection mode and the feature value to the projection scenario information of the projector in the current projection scenario comprises: - acquiring current attitude information of the projector; - determining distance information between the projector and the projection surface in the current projection scenario by a distance sensor in the projector; and - updating the projection mode, the feature value, the attitude information, and the distance information to the projection scenario information corresponding to the current projection scenario of the projector.
- The screen projection method of claim 6, wherein said inquiring from the historical projection record whether a target historical projection record corresponding to the projection scenario information is present comprises: - matching (401) the projection mode, the feature value, the attitude information, and the distance information with a plurality of first historical projection records in the historical projection record, the first historical projection record comprising a historical projection mode, a historical feature value, historical attitude information and historical distance information of the projector, and first coordinate information of a projection screen in the projector during a historical projection process; - in a case where the first historical projection record is matched, in which the historical projection mode is the same as the projection mode, the historical feature value is the same as the feature value, the historical attitude information is the same as the attitude information, and a difference between the historical distance information and the distance information belongs to a preset range, determining (402) that a target historical projection record corresponding to the projection scenario information is present in the historical projection record; and - determining (403) the first historical projection record as the target historical projection record, and - said determining historical projection information comprised in the target historical projection record as the target projection information matching the current projection scenario comprises: - determining (404) the first coordinate information recorded in the target historical projection record as the target projection information.
- The screen projection method of any one of claims 3 to 7, further comprising: - when it is determined that the target historical projection record is not present, displaying (601) a pre-stored historical projection record list comprising a plurality of second historical projection records, the plurality of second historical projection records comprising a scenario identifier of a historical projection scenario and second coordinate information of a projection screen in the projector during a historical projection process; - receiving (602) a trigger operation for any one of the second historical projection records in the historical projection record list; and - in response to the received trigger operation, determining (603) the second historical projection record corresponding to the trigger operation as the target historical projection record, and - said determining target projection information matching the current projection scenario comprises: - determining (604) the second coordinate information in the target historical projection record as the target projection information, the method preferably further comprising: - when it is determined that the target historical projection record is not present and a trigger operation for any one of the second historical projection records in the historical projection record list is not received, determining a correction rule; - correcting the target screen according to the correction rule; - when it is determined that the correction of the target screen is completed, acquiring a target scenario identifier of the current projection scenario input by a user; and - saving the target scenario identifier and target coordinate information of the corrected target screen in the projector as a second projection record in the historical projection record list.
- The screen projection method of any one of claims 3 to 8, further comprising: - when it is determined that the target historical projection record is not present, determining a correction rule; - correcting the target screen according to the correction rule; - when it is determined that the correction of the target screen is completed, determining a current target projection mode of the projector and a target scenario image of the projector in the current projection scenario, the target scenario image comprising a target projection screen when the projector projects the corrected target screen onto the projection surface; - determining a target feature value corresponding to the target scenario image; and - saving the target projection mode, the target feature value, and target coordinate information of the corrected target screen in the projector as a first historical projection record in the historical projection record.
- The screen projection method of claim 7, wherein said performing image recognition on the scenario image to obtain a feature value corresponding to the scenario image comprises: - extracting corner point information from the scenario image through a preset corner point detection method, the corner point information comprising coordinate information in the scenario image of the corner point in the scenario image; and - determining the corner point information as the feature value corresponding to the scenario image.
- The screen projection method of claim 10, wherein whether the feature value is the same as the historical feature value is determined in the following manner: - determining a world coordinate corresponding to the corner point information according to the attitude information, the distance information, and the corner point information; - according to the historical attitude information, the historical distance information, and historical corner point information corresponding to the historical feature value, determining a historical world coordinate corresponding to the historical corner point information; - comparing a point cloud corresponding to the world coordinate with a historical point cloud corresponding to the historical world coordinate, thereby determining an overlap degree between the point cloud and the historical point cloud; and - when the overlap degree is greater than a preset overlap degree threshold, it is determined that the feature value is the same as the historical feature value; or when the overlap degree is less than a preset overlap degree threshold, it is determined that the feature value is not the same as the historical feature value, wherein said correcting the target screen according to the target projection information preferably comprises: - determining a current coordinate and a historical coordinate of a 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 coordinate, the historical coordinate, 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 screen.
- The screen projection method of any one of the preceding claims, wherein said correcting the target screen according to the target projection information comprises: - determining whether there is a historical adjustment parameter corresponding to the target projection information within a preset historical period, the historical adjustment parameter referring to an adjustment parameter with which the user adjusts the projector after the projector is corrected according to the target projection information in the historical period; and - in a case where the historical adjustment parameter is present, correcting the target screen according to the target projection information and the historical adjustment parameter, or - in a case where the historical adjustment parameter is not present, correcting the target screen according to the target projection information.
- A screen projection device of a projector, comprising: - an acquisition module (91) configured to acquire projection scenario information of the projector in a current projection scenario and acquire a preset historical projection record when the projector receives a projection instruction and projects a target screen through the projector; - a determination module (92) configured to determine target projection information matching the current projection scenario according to the acquired projection scenario information and historical projection record; and - a correction module (93) configured to correct the target screen according to the target projection information and project the corrected target screen through the projector.
- An electronic device comprising a processor (1001) and a memory (1003), wherein the processor (1001) is configured to execute a screen projection program of a projector stored in the memory (1003) to implement the screen projection method of a projector of any one of claims 1 to 12.
- A storage medium on which one or more computer programs are stored, wherein the one or more computer programs are executed by one or more processors (1001) to implement the screen projection method of a projector of any one of claims 1 to 12.
Description
Field The present disclosure relates to the technical field of projectors, in particular to a screen projection method and device of a projector, an electronic device, and a storage medium. Background Currently, in order to meet the demand for projection of images or videos and save cost, users generally select a projector with strong mobility, so that during use, screen projection can be performed by the projector onto different places, such as a living room and a bedroom. Based on this, users can frequently move between places during use, however, in applications of the projector, the screen needs to be corrected for different scenarios, so that the projector can present a normal rectangular screen on a projection surface. In practical applications, after screen effects of the projector are adjusted in one scenario, once the projector is moved to another scenario, screen correction operations such as automatic/manual keystone correction or screen fit and obstacle avoidance need to be performed again on the projector, so that a relatively satisfactory screen effect can be re-adjusted. However, it is necessary to perform automatic or manual screen correction on the projector each time the projector is moved to an application scenario, which relatively consumes time, especially for some high-frequency projection scenarios, such as a living room and a bedroom, a user may need to frequently move between the two places, and each time the user moves from the living room to the bedroom or from the bedroom to the living room, the screen needs to be re-adjusted once, and after each automatic adjustment is completed, slight adjustment is generally needed to achieve a satisfactory effect. Therefore, in the related art, when a scenario changes obviously or is switched, the screen of the projector needs to be corrected repeatedly, which causes tedious operations of the user and affects user experience. Summary The present disclosure provides a screen projection method and device of a projector, an electronic device, and a storage medium according to the independent claims to solve the technical problem in the related art that the screen of the projector needs to be corrected repeatedly, which causes tedious operations of the user and affects user experience. The dependent claims refer to further embodiments. In a first aspect, an example of the disclosure provides a screen projection method including: when the projector receives a projection instruction and projects a target screen through the projector (based on the projector receiving a projection instruction and projecting a target screen through the projector), acquiring projection scenario information of the projector in a current projection scenario, and acquiring a preset historical projection record; determining target projection information matching the current projection scenario according to (based on) the acquired projection scenario information and historical projection record; and correcting the target screen according to the target projection information, and projecting the corrected target screen through the projector. In a possible example, the historical projection record is triggered by (based on) the projector after completing projection correction of the target screen, and is generated through steps of: when (based on) an instruction of saving the current projection scenario is received, acquiring the projection scenario information corresponding to the current projection scenario; and/or when (based on) the projection scenario information corresponding to the current projection scenario is not saved in the historical projection record, acquiring projection information of the current corrected target screen in the projector, and/or saving the projection scenario information corresponding to the current projection scenario and the projection information into the historical projection record. In a possible example, said determining target projection information matching the current projection scenario according to the acquired projection scenario information and historical projection record includes: inquiring from the historical projection record whether a target historical projection record corresponding to the projection scenario information is present; and/orwhen (based on) it is determined that the target historical projection record is present, determining historical projection information included in the target historical projection record as the target projection information matching the current projection scenario. In a possible example, said acquiring projection scenario information of the projector in a current projection scenario includes: determining a current projection mode of the projector, and a scenario image of the projector in the current projection scenario, the scenario image including a projection screen when the projector projects (based on the projector projecting) the target screen onto a projection surface; and/orperforming