Lighting effect control method, system, device, electronic device and medium for lighting equipment

By acquiring the image data of the two image acquisition devices at the same time and matching them, the lighting effect of the lighting equipment is controlled, and the problem of low accuracy of lighting effect control in the prior art is solved, thereby improving the user experience.

CN113947708BActive Publication Date: 2025-04-04SHENZHEN INTELLIROCKS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111101603.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-18
Publication Date
2025-04-04
Estimated Expiration
2041-09-18

AI Technical Summary

Technical Problem

In the prior art, the lighting efficiency control accuracy of lighting equipment is not high, which affects the user's viewing experience.

Method used

By acquiring the image data acquired by the first image acquisition device and the second image acquisition device at the same time, the data of both are compared and matched to control the lighting effect of the lighting component.

Benefits of technology

It effectively avoids the single image data error affecting the accuracy of lighting effect control, improves the accuracy of lighting effect control, and improves the user's viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113947708B_ABST
    Figure CN113947708B_ABST
Patent Text Reader

Abstract

The present application discloses a lighting effect control method, system, device, electronic device and medium for lighting equipment, which obtains a first screen image acquired by a first image acquisition device and a second screen image acquired by a second image acquisition device; extracts first image data from the first screen image, and extracts second image data from the second screen image; if the first image data and the second image data acquired at the same time match, then controls the lighting effect of the lighting component corresponding to the target display area. By acquiring image data acquired by two different image acquisition devices at the same time for the same target display area, when the first image data and the second image data match, the lighting effect is controlled according to the first image data and the second image data, which can effectively avoid the error of a single image data from affecting the accuracy of the lighting effect control, thereby improving the accuracy of the lighting effect control and enhancing the user's viewing experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a lighting effect control method, system, device, electronic device and medium for lighting equipment. Background Art

[0002] In order to improve the viewing experience of users, in the related art, lighting equipment is arranged around the display device as the background lighting equipment of the display device, so that the lighting color of the lighting equipment is controlled according to the color of the picture displayed by the display device, so as to control the lighting effect of the lighting equipment according to the color of the picture presented by the display device, and create an immersive viewing experience. However, the lighting effect control accuracy of the lighting equipment in the prior art is still not high, which affects the viewing experience of users. Summary of the invention

[0003] In view of the above problems, the present invention proposes a lighting effect control method, system, device, electronic device and medium for lighting equipment to improve the above problems.

[0004] In a first aspect, an embodiment of the present application provides a lighting effect control method for a lighting device, the method comprising: acquiring a first screen image acquired by a first image acquisition device, wherein a target display area is completely located within a capture range of the first image acquisition device; acquiring a second screen image acquired by a second image acquisition device, wherein the target display area is completely located within a capture range of the second image acquisition device; wherein a time when the first image acquisition device acquires the first screen image is the same as a time when the second image acquisition device acquires the second screen image; extracting first image data corresponding to the target display area from the first screen image; extracting second image data corresponding to the target display area from the second screen image; if the first image data matches the second image data, controlling the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data.

[0005] In the second aspect, the embodiment of the present application also provides a lighting effect control system for a lighting device, the system comprising: a lighting device, a first image acquisition device, a second image acquisition device and a controller. The lighting device comprises at least one lighting component, each lighting component corresponds to one of the target display areas of the display device; the first image acquisition device is used to acquire a first screen image, wherein the target display area is completely located in the acquisition range of the first image acquisition device; the second image acquisition device is used to acquire a second screen image; wherein the target display area is completely located in the acquisition range of the second image acquisition device; wherein the time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image; the controller is used to acquire the first screen image and the second screen image, and the controller is also used to extract the first image data corresponding to the target display area from the first screen image and the second image data corresponding to the target display area from the second screen image; in addition, the controller is also used to compare the first image data and the second image data, and if the first image data matches the second image data, the lighting effect of the lighting component corresponding to the target display area is controlled according to the first image data and the second image data.

[0006] In a third aspect, the embodiment of the present application also provides a lighting effect control device for a lighting device, the device comprising: a first screen image acquisition module, a second screen image acquisition module, a first image data extraction module, a second image data extraction module, a comparison module and a lighting effect control module. The first screen image acquisition module is used to acquire a first screen image acquired by a first image acquisition device, wherein the target display area is located within the acquisition range of the first image acquisition device; the second screen image acquisition module is used to acquire a second screen image acquired by a second image acquisition device, wherein the target display area is completely located within the acquisition range of the second image acquisition device; wherein the time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image; the first image data extraction module is used to extract the first image data corresponding to the target display area from the first screen image; the second image data extraction module is used to extract the second image data corresponding to the target display area from the second screen image; the comparison module is used to compare the first image data and the second image data; the lighting effect control module is used to control the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data if the first image data matches the second image data.

[0007] In a fourth aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising: one or more processors, a memory, and one or more applications. The one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the lighting effect control method as described in the first aspect.

[0008] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the lighting effect control method as described in the first aspect.

[0009] The solution provided by the present application is to obtain a first screen image captured by a first image acquisition device and a second screen image captured by a second image acquisition device; extract the first image data corresponding to the target display area from the first screen image, and extract the second image data corresponding to the target display area from the second screen image; compare the first image data and the second image data; if the first image data and the second image data acquired at the same time match, then control the lighting effect of the lighting component corresponding to the target display area. By acquiring image data captured by two different image acquisition devices at the same time for the same target display area, namely, the first image data and the second image data, comparing the first image data and the second image data, and controlling the lighting effect according to the comparison result, it is possible to effectively avoid the error of a single image data from affecting the accuracy of the lighting effect control, thereby improving the accuracy of the lighting effect control and enhancing the user's viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments and drawings obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0011] Figure 1 A structural block diagram of a lighting effect control system of a lighting device for displaying a first surface of a display device proposed in an embodiment of the present application is shown.

[0012] Figure 2 A structural block diagram of a lighting effect control system of a lighting device for displaying a second surface of a display device proposed in an embodiment of the present application is shown.

[0013] Figure 3 A structural block diagram of a lighting effect control system of a lighting device in which a display device displays a second surface is shown in another embodiment of the present application.

[0014] Figure 4 A schematic flow chart of a lighting effect control method for a lighting device proposed in an embodiment of the present application is shown.

[0015] Figure 5 A structural block diagram of a display device in an embodiment of the present application is shown.

[0016] Figure 6 Another structural block diagram of a display device in an embodiment of the present application is shown.

