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)) |
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
import dxfgrabber | |
import cv2 | |
import numpy as np | |
import sys | |
""" | |
def absdiff(num1, num2): | |
if num1 <= num2: | |
return num2 - num1 | |
else: |
OlderNewer