Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xvdp opened this issue Apr 10, 2023 · 0 comments
Open

Comments

@xvdp
Copy link

xvdp commented Apr 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant