face_resotration_helper.py read_image() cv2 method clobbers 16 bit to 8 bit. #31
Open
Description
To get 16 bit pngs in cv2 to read properly requires IMREAD_UNCHCHANGED - in opencv-python 4.7
img = cv2.imread(img, cv2.IMREAD_UNCHANGED)
changed in https://github.com/xvdp/facexlib commit 3e90175
Metadata
Assignees
Labels
No labels