[0017] Figure 7 Another structural block diagram of a display device in an embodiment of the present application is shown.

[0018] Figure 8 A schematic flow chart of a lighting effect control method for a lighting device proposed in another embodiment of the present application is shown.

[0019] Fig. 9 A schematic diagram of a process of determining a first color value in step S2050 in another embodiment of the present application is shown.

[0020] Fig.10 A schematic diagram of a process of determining a second color value in step S2060 in another embodiment of the present application is shown.

[0021] Fig.11 A schematic flow chart of a lighting effect control method for a lighting device proposed in yet another embodiment of the present application is shown.

[0022] Fig.12 A schematic flow chart of a lighting effect control method for a lighting device proposed in yet another embodiment of the present application is shown.

[0023] Fig.13 A structural block diagram of a lighting effect control device for a lighting device proposed in an embodiment of the present application is shown.

[0024] Fig.14 A structural block diagram of an electronic device proposed in an embodiment of the present application is shown.

[0025] Fig.15 A structural block diagram of a computer-readable storage medium proposed in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0027] In order to enhance the user's viewing experience, in the related art, lighting equipment is arranged around the display device as the background lighting equipment of the display device, so that the lighting color of the lighting equipment is controlled according to the color of the picture displayed by the display device, and the lighting effect of the lighting equipment is controlled according to the color of the picture presented by the display device, creating an immersive viewing experience. The image including the picture displayed by the display device can be collected by the image acquisition device, and the color of the corresponding lighting equipment can be controlled according to the color of the corresponding area in the image. However, factors such as the acquisition angle or failure of the image acquisition device cause errors in the color of the corresponding area in the collected image. The use of the image with errors to control the lighting effect of the lighting equipment causes the lighting effect display to be inconsistent with the picture presented by the display device, reducing the accuracy of the lighting effect control of the lighting equipment and affecting the user's viewing experience.

[0028] In order to improve the above-mentioned problems, the inventor of the present application has proposed a lighting effect control method, system, device, electronic device and medium for lighting equipment provided in the present application. By acquiring a first screen image acquired by a first image acquisition device and a second screen image acquired by a second image acquisition device; extracting first image data corresponding to the target display area from the first screen image, and extracting second image data corresponding to the target display area from the second screen image; comparing the first image data and the second image data; if the first image data and the second image data acquired at the same time match, then controlling the lighting effect of the lighting component corresponding to the target area. By acquiring image data acquired by two different image acquisition devices at the same time for the same target display area, namely, the first image data and the second image data, comparing the first image data and the second image data, and controlling the lighting effect according to the comparison result, it is possible to effectively avoid the error of a single image data from affecting the accuracy of the lighting effect control, thereby improving the accuracy of the lighting effect control and enhancing the user's viewing experience.

[0029] It should be noted that the “and / or” mentioned in this article describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone.

[0030] The following will introduce the application environment of the lighting effect control system of the lighting equipment provided by the embodiment of the present invention.

[0031] See also Figure 1 and Figure 2 , Figure 1 and Figure 2 A lighting effect control system for a lighting device provided in an embodiment of the present application is shown, wherein: Figure 1 In the lighting effect control system of the lighting device shown, the display device displays the first surface. In this embodiment, the first surface of the display device is the surface where the display area is located. Figure 2In the lighting effect control system of the lighting device shown, the display device shows the second side, which is opposite to the first side. In this embodiment, the lighting device is arranged on the second side of the display device. Specifically, the lighting effect control system 100 includes: a lighting device 110, a first image acquisition device 120, a second image acquisition device 130 and a controller 140.

[0032] In some embodiments, the lighting device 110 may include at least one lighting component, wherein the lighting component is a lighting module in the lighting device 110 that can be controlled individually. For example, the lighting device 110 may be a light strip, and the light strip may be arranged around the display device 200. For example, the light strip is arranged around the edge of the display device, or around the back edge of the display device. The light strip may include a plurality of light segments, wherein each light segment is provided with a control IC and a lamp bead, and each light segment can be controlled individually, so each light segment can be regarded as a lighting component, and the control instruction for the light strip includes the light segment instructions of all the light segments in the light strip, and after receiving the control instruction of the light strip, another light segment (for example, the first light segment) in the light strip extracts the light segment instruction corresponding to itself from the control instruction, and sends the control instruction corresponding to other light segments in the control instruction to the next light segment, so that the next light segment extracts the light segment instruction corresponding to itself from it, and so on, until all the light segments in the light strip extract the light segment instructions corresponding to themselves.

[0033] Each lighting component corresponds to one of the target display areas A of the display device 200. When the display device 200 displays an image, the lighting component can display corresponding lighting effects following the color changes of the image in the target display area A of the display device 200. For example, the lighting color of the lighting component can be the same as or close to the color of the image in the target display area of ​​the display device 200, thereby constructing an immersive image playback environment and improving the user experience.

[0034] In an embodiment of the present application, the display device 200 may include at least one target display area A. The number of target display areas A may be set according to actual usage requirements, and the number of target display areas may be selected between 1 and 512.

[0035] Optionally, the target display area A may be, for example, an area close to an edge of the display device 200 .

[0036] Optionally, when there are multiple target display areas A, the sizes of the multiple target display areas A may be the same or different, and the present application does not impose any limitation on this.

[0037] like Figure 1As shown, the embodiment of the present application is described by taking the display device 200 including ten target display areas A, which are respectively located near the edges of the display device 200, as an example, and each target display area A is correspondingly provided with a lighting device 110.

[0038] In some other embodiments, the lighting device 110 may also be a lamp post, which may be vertically set up on both sides of the display device 200. In this case, there are two target display areas A, which are located in areas close to the edges of both sides of the display device 200. In the case where the lighting device 110 includes only one lighting component, multiple lighting devices 110 may be arranged on the display device 200, so that the multiple lighting devices 110 arranged present rich lighting effects.

[0039] The first image acquisition device 120 is used to acquire a first screen image, wherein the target display area A is completely located in the acquisition range of the first image acquisition device 120. In other words, the first screen image acquired by the first image acquisition device 120 includes the screen image corresponding to the complete target display area A.

[0040] The second image acquisition device 130 is used to acquire the second screen image. The target display area A is completely located in the acquisition range of the second image acquisition device 130. In other words, the second screen image acquired by the second image acquisition device 120 includes the screen image corresponding to the complete target display area A.

