Skip to main content

Train Face

POST 

https://demo.frigate.video/api/faces/train/:name/classify

Train Face

Request​

Path Parameters

    name Namerequired

Body

    objectobject

Responses​

Successful Response

Schema
    import http.client
    import json

    conn = http.client.HTTPSConnection("demo.frigate.video")
    payload = json.dumps({})
    headers = {
    'Content-Type': 'application/json',
    'Accept': 'application/json'
    }
    conn.request("POST", "/api/faces/train/:name/classify", 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
    Body
    {}
    
    ResponseClear

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