+ 1

Could you please can ane one help me with that my project is color mixing machin, i have used color picker from image that give

The cymk values the problem that i have faced is how i can capeture these value into rasberry pi to implement them into the pumps to give the rquierd quintities can any one help me with this code https://www.sololearn.com/discuss/3228171/?ref=app

21st Jul 2023, 7:50 PM
Ahmed Alyousofi
Ahmed Alyousofi - avatar
2 Respuestas
+ 2
you can use opencv or Pillow to get the color values, but you would also need a good camera and/or a color accurate image file, and lighting will have a big influence on the color that is recorded. Or maybe use a commercial product like this could give a more accurate value: https://www.nixsensor.com/nix-mini/ Also, are you using C++ or Python? Or maybe use the javascript and browser color picker? https://www.instructables.com/Javascripting-Your-RaspberryPi/ Lots of options...
21st Jul 2023, 11:28 PM
Bob_Li
Bob_Li - avatar
+ 5
Imagine you have 4 valves for cyan, magenta, yellow and black. If you assume you need 100 seconds to feel a container with a valve. Then you can convert the calculated contents of each color portion to the time, how long a valve should be opened. https://code.sololearn.com/cAO5hBG3MJZY/?ref=app
21st Jul 2023, 9:23 PM
JaScript
JaScript - avatar