Skip to main content

Create a new face name

POST 

https://demo.frigate.video/api/faces/:name/create

Creates a new folder for a face name in the faces directory. This is used to organize face training images. The face name is sanitized and spaces are replaced with underscores. Returns a success message or an error if face recognition is not enabled.

Request​

Path Parameters

    name Namerequired

Responses​

Successful Response

Schema
    successSuccess (boolean)required
    messageMessage (string)required
import http.client

conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {
'Accept': 'application/json'
}
conn.request("POST", "/api/faces/:name/create", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://demo.frigate.video/api
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!