ADD: Tests for accepting filename and b64 inputs

This commit is contained in:
Chris Lee
2015-05-28 15:47:32 -04:00
committed by Madison May
parent dd09f34a89
commit ea3f77cbf0
3 changed files with 24 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ def facial_features(image, cloud=None, batch=False, api_key=None, **kwargs):
:type image: list of lists
:rtype: List containing feature responses
"""
image = image_preprocess(image, batch=batch)
return api_handler(image, cloud=cloud, api="facialfeatures", batch=batch, api_key=api_key, **kwargs)
def image_features(image, cloud=None, batch=False, api_key=None, **kwargs):