Replies: 2 comments 5 replies
-
Use the hsv values as a list like this: At the moment no color sensor at hand, so I did not test. Bert |
Beta Was this translation helpful? Give feedback.
1 reply
-
To detect colors with your own HSV values, the recommended approach is illustrated in this video. This makes color detection very reliable. If you still want to the individual |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Pybricks blocks and trying use HSV mode of the color sensor to detect a color. While I am able to print the value by placing this block in the print block, I am unable to access the H value in the color object returned by the block. Is there a block or some operation I need to perform to be able to access it in block based coding?
Beta Was this translation helpful? Give feedback.
All reactions