Interaction method for projection picture, projector and storage medium
By identifying the order of obscured areas on the projector screen, generating direction commands, and performing interactive operations, the problem of easy loss of the remote control and limited battery life is solved, and interactive control of the projected screen without external hardware is achieved, improving the user experience.
Patent Information
- Application Number
- CN202411044257.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-12
AI Technical Summary
When using the projector, users need to use an external remote control to control it, resulting in problems such as easy loss and limited battery life, which affects the interactive experience of the projected screen.
By acquiring multiple shooting images, we can identify whether the recognition area in the picture is blocked, determine the order of blocking, generate direction instructions according to the order, and perform corresponding interaction operations to achieve low-cost, efficient and convenient interactive control without additional hardware.
It realizes simple identification method without an external remote control, and low-cost, efficient and convenient projection screen interactive control, improving user experience.
Smart Images

Figure CN118945302A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of projection equipment, and in particular to an interactive method for projecting images, a projector and a storage medium. Background Art
[0002] Projectors can project large-size images onto a screen, and the large-format viewing experience they bring is very popular among users. In order to select the control pattern on the projected image or adjust the volume, brightness, progress bar, etc., users often need to use an external remote control to control it. However, the remote control is easy to lose and has limited battery life, which affects the user's experience of controlling the projected image. Summary of the invention
[0003] In order to solve the above technical problems, the present invention proposes an interactive method, a projector and a storage medium for projecting images, which can realize low-cost, efficient and convenient interactive control with the projected images without the need for additional hardware support.
[0004] In order to achieve the above object, the present invention adopts the following technical solutions:
[0005] In a first aspect, the present invention discloses an interactive method for projecting a picture, comprising the following steps:
[0006] Acquire a plurality of photographed images in time sequence, wherein the photographed images include a plurality of identification areas;
[0007] Identify whether each of the identification areas in the captured image is blocked, so as to determine the blocking order of each of the identification areas in the captured image;
[0008] Determining corresponding direction instructions according to the order in which each recognition area in the photographed image is blocked;
[0009] According to the direction instruction, a corresponding interactive operation is performed.
[0010] Preferably, the identifying whether each of the identification areas in the captured image is blocked includes:
[0011] Acquire the brightness value of the identified area in the captured image;
[0012] When the brightness value of the recognition area is less than a threshold, it is determined that the recognition area is blocked.
[0013] Preferably, each of the identification areas includes at least one identification pixel point;
[0014] The obtaining of the brightness value of the identification area in the shooting picture comprises: obtaining the brightness value of each identification pixel point in the shooting picture;
[0015] When the brightness value of the recognition area is less than a threshold, determining that the recognition area is blocked includes: when the brightness value of each recognition pixel point in the recognition area is less than a threshold, or the brightness values of all pixels in the recognition area are less than a threshold, determining that the recognition area is blocked.
[0016] Preferably, the determining the blocking order of each recognition area in the captured image comprises:
[0017] The blocking order of each recognition area in the shooting picture is determined according to the acquisition timing of each shooting picture and the blocking state of each recognition area in the shooting picture, and the blocking state is determined by whether the recognition area is blocked.
[0018] Preferably, the identification area in the shooting picture includes a first area and a second area arranged along a first direction;
[0019] The identifying whether each of the identification areas in the shooting picture is blocked to determine the blocking order of each of the identification areas in the shooting picture comprises: respectively acquiring the blocking states of the first area and the second area in the plurality of shooting pictures, wherein the blocking state of the first area is determined by whether the first area is blocked, and the blocking state of the second area is determined by whether the second area is blocked;
[0020] According to the acquisition timing of each of the shooting images and the occlusion status of the first area and the second area in each of the shooting images, the occlusion order of the first area and the second area in the first direction is determined.
[0021] Preferably, determining the blocking order of the first area and the second area in the first direction according to the acquisition time sequence of each of the shooting pictures and the blocking state of the first area and the second area in each of the shooting pictures comprises: in the multiple shooting pictures acquired in time sequence, if the brightness values of the first area and the second area are successively less than a threshold value, determining that the first area and the second area are successively blocked in the first direction;
[0022] The determining the corresponding direction instruction according to the blocking order of each identification area in the shooting picture comprises: if the first area and the second area are blocked in sequence in the first direction, determining the direction instruction corresponding to the first direction;
[0023] Executing the corresponding interactive operation according to the direction instruction includes: executing the interactive operation corresponding to the first direction according to the direction instruction corresponding to the first direction, and the interactive operation includes instructing a selection box in the projection picture to move along the first direction.
[0024] Preferably, determining the blocking order of the first area and the second area in the first direction according to the acquisition timing of each of the shooting pictures and the blocking states of the first area and the second area in each of the shooting pictures comprises:
[0025] In the plurality of captured images acquired in a time sequence, if the first area and the second area are blocked in sequence, and then the second area and the first area are unblocked in sequence, it is determined that the first area and the second area are blocked back and forth in the first direction;
[0026] The determining the corresponding direction instruction according to the blocking order of each identification area in the shooting picture comprises: if the first area and the second area are blocked back and forth in the first direction, determining the corresponding direction instruction as a direction instruction corresponding to the back and forth direction of the first direction;
[0027] The performing a corresponding interactive operation according to the direction instruction includes: according to the direction instruction corresponding to the round-trip direction of the first direction, instructing a selection box in the projection image to perform a confirmation operation on the selected control.
[0028] Preferably, performing a corresponding interactive operation according to the direction instruction comprises: acquiring a control type currently selected in the projection picture, and performing an interactive operation corresponding to the control type according to the direction instruction.
[0029] In a second aspect, the present invention discloses a projector, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program can be read and executed by the processor to implement the interactive method for projecting a picture as described in the first aspect.
[0030] In a third aspect, the present invention discloses a storage medium storing a computer program, wherein the computer program is configured to be executable by a processor to execute the interactive method for projecting a picture in the first aspect.
[0031] Compared with the prior art, the beneficial effect of the present invention lies in: the interactive method for projected images proposed in the present invention includes acquiring multiple captured images including multiple identification areas in a time sequence, and identifying whether each identification area of the captured images is blocked. According to the acquisition order of each captured image and the blocking state of each identification area, the blocking order of each identification area in the captured image can be determined, and the corresponding direction instructions are determined based on this, and further the corresponding interactive operations can be performed. The identification method in the whole process is simple, and no additional hardware support is required, so low-cost, efficient and convenient interactive control can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a flow chart of an interactive method for projecting a picture according to a first embodiment of the present invention;
[0033] Figure 2 It is a schematic diagram of the arrangement of the recognition pixels in the captured image;
[0034] Figure 3 It is a schematic diagram of the process of the selection box in the projection screen moving to the right;
[0035] Figure 4 It is a schematic diagram of dividing the shooting picture into 9 recognition areas;
[0036] Figure 5 It is a schematic diagram of a user's finger swiping from the left side to the right side of the front surface of the projector;
[0037] Figure 6 yes Figure 5 Schematic diagram of the process of finger movements changing in the captured image;
[0038] Figure 7 It is a schematic diagram of a user's finger sliding from the bottom to the top of the front surface of the projector;
[0039] Figure 8 yes Figure 7 Schematic diagram of the process of finger movements changing in the captured image. DETAILED DESCRIPTION
[0040] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.
[0041] It should be noted that when a component is referred to as being "fixed to" or "disposed on" another component, it can be directly on the other component or indirectly on the other component. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, connection can be used for both fixing and circuit / signal communication.
[0042] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0043] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0044] like Figure 1 As shown, the first embodiment of the present invention discloses an interactive method for projecting a picture, comprising the following steps:
[0045] S1: Acquire multiple shooting pictures in time sequence, wherein the shooting pictures include multiple recognition areas;
[0046] The captured image may be a visible light captured image or an infrared light captured image. The captured image in the embodiment of the present invention is obtained based on a visible light camera or a visible light camera built into the projector.
[0047] In a specific example, after the projector is turned on, or when the projected image is in a specified interface (e.g., an interface with a check box, or an interface with a progress bar, a volume bar, or a brightness bar), the camera shoots at a certain frame rate, such as 10 frames per second or faster, to obtain multiple captured images. With one second as a recognition cycle, the positions of the blocked areas of each captured image are identified in turn in each recognition cycle, and the change order of the blocked areas is determined, thereby inferring the sliding direction of the user's finger, and then triggering the control instruction of the corresponding direction. The start of the recognition cycle can be determined in the following way: when the image processor recognizes that the brightness values of the recognition pixel points K in a certain recognition area in the captured image are all less than the threshold, the recognition cycle is counted from the captured image. Among them, dividing the recognition area of the captured image into at least four blocks can ensure that the left and right and up and down directions are not misidentified. In theory, the more the areas of the captured image are divided, the higher the accuracy of the final judgment of the swiping direction.
[0048] S2: Identify whether each recognition area in the captured image is blocked, so as to determine the blocking order of each recognition area in the captured image;
[0049] Wherein, step S2 specifically includes:
[0050] S21: Obtaining the brightness value of the recognition area in the captured image;
[0051] Specifically, each identification area includes at least one identification pixel point, and the step includes: obtaining the brightness value of each identification pixel point in the captured image;
[0052] S22: When the brightness value of the recognition area is less than the threshold, it is determined that the recognition area is blocked.
[0053] Specifically, when the brightness values of all the recognition pixels in the recognition area are less than the threshold, or the brightness values of all the pixels in the recognition area are less than the threshold, the recognition area is determined to be blocked. It should be noted that a small number of recognition pixels can be set in the recognition area, rather than using all the pixels in the area as recognition pixels, so as to speed up the judgment. As long as the brightness values of all the recognition pixels in the recognition area are less than the threshold, it is considered that the brightness value of the recognition area is less than the threshold, and thus it is determined to be blocked.
[0054] S23: Determine the order in which each recognition area in the captured image is blocked according to the acquisition sequence of each captured image and the blocking state of each recognition area in the captured image, wherein the blocking state is determined by whether the recognition area is blocked.
[0055] In a specific example, if Figure 2 As shown, each recognition pixel point K is distributed in an array in the shooting picture 100, and the coordinates of multiple recognition pixel points K are determined in the shooting picture 100. Subsequently, it is determined whether the position is blocked by a finger according to the brightness value (0-255) at the coordinates of these recognition pixel points K. After identifying the blocked recognition area in each shooting picture obtained in sequence, the change of the blocking of the recognition area during the shooting process can be determined according to the order in which these shooting pictures are obtained.
[0056] S3: determining corresponding direction instructions according to the order in which each recognition area in the captured image is blocked;
[0057] S4: Execute corresponding interactive operations according to the direction instructions.
[0058] Specifically, this step also obtains the control type currently selected in the projection screen, and performs an interactive operation corresponding to the control type according to the direction instruction.
[0059] In a specific example, step S3 generates a corresponding direction instruction according to the directional user operation identified in step S2, and the direction instruction can correspond to any direction of up, down, left, or right. If the current interface is a menu bar, a main interface, or the like, where the position of a check box can be adjusted, when the processor identifies a swipe operation in the corresponding direction, an instruction to control the check box to move once in that direction is generated, such as Figure 3, the selection box 300 in the projection screen 200 moves to the right, that is, the selection box 300 was originally located at the first control pattern 401, and after the selection box 300 moves to the right, the selection box 300 is located at the second control pattern 402. When the control type selected by the user is a volume bar, a brightness bar, a progress bar or other control bar, when the processor recognizes the direction instruction of the corresponding direction, an instruction to adjust the control bar in that direction is generated. Specifically, when the user selects the progress bar, and the direction instruction is the right direction at this time, the interactive operation is to fast forward the video progress bar for a preset time length; when the direction instruction is the left direction at this time, the interactive operation is to rewind the video progress bar for a preset time length. Furthermore, multiple interactive operations can also be generated according to the combination of swiping in different directions. For example, if the direction instructions are successively recognized as the left direction and the upper direction within a preset time, the volume bar is called out in the projection screen; if it is the right direction and the upper direction, the brightness bar is called out in the projection screen.
[0060] In a further embodiment, the identification area in the captured image includes a first area and a second area arranged along a first direction; the first direction is, for example, horizontal and / or vertical, and step S2 includes:
[0061] S2a: Obtaining the occlusion status of the first area and the second area in the plurality of captured images respectively, wherein the occlusion status of the first area is determined by whether the first area is occluded, and the occlusion status of the second area is determined by whether the second area is occluded;
[0062] S2b: Determine the blocking order of the first area and the second area in the first direction according to the acquisition timing of each shooting picture and the blocking state of the first area and the second area in each shooting picture.
[0063] In some embodiments, step S2b specifically includes: in a plurality of captured images acquired in a time sequence, if the brightness values of the first area and the second area are successively less than the threshold, it is determined that the first area and the second area are successively blocked in the first direction; correspondingly, step S3 includes: if the first area and the second area are successively blocked in the first direction, the direction instruction corresponding to the first direction is determined; step S4 includes: according to the direction instruction corresponding to the first direction, an interactive operation corresponding to the first direction is performed, and the interactive operation includes instructing the selection box in the projection image to move along the first direction. The first direction can be any direction of vertically upward, vertically downward, horizontally left, and horizontally right in the captured image. For example, the captured image may simultaneously include the first area and the second area arranged in sequence vertically upward, and the first area and the second area arranged in sequence horizontally to the right, wherein when the first area and the second area in the horizontal direction are successively blocked, the blocking order is determined to be from left to right, and then the direction instruction is determined to correspond to the horizontal right direction. Among the multiple identification areas divided from the captured image, the first area and the second area arranged along a certain direction may be composed of multiple identification areas respectively, such as Figure 4 As shown, the first area arranged horizontally can be composed of recognition areas P1, P4, and P7, and the second area is composed of recognition areas P3, P6, and P9, and the corresponding first direction is horizontal to the right; similarly, the first area arranged vertically can be composed of recognition areas P1, P2, and P3, and the second area is composed of P7, P8, and P9, and the corresponding first direction is vertically downward. In the process of triggering a direction command, when the recognition areas P1, P4, and P7 are completely blocked first compared to other recognition areas, these three recognition areas are used as the first area, and the recognition areas P3, P6, and P9 are used as the second area. When the second area is subsequently blocked, the corresponding horizontal right direction command is triggered. If the recognition areas P1, P2, and P3 are completely blocked first compared to other recognition areas, these three recognition areas are used as the first area, and the recognition areas P7, P8, and P9 are used as the second area. When the second area is subsequently blocked, the corresponding vertical downward direction command is triggered.
[0064] In the corresponding specific example, the shooting picture is divided into multiple areas, such as Figure 4 The nine identification areas P1, P2, P3, ..., P9 shown in the figure each include a plurality of identification pixels K. The number of identification areas may be 4 or more, as long as there are different identification areas distributed in the left and right directions and in the up and down directions within the shooting image 100.
[0065] When the brightness values of the identified pixels K in a certain identification area in a certain photographed image are all lower than a preset threshold value (for example, the brightness value is lower than 10), the identification area is considered to be an obscured dark area D (refer to Figure 6(a)); When there is at least one recognition pixel K in a certain recognition area whose brightness value is higher than the threshold, the recognition area is considered to be unobstructed. When the recognition areas in a certain direction are blocked one by one, the control instruction corresponding to the direction is triggered.
[0066] For example, in the left and right directions, each of the left and right recognition areas initially has at least one recognition pixel K with a brightness value greater than the threshold → then the brightness values of the recognition pixel K in the right recognition area are all less than the threshold → the brightness values of the recognition pixel K in the right and left recognition areas are all less than the threshold → the recognition pixels in the left recognition area are all less than the threshold and there is at least one recognition pixel greater than the threshold in the right area → both the left and right recognition areas have recognition pixel K with a brightness value greater than the threshold. When the image processor recognizes this change, it is considered that the user's finger has swiped across the camera from right to left.
[0067] Combination Figure 5 and Figure 6 ,like Figure 5 In the example, the user's finger 20 is placed against the front surface of the projector 10, and the camera 11 is arranged beside the projection lens 12. Then the finger 20 is swiped from the left side to the right side of the camera 11, and the camera 11 is sequentially photographed to obtain the shooting images. Figure 6 (a) to (e) in the above figure, the shooting screen 100 will be presented Figure 6 P1, P4, and P7 are regarded as the left area, P2, P5, and P8 are regarded as the middle area, and P3, P6, and P9 are regarded as the right area. That is, in a recognition cycle, first, the brightness of each recognition pixel point K in the left area of the captured image 100 is lower than the threshold value ( Figure 6 (a) in the figure), and then the brightness of each identified pixel K in the middle area is also lower than the threshold ( Figure 6 (b) in the figure), and then each identified pixel point K in the right area is also lower than the threshold ( Figure 6 (c) in the figure); when the finger 20 passes, the left side of the shooting screen 100 is no longer blocked ( Figure 6 (d) in the figure, that is, at least one identified pixel point K in the left region is higher than the threshold, and then there is at least one identified pixel point K in the middle region and the right region with brightness higher than the threshold ( Figure 6 e) in the figure). When the processor recognizes that the above changes occur in each of the captured images 100 in sequence, it is considered that the camera 11 is blocked from left to right. Otherwise, it is blocked from right to left. In this way, the left-right swiping direction of the finger 20 in front of the camera 11 can be identified through multiple captured images 100 obtained in time sequence.
[0068] Similarly, combined Figure 7 and Figure 8 ,like Figure 7The user's finger 20 is placed against the front surface of the projector 10, and then swipes from the bottom to the top of the camera 11. At this time, the camera captures the pictures in sequence. Figure 8 (a) to (e) in the above figure, the shooting screen 100 will be presented Figure 8 P1, P2, and P3 are regarded as the upper area, P4, P5, and P6 are regarded as the middle area, and P7, P8, and P9 are regarded as the lower area. That is, in a recognition cycle, first, the brightness of each recognition pixel point K in the lower area of the captured image 100 is lower than the threshold value ( Figure 8 (a) in the figure), and then the brightness of each identified pixel K in the middle area is also lower than the threshold ( Figure 8 (b) in the figure), and then each identified pixel point K in the upper area is also lower than the threshold ( Figure 8 (c) in the figure); when the finger 20 passes, the bottom of the shooting screen 100 is no longer blocked ( Figure 8 (d) in the figure, that is, at least one identified pixel point K in the lower region has a brightness higher than the threshold, and then there is at least one identified pixel point K in the middle region and the upper region with a brightness higher than the threshold ( Figure 8 (e) in the figure). When the processor recognizes that the above changes occur in each of the captured images 100 in sequence, it is considered that the camera 11 is blocked from bottom to top. Otherwise, it is blocked from top to bottom. In this way, the up and down swiping direction of the finger 20 in front of the camera can be identified through multiple captured images 100 obtained in time sequence.
[0069] In other embodiments, step S2b specifically includes: in a plurality of captured images acquired in a time sequence, if the first area and the second area are blocked in sequence, and then the second area and the first area are unblocked in sequence, then it is determined that the first area and the second area are blocked back and forth in the first direction; correspondingly, step S3 includes: if the first area and the second area are blocked back and forth in the first direction, then it is determined that the corresponding direction instruction is the direction instruction corresponding to the round-trip direction of the first direction; step S4 includes: according to the direction instruction corresponding to the round-trip direction of the first direction, instructing the selection box in the projection image to perform a confirmation operation on the selected control.
[0070] In the corresponding specific example, when the brightness values of each recognition pixel point K on the captured image within a recognition cycle are all less than the threshold value, and in the next recognition cycle adjacent to the current recognition cycle, it is recognized that the brightness value of the recognition pixel point K in the middle area (such as P5) is less than the threshold value, and there is at least one recognition pixel point K with a brightness value greater than the threshold value in the surrounding areas (such as P1, P2, P3, P4, P6, P7, P8, P9), then the "confirm" instruction can be triggered. Such a result corresponds to the action of the user's finger pressing the camera and moving away from the camera, which is similar to a pressing action, so it can be used as a "confirm" instruction, or as a trigger condition for other instructions. When it is recognized that the user's finger is moving the camera back and forth in the opposite direction, the "return" instruction can be triggered.
[0071] In the first embodiment of the present invention, with the help of the camera on the projector, the user can trigger interactive control instructions in the corresponding direction by sliding his finger next to the camera in different directions, such as moving a check box in a specific direction, increasing or decreasing the volume, raising or lowering the brightness of the projected image, fast forwarding or rewinding the progress bar, etc. In this way, the projected image can be conveniently interacted with without a remote control, and the user does not need to stand in front of the projected image for gesture recognition, and the eyes will not be illuminated by the projected light due to standing in front of the projector for interactive operations. In addition, the solution of the first embodiment of the present invention has a simple recognition method, does not require additional hardware support, and can achieve low-cost, efficient and convenient interactive control.
[0072] Embodiment 2 of the present invention discloses a projector, including a processor and a memory, wherein a computer program is stored in the memory, and the computer program can be read and executed by the processor to implement the interactive method for projecting a picture in embodiment 1.
[0073] The memory is a storage device that stores programs and data executed by the processor in a non-volatile manner. The memory is composed of semiconductor storage elements such as magnetic storage devices, flash read-only memories (ROM), or other types of non-volatile storage devices. The memory may also include random access memories (RAM) that constitute the working area of the processor. The memory stores the control program executed by the processor. The processor may be composed of a single processor or a combination of multiple processing groups. The processor executes the control program to control various parts of the projection device.
[0074] Embodiment 3 of the present invention discloses a storage medium, in which a computer program is stored. The computer program is configured to be executable by a processor to execute the interactive method for projecting a picture in embodiment 1.
[0075] Optionally, the storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0076] The background section of the present invention may contain background information about the problem or environment of the present invention, rather than describing the prior art by others. Therefore, the content contained in the background section is not an admission by the applicant that the prior art is available.
[0077] The above content is a further detailed description of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, without departing from the concept of the present invention, it can also make several substitutions or modifications to these described embodiments, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention. In the description of this specification, the description of reference terms "an embodiment", "some embodiments", "preferred embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of mutual contradiction, the technical personnel in this field can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and modifications can be made herein without departing from the scope defined by the attached claims.
Claims
1. An interactive method for projecting a picture, characterized in that: The following steps are involved: Acquire a plurality of photographed images in time sequence, wherein the photographed images include a plurality of identification areas; Identify whether each of the identification areas in the captured image is blocked, so as to determine the blocking order of each of the identification areas in the captured image; Determining corresponding direction instructions according to the order in which each recognition area in the photographed image is blocked; According to the direction instruction, a corresponding interactive operation is performed.
2. The interactive method for projecting images according to claim 1, characterized in that: The identifying whether each of the identification areas in the shooting picture is blocked includes: Acquire the brightness value of the identified area in the captured image; When the brightness value of the recognition area is less than a threshold, it is determined that the recognition area is blocked.
3. The interactive method for projecting images according to claim 2, characterized in that: Each of the identification areas includes at least one identification pixel point; The obtaining of the brightness value of the identification area in the shooting picture comprises: obtaining the brightness value of each identification pixel point in the shooting picture; When the brightness value of the recognition area is less than a threshold, determining that the recognition area is blocked includes: when the brightness value of each recognition pixel point in the recognition area is less than a threshold, or the brightness values of all pixels in the recognition area are less than a threshold, determining that the recognition area is blocked.
4. The interactive method for projecting images according to claim 1, characterized in that: The determining of the order in which each recognition area in the captured image is blocked comprises: The blocking order of each recognition area in the shooting picture is determined according to the acquisition timing of each shooting picture and the blocking state of each recognition area in the shooting picture, and the blocking state is determined by whether the recognition area is blocked.
5. The interactive method for projecting images according to claim 1, characterized in that: The identification area in the shooting picture includes a first area and a second area arranged along a first direction; The step of identifying whether each of the recognition areas in the captured image is blocked to determine the blocking order of each of the recognition areas in the captured image comprises: respectively acquiring the occlusion status of the first area and the second area in the plurality of captured images, wherein the occlusion status of the first area is determined by whether the first area is occluded, and the occlusion status of the second area is determined by whether the second area is occluded; According to the acquisition timing of each of the shooting images and the occlusion status of the first area and the second area in each of the shooting images, the occlusion order of the first area and the second area in the first direction is determined.
6. The interactive method for projecting images according to claim 5, characterized in that: The determining, according to the acquisition timing of each of the shooting images and the blocking states of the first area and the second area in each of the shooting images, the blocking order of the first area and the second area in the first direction comprises: In the plurality of photographed images acquired in time sequence, if the brightness values of the first area and the second area are successively smaller than a threshold, it is determined that the first area and the second area are successively blocked in the first direction; The determining the corresponding direction instruction according to the blocked order of each recognition area in the shooting picture includes: If the first area and the second area are blocked in sequence in the first direction, determining a direction instruction corresponding to the first direction; The performing a corresponding interactive operation according to the direction instruction includes: According to the direction instruction corresponding to the first direction, an interactive operation corresponding to the first direction is performed, and the interactive operation includes instructing a selection box in the projection picture to move along the first direction.
7. The interactive method for projecting images according to claim 5, characterized in that: The determining, according to the acquisition timing of each of the shooting images and the blocking states of the first area and the second area in each of the shooting images, the blocking order of the first area and the second area in the first direction comprises: In the plurality of captured images acquired in a time sequence, if the first area and the second area are blocked in sequence, and then the second area and the first area are unblocked in sequence, it is determined that the first area and the second area are blocked back and forth in the first direction; The determining the corresponding direction instruction according to the blocked order of each recognition area in the shooting picture includes: If the first area and the second area are blocked in the first direction, determining the corresponding direction instruction to be a direction instruction corresponding to the round-trip direction of the first direction; The performing a corresponding interactive operation according to the direction instruction includes: According to the direction instruction corresponding to the round-trip direction of the first direction, the selection box in the projection image is instructed to perform a confirmation operation on the selected control.
8. The interactive method for projecting images according to claim 1, characterized in that: The performing a corresponding interactive operation according to the direction instruction includes: The currently selected control type in the projection image is obtained, and according to the direction instruction, an interactive operation corresponding to the control type is performed.
9. A projector, characterized in that: It comprises a processor and a memory, wherein a computer program is stored in the memory, and the computer program can be read by the processor to be executed to implement the interactive method for projecting pictures as described in any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to be executable by a processor to execute the interactive method for projecting images as described in any one of claims 1 to 8.
Citation Information
Cited By
Mistaken touch prevention method, electronic equipment and system
CN122044393A
