luna_lambda_tools.public.clients.handlers.Handlers

class luna_lambda_tools.public.clients.handlers.Handlers(handlersClient, accountId)[source]

Luna-handlers client

__init__(handlersClient, accountId)[source]

Methods

__init__(handlersClient, accountId)

checkHandlerById(handlerId, **kwargs)

Check whether handler exists by its id

checkVerifier(verifierId, **kwargs)

Check verifier existence

createHandler([policies, handlerType, ...])

Create new handler.

createVerifier([policies, description])

Create new verifier.

deleteHandlerById(handlerId, **kwargs)

Remove handler by id

deleteVerifier(verifierId, **kwargs)

Remove verifier :rtype: Union[Awaitable[LunaResponse], LunaResponse]

detectFaces(inputData[, multifacePolicy, ...])

Detect faces on input images.

emitEvents(handlerId, inputData[, policies, ...])

Emit input events.

emitStreamEvents(handlerId, inputData, **kwargs)

Emit stream events.

extractAttrFromSample(sampleIds[, ...])

Extract attributes from samples.

getAddress()

Get luna-handlers address

getHandlerById(handlerId, **kwargs)

Get handler by its id

getHandlers([description, handlerType, ...])

Get handlers by filters

getHandlersCount([description, handlerType])

Get handlers count by filters

getVerifier(verifierId, **kwargs)

Get verifier

getVerifiers([description, page, pageSize])

Get verifiers by filters

getVerifiersCount([description])

Count verifiers that satisfy the filters

putVerifier(verifierId[, policies, description])

Replace verifier

saveEvent(handlerId, event[, waitSaving])

Save raw event.

updateHandler(handlerId[, policies, ...])

Update a handler.

upgradeObjectFromSample(data, **kwargs)

Upgrade basic attributes and/or descriptor in a object using samples.

validateHandler(policies, **kwargs)

Validate handler policies.

verifyData(verifierId, inputData[, ...])

Perform data verification against specified objects.

verifyRaw(candidates, references, ...)

Verify raw API allows to match each candidate with each reference descriptors.