[0041] In some embodiments, the first image acquisition device 120 and the second image acquisition device 130 may be located in the same image acquisition module, that is, one image acquisition module includes two image acquisition devices, and the two image acquisition devices can respectively acquire screen images within their respective acquisition ranges. In other words, the relative positions of the first image acquisition device 120 and the second image acquisition device 130 are fixed. Exemplarily, the image acquisition device may be a camera, and one camera module includes two separate cameras.

[0042] In other embodiments, the first image acquisition device 120 and the second image acquisition device 130 may be located in two different image acquisition modules. In other words, the positions of the first image acquisition device 120 and the second image acquisition device 130 may be adjusted as required. Figure 3 As shown, the first image acquisition device 120 is disposed on one side of the display device 200 , and the second image acquisition device 130 is disposed on the other side of the display device 200 , and the first image acquisition device 120 and the second image acquisition device 130 are disposed opposite to each other.

[0043] The first image acquisition device 120 and the second image acquisition device 130 are used to acquire images facing the display device 200, and the first image acquisition device 120 and the second image acquisition device 130 can be placed at the edge of the display device 200. Preferably, the first image acquisition device 120 and the second image acquisition device 130 are symmetrically arranged relative to the display device 200.

[0044] The controller 140 is used to obtain data required in the embodiments of the present application, such as the first screen image acquired by the first image acquisition device 120 and the second screen image acquired by the second image acquisition device 130, and is also used to extract the first image data corresponding to the target display area A from the first screen image and extract the second image data corresponding to the target display area A from the second screen image. The controller 140 is also used to compare the first image data and the second image data, and control the lighting effect of the lighting component corresponding to the target display area A according to the comparison result.

[0045] The controller 140 can establish communication connections with the lighting device 110, the first image acquisition device 120, and the second image acquisition device 130 respectively in a wired or wireless manner to perform data transmission. The controller 140 can also establish communication connection with the smart terminal 300 through wireless communication to adjust the image acquisition range of the first image acquisition device 120 and the second image acquisition device 130, the lighting effect of the lighting device 110, etc. according to the control instruction of the smart terminal 300.

[0046] Optionally, the controller 140 can establish a communication connection with the lighting device 110, the first image acquisition device 120, the second image acquisition device 130, the smart terminal 300, etc. through a network to perform data transmission. The network is usually the Internet, but it can also be any other network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or a virtual private network. In some embodiments, the smart light strip and devices such as mobile terminals can communicate and transmit through a specific communication protocol, and the communication protocol includes but is not limited to a BLE (Bluetooth low energy) protocol, a WLAN (Wireless Local Area Network) protocol, a Bluetooth protocol, a ZigBee protocol, or a Wi-Fi (Wireless Fidelity) protocol, etc.

[0047] This will be described below in conjunction with specific embodiments.

[0048] See also Figure 4 An embodiment of the present application provides a lighting effect control method for a lighting device, wherein the lighting device includes at least one lighting component, each lighting component corresponds to one of the target display areas of a display device, and the method may include steps S110 to S140.

[0049] Step S110, acquiring a first screen image acquired by a first image acquisition device, wherein the target display area is completely located within the acquisition range of the first image acquisition device; acquiring a second screen image acquired by a second image acquisition device, wherein the target display area is completely located within the acquisition range of the second image acquisition device. The time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image.

[0050] In an embodiment of the present application, the first screen image and the second screen image respectively captured by the first image acquisition device and the second image acquisition device at the same moment are obtained, thereby ensuring that the first screen image and the second screen image include images corresponding to the same target display area at the same detection moment.

[0051] In an embodiment of the present application, the target display area is completely located in the acquisition range of the first image acquisition device, and the target display area is completely located in the acquisition range of the second image acquisition device and the second image acquisition device, so that the first screen image acquired by the first image acquisition device includes the image data corresponding to the complete target display area. The second screen image acquired by the second image acquisition device includes the image data corresponding to the complete target display area.

[0052] Specifically, the first image acquisition device acquires the first screen image facing the display device, and the second image acquisition device acquires the second screen image facing the display device. The first screen image / the second screen image is acquired during the process of the display device displaying the screen, and the first screen image / the second screen image includes the image data of the screen corresponding to the target display area.

[0053] The image data may include the number and coordinates of the pixels of the image, and the color data corresponding to the color displayed by each pixel. It is understandable that the color data may use a variety of color modes to express the color of the pixels of the image in digital form. Commonly used color modes include, for example, RGB (Red, Red; Green, Green; Blue) mode, CMYK (Cyan, Cyan; Magenta, Magenta; Yellow, Yellow; Black) mode, HSB (Hue, Hue; Saturation, Saturation; Brightness) mode, etc. It is understandable that different color modes can be converted to each other, that is, the color data of the pixel can be converted from the RGB mode to the CMYK mode, etc. The distribution of colors in the picture image can be known according to the image data, and then the lighting effect of the lighting equipment can be controlled according to the distribution of colors.

[0054] In an embodiment of the present application, the first image acquisition device and the second image acquisition device can perform image acquisition according to a preset detection cycle, that is, acquire an image at each detection moment. The first screen image is an image acquired by the first image device at the detection moment, and the second screen image is an image acquired by the second image device at the same detection moment. In an embodiment of the present application, the detection moment is any detection moment when the first image acquisition device and the second image acquisition device acquire the first screen image facing the display device during the process of the display device displaying the screen. That is to say, at each detection moment within the detection cycle, the first image acquisition device and the second image acquisition device can respectively perform image acquisition, and respectively acquire the first screen image and the second screen image corresponding to the detection moment.

[0055] In some embodiments, the carrier of the display device can be a mobile phone, a laptop computer, a tablet computer, a television, or other products with display functions; the display device can be used to display television programs, on-demand videos, live videos, game images, and advertising videos, etc. The carrier and purpose of the display device can be set according to actual needs, and this application does not specifically limit this.

[0056] In some embodiments, the first image acquisition device and the second image acquisition device may be a camera, a camcorder, a scanner, and other devices with a camera function (mobile phone, tablet computer, etc.), and this application does not limit this.

[0057] In the present application scheme, the first screen image captured by the first image acquisition device and the second screen image captured by the second image acquisition device respectively include at least the target display area of ​​the display device, that is, the captured first screen image and the second screen image at least include the screen displayed corresponding to the target display area of ​​the display device. When the first screen image / the second screen image includes an unnecessary image area, the image of the unnecessary area can be cropped. Exemplarily, when the display device is placed on a table, the first screen image / the second screen image captured by the first image acquisition device / the second image acquisition device includes not only the display screen of the display device, but may also include part of the table area around the display device. On the one hand, this is to prevent the surrounding environment (such as the table area) from affecting the accuracy of acquiring image data, and on the other hand, in order to reduce the amount of calculation, part of the table area around the display device can be cropped as needed.

