mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-11 07:37:04 -07:00
update xlib/image/ImageProcessor.py
This commit is contained in:
parent
65fb01ff39
commit
09400dce75
1 changed files with 9 additions and 6 deletions
|
@ -492,6 +492,9 @@ class ImageProcessor:
|
|||
class Interpolation(IntEnum):
|
||||
LINEAR = 0
|
||||
CUBIC = 1
|
||||
LANCZOS4 = 4
|
||||
|
||||
_cv_inter = { ImageProcessor.Interpolation.LINEAR : cv2.INTER_LINEAR,
|
||||
ImageProcessor.Interpolation.CUBIC : cv2.INTER_CUBIC }
|
||||
ImageProcessor.Interpolation.CUBIC : cv2.INTER_CUBIC,
|
||||
ImageProcessor.Interpolation.LANCZOS4 : cv2.INTER_LANCZOS4,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue