UNPKG

@droneblocks/node-red-dexi

Version:

You want to make sure you don't lose any of your flow development. Make sure to map the host "flows" directory to the container directory as shown below. This will store the flow on your host machine if/when the container is destroyed.

30 lines (27 loc) 972 B
<script type="text/javascript"> RED.nodes.registerType('coco-ssd', { category: 'DEXI', color: '#FFCC00', defaults: { name: { value: "" } }, inputs: 1, outputs: 1, icon: "font-awesome/fa-search", paletteLabel: "COCO-SSD Detection", label: function () { return this.name || "COCO-SSD Detection"; } }); </script> <script type="text/html" data-template-name="coco-ssd"> <div class="form-row"> <label for="node-input-name"><i class="icon-tag"></i> Name</label> <input type="text" id="node-input-name"> </div> </script> <script type="text/html" data-help-name="coco-ssd"> <p>A Node-RED node that performs object detection using TensorFlow.js COCO-SSD model.</p> <p><b>Input:</b> A base64-encoded image string.</p> <p><b>Output:</b> An array of detected objects with properties like class, score, and bounding box.</p> </script>