def ContrastNBrightness1(img_array): img_cv2 = cv2.cvtColor(img_array, cv2.COLOR_RGB2BGR) img = copy.deepcopy(img_cv2) st.write("Contrast and Bright