npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-fv-detection-nodes

v1.1.0

Published

Flexible Vision Detection Nodes

Downloads

73

Readme

Flexible Vision

Detection Nodes For Node Red

Package contains the following nodes:

  • onprem-upload - runs prediction on an uploaded image file

  • onprem-snap - runs prediction on a captured image from detected camera

  • cloud-upload - runs prediction in the cloud on image file

  • Configure Camera - Sets a configuration on the selected vision camera

  • Release Camera - Releases camera acquisition of the selected vision camera

  • Open Camera - Starts camera acquisition of the selected vision camera

Disclaimer: To use the onprem nodes you must have a running Flexible Vision ONPREM SERVER.

Getting Started

Cloud Upload Setup


This node allows you to quickly deploy your AI vision models on your edge device. The following simple tutorial will have you creating and running your AI models in under 10 minutes.

Step 1: Create an Account

Create a free Flexible Vision account by entering your email and password.

CREATE ACCOUNT

Step 2: Install the Node

Install the node-red-contrib-fv-detection-nodes node via the Manage Pallet tool within node-red.

You can optionally install the node to your node-modules folder through your typical npm terminal command: npm install node-red-contrib-fv-detection-nodes

Step 3: Install Camerapi node (optional)

Install the optional camerapi node if acquiring an image through the raspberry pi camera. Otherwise skip this step.

Step 4: Create the Flow

Import the following flow into your node-red sketch:

[{"id":"3fcba4be.c7525c","type":"inject","z":"dbed9a85.13e278","name":"","topic":"","payload":"","payloadType":"date","repeat":"60","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":140,"wires":[["20e65868.257208"]]},{"id":"20e65868.257208","type":"camerapi-takephoto","z":"dbed9a85.13e278","filemode":"1","filename":"image.jpg","filedefpath":"1","filepath":"","fileformat":"jpeg","resolution":"10","rotation":"0","fliph":"0","flipv":"0","brightness":"50","contrast":"0","sharpness":"0","quality":"80","imageeffect":"none","exposuremode":"auto","iso":"0","agcwait":"1.0","led":"0","awb":"auto","name":"","x":300,"y":140,"wires":[["98730e7f.472a3"]]},{"id":"98730e7f.472a3","type":"file in","z":"dbed9a85.13e278","name":"Save Image","filename":"/home/pi/Pictures/image.jpg","format":"utf8","chunk":false,"sendError":false,"encoding":"none","x":470,"y":140,"wires":[["89060b2d.967d38"]]},{"id":"89060b2d.967d38","type":"cloud-upload","z":"dbed9a85.13e278","username":"","password":"","project":"","auth":"","x":770,"y":140,"wires":[["934e64b.c25f298"]]},{"id":"934e64b.c25f298","type":"debug","z":"dbed9a85.13e278","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1090,"y":140,"wires":[]}]

Step 5: Update Your Credentials & Select Example Project

Double click on the Cloud Upload Node and type in your Flexible Vision username and password.

Select Example Project from projects list.

Click “Done”, then click “Deploy”.

Step 6: Seeing Your Results

Within the debug window you can see all of the objects found in its raw json format. You can also visually see your results by logging into your Flexible Vision portal and reviewing your Detection History.

Visit the Resource Center for more information.

Flexible Vision