mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 22:34:25 -07:00
Use INTER_AREA for scaling
This commit is contained in:
parent
d8c5e42a55
commit
721eb9a0a6
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ def scale_previews(previews, zoom=Zoom.ZOOM_100):
|
||||||
previews.append((preview_name, cv2.resize(preview_rgb, (0, 0),
|
previews.append((preview_name, cv2.resize(preview_rgb, (0, 0),
|
||||||
fx=scale_factor,
|
fx=scale_factor,
|
||||||
fy=scale_factor,
|
fy=scale_factor,
|
||||||
interpolation=cv2.INTER_LANCZOS4)))
|
interpolation=cv2.INTER_AREA)))
|
||||||
return previews
|
return previews
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue