When users click the “target color” button, the text on the button will turn into “Real color”. Then processing send all target colors of LEDs to python to do linear programming. The python calculates the color after deactivation and sends the data back.
target color
color after deactivation. We can see the differences between target color and real color are not obvious. The colors of top red triangles are different in the two pictures.
Step 1: shoot images ( cyan under red, green, blue light for x s)
step 2: use opencv to extract the data and fit the surfaces.
step3: calculate the color between the LEDs.
The user can input the flashing time of a different color for each LED