Commit 31d83caf authored by Elisa Kanaki's avatar Elisa Kanaki

Correct colour channels in WiTec

parent c5676aa9
......@@ -41,7 +41,6 @@ class InstrumentComBase(object):
"""
img = cv2imread_fix(imagePath)
img = cv2.resize(img, None, fx=self.videoScaleFactor, fy=self.videoScaleFactor)
img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
cv2imwrite_fix(imagePath, img)
def getRamanPositionShift(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment