MCPcopy Create free account

hub / github.com/FacePlusPlus/facepp-python-sdk / functions

Functions28 in github.com/FacePlusPlus/facepp-python-sdk

↓ 2 callersFunction_setup_apiobj
(self, api, prefix, path)
PythonSDK/facepp.py:125
↓ 1 callersMethod_get_content
read image content
PythonSDK/facepp.py:43
↓ 1 callersMethod_mkarg
change the argument list (encode value, add api key/secret) :return: the new argument list
PythonSDK/facepp.py:191
↓ 1 callersFunction_print_debug
(msg)
PythonSDK/facepp.py:269
↓ 1 callersMethodadd_field
Add a simple field to the form data.
PythonSDK/facepp.py:223
↓ 1 callersMethodadd_file
Add a file to be uploaded.
PythonSDK/facepp.py:227
↓ 1 callersFunctionchoose_boundary
()
PythonSDK/compat.py:62
↓ 1 callersFunctionenc
(x)
PythonSDK/compat.py:54
↓ 1 callersMethodget_content_type
(self)
PythonSDK/facepp.py:220
↓ 1 callersMethodget_filename
(self)
PythonSDK/facepp.py:52
↓ 1 callersMethodhumanbody_blending_with_color
:param input_image: the PIL.Image instance :param gray_image: the PIL.Image instance, it is created from api base64 result, it is a g
PythonSDK/ImagePro.py:59
↓ 1 callersFunctionprintFuctionTitle
(title)
call.py:24
↓ 1 callersFunctionprint_result
(hit, result)
call.py:20
↓ 1 callersMethodupdate_request
overwrite this function to update the request before sending it to server
PythonSDK/facepp.py:119
Method__call__
(self, *args, **kargs)
PythonSDK/facepp.py:151
Method__delattr__
(self, name)
PythonSDK/structures.py:15
Method__getattr__
(self, name)
PythonSDK/structures.py:6
Method__init__
(self, path)
PythonSDK/facepp.py:39
Method__init__
(self, code, url, body)
PythonSDK/facepp.py:66
Method__init__
:param srv: The API server address :param decode_result: whether to json_decode the result :param timeout: HTTP request timeo
PythonSDK/facepp.py:87
Method__init__
(self, api, prefix, path)
PythonSDK/facepp.py:148
Method__init__
(self)
PythonSDK/facepp.py:215
Method__setattr__
(self, name, value)
PythonSDK/structures.py:12
Method__str__
(self)
PythonSDK/facepp.py:71
Methodbytes
Return a string(2.x) or bytes(3.x) representing the form data, including attached files.
PythonSDK/facepp.py:234
MethodgetMergeImg
(base64Str)
PythonSDK/ImagePro.py:116
MethodgetSegmentImg
(filePath)
PythonSDK/ImagePro.py:95
Methodhumanbody_blending_with_image
:param input_image: the PIL.Image instance, the source humanbody image :param gray_image: the PIL.Image instance, it is created from
PythonSDK/ImagePro.py:11