Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
rbflurry-node-red-contrib-bounding-box
Advanced tools
A Node-RED custom node that processes and draws bounding boxes
This is a custom Node-RED node that draws bounding boxes from an Object Detection model.
This custom Node-RED node leverages the `node-canvas` npm package to draw the bounding
boxes on a image. Please make sure the platform running Node-RED fulfills the
prerequisites listed [here](https://www.npmjs.com/package/canvas#compiling). For
example, while using Ubuntu, you need to run the following command to install
the dependencies:
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
### Install this module:
Once you install the peer dependency and the prerequisites, you can install this module:
npm install node-red-contrib-post-object-detection
## Usage
There are two custom Node-RED nodes in this package:
- `bbox-image`: This is used to annotate an input original image with bounding boxes.
### `bbox-image` node
The `msg.payload` passed to this node should be an object containing these two
properties:
- `image`: The image data in `Buffer` data type
- `objects`: An object array containing a list of detected objects.
Each object has the following information:
{ bbox: [x, y, w, h], className: string, score: number }
This node annotates the image by drawing the bounding boxes of detected objects onto it.
This annotated image is then output as a `Buffer` for the next node.
FAQs
A Node-RED custom node that processes and draws bounding boxes
The npm package rbflurry-node-red-contrib-bounding-box receives a total of 5 weekly downloads. As such, rbflurry-node-red-contrib-bounding-box popularity was classified as not popular.
We found that rbflurry-node-red-contrib-bounding-box demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.