Extractor handler

Handler for extractor resource

class luna_backport3.app.handlers.handler_extractor.HandlerExtractor(request)[source]

Handler for extracting persons from images.

Resource: “/{api_version}/extractor”

async get()[source]

Get handler info. See spec_get_handler_extractor.

Return type:

HTTPResponse

async patch()[source]

Patch handler. See spec_patch_handler_extractor.

Return type:

HTTPResponse

async post()[source]

Extract person from provided image, see spec_handlers_extractor.

Return type:

HTTPResponse