From 81ed7c0a2a19576613d23b7881e48b8445e369d3 Mon Sep 17 00:00:00 2001 From: Colombo Date: Fri, 3 Jul 2020 15:18:15 +0400 Subject: [PATCH] fix --- samplelib/SampleProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samplelib/SampleProcessor.py b/samplelib/SampleProcessor.py index 9622cf4..c4ebfb6 100644 --- a/samplelib/SampleProcessor.py +++ b/samplelib/SampleProcessor.py @@ -151,7 +151,7 @@ class SampleProcessor(object): img = cv2.warpAffine( img, mat, (resolution,resolution), borderMode=borderMode, flags=cv2.INTER_LINEAR ) else: if w != resolution: - img = cv2.resize( img, (resolution, resolution), cv2.INTER_CUBIC ) + img = cv2.resize( img, (resolution, resolution), cv2.INTER_LINEAR ) img = imagelib.warp_by_params (params_per_resolution[resolution], img, warp, transform, can_flip=True, border_replicate=border_replicate, cv2_inter=cv2.INTER_LINEAR)