Low resolution?
psx2 opened this issue · comments
psx2 commented
Is there any way to increase the output resolution on collab, as the current output is quite low.
Thank you!
Alex commented
Hi, photo or video?
psx2 commented
Photo
… On 8 Feb 2022, at 18:53, Alex ***@***.***> wrote:
Hi, photo or video?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.
Alex commented
You can remove or edit this line -
im = scale_by_face_size(im, target_face=300, max_res=1_500_000, max_upscale=2)
It detects faces and scales images accordingly so that the face will be roughly the same size as the faces the model was trained on.