- Introdução
- Consumindo a API
- Características da API
- Mensagens de Erro
- Material de Apoio
- Authentication
- Address Parsing
- Billing/DailySummary
- Content Classification
- Content Compare
- Content Extraction
- Content Extraction Async
- Content Extraction Distance
- Content Fullreader
- Enrichment
- Facematch
- Generative Content Extraction
- Image Properties
- Image Reporting - Continuous Improvement
- Invoice Extraction
- License Plate Recognition
- Liveness Detection
- Liveness Streaming
- MultiAddress Parsing
- MultiPage Content Extraction
- Payment Card Extraction
- Vio Extraction
Add Faces [application/json]
POST
https://mostqiapi.com/process-image/biometrics/database/add-faces
face compareface matchbanco de faces
Last modified:2024-11-08 11:28:06
Request
Header Params
Authorization
string
required
Example:
Bearer {{bearer_token}}
Body Params application/json
database
string
required
fileBase64
string <base64>
required
Match pattern:
RFC3548
Example
{
"database": "",
"fileBase64": ""
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mostqiapi.com/process-image/biometrics/database/add-faces' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"database" : "",
"fileBase64": ""
}'
Responses
🟢200OK
application/json
Body
result
array [object {2}]
required
faceId
string
required
score
number <float>
required
>= 0<= 1
requestId
string
required
elapsedMilliseconds
integer
required
status
object
required
message
string | null
required
code
string
required
errors
array [object {2}] | null
required
Example
{
"result": [
{
"faceId": "9acdr821-1d72-46ba-878f-5ced94ce906c",
"score": 1
}
],
"requestId": "c36GUi4hCuCCta9ZNjZev",
"elapsedMilliseconds": 2775,
"status": {
"message": "Ok",
"code": "200",
"errors": null
}
}
🟠401R117 Invalid authorization data
🔴500E100 The request could not be processed
Modified at 2024-11-08 11:28:06