[0058] In the embodiments of the present application, Figure 5 As shown, the display device 200 generally includes a display area 210 for displaying a picture and a non-display area 220. The display area 210 is generally a device with a display function, such as a display screen. In an embodiment of the present application, the target display area is a partial area or the entire area in the display area. The non-display area 220 is generally a frame. With the continuous development of science and technology, the size of the frame is developing in a narrower and narrower direction. In other words, the proportion of the picture image corresponding to the non-display area in the picture image captured by the image acquisition device is relatively small, so the picture image of the frame has little effect on the lighting effect and can be ignored.

[0059] Optionally, in some implementations, the first screen image / second screen image acquired by the first image acquisition device / second image acquisition device includes a target display area in the display screen of the display device. Figure 6 As shown, when the target display area is the surrounding area A1 in the display area 210 of the display device 200, the first screen image / the second screen image includes the screen image displayed in the surrounding area A1. Figure 7 As shown, when the target display area is the central area A2 of the display area 210 of the display device 200, the first screen image / the second screen image includes the screen image displayed in the central area A2; it can be understood that the target display area can be set as needed and is not limited here.

[0060] In some implementations, the first image acquisition device and the second image acquisition device can be guaranteed to acquire images at the same detection time by ensuring that the first image acquisition device and the second image acquisition device acquire the same number of frames per second.

[0061] In some embodiments, before each screen image is captured, a control instruction may be sent to the first image capture device and the second image capture device at the same time. After receiving the control instruction, the first image capture device and the second image capture device respond to the control instruction to perform the screen image capture operation. Optionally, the control instruction may not include an execution time, and the first image capture device and the second image capture device immediately respond to the screen image capture operation after receiving the control instruction. Optionally, the control instruction may also include an execution time, and after receiving the control instruction, the first image capture device and the second image capture device perform the screen image capture operation at the preset execution time.

[0062] Step S120: extracting first image data corresponding to the target display area from the first screen image and extracting second image data corresponding to the target display area from the second screen image.

[0063] In the embodiment of the present application, in order to control the lighting device to present the corresponding lighting effect following the picture displayed in the target display area, it is necessary to know the picture displayed in the target display area. Therefore, it is necessary to further extract the image data corresponding to the target display area from the acquired first picture image and second picture image.

[0064] Step S130: Compare the first image data and the second image data.

[0065] Specifically, the first image data extracted from the first screen image and the second image data extracted from the second screen image are compared.

[0066] In an embodiment of the present application, the first image data may include at least one color. The second image data may include at least one color.

[0067] The color with the highest proportion can be obtained from the first image data and the second image data, for example, the first color with the highest proportion in the first image data and the second color with the highest proportion in the second image data are obtained, and the first color and the second color are compared to compare whether the first image data and the second image data match.

[0068] In an embodiment of the present application, it is possible to further determine whether the color with the highest proportion in the first image data matches the color with the highest proportion in the second image data based on the color data corresponding to the color with the highest proportion.

[0069] Step S140: If the first image data matches the second image data, controlling the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data.

[0070] If the first image data and the second image data match, that is, the image data corresponding to the target display area acquired by the first image acquisition device matches the image data corresponding to the target display area acquired by the second image acquisition device, the lighting effect of the lighting component can be controlled according to the image data corresponding to the target display area acquired by the first image acquisition device and the second image acquisition device.

[0071] If the first image data and the second image data do not match, it indicates that at least one of the image data collected by the first image acquisition device and the image data collected by the second image acquisition device has an error. The first image data and the second image data do not match, that is, the image data corresponding to the target display area acquired by the first image acquisition device does not match the image data corresponding to the target display area acquired by the second image acquisition device. In order to avoid the image data with errors affecting the accuracy of the lighting effect control, the image data with errors can be discarded, that is, the lighting effect of the lighting component is not controlled according to the image data with errors. At this time, the lighting effect of the lighting component is not changed, that is, the lighting effect of the lighting component remains the lighting effect presented after the last control. Further, the first image data and the second image data collected at the next moment can continue to be acquired, and it is continued to determine whether the first image data and the second image data match, until the first image data and the second image data match, then the lighting effect of the lighting component corresponding to the target display area is controlled according to the first image data and the second image data.

[0072] In some embodiments, the colors with the largest proportion in the first image data and the second image data may be compared, and if the two match, the lighting effect of the corresponding lighting component may be controlled according to one of the two.

[0073] In some embodiments, the color with the largest proportion in the first image data and the second image data can be compared. If the two match, the intermediate color closest to the two colors can be determined, and the lighting effect of the corresponding lighting component can be controlled according to the intermediate color. Optionally, if the color with the largest proportion in the first image data is the first color, and the color with the largest proportion in the second image data is the second color, the intermediate color can be obtained by the color average of the first color and the second color. For example, the color value of the first color includes a first red component R1, a first green component G1, and a first blue component B1, and the color value of the second color includes a second red component R2, a second green component G2, and a second blue component B2. Then the third red component R3 in the color value of the intermediate color is 0.5 (R1 + R2), the third green component G3 in the color value of the intermediate color is 0.5 (G1 + G2), and the third blue component B3 in the color value of the intermediate color is 0.5 (B1 + B2).

[0074] An embodiment of the present application provides a lighting effect control method for a lighting device, which includes acquiring a first screen image acquired by a first image acquisition device and a second screen image acquired by a second image acquisition device; extracting first image data corresponding to a target display area from the first screen image, and extracting second image data corresponding to the target display area from the second screen image; comparing the first image data and the second image data; and if the first image data and the second image data acquired at the same time match, controlling the lighting effect of the lighting component corresponding to the target area. By acquiring image data acquired by two different image acquisition devices for the same target display area, namely, the first image data and the second image data, comparing the first image data and the second image data, and controlling the lighting effect according to the comparison result, it is possible to effectively avoid the error of a single image data from affecting the accuracy of the lighting effect control, thereby improving the accuracy of the lighting effect control and enhancing the user's viewing experience.

[0075] See also Figure 8 Another embodiment of the present application provides a lighting effect control method for a lighting device, which may include steps S210 to S270.

