Class

HumanMultiVideoSentimentManager

HumanSentimentAnalyser.HumanMultiVideoSentimentManager()

Multi-video sentiment manager using Human.js Drop-in replacement for MultiVideoSentimentManager. Automatically uses WebGPU when available for best performance.

Constructor

# new HumanMultiVideoSentimentManager()

Methods

# async addVideo(videoId, videoElement) → {Promise.<void>}

Add video for analysis

Parameters:
Name Type Description
videoId string

Unique identifier

videoElement HTMLVideoElement

Video to analyze

Promise.<void>

# destroy()

Clean up all resources

# getBackendInfo() → {Object}

Get the currently selected backend

Object

# getModelInfo() → {Object}

Get detailed information about loaded models and configuration

Detailed model and environment info

Object

# getPerformanceStats() → {Object}

Get performance stats

Object

# async initialize() → {Promise.<void>}

Initialize shared Human.js instance with automatic backend detection

Promise.<void>

# removeVideo(videoId)

Remove video from analysis

Parameters:
Name Type Description
videoId string

# setDebugMode(enabled)

Set debug mode

Parameters:
Name Type Description
enabled boolean