@@ -60,7 +60,7 @@ def showImage(img, rows, cols, kanaele, sim_faktor, sim_kind, sim_art): | |||
T = tk.Text(SB.frame, height=1, width=15) | |||
T.grid(columnspan=5) | |||
print_string = sim_kind + ' ' + str(round(color_blindness.sim_faktor * 100)) + "%)" | |||
print_string = sim_kind + ' ' + str(round(color_blindness.sim_faktor * 100)) + "%" | |||
T.insert('current', print_string) | |||
conv_SimulationPic = ImageTk.PhotoImage(image=PIL.Image.fromarray(color_blindness_mat)) |
@@ -1,6 +1,5 @@ | |||
import numpy as np | |||
import cv2 | |||
import sys | |||
def createGammaLookup(): |