Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Basic Course
Navigating NaraFlow PageDashboard PageNode Categories and TypesBuild Your First Flow

Using Nara

Components

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
CoursesBasic Course

Build Your First Flow

A step-by-step guide to manually creating a Flow in Nara

After learning the basics of using Nara and understanding the different parts of the Flow Page, the next step is to create a Flow from scratch by yourself. In this section, you will recreate the same Flow from the Deploy your First Flow (Quick Start) tutorial, but this time without using any templates.

In this Flow, you will build an Quick Start: General Object Detection by displaying both the processed image and the detected object count on the Dashboard through Variable Nodes.

Flow Overview

Flow Path Dashboard Variable Image Variable Count Time Interval Trigger Webcam Input Webcam General Detection Variable Image: Modify Variable Count: Modify Image Display Widget Count Display Widget

Steps to Build the Flow Manually

  1. Create the Variable Image Node:
    Before creating the Flow Path, first create a Variable: Create Node since these Nodes act as intermediaries for transferring data between the Flow and the Dashboard. Configure the Node as shown below and rename it to Variable Image.

Build Variable Node

  1. Create the Variable Count Node:
    This Node is used to store the number of detected objects in the image.

Build Variable Node

  1. Add a Time Interval Trigger:
    Configure the Interval Value and Interval Unit based on how often you want the system to run. You can customize the settings as needed or follow the example below.

Build Time Trigger Node

  1. Add a Webcam Node:
    Configure the Node as shown below.

Build Webcam Node

  • By default, the Webcam Index is usually set to 0.
  • After configuration, connect the Input of this Node to the Output of the Time Interval Trigger Node.
  • This Node captures frames from the webcam and sends them to the next Node for processing.
  1. Add a Stop Node:
    Connect the Error Output of the Webcam Node to the Stop Node to stop the Flow whenever an error occurs.

  2. Add a General Object Detection Node:
    Configure the Input Image by referencing the Frame output from the Webcam Node. Then select the desired Model Size and choose the objects you want to detect.

This Node analyzes the image and outputs:

  • The processed image with detection results
  • The number of detected objects

Build General Node

Note

Reference Input options are based on the connected upstream node and will only display outputs with matching data types.

For example, the Input Image field in the General Object Detection Node shows the frameOut option from the Webcam Node because the Webcam Node provides an image data type output.

  1. Add a Variable Modify Image Node:
    Rename it to Variable Image: Modify and connect it to the Output of the General Object Detection Node.

Build Variable Node

  • Configure this Node to update the value of Variable Image using the Output Frame from the General Object Detection Node.
  • The updated value will be displayed on the Dashboard through the Variable Image Node created in Step 1.
  1. Add a Variable Modify Count Node:
    Rename it to Variable Count: Modify and connect it to the Output of the General Object Detection Node.

Build Variable Node

  • Configure this Node to update the value of Variable Count using the detectCount Output from the General Object Detection Node.
  • The updated value will display the number of detected objects on the Dashboard.
  1. Make sure all nodes are connected correctly as shown in the image below
    Flow Connected

  2. Deploy the Flow

Steps to Build the Dashboard Manually

  1. Go to the Dashboard page and click Edit at the top-right corner. Then select the Image Frame Widget, drag and drop it onto the Dashboard, and resize it as needed.

Build Dashboard

  1. Configure the Image Frame Widget by setting the Data Source to Variable Image so it displays the processed webcam image with object detection results.

Build Dashboard

Note

The Data Source options in Widget Settings only display data that matches the widget's supported data type.

For example:

  • Image Frame Widget displays Variables that support image data types such as Variable Image
  • Basic Display Widget displays Variables that support numeric data types such as Variable Count
  1. Add a Basic Widget to display the detected object count.

Build Dashboard

  1. Configure the Basic Widget and set the Data Source > Variable Count.

Build Dashboard

Set up Value Conditional Formatting with the following conditions:

  • > 0 → Display the count in green, indicating that a person has been detected
  • = 0 → Display the count in red, indicating that no person has been detected

Build Dashboard

Congratulations! Your first Flow is complete

Build Result

Node Categories and Types

Understand the different categories and types of nodes in Nara and how to use them effectively in your flows.

Dashboard Trigger

Next Page

On this page

Flow OverviewSteps to Build the Flow ManuallySteps to Build the Dashboard ManuallyCongratulations! Your first Flow is complete