-
Notifications
You must be signed in to change notification settings - Fork 45
Description
{This is only a suggestion that may improve videos authenticity.}
If I'm assuming correctly, the line 136 in Renderer.py contains bad code:
frame = cv2.resize(frame, dsize=container_wh, interpolation=cv2.INTER_NEAREST)
Change the INTER_NEAREST to something else, I recommend trying INTER_LINEAR or INTER_LANCZOS4, and your video will look much more authentic and softer, no more digitally shimmering pixels - (MORE SCALERS: https://docs.opencv.org/3.4/da/d54/group__imgproc__transform.html#ga5bb5a1fea74ea38e1a5445ca803ff121 ).
If you can, use "HANN" algorithm. At least on images it has the best anti aliasing and softness, from my limited testing, but I can't find it here.
I have not turned on the program because I can't, so this may or may not work. I only saw a preview of an outputted file from this program which didn't look right. Even in some of the preview images here on github I see the bad scaler being utilized.