Skip to content
Snippets Groups Projects
Commit b723af60 authored by Daniel Gordon's avatar Daniel Gordon
Browse files

fixed color bug

parent 283e934e
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ def subplot(plots, rows, cols, outputWidth, outputHeight, border=BORDER,
im = np.array(im, dtype=np.uint8)
else:
cv2.putText(im, titles[col + cols * row], (10, 30), CV_FONT, .5, [0,0,0], 4)
cv2.putText(im, titles[col + cols * row], (10, 30), CV_FONT, .5, [1,1,1], 1)
cv2.putText(im, titles[col + cols * row], (10, 30), CV_FONT, .5, [255,255,255], 1)
returnedImage[
border + (outputHeight + border) * row :
(outputHeight + border) * (row + 1),
......@@ -101,7 +101,7 @@ def subplot(plots, rows, cols, outputWidth, outputHeight, border=BORDER,
im = np.array(im, dtype=np.uint8)
else:
cv2.putText(im, titles[0], (10, 30), CV_FONT, .5, [0,0,0], 4)
cv2.putText(im, titles[0], (10, 30), CV_FONT, .5, [1,1,1], 1)
cv2.putText(im, titles[0], (10, 30), CV_FONT, .5, [255,255,255], 1)
return im
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment