# Creating node for object detection

**URL:** <https://discourse.nodered.org/t/creating-node-for-object-detection/32400>\
**Category:** Developing Nodes\
**Created:** [3 September 2020 11:47 UTC](https://discourse.nodered.org/t/creating-node-for-object-detection/32400 "2020-09-03T11:47:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxmsi](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@maxmsi](https://discourse.nodered.org/u/maxmsi)\
**Post date:** [3 September 2020 11:47 UTC](https://discourse.nodered.org/t/creating-node-for-object-detection/32400/1 "2020-09-03T11:47:09Z")

</div>

Hello,  
I have to create a node, based of some existing ML model. I'm a pretty beginner of node-red, so I'm creating this topic, to request you guys for some advices/approach to create that node. Its my intern task, so giving more details, its should be something like CoCoSSD node. Is it a difficulat to do, having some ml model which is trained for detecting object ?  
TIA

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [3 September 2020 16:05 UTC](https://discourse.nodered.org/t/creating-node-for-object-detection/32400/2 "2020-09-03T16:05:36Z")

</div>

It isn't especially hard to create a node and I would strongly advise you to create a simple dummy node first. There is a simple example provided in the core Node-RED but I also have a more complex but annotated example here:

> **[TotallyInformation/node-red-contrib-jktesting](https://github.com/TotallyInformation/node-red-contrib-jktesting)**
>
> Test nodes for Node-RED for learning and experimenting, best practice, lots of hints and notes - TotallyInformation/node-red-contrib-jktesting

I can't comment on the ML side of things of course. However, it is critically important that you understand the flow of things. How Node-RED starts with a Node.JS service, runs ExpressJS, loads all of the node modules. Also how msgs interact with a node. You should also understand how Node-RED deals with shutdown's and (re)deployment, especially if you are creating other services that run within or under Node-RED.

How easy you will find it to pick up depends somewhat on your understanding of JavaScript and Node.js.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 November 2020 16:05 UTC](https://discourse.nodered.org/t/creating-node-for-object-detection/32400/3 "2020-11-02T16:05:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
