Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FacePlusPlus/facepp-python-sdk
/ functions
Functions
28 in github.com/FacePlusPlus/facepp-python-sdk
⨍
Functions
28
◇
Types & classes
7
↓ 2 callers
Function
_setup_apiobj
(self, api, prefix, path)
PythonSDK/facepp.py:125
↓ 1 callers
Method
_get_content
read image content
PythonSDK/facepp.py:43
↓ 1 callers
Method
_mkarg
change the argument list (encode value, add api key/secret) :return: the new argument list
PythonSDK/facepp.py:191
↓ 1 callers
Function
_print_debug
(msg)
PythonSDK/facepp.py:269
↓ 1 callers
Method
add_field
Add a simple field to the form data.
PythonSDK/facepp.py:223
↓ 1 callers
Method
add_file
Add a file to be uploaded.
PythonSDK/facepp.py:227
↓ 1 callers
Function
choose_boundary
()
PythonSDK/compat.py:62
↓ 1 callers
Function
enc
(x)
PythonSDK/compat.py:54
↓ 1 callers
Method
get_content_type
(self)
PythonSDK/facepp.py:220
↓ 1 callers
Method
get_filename
(self)
PythonSDK/facepp.py:52
↓ 1 callers
Method
humanbody_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 callers
Function
printFuctionTitle
(title)
call.py:24
↓ 1 callers
Function
print_result
(hit, result)
call.py:20
↓ 1 callers
Method
update_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
Method
bytes
Return a string(2.x) or bytes(3.x) representing the form data, including attached files.
PythonSDK/facepp.py:234
Method
getMergeImg
(base64Str)
PythonSDK/ImagePro.py:116
Method
getSegmentImg
(filePath)
PythonSDK/ImagePro.py:95
Method
humanbody_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