Extractor handler¶
Extractor handler
-
class
luna_backport4.app.handlers.extractor_handler.
ExtractorHandler
(request)[source]¶ Extract attributes such as gender, age, ethnicity, descriptor from samples.
Resource: “/{api_version}/extractor”
-
post
()[source]¶ Extract attributes from samples. See spec_extractor.
Returns: response with list of extracted attributes Raises: VLException(Error.NotSelectedAttributesForExtract, 400, isCriticalError=True) – if extract_descriptor=0 and extract_basic_attributes=0 Return type: HTTPResponse
-