[0076] Step S210: Acquire a first screen image acquired by a first image acquisition device, wherein the target display area is completely located in the acquisition range of the first image acquisition device. Acquire a second screen image acquired by a second image acquisition device, wherein the target display area is completely located in the acquisition range of the second image acquisition device. The first image acquisition device acquires the first screen image at the same time as the second image acquisition device acquires the second screen image.

[0077] Step S220: extracting first image data corresponding to the target display area from the first screen image and extracting second image data corresponding to the target display area from the second screen image.

[0078] For the detailed description of step S210 to step S220, please refer to step S110 to step S120, which will not be repeated here.

[0079] Step S230: Determine the first color with the highest proportion in the first image data. Determine the second color with the highest proportion in the second image data.

[0080] In an embodiment of the present application, the first image data / the second image data at least indicates the color data of each pixel in the image corresponding to the target display area in the display device.

[0081] For another example, the first image data / second graphic data may indicate YUV color data corresponding to each pixel, and the YUV color data corresponding to the pixel may be converted into RGB color data to obtain red component values, green component values, and blue component values ​​corresponding to each pixel.

[0082] In some implementations, further image processing may be performed on the first image data / second graphic data to accurately reflect the distribution of colors in the first image data / second graphic data.

[0083] Specifically, see Fig. 9 , Fig. 9 A flow chart of determining the first color with the highest proportion in the first image data in step S230 in another embodiment of the present application is shown. In the embodiment of the present application, the step of determining the first color with the highest proportion in the first image data may include steps S231 to S234.

[0084] Step S231, obtaining first YUV color data of the first image data.

[0085] Step S232: convert the first YUV color data into first RGB color data.

[0086] Step S233: convert the first RGB color data into first CIELAB color data.

[0087] Step S234, performing color difference calculation and color quantization processing on the first CIELAB color data, obtaining the first CIELAB color data with the highest proportion in the first CIELAB color data after the color difference calculation and color quantization processing; and taking the color corresponding to the first CIELAB color data with the highest proportion as the first color.

[0088] Specifically, see Fig.10 , Fig.10 A schematic diagram of a process of determining the second color with the highest proportion in the second image data in step S230 in another embodiment of the present application is shown. The step of determining the second color with the highest proportion in the second image data may include steps S235 to S238.

[0089] Step S235: Acquire second YUV color data of the second image data.

[0090] Step S236: convert the second YUV color data into second RGB color data.

[0091] Step S237: Convert the second RGB color data into second CIELAB color data.

[0092] Step S238, performing color difference calculation and color quantization processing on the second CIELAB color data, determining the second CIELAB color data with the highest proportion in the second CIELAB color data after the color difference calculation and color quantization processing, and taking the color corresponding to the second CIELAB color data with the highest proportion as the second color.

[0093] In an embodiment of the present application, the first YUV color data / second YUV color data of the first image data / second graphic data is converted into first RGB color data / second RGB color data, and then the first RGB color data / second RGB color data is converted into first CIELAB color data / second CIELAB color data, and color difference calculation is performed according to the first CIELAB color data / second CIELAB color data to distinguish different colors in a numerical manner, and then color quantization processing is performed to count the proportion of each color, so as to further obtain the color corresponding to the color data with the highest proportion in the first CIELAB color data / second CIELAB color data as the first color / second color.

[0094] Optionally, the color difference calculation may be performed using the CIE94 color difference formula, which is a standard currently used in industry for evaluating the color difference of an object under daylight illumination.

[0095] Color quantization uses the inertia of the human eye to color, merges similar colors in the original image that are not important into one color, reduces the colors in the image, and minimizes the recognition error of the image before and after quantization for the human eye, that is, minimizes the quantization error. Optionally, a K-means clustering color quantization algorithm can be used for color quantization.

[0096] Step S240: Obtain a color difference according to the first color and the second color.

[0097] Furthermore, by comparing the first color and the second color to obtain a color difference, the degree of difference between the first color and the second color is determined according to the color difference. If the degree of difference exceeds a preset threshold, the difference between the images corresponding to the target display area captured by the first image acquisition device and the second image acquisition device is large, that is, the image captured by one of the first image acquisition device or the second image acquisition device has a large error. Otherwise, the difference between the images corresponding to the target display area captured by the first image acquisition device and the second image acquisition device is small, and the lighting effect of the lighting device can be controlled according to the captured images.

[0098] Optionally, if the RGB mode is used to represent the color data of the color corresponding to the pixel point, for example, the first color data C1 corresponding to the first color is the first red component R1, the first green component G1 and the first blue component B1, and the second color data corresponding to the second color C2 is the second red component R2, the second green component G2 and the second blue component B2. Further, the color difference △E between the first color and the second color can be calculated by the Euclidean distance formula, and the specific calculation formula refers to Formula 1.

[0099]

[0100] Optionally, if the CIELAB mode is used to represent the color data of the pixel point, for example, the first color data C1 corresponding to the first color is the first lightness component L1, the first red-green difference component A1, and the first blue-yellow difference component B1, and the second color C2 is the second lightness component L2, the second red-green difference component A2, and the second blue-yellow difference component B2. Further, the color difference △E between the first color and the second color can be calculated by the color difference formula, and the specific calculation formula refers to Formula 2.

[0101]

[0102] It is understandable that other methods for determining the color difference can be applied in the embodiments of the present application to calculate the color difference between the first color and the second color, and the present application does not limit this.

[0103] Step S250: If the color difference is less than or equal to the preset color threshold, it is determined that the first image data matches the second image data;

[0104] In an embodiment of the present application, the value of the preset color threshold is greater than or equal to zero.

[0105] Step S260: If the first color matches the second color, a color mean is obtained according to the first color and the second color.

[0106] Specifically, if the first color matches the second color, the lighting effect of the lighting device can be controlled according to the captured image. Further, the color mean of the first color and the second color can be obtained, and the lighting effect of the lighting device can be controlled by the color mean.

[0107] For example, if the RGB mode is used to represent the color data corresponding to the pixel point, for example, the first color data C1 corresponding to the first color is the first red component R1, the first green component G1 and the first blue component B1, and the second color data C2 corresponding to the second color is the second red component R2, the second green component G2 and the second blue component B2. Then the mean color data C corresponding to the color mean is 均 It can be obtained using Formula 3 to Formula 5.

[0108] Among them, the mean color data C 均 The mean red component of

[0109] Mean color data C 均 The mean green component of

[0110] Mean color data C 均The mean blue component of

[0111] Step S270: Control the lighting effect of the lighting component corresponding to the target display area according to the color mean value.

[0112] Specifically, the obtained color average is sent to the lighting component corresponding to the target display area to control the lighting component to display the corresponding lighting effect color.

