Converter: added Apply super resolution? (y/n skip:n) : , Enhance details by applying DCSCN network.

refactorings
This commit is contained in:
iperov 2019-03-28 21:50:27 +04:00
commit 85c01e3b4a
12 changed files with 271 additions and 77 deletions

View file

@ -19,7 +19,11 @@ class Converter(object):
pass
#overridable
def convert_face (self, img_bgr, img_face_landmarks, debug):
def on_host_(self):
pass
#overridable
def cli_convert_face (self, img_bgr, img_face_landmarks, debug):
#return float32 image
#if debug , return tuple ( images of any size and channels, ...)
return image