Skip to content

Instantly share code, notes, and snippets.

@akashjobanputra
Created May 16, 2018 15:08
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akashjobanputra/fd90aa23ca22b703bad6886f3e9a7d24 to your computer and use it in GitHub Desktop.
Save akashjobanputra/fd90aa23ca22b703bad6886f3e9a7d24 to your computer and use it in GitHub Desktop.
HSV Values from GIMP to OpenCV.
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