Created
May 16, 2018 15:08
-
-
Save akashjobanputra/fd90aa23ca22b703bad6886f3e9a7d24 to your computer and use it in GitHub Desktop.
HSV Values from GIMP to OpenCV.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gimpH = 230 | |
gimpS = 36 | |
gimpV = 70 | |
opencvH = gimpH / 2 | |
opencvS = (gimpS / 100) * 255 | |
opencvV = (gimpV / 100) * 255 | |
print('H: {}\nS: {}\nV: {}\n'.format(opencvH, opencvS, opencvV)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment