The present application is based on and claims priority to Chinese Patent Application No. 202110492250.1, filed on May 6, 2021, titled “Projection Display Method and Apparatus, Terminal, and Non-Transitory Storage Medium”, which is hereby incorporated by reference in its entirety.
The present disclosure relates to the field of computer technology, and more particularly, to a projection display method and apparatus, a terminal, and a non-transitory storage medium.
Planar interactive projection is to detect the contents of the projection region through the camera, and complete various operations under the projection region through interaction.
This Summary section is provided to introduce concepts in a brief form, which will be described in detail below in the subsequent Detailed Description section. This Summary section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.
In order to solve the above problems, the present disclosure provides a projection display method and apparatus, a terminal, and a non-transitory storage medium.
According to an embodiment of the present disclosure, there is provided a projection display method, including:
According to an embodiment of the present disclosure, there is provided a projection display apparatus, including:
According to an embodiment of the present disclosure, there is provided a terminal, including: at least one memory and at least one processor; wherein the memory is configured to store program code, and the processor is configured to invoke the program code stored in the memory to perform the method.
According to an embodiment of the present disclosure, there is provided a non-transitory storage medium, the non-transitory storage medium is configured to store program code, the program code is configured to perform the method described above.
By adopting the solution of projection display of the present disclosure, the projection direction can be dynamically set according to the display direction of the target content, and the effect of display content self-adaptation is achieved.
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following Detailed Description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals refer to the same or similar elements. It should be understood that the drawings are schematic and components and elements are not necessarily drawn to scale.
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure may be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, but rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the figures and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the protection scope of the present disclosure.
It should be understood that the steps recited in embodiments of the present disclosure may be performed in a different order, and/or in parallel. Furthermore, embodiments may include additional steps and/or omit performance of illustrated steps. The scope of the present disclosure is not limited in this regard.
As used herein, the term “include” and its variants are open including, that is, “including, but not limited to”. The term “on the basis of” is “at least partially on the basis of”. The term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one other embodiment”; the term “some embodiments” means “at least some embodiments”. The term “in response to” and related terms means that one signal or event is affected to some degree by another signal or event, but not necessarily completely or directly. If event x occurs “in response to” event y, then x may be directly or indirectly in response to y. For example, the occurrence of y may eventually lead to the occurrence of x, but there may be other intermediate events and/or conditions. In other cases, y may not necessarily lead to the occurrence of x, and x may occur even if y has not yet occurred. In addition, the term “in response to” may also mean “at least partially in response to”.
It should be noted that the concepts such as “first” and “second” mentioned in the present disclosure are only used to distinguish between different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
It should be noted that modifiers such as “a” and “a plurality” referred to in the present disclosure are schematic rather than limiting, and those skilled in the art will appreciate that unless the context clearly dictates otherwise, it should be understood as “one or more”.
A projector is a device that can project an image or video onto a projection surface (such as a wall, a curtain) for a user to view the image projected by the projector from the projection surface. The projection surface may include, but is not limited to, a projection curtain, a wall, or the like having a smooth surface on which the light projected by the projection lens presents a corresponding image. When the target content to be projected is also located on the projection surface, for example, an open book is placed on the desktop, and the user can select a part of the opened page as the projection content; the projection content may include a sentence or a word in a book page, and the corresponding image or interpretation may be invoked according to the selected sentence or word to obtain a dynamic reading effect. However, for example, when a book is shifted in position, please refer to
As shown in
S100, a target content within a projection plane is detected.
Specifically, the target content of an embodiment of the present disclosure may include various forms of the target content, such as images, words, and the like. The user may select the content in the target content as the projection content, which is projected onto the projection plane in which the target content is located. That is, the target content and the projection content selected from the target content may both lie within the projection plane.
In one embodiment, the target content within the detection projection plane may be identified by an OCR (Optical Character Recognition) algorithm.
S200, projection information corresponding to the target content is acquired.
The projection information includes at least one sub-content in the target content and/or a preset content corresponding to the at least one sub-content. As described above, the projection information of the embodiment of the present disclosure may include a sub-content in the target content such as a certain image in a book, a word in a book or the like, and may further include a preset content corresponding to the sub-content such as detailed information of an author of an image, a background content or the like, or translation parsing of a certain word or the like. In the embodiment of the present disclosure, the user can either select one sub-content to obtain a preset content corresponding thereto, or trigger a plurality of sub-contents to obtain a plurality of results. As shown in
In one embodiment, the step that the projection information corresponding to the target content is acquired may include: the target content is identified by the OCR algorithm and the target content is taken as the projection information, or the projection information associated with the target content is inquired based on a dictionary or a pre-set database after identifying the target content by the OCR algorithm.
S300, the projection information is projected onto the projection plane for display based on a display state of the target content.
Specifically, an embodiment of the present disclosure may include the steps that a first display direction of the target content within the projection plane is acquired; and the projection information is projected in the first display direction onto the projection plane for display. Specifically, the step that the first display direction of the target content within the projection plane is acquired may include: a coordinate system is established on the projection plane; coordinates of the target content within the coordinate system are acquired; and the first display direction is acquired according to the coordinates. The step that the projection information is projected in the first display direction onto the projection plane for display includes: based on a first region location where the target content is located and the first display direction, the projection information is projected in a region other than the first region location on the projection plane in the first display direction for display. More specifically, when the projection information includes information groups consisting of a plurality of sub-contents and/or preset contents corresponding to the plurality of sub-contents, respectively, the step that the projection information is projected in the region other than the first region location on the projection plane in the first display direction for display includes: respective display screen sizes of the plurality of information groups are determined based on a size of a projection plane and a size of the first region location; and the plurality of information groups are displayed in a region other than the first region on the projection plane according to respective display screen sizes and the first display direction. The step that the plurality of information groups are displayed in the region other than the first region on the projection plane according to the respective display screen sizes and the first display direction includes: the plurality of information groups are sorted and the plurality of information groups are sequentially displayed in the region other than the first region on the projection plane according to the respective display screen sizes and the first display direction.
The display state of an embodiment of the present disclosure may include angle information and position information of the target content within the projection plane. The angle information can be obtained by establishing a coordinate system on the projection plane, acquiring reference point coordinates of the target content in the coordinate system, and then acquiring angles of the target content with respect to coordinate axes in the coordinate system according to the reference point coordinates; the position information may include the position of the target content in the projection plane, such as left-leaning or right-leaning information.
Please refer to
An embodiment of the present disclosure may further include: first distances between the target content and projection plane edges are acquired respectively; second distances of the sub-region in directions perpendicular to the corresponding edges are re-acquired, respectively; the first distance is compared to the second distance; when the first distance is not less than the second distance, the sub-region is set at one side of the corresponding edge of the plurality of edges, when d1 is not less than d2 in
In addition, as shown in
In particular, the projection region of the projection information overlaps or does not overlap with the region where the target content is located. In an embodiment of the present disclosure, the projection region may not overlap with the region where the target content is located, for example, as shown in
In addition, an embodiment of the present disclosure may further include the step that the display state is detected, a projection direction of the projection information is adjusted from the first display direction to a second direction when the target content changes from the first display direction to the second direction.
Please refer specifically to
Interactive projection according to embodiments of the present disclosure may be performed by detecting the contents of a book in the projection region by, for example, a camera, and using a finger or a stylus to display operations such as interpretation or point reading of words on the projection region. By detecting the display region such as the outline of a book, the size and direction of the displayed content can be adaptively changed when the projection content is output, so that no matter the user reads from any direction in the projected region, the picture will not be out of harmony with the book content, and the actual experience of the product is improved. Furthermore, the projection region is arranged to be non-coincident with the display region of, for example, a book, so as to avoid coincidence or non-parallelism with the display region of the text caused by movement of the operator in the projection region, and the display content is self-adaptive when the display content is tilted and close to the edge.
As shown in
In some embodiments, wherein the projection information comprises at least one sub-content in the target content and/or a preset content corresponding to the at least one sub-content.
In some embodiments, the projection module configured to acquiring a first display direction of the target content within the projection plane; and projecting the projection information in the first display direction onto the projection plane for display.
In some embodiments, the projection module configured to establishing a coordinate system on the projection plane; acquiring coordinates of the target content within the coordinate system; and acquiring the first display direction according to the coordinates.
In some embodiments, the projection module configured to detecting the display state, adjusting a projection direction of the projection information from the first display direction to a second direction when the target content changes from the first display direction to the second direction.
In some embodiments, the projection module configured to based on a first region location where the target content is located and the first display direction, projecting the projection information in a region other than the first region location on the projection plane in the first display direction for display.
In some embodiments, the projection information comprises information groups consisting of a plurality of sub-contents and/or preset contents corresponding to the plurality of sub-contents, respectively;
The projection module configured to determining respective display screen sizes of the plurality of information groups based on a size of a projection plane and a size of the first region location; and displaying the plurality of information groups in a region other than the first region on the projection plane according to respective display screen sizes and the first display direction.
In some embodiments, the projection module configured to sorting the plurality of information groups and sequentially displaying the plurality of information groups in the region other than the first region on the projection plane according to the respective display screen sizes and the first display direction.
For the embodiments of the apparatus, which substantially correspond to the method embodiments, reference is made to the partial description of the method embodiments. The apparatus embodiments described above are merely schematic, wherein modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the objective of the embodiment. A person having ordinary skill in the art can understand and implement without inventive step.
In addition, the present disclosure also provides a terminal including: at least one memory and at least one processor; wherein the memory is configured to store program code, and the processor is configured to invoke the program code stored in the memory to perform the method.
In addition, the present disclosure also provides a non-transitory storage medium, the non-transitory storage medium is configured to store program code, the program code is configured to perform the above method.
Referring now to
The memory 111 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. The memory 111 is configured to store a program, and the processor 113 executes the program upon receiving an execution instruction.
The processor 113 may be an integrated circuit chip having the signal processing capability. The processor 113 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), or the like; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or any other programmable logic device, a discrete gate or a transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 114 couples various input/input devices to the processor 113 and the memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip. In other examples, they may each be implemented by a separate chip.
It will be appreciated that the structure shown in
In some embodiments, a projection display method, comprising:
In some embodiments, wherein the projection information comprises at least one sub-content in the target content and/or a preset content corresponding to the at least one sub-content.
In some embodiments, wherein projecting the projection information onto the projection plane for display based on the display state of the target content comprises:
In some embodiments, wherein acquiring the first display direction of the target content within the projection plane comprises:
In some embodiments, further comprising:
In some embodiments, wherein projecting the projection information in the first display direction onto the projection plane for display comprises:
In some embodiments, wherein the projection information comprises information groups consisting of a plurality of sub-contents and/or preset contents corresponding to the plurality of sub-contents, respectively;
In some embodiments, wherein displaying the plurality of information groups in the region other than the first region on the projection plane according to the respective display screen sizes and the first display direction comprises:
In some embodiments, a projection display apparatus, comprising:
The above description is merely the illustration of preferred embodiments of the present application and the technical principles used. It should be understood by those skilled in the art that the scope of the present application referred to herein is not limited to technical solutions formed by specific combinations of the above technical features, but also contains other technical solutions formed by any combination of the above technical features or equivalent features thereof without departing from the above inventive concept, such as, technical solutions formed by interchanging the above features with (but not limited to) the technical features with similar functions disclosed in the present application.
Number | Date | Country | Kind |
---|---|---|---|
202110492250.1 | May 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/085511 | 4/7/2022 | WO |