Facial Feature Positioning API
POSThttps://api.acedata.cloud/face/analyze
This API can be used for facial landmark detection on the requested image, calculating 90 points that make up the facial contour, including eyebrows (8 points on each side), eyes (8 points on each side), nose (13 points), mouth (22 points), face shape contour (21 points), and pupils (2 points).
Request Headers
acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token
Request Body
image_urlstringRequired parameter
URL link of the image to be processed.
modenumber
Detection mode. `0` indicates to detect all faces appearing in the image, while `1` indicates to detect only the largest face. The default value is `0`.
face_model_versionstring
The version number of the algorithm model used for the facial recognition service. Different versions correspond to different facial recognition algorithms, and the new version performs better overall than the old version. It is recommended to use version `3.0`.
need_rotate_detectionnumber
Whether to enable image rotation recognition. `0` means off, `1` means on. The default value is `0`.
Response
Face Transformation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
