Provides context to communicate with Vision Node.
import { SkeletonController } from './brooxVisionNode.js';
Parses MQTT events sent by Vision Node and keeps track of the skeletons.
// exampleconst skeletonController = new SkeletonController(width, height, () => {...);const skeletons = blobsController.getSkeletons();
Parses MQTT events sent by Vision Node and allows to handle the different gestures.
// exampleconst gestureHandler = new GestureHandler(500, 2);gestureHandler.onPresence(() => console.log('Presence'));
Allows apps to persist json values associated to a project and a key.
// exampleconst user = { firstName: 'John', lastName: 'Doe'};const keyValue = new KeyValue();keyValue.set('testApp', 'profile', user);const profile = keyValue.get('testApp', 'profile');
MQTT client.
// exampleconst client = new MqttClient('localhost', 1884);client.onMessage((message) => console.log(message));
Generated using TypeDoc
Provides context to communicate with Vision Node.
Usage
SkeletonController
Parses MQTT events sent by Vision Node and keeps track of the skeletons.
GestureHandler
Parses MQTT events sent by Vision Node and allows to handle the different gestures.
KeyValue
Allows apps to persist json values associated to a project and a key.
MqttClient
MQTT client.