node-red-contrib-post-object-detection
Version:
A Node-RED custom node that processes the Object Detection results
28 lines (27 loc) • 615 B
TypeScript
type NodeRed = {
nodes: NodeRedNodes;
};
type NodeRedWire = {
[index: number]: string;
};
type NodeRedWires = {
[index: number]: NodeRedWire;
};
type NodeRedProperties = {
id: string;
type: string;
name: string;
wires: NodeRedWires;
strokeWidth: string;
fontSize: string;
objectsProp: string;
objectsPropType: string;
imageProp: string;
imagePropType: string;
};
type NodeRedNodes = {
createNode(node: any, props: NodeRedProperties): void;
registerType(type: string, ctor: any): void;
};
declare const _default: (RED: NodeRed) => void;
export = _default;