Skip to main content

Reprocess a face training image

POST 

https://demo.frigate.video/api/faces/reprocess

Reprocesses a face training image to update the prediction. Requires face recognition to be enabled in the configuration. The training file must exist in the faces/train directory. Returns a success response or an error message if face recognition is not enabled or the training file is invalid.

Request​

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/reprocess", payload, headers)
    res = conn.getresponse()
    data = res.read()
    print(data.decode("utf-8"))
    Request Collapse all
    Base URL
    https://demo.frigate.video/api
    Body
    {}
    
    ResponseClear

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