嗨,我的图像颜色有问题。我对这一切还很陌生,但是我尝试遵循一些教程。我想知道如何摆脱照片上的蓝色阴影吗?
[蓝瓶] [1]
代码:
import numpy as np
import matplotlib.pyplot as plt
import os
import cv2
from tqdm import tqdm
DATADIR = "C:\\Users\woute\Datasets\Garbage classification"
CATEGORIES = ["glass", "cardboard"]
for category in CATEGORIES:
path = os.path.join(DATADIR,category)
for img in os.listdir(path):
img_array = cv2.imread(os.path.join(path,img), cv2.IMREAD_COLOR)
plt.imshow(img_array)
plt.show() # display!
break
break
[1]: https://i.stack.imgur.com/DaZtA.png
[2]: https://i.stack.imgur.com/MP0sQ.png