Skip to content

face_resotration_helper.py read_image() cv2 method clobbers 16 bit to 8 bit.  #31

Open
@xvdp

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions