feat generate 新增色阶调整 亮度调整
This commit is contained in:
@@ -207,10 +207,6 @@ def generate_category_recognition(image, gender):
|
||||
return category, scores, image
|
||||
|
||||
|
||||
import cv2
|
||||
import numpy as np
|
||||
|
||||
|
||||
def autoLevels(img, cutoff=0.1):
|
||||
channels = img.shape[2] # h,w,ch
|
||||
table = np.zeros((1, 256, 3), np.uint8)
|
||||
|
||||
Reference in New Issue
Block a user