[0113] Controlling the lighting effect of the lighting component corresponding to the target display area according to the color mean value can reduce color errors and more accurately display the picture color corresponding to the target display area.

[0114] Another embodiment of the present application provides a lighting effect control method for a lighting device. This embodiment is improved on the basis of the above-mentioned embodiment, and the main improvement is: in this embodiment, the first color with the highest proportion in the first image data and the second color with the highest proportion in the second image data are determined; a color difference is obtained based on the first color and the second color, and if the color difference is less than a preset color threshold, it is determined that the first image data matches the second image data; if the first image data matches the second image data, a color mean is obtained based on the first color and the second color, and finally the lighting effect of the lighting component corresponding to the target area is controlled according to the color mean, so that the error of the image captured by the image acquisition device can be judged by comparing the difference between the two image data, thereby avoiding displaying image data with large errors and improving the accuracy of lighting effect control.

[0115] See also Fig.11 , Fig.11 It is shown that another embodiment of the present application provides a lighting effect control method for a lighting device, and the method may include steps S310 to S370.

[0116] Step S310: Acquire a first detection image acquired by a first image acquisition device and acquire a second detection image acquired by a second image acquisition device.

[0117] The first image acquisition device / the second graphic acquisition device has different corresponding acquisition ranges according to different setting positions and angles. In order to acquire the screen image of the target display area, the target display area needs to be located in the acquisition range of the first image acquisition device / the second graphic acquisition device. Therefore, before acquiring the first screen image / the second screen image, the acquisition range of the first image acquisition device / the second graphic acquisition device can be confirmed to ensure that the target display area is located in the acquisition range of the first image acquisition device / the second graphic acquisition device.

[0118] Specifically, the first detection image / the second detection image can be acquired by the first image acquisition device / the second graphic acquisition device, and then it is determined whether the target display area is located in the acquisition range of the first image acquisition device / the second graphic acquisition device based on the first detection image / the second detection image.

[0119] Step S320: Send the first detection image to the smart terminal. Send the second detection image to the smart terminal.

[0120] In an embodiment of the present application, the captured first detection image / second detection image can be sent to a smart terminal, and the user can determine whether the first image acquisition device / second image acquisition device needs to be adjusted based on the first detection image / second detection image presented on the smart terminal.

[0121] In some embodiments, the smart terminal may be a mobile smart terminal (mobile phone, tablet computer, etc.), a vehicle-mounted smart terminal, a smart TV, a wearable device, or other device having a display device, and the display device may display the first detection image. The embodiments of the present application are described using a mobile phone as an example, and the selection may be made according to actual needs, and the present application does not limit this.

[0122] Step S330: If the first image acquisition device does not meet the first acquisition condition, the first adjustment data sent by the intelligent terminal is received, so as to adjust the acquisition range of the first image acquisition device according to the first adjustment data. The first acquisition condition is that the target display area is completely located in the acquisition range of the first image acquisition device. If the second image acquisition device does not meet the second acquisition condition, the second adjustment data sent by the intelligent terminal is received, so as to adjust the acquisition range of the second image acquisition device according to the second adjustment data. The second acquisition condition is that the target display area is completely located in the acquisition range of the second image acquisition device.

[0123] The smart terminal can display the first detection image / the second detection image, and the user can judge whether the target display area completely appears in the first detection image / the second detection image according to the first detection image / the second detection image, that is, whether the target display area is completely located in the acquisition range of the first image acquisition device / the second graphic acquisition device. The user can further provide feedback based on the judgment result. For example, if the target display area completely appears in the first detection image / the second detection image, the user can trigger the confirmation control in the interactive interface of the smart terminal to feedback the confirmation information. If the target display area does not completely appear in the first detection image / the second detection image, the user can further trigger the adjustment control to feedback the first adjustment data / the second adjustment data. For example, the user can drag the control corresponding to the position of the first image acquisition device / the second graphic acquisition device in the interactive interface to adjust the position of the first image acquisition device / the second graphic acquisition device. It can be understood that when the user adjusts the first image acquisition position in the interactive interface, the first adjustment data is generated according to the user's operation, and the first image acquisition device / the second image acquisition device is adjusted by the first adjustment data / the second adjustment data, such as the adjustment of the angle and the focal length. After the position of the first image acquisition device / the second image acquisition device is adjusted, the corresponding acquisition range will also change. The change in the acquisition range will cause the change in the acquired first detection image / the second detection image to be synchronously displayed on the display interface of the smart terminal, so that the user can promptly know the acquisition range of the adjusted first image acquisition device / the second image acquisition device, and make corresponding adjustments until the target display area is completely located in the acquisition range of the first image acquisition device / the second image acquisition device.

[0124] Step S340: Acquire a first screen image acquired by a first image acquisition device, wherein the target display area is completely located within the acquisition range of the first image acquisition device. Acquire a second screen image acquired by a second image acquisition device, wherein the target display area is completely located within the acquisition range of the second image acquisition device. The first image acquisition device acquires the first screen image at the same time as the second image acquisition device acquires the second screen image.

[0125] Step S350: extracting first image data corresponding to the target display area from the first screen image and extracting second image data corresponding to the target display area from the second screen image.

[0126] Step S360: Compare the first image data and the second image data.

[0127] Step S370: If the first image data matches the second image data, the lighting effect of the lighting component corresponding to the target display area can be known according to the first image data and the second image data.

[0128] For the detailed description of step S340 to step S370 , please refer to step S110 to step S140 , which will not be repeated here.

[0129] Another embodiment of the present application provides a lighting effect control method for a lighting device. This embodiment is improved on the basis of the above embodiment, and the main improvement is: in this implementation, by acquiring a first detection image acquired by a first image acquisition device and a second detection image acquired by a second image acquisition device, the first detection image and the second detection image are sent to a smart terminal, thereby adjusting the acquisition range of the first image acquisition device and the second image acquisition device, so that the first image acquisition device and the second image acquisition device can completely acquire the screen image of the target display area, thereby avoiding the influence of the incomplete acquired screen image on the lighting effect control.

[0130] See also Fig.12 , Fig.12 It is shown that another embodiment of the present application provides a lighting effect control method for a lighting device, and the method may include steps S410 to S450.

[0131] Step S410: Acquire a first screen image acquired by a first image acquisition device, wherein the target display area is completely located in the acquisition range of the first image acquisition device. Acquire a second screen image acquired by a second image acquisition device, wherein the target display area is completely located in the acquisition range of the second image acquisition device. The first image acquisition device acquires the first screen image at the same time as the second image acquisition device acquires the second screen image.

