Module: Core

Core module.
Source:

Methods

(inner) createDetector(id, category, media, realTime, url, otherOptions, initialize, extractEmotions, translateToPAD) → {Detector}

Initialises a detector using the arguments passed. Returns that new detector.
Parameters:
Name Type Description
id string Name of the detector.
category string Name of the category. E.g. face, voice, etc.
media Array Type of media that can be processed. E.g. image, video, sound, etc.
realTime boolean The detector answers in real time.
url string API/Service URL.
otherOptions Object Object to save other customized options.
initialize function Function to initiliaze the detector (sign into the service, request session token, etc.)
extractEmotions function Function to analyse some media.
translateToPAD function Function called with the results of the previous function.
Source:
Returns:
New Detector object fully built
Type
Detector