mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-08-06 12:50:33 +08:00
Merge pull request #111 from IndicoDataSolutions/diana-fl
ADD: facial localization api
This commit is contained in:
@@ -10,7 +10,7 @@ from indicoio.utils.errors import IndicoError, DataStructureException
|
||||
|
||||
B64_PATTERN = re.compile("^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)")
|
||||
|
||||
def image_preprocess(image, size=(48,48), min_axis=None, batch=False):
|
||||
def image_preprocess(image, size=None, min_axis=None, batch=False):
|
||||
"""
|
||||
Takes an image and prepares it for sending to the api including
|
||||
resizing and image data/structure standardizing.
|
||||
|
||||
Reference in New Issue
Block a user