[0132] For the detailed description of step S410, please refer to step S110, which will not be repeated here.

[0133] Step S420: According to the set first designated area information, the first screen image is cropped to obtain a first display pixel area where the display device is located in the first screen image. According to the set second designated area information, the second screen image is cropped to obtain a second display pixel area where the display device is located in the second screen image.

[0134] Step S430: Perform pixel region extraction in the first display pixel region according to the position information of the target display region in the display device to obtain first image data corresponding to the target display region. Perform pixel region extraction in the second display pixel region according to the position information of the target display region in the display device to obtain second image data corresponding to the target display region.

[0135] Specifically, the captured first screen image / second screen image is cropped according to the set first designated area information / second designated area information, so as to obtain the first display pixel area / second display pixel area according to the area where the display device is located in the first screen image / second screen image.

[0136] In some embodiments, the first designated area information / the second designated area information is used to indicate the image area range that needs to be retained in the first screen image / the second screen image. It is understandable that the first screen image area / the second image area indicated by the first designated area information / the second designated area information at least includes the image corresponding to the area including all target display areas in the display device.

[0137] It can be understood that the position of the image acquisition device used to acquire images facing the display device is generally fixed, and the corresponding image acquisition parameters (such as focal length, angle, etc.) are basically unchanged. In this case, when the image acquisition device acquires multiple images, the image acquisition viewing angle of each image acquired is the same. Therefore, based on an image acquired by the image acquisition device as a basic image, the designated area information can be obtained by specifying the pixel area in the basic image.

[0138] Furthermore, the first screen image / the second screen image may be cropped by manually defining a cropping area, or may be cropped automatically without any need for the area.

[0139] In the embodiment of the present application, the position information of the target display area in the display device is used to indicate the relative position of the target display area with respect to the display device. When the target display area is a rectangular central area, the position information may include the distance between each side of the rectangular central area and the edge of the display device, the length and width of the rectangular central area, etc., so that the target display area can be quickly determined in the display device according to the position information.

[0140] Specifically, according to the position information of the target display area in the display device, the pixel area of ​​the first display pixel area / the second display pixel area is extracted respectively, and then the first image data / the second image data corresponding to the target display area is obtained according to the extracted pixel area.

[0141] Step S440: Compare the first image data and the second image data.

[0142] Step S450: If the first image data matches the second image data, the lighting effect of the lighting component corresponding to the target display area can be known according to the first image data and the second image data.

[0143] For the detailed description of step S440 to step S450, please refer to step S130 to step S140, which will not be repeated here.

[0144] Another embodiment of the present application provides a lighting effect control method for a lighting device. This embodiment is improved on the basis of the above-mentioned embodiment, and the main improvement is: in this embodiment, by cropping the first screen image / second screen image according to the set first designated area information / second designated area information, the first display pixel area and / or second display pixel area where the display device is located in the first screen image and / or the second screen image is obtained, and pixel area extraction is performed in the first display pixel area and / or the second display pixel area according to the position information of the target display area in the display device, and the first image data and / or second image data corresponding to the target display area are obtained. Cropping the captured screen image to remove the areas that do not need to be subsequently operated can clearly define which areas need to be further processed, thereby improving the calculation efficiency.

[0145] See also Fig.13 An embodiment of the present application provides a lighting effect control device 400 for a lighting device, wherein the lighting device includes at least one lighting component, each lighting component corresponds to one of the target display areas of a display device, and the lighting effect control device 400 includes: a first screen image acquisition module 410, a second screen image acquisition module 420, a first image data extraction module 430, a second image data extraction module 440, a comparison module 450 and a lighting effect control module 460.

[0146] Specifically, the first screen image acquisition module 410 is used to acquire the first screen image acquired by the first image acquisition device, wherein the target display area is completely located in the acquisition range of the first image acquisition device.

[0147] The second screen image acquisition module 420 is used to acquire the second screen image acquired by the second image acquisition device. The target display area is completely located in the acquisition range of the second image acquisition device. The time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image.

[0148] The first image data extraction module 430 is used to extract first image data corresponding to the target display area from the first screen image.

[0149] The second image data extraction module 440 is used to extract the second image data corresponding to the target display area from the second screen image.

[0150] The comparison module 450 is used to compare the first image data and the second image data.

[0151] The lighting effect control module 460 is used to control the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data if the first image data matches the second image data.

[0152] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Any processing method described in the method embodiment can be implemented by the corresponding processing module in the device embodiment, and will not be repeated one by one in the device embodiment.

[0153] See also Fig.14 An embodiment of the present application provides an electronic device 500, which may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, a touch screen, etc. The electronic device 500 in the present application may include one or more of the following components: a processor 510, a memory 520, and one or more applications, wherein the one or more applications may be stored in the memory 520 and configured to be executed by one or more processors 510, and the one or more programs are configured to execute the method described in the foregoing method embodiment.

[0154] The processor 510 may include one or more processing cores. The processor 510 uses various interfaces and lines to connect various parts of the entire electronic device 500, and executes various functions and processes data of the electronic device 500 by running or executing instructions, programs, code sets or instruction sets stored in the memory 520, and calling data stored in the memory 520. Optionally, the processor 510 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 510 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 510, but may be implemented separately through a communication chip.

[0155] The memory 520 may include a random access memory (RAM) or a read-only memory (ROM). The memory 520 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as an image acquisition function, a picture processing function, a timing function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a first screen image, a second screen image, etc.) created by the terminal during use.

[0156] See also Fig.15 , the embodiment of the present application provides a structural block diagram of a computer-readable storage medium. The computer-readable medium 600 stores program codes, and the program codes can be called by a processor to execute the method described in the above method embodiment.

[0157] The computer readable storage medium 600 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 610 can be compressed, for example, in an appropriate form.

[0158] The present application provides a lighting effect control method, system, device, electronic device and medium for lighting equipment, which obtains a first screen image acquired by a first image acquisition device and a second screen image acquired by a second image acquisition device; extracts first image data corresponding to a target display area from the first screen image, and extracts second image data corresponding to the target display area from the second screen image; compares the first image data and the second image data; if the first image data and the second image data acquired at the same time match, controls the lighting effect of the lighting component corresponding to the target display area. By acquiring image data acquired by two different image acquisition devices at the same time for the same target display area, namely, the first image data and the second image data, comparing the first image data and the second image data, and controlling the lighting effect according to the comparison result, it is possible to effectively avoid the error of a single image data from affecting the accuracy of lighting effect control, thereby improving the accuracy of lighting effect control and enhancing the user's viewing experience.

[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A lighting effect control method for a lighting device, characterized in that: The lighting device comprises at least one lighting assembly, each of the lighting assemblies corresponds to one of the target display areas of the display device, and the method comprises: Acquire a first screen image acquired by a first image acquisition device; wherein the target display area is completely located in the acquisition range of the first image acquisition device; Acquire a second screen image acquired by a second image acquisition device; wherein the target display area is completely located in the acquisition range of the second image acquisition device; wherein the time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image; Extracting first image data corresponding to the target display area from the first screen image; Extracting second image data corresponding to the target display area from the second screen image; comparing the first image data and the second image data; If the first image data matches the second image data, controlling the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data; The comparing the first image data and the second image data comprises: Determine a first color with the highest proportion in the first image data; Determine a second color with the highest proportion in the second image data; determining a color difference value according to the first color and the second color; If the color difference is less than or equal to a preset color threshold, it is determined that the first image data matches the second image data.

2. The method according to claim 1, characterized in that: The comparing the first image data and the second image data further comprises: If the color difference is greater than the preset color threshold, it is determined that the first image data does not match the second image data.

3. The method according to claim 2, characterized in that If the first image data matches the second image data, controlling the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data includes: If the first image data matches the second image data, determining a color mean value according to the first color and the second color; The lighting effect of the lighting component corresponding to the target display area is controlled according to the color mean value.

4. The method according to claim 2, characterized in that: The determining the first color with the highest proportion in the first image data includes: Acquire first YUV color data of the first image data; Converting the first YUV color data into first RGB color data; Converting the first RGB color data into first CIELAB color data; Performing color difference calculation and color quantization processing on the first CIELAB color data, determining the first CIELAB color data with the highest proportion in the first CIELAB color data after the color difference calculation and the color quantization processing, and taking the color corresponding to the first CIELAB color data with the highest proportion as the first color; And / or, determining the second color with the highest proportion in the second image data includes: Acquire second YUV color data of the second image data; Convert the second YUV color data into second RGB color data; converting the second RGB color data into second CIELAB color data; The second CIELAB color data is subjected to color difference calculation and color quantization processing, the second CIELAB color data having the highest proportion among the second CIELAB color data after the color difference calculation and the color quantization processing is determined, and the color corresponding to the second CIELAB color data having the highest proportion is used as the second color.

5. The method according to claim 1, characterized in that Before acquiring the first screen image, the method further includes: Acquire a first detection image acquired by the first image acquisition device; Sending the first detection image to a smart terminal; If the first image acquisition device does not meet the first acquisition condition, receiving the first adjustment data sent by the intelligent terminal, thereby adjusting the acquisition range of the first image acquisition device according to the first adjustment data; wherein the first acquisition condition is that the target display area is completely located in the acquisition range of the first image acquisition device; and / or, acquiring a second detection image acquired by the second image acquisition device; Sending the second detection image to the smart terminal; If the second image acquisition device does not meet the second acquisition condition, the second adjustment data sent by the smart terminal is received, so as to adjust the acquisition range of the second image acquisition device according to the second adjustment data, wherein the second acquisition condition is that the target display area is completely located in the acquisition range of the second image acquisition device.

6. The method according to claim 1, characterized in that The extracting the first image data corresponding to the target display area from the first screen image includes: The first screen image is cropped according to the set first designated area information to obtain a first display pixel area where the display device is located in the first screen image; Extracting a pixel region in the first display pixel region according to the position information of the target display region in the display device to obtain first image data corresponding to the target display region; And / or, extracting the second image data corresponding to the target display area from the second screen image includes: The second screen image is cropped according to the set second designated area information to obtain a second display pixel area where the display device is located in the second screen image; According to the position information of the target display area in the display device, pixel area extraction is performed on the second display pixel area to obtain second image data corresponding to the target display area.

7. A lighting effect control system for lighting equipment, characterized in that: include: A lighting device, comprising at least one lighting assembly, each of the lighting assemblies corresponding to one of the target display areas of the display device; A first image acquisition device is used to acquire a first screen image, wherein the target display area is completely located in the acquisition range of the first image acquisition device; A second image acquisition device is used to acquire a second screen image, wherein the target display area is completely located in the acquisition range of the second image acquisition device; wherein the time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image; A controller, configured to acquire the first screen image and the second screen image, the controller further configured to extract first image data corresponding to the target display area from the first screen image, and extract second image data corresponding to the target display area from the second screen image; the controller further configured to compare the first image data with the second image data, and if the first image data matches the second image data, control the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data; The comparing the first image data and the second image data comprises: Determine a first color with the highest proportion in the first image data; Determine a second color with the highest proportion in the second image data; determining a color difference value according to the first color and the second color; If the color difference is less than or equal to a preset color threshold, it is determined that the first image data matches the second image data.

8. A lighting effect control device for lighting equipment, characterized in that: The lighting device comprises at least one lighting assembly, each of the lighting assemblies corresponds to one of the target display areas of the display device, and the device comprises: A first screen image acquisition module, used for acquiring a first screen image acquired by a first image acquisition device; wherein the target display area is completely located in the acquisition range of the first image acquisition device; A second screen image acquisition module, configured to acquire a second screen image acquired by a second image acquisition device, wherein the target display area is completely located in an acquisition range of the second image acquisition device; wherein the time when the first image acquisition device acquires the first screen image is the same as the time when the second image acquisition device acquires the second screen image; A first image data extraction module, used to extract first image data corresponding to the target display area from the first screen image; A second image data extraction module, used to extract second image data corresponding to the target display area from the second screen image; A comparison module, configured to compare the first image data with the second image data; a lighting effect control module, configured to control the lighting effect of the lighting component corresponding to the target display area according to the first image data and the second image data if the first image data matches the second image data; The comparing the first image data and the second image data comprises: Determine a first color with the highest proportion in the first image data; Determine a second color with the highest proportion in the second image data; determining a color difference value according to the first color and the second color; If the color difference is less than or equal to a preset color threshold, it is determined that the first image data matches the second image data.

9. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the one or more processors, and the one or more applications are configured to execute the lighting effect control method as described in any one of claims 1-6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the lighting effect control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for adjusting picture of MINI LED backlight television

    CN110473504A

  • Colored lamp position recognition method, system and device and storage medium

    CN111612839A