Faces counter handler

class luna_faces.app.handlers.faces_counter_handler.FacesAttributesCountHandler(request)[source]

Face counter handler: count faces with attributes

async get()[source]

Count faces with attributes. See spec_get_face_attribute_count.

Return type:

HTTPResponse

Returns:

response json with face count and status code 200

class luna_faces.app.handlers.faces_counter_handler.FacesCountHandler(request)[source]

Faces counter handler.

async get()[source]

Get face count by filters. See spec_get_face_count.

Return type:

HTTPResponse

Returns:

response json with face count and status code 200