DEEPCRAFT Studio 02a: Graph UX & the Node Explorer (Part A)
2.1 What Graph UX Is and Why It Matters
Graph UX is the visual, node-based environment in DEEPCRAFT™ Studio where you build an entire machine-learning pipeline as a diagram of nodes joined by wires on a canvas. It is the same six-stage workflow from Lesson 01 — collect, label, preprocess, train, evaluate, code-gen — but expressed graphically, so you can see exactly what data flows between steps and in what shape. The same graph you build and run can also be turned directly into C source code, which is why Graph UX sits at the center of the Studio experience. This material is based on DEEPCRAFT™ Studio version 5.16.7527.0.
2.2 The Graph UX Workspace
Open a canvas by expanding the GraphUX project and double-clicking main.imunit. The workspace has four main areas: the Node Explorer (usually on the left) lists every building block and is reopened from View > Node Explorer; the Canvas is where you place and wire nodes (zoom with the mouse wheel, save with File > Save Main.unit As); the Properties panel shows the settings of the selected node; and the Toolbar holds the Start button (run the graph) and the Generate Source Code button (emit C).
2.3 Core Concepts: Unit, Node, Wire, Graph, Sub-graph
A handful of terms describe everything you do on the canvas. A Unit (.imunit) is a single function or operation in the Library; a Node is a unit dragged onto the canvas (an instance — you can place several of the same unit); and the Main unit (main.imunit) is the root that, when run, executes every active, connected graph. A Sensor Node collects data from an external source and serves as the start of a graph.
A Wire connects nodes; its Wire Attributes show the data shape (in brackets, e.g., [640, 480, 3]) and the frequency. A node that receives a shape or rate it cannot handle shows an error. A Graph is a set of nodes and wires representing the end-to-end workflow, and several graphs can sit side by side on one canvas. A Sub-graph is part of a graph shown at a different level of detail — double-click a trained-model node to see the network inside, or right-click and choose Convert to Editable Units to expand it. Search and add nodes with Ctrl+T (or double-click / right-click the canvas); click a node to view or set its Properties; right-click to Copy, Enable/Disable, or Delete.
2.4 Node Explorer Overview: Library and Boards
The Node Explorer contains two directories. The Library holds all the reusable building blocks, grouped into the folders that follow (each shown as an expandable panel below). The Boards directory shows your connected board and its sensors, and appears only after the board is flashed with streaming firmware (Protocol v2) and the matching option is enabled (see 2.11).
Reading a node's Properties. Every node shares the same core fields, so the component descriptions below only cover what is specific to each one:
- Unit Name — the unit's fixed name (read-only).
- Unit Description — View description opens the unit's official notes.
- Enabled (On/Off) — whether the node is active in the graph; the same as right-click Enable/Disable.
- Node Name — a custom name for this instance; blank shows the Unit Name.
- Inputs / Outputs — the node's ports and their data types (e.g., Tensor).
- Profiling (On/Off) — measures this node's run-time performance; normally off.
Port colors: red = primary data in/out; green = secondary/optional inputs, often fed by a constant or an Expression.
2.4.1 Library — Annotation
The Annotation folder contains the units that define and reuse the labels for turning raw recordings into supervised training data.
Labels
Labels
Description: Annotates tensor dimensions with semantic names and labels, giving human-readable identifiers to the axes and to their individual indices. It only adds metadata — the actual data and the tensor shape are unchanged — which improves code readability, aids debugging, and documents what each dimension represents.
This unit adds metadata to tensor dimensions without modifying the actual data or shape. It allows you to assign names to axes (e.g., “time”, "channels", "features”) and labels to individual indices within each axis (e.g., "x", "z" for a 3-element spatial dimension). This metadata improves code readability, aids in debugging, and provides documentation for what each dimension represents.
Usage: Use the Labels unit to document the meaning of tensor dimensions.

Fig. Labels — the unit's official description.
Ports & settings
- 🔴Input — the tensor to be annotated; any data type and shape is supported.
- 🟢Axis Names (optional) — a comma-separated list of names, one per axis, that must match the tensor rank. Example for a rank-3 tensor: time,channels,features.
- 🟢Axis Labels (optional) — labels for the individual indices within each axis: one parentheses group per dimension, each group holding comma-separated labels. Example for shape [3,2,2]: {x0,x1,x2},{y0,y1},{z0,z1}. A Reset button in Properties restores the field.
- 🔴Output — a Tensor with the same data and shape as the input, plus the added semantic metadata.

Fig. The Labels node and its Properties (Input/Axis Names/Axis Labels/Output).
When the Output is left unconnected, the node shows the "pruned" banner.
If the Output is not wired into an execution path, the node shows "Node pruned (ignored). Output is not used in any execution path"; connect it downstream and the warning clears.
When to use: In a gesture-classification model, for example, set Axis Labels to the class names — unlabeled, Push, SwipeDown, SwipeLeft, ... — so the output's indices read as class names in visualization, debugging, and generated C, instead of bare numbers.

Fig. Gesture-classification example: Axis Labels set to the class names (unlabeled, Push, SwipeDown, SwipeLeft …), with a Reset button.
Predefined Labels
Predefined Labels
Description: a label-source node that holds a fixed, editable list of label strings typed directly into the node body (e.g., MyLabel1, MyLabel2 — one label per line). It defines a reusable set of class names for a project.
Usage: use Predefined Labels when you want to define a label vocabulary once and reuse it, instead of wiring individual constant nodes.
Ports & settings:
- Label list — edited directly in the node body, one label per line; this is the node's content rather than an external input.
- Properties — only the common fields apply: Unit Name (Predefined Labels), Enabled, and Node Name. There are no data input ports to configure.

Fig. The Predefined Labels node with an editable label list (MyLabel1, MyLabel2) and its Properties.
When to use: define the class names for a classification project — for example, the keywords or gestures to recognize — then feed them into the Labels node's Axis Labels. Keep the label order consistent with the model's output indices.
2.4.2 Library — Capture Devices
The Capture Devices folder holds the real-time data sources you can use without a development board.
Local Camera
Local Camera
Description: Captures real-time video frames from a connected (PC / USB) camera for live inference, visualization, and data recording. It streams frames at the camera's native resolution and frame rate, supports several output formats (grayscale, RGB, BGR, NV12) and data types (uint8, float32), and the camera source and resolution can be selected from the available devices. NV12 (YCbCr 4:2:0) outputs a flat 1D tensor matching the native chroma-subsampled layout used by most embedded camera ISPs. It outputs synchronized video frames and timestamps for seamless integration with processing pipelines.
Usage: Use the Local Camera unit to capture live video for real-time model inference, to create training datasets, or to visualize camera feeds in the timeline.
Fig. Local Camera — the unit's official description.
Ports & settings:
- ◯ Device (default 0) — the camera source to use, chosen from the available devices.
- ◯ Resolution (default 0) — the capture resolution, chosen from the available options.
- ◯ Output Format (default Red Green Blue (x3)) — the pixel format and channel count: Grayscale (x1), Red Green Blue (x3), Blue Green Red (x3), or NV12 YCbCr 4:2:0 (flat).
- ◯ Output Type (default UInt8) — the sample data type: UInt8 or Float32.
- ◯ Output Samples — the output Tensor buffer that the captured frames are written to.

Fig. The Local Camera node and its Properties (Device/Resolution/Output Format/Output Type → Output Samples). When the output is unconnected, the node shows the "pruned" banner.
If the Output is not wired into an execution path, the node shows "Node pruned (ignored). Output is not used in any execution path"; connect it downstream and the warning clears.
When to use: capture live video from a PC/USB camera to build an image dataset or run real-time computer-vision inference without needing the board's own camera — for example, to prototype an object-detection graph before deploying it to the PSoC™ Edge E84. Choose Red Green Blue (x3) / UInt8 for standard image models, or NV12 to match an embedded ISP's native layout.
Local Microphone
Local Microphone
Description: Captures real-time audio samples from a connected microphone for live inference, visualization, and data recording. It streams audio at configurable sample rates (8 kHz to 48 kHz) and channel configurations (mono or stereo), with audio output as normalized float32 values. It outputs synchronized audio samples and timestamps for seamless integration with processing pipelines. Useful for real-time audio processing, speech recognition, sound classification, and acoustic data collection.
Usage: Use the Local Microphone unit to capture live audio for real-time model inference, to create training datasets, or to visualize audio signals in the timeline.
Fig. Local Microphone — the unit's official description.
Ports & settings:
- ◯ Device (default 0) — the recording device to use, chosen from the available microphones.
- ◯ Sample Rate (default 16 kHz) — the capture sample rate: 8 kHz, 16 kHz, 44.1 kHz, or 48 kHz.
- ◯ Channels (default Mono) — the channel configuration: Mono or Stereo.
- ◯ Output Samples — the output Tensor buffer the audio is written to, as normalized float32 values.

Fig. The Local Microphone node and its Properties (Device/Sample Rate/Channels → Output Samples). When the output is unconnected, the node shows the "pruned" banner.
If the Output is not wired into an execution path, the node shows "Node pruned (ignored). Output is not used in any execution path"; connect it downstream and the warning clears.
When to use: capture live audio from a PC microphone to build an audio dataset or run real-time inference without a board — for example, to prototype a keyword-spotting or sound-classification graph. 16 kHz / Mono is the usual choice for voice and keyword models (small and sufficient); use a higher sample rate when fine acoustic detail matters.
Serial Capture
Serial Capture
Description: captures data from a sensor on a device running Imagimob's data-streaming firmware over a serial port. This is the Protocol v1 path for streaming from a board, rather than the Boards directory (Protocol v2) described in section 2.11.
Note: the node shows "This node requires protocol version 1 to be enabled. You can enable this in Tools->Options->General." — enable Protocol v1 there before using it.
Fig. Serial Capture — the unit's official description.
Ports & settings:
- ◯ Port — the serial port to use, chosen from the available ports (a Reset button restores the field).
- ◯ Sensor — the on-board sensor to capture from.
- ◯ Baud Rate (default 1000000 (125 kbps)) — the serial speed. Options: 2400, 9600, 19200, 28800, 38400, 57600, 76800, 115200, 230400, 460800, 576000, 921600, 1000000 (125 kbps) and 2000000 (250 kbps).
- ◯ Data Bits (default 8) — number of data bits: 5, 6, 7 or 8.
- ◯ Parity (default None) — the error-detection parity scheme for transmission.
- ◯ Stop Bits (default 1) — number of stop bits: 1, 1.5 or 2.
- ◯ Flow Control (default RTS/CTS) — whether the Request-to-Send (RTS) signal is used: None or RTS/CTS.
- ◯ Rescale (default Yes) — if on, the output is rescaled to the output type (e.g., float32 to (-1,1), int8 to (-128,127), int16 to (-32768,32767)); if off, the output is clamped (saturated) when needed.
- ◯ Output Type (default Float32) — the sample data type: Float32, Int8, Int16, or Int32.
- ◯ Output — the output Tensor buffer the samples are written to.

Fig. The Serial Capture node and its Properties (Port/Sensor/Baud Rate/Data Bits/Parity/Stop Bits/Flow Control/Rescale/Output Type → Output). The red banner notes that Protocol version 1 must be enabled.
When to use: stream live sensor data from a board running Imagimob streaming firmware over a USB/serial connection when you are on Protocol v1 firmware (rather than the Protocol v2 Boards directory). Match Baud Rate, Data Bits, Parity, Stop Bits, and Flow Control to the firmware's serial settings, and keep Rescale on to get normalized values in the chosen Output Type.
2.4.3 Library — Data Collection
The Data Collection folder holds source nodes that bring stored data into a graph. (The full data-collection workflow is covered in Lesson 04.)
Dataset
Dataset
Description: manages session data stored in HDF5 format and exposes it to the graph as tracks. The source node brings a project's recorded sessions into the pipeline.
Usage: use the Dataset node to feed previously recorded data into a graph — for training, evaluation, or simply inspecting sessions on the timeline. Drag data onto the node ("drag to add track") to add tracks to it.
Ports & settings:
- Node body — shows "drag to add track"; drag session data onto it to add tracks, and wire its output onto the rest of the graph.
- Data → Relative data path — the path to the dataset database, relative to the project, e.g., datasets/Main_1.dcdb (an HDF5-backed store).
- Properties — the common fields apply: Unit Name (Dataset), Enabled, Node Name.

Fig. The Dataset node ("drag to add track") and its Properties, including the Relative data path to the HDF5 dataset (e.g. datasets/Main_1.dcdb).
When to use: point a graph at a project's stored dataset to reuse recorded sessions — for example, to re-run preprocessing and training on the same data, or to review labeled sessions on the timeline. The full data collection and dataset management workflow is covered in Lesson 04.
Image Collection
Image Collection
Description: Captures images from a camera and saves them to disk as an annotated image dataset. It is the source/recording node used to build the image data for vision projects (object detection or image classification).
Usage: Use Image Collection to gather and label a set of images for a vision project, choosing the annotation mode, camera, and how the files are named and stored.
Ports & settings:
- Annotation → Mode — the kind of dataset to build: ObjectDetection or ImageClassification.
- Camera → Burst mode — when on, captures a rapid burst of images instead of single shots.
- Camera → Camera — the camera device to capture from.
- Camera → Resolution — the capture resolution.
- File → File type — the image format: Jpg or Png.
- File → Filename template — the naming pattern, e.g. Images_{0}_{1:yyyy-MM-dd--HH-mm-ss}, where {0} is an index and {1} is a timestamp.
- File → Target folder — the folder the images are written to (e.g., Data).
- Properties — plus the common fields: Unit Name (Image Collection), Enabled, Node Name.

Fig. The Image Collection node and its Properties (Mode/Burst mode/Camera/Resolution/File type/Filename template/Target folder).
When to use: build the image dataset for a vision project on the PSoC™ Edge E84 — set Mode to ObjectDetection or ImageClassification to match your task, use Burst mode to collect many frames quickly, and keep a consistent Filename template and Target folder to keep the dataset organized. The full vision data workflow is covered in Lesson 11.
2.4.4 Library — Image Processing
These units operate on 2D image data (height, width) or (height, width, channels) and are mainly used for vision projects on the PSoC™ Edge E84. They are grouped into three sub-folders.
Image Manipulation
Display Bounding Box
Display Bounding Box
Description: Overlays bounding boxes on an image based on object-detection results, for visualization and debugging. It draws coloured rectangles on the input image for each detected object — each box coloured by its class ID — with optional text labels for class names and confidence scores, modifying the image in place. It requires an image tensor [H, W] or [H, W, C] and a detection tensor [max_detections, confidence_count] containing box coordinates (x, y, width, height) and class scores, and outputs the image with overlays. Supports float32 only.
Usage: Use Display Bounding Box to visualize object-detection results, debug a detection pipeline, or create annotated output for analysis and demonstration.
Fig. Display Bounding Box — the unit's official description.
Ports & settings:
- ◯ Image (red) — the input image tensor, [height, width] (grayscale) or [height, width, channels] (color); it is modified with the overlaid boxes. float32 only.
- ◯ Detections (red) — the detection tensor [max_detections, confidence_count] with box coordinates (x, y, width, height) and class scores, typically from Bounding Box Filter. float32 only.
- ◯ Box Thickness (default 2) — border line thickness in pixels (1–10); higher is more visible.
- ◯ Font Size — the label font size: Tiny (3x5), Small (5x7), Large (8x12), or Extra Large (12x16).
- ◯ Show Confidence (default True) — shows confidence scores as percentages next to class names.
- ◯ Show Class Name (default True) — shows class names above each box; disable to draw boxes without labels.
- ◯ Output (red) — the image with boxes, class names, and confidence overlaid; same shape and data type as the input.

Fig. The Display Bounding Box node and its Properties (Image/Detections/Box Thickness/Font Size/Show Confidence/Show Class Name → Output).
When to use: in an object-detection graph, wire the camera image into Image and the model's filtered detections (from Bounding Box Filter) into Detections to draw the results on screen — ideal for checking that a detector is working before deploying it to the PSoC™ Edge E84. Increase Box Thickness / Font Size for demos, and turn off Show Confidence or Show Class Name for a cleaner view.
Display Number
Display Number
Description: renders a numeric value (integer or float) as text on an image, with configurable position, color, and style. It overlays the value using bitmap fonts, supports several font sizes, nine colors, and adjustable decimal places for floating-point values, and can draw an optional coloured background rectangle behind the text for better visibility. Position is given in normalized coordinates (0.0–1.0) relative to the image size. It requires an image tensor [H,W] or [H,W,C] and a scalar value, and outputs the image with the number overlaid. Supports float32 images with float32 or int32 values.
Usage: Use Display Number to overlay metrics, counters, measurements, or other numerical data directly on images for visualization, monitoring, or debugging.
Fig. Display Number — the unit's official description.
Ports & settings:
- ◯ Image — the input image tensor, [height, width] (grayscale) or [height, width, channels] (color); it is modified with the overlaid text. float32 only.
- ◯ Value — the scalar numeric value to display (a single value, scalar or shape [1]); float32 or int32.
- ◯ X Position (default 0.05) — normalized horizontal position (0.0 = left edge, 1.0 = right edge).
- ◯ Y Position (default 0.1) — normalized vertical position (0.0 = top edge, 1.0 = bottom edge).
- ◯ Font Size — the text size: Tiny (3x5), Small (5x7), Large (8x12) or Extra Large (12x16).
- ◯ Text Color — one of nine colors: White, Black, Red, Green, Blue, Yellow, Magenta, Cyan, Orange. Choose one that contrasts with the image.
- ◯ Decimal Places (default 2) — decimals shown for float values (0–6); set 0 to show integers only.
- ◯ Show Background (default False) — draws a coloured rectangle behind the text for readability over busy backgrounds.
- ◯ Output — the image with the number rendered at the given position; same shape and data type as the input.

Fig. The Display Number node and its Properties (Image/Value/X Position/Y Position/Font Size/Text Color/Decimal Places/Show Background → Output).
When to use: overlay a live number on the video — for example, an object count from Object Detection Counter, a confidence score, or a sensor reading — so it is visible in the timeline or on a demo screen. Use normalized X/Y to place it, raise Decimal Places for precision or set 0 for a clean integer, and enable Show Background when the text would otherwise be hard to read.
Display Object Tracker
Display Object Tracker
Description: visualizes tracked objects on an image with track IDs, class names, confidence scores, and coloured motion trails that show recent object paths. Each track gets a unique color, and trails are drawn by connecting the historical center positions over the last 12 frames. It requires an image tensor [H,W] or [H,W,C] and a tracked-detection tensor [max_detections, confidence_count] from Object Tracker (containing box coordinates, class scores, track_id, and tracking_confidence), and outputs the image with the labels and trails overlaid. Supports float32 only.
Usage: Use Display Object Tracker to visualize tracking results, debug a tracking algorithm, or create annotated video output showing object trajectories.
Fig. Display Object Tracker — the unit's official description.
Ports & settings:
- ◯ Image — the input image tensor, [height, width] or [height, width, channels]; it is modified with the overlays. float32 only.
- ◯ Tracked_detections — the tracked-detection tensor [max_detections, confidence_count] from Object Tracker, with box coordinates, class scores, track_id, and tracking_confidence. float32 only.
- ◯ Font Size — the label size: Tiny (3x5), Small (5x7), Large (8x12), or Extra Large (12x16).
- ◯ Trail Thickness (default 2) — motion-trail line thickness in pixels (1–10); trails show the last 12 positions.
- ◯ Show Track ID (default True) — shows the persistent track ID in the label; useful for following a specific object across frames.
- ◯ Show Class Name (default True) — shows the class name; disable to show only track IDs and confidences.
- ◯ Show Confidence (default True) — shows detection confidence as a percentage.
- ◯ Show Tracking Confidence (default False) — shows the tracking confidence (an IoU-based quality measure) to assess tracking reliability.
- ◯ Show Tracking Trail (default True) — draws the motion trails connecting the last 12 center positions.
- ◯ Output — the image with tracked objects, labels, and trails overlaid; same shape and data type as the input.
![]()
Fig. The Display Object Tracker node and its Properties (Image/Tracked_detections/Font Size/Trail Thickness/Show Track ID/Show Class Name/Show Confidence/Show Tracking Confidence/Show Tracking Trail → Output).
When to use: in a tracking graph, feed the camera image into Image and the Object Tracker output into Tracked_detections to draw each object's ID and motion trail — ideal for checking that objects keep a stable ID across frames and for recording trajectory demos. Turn on Show Tracking Confidence while debugging tracking quality; turn off trails or labels for a cleaner view.
Draw Box
Draw Box
Description: draws a rectangular box on an image from two corner points given in normalized coordinates. It draws an outline or a filled box from two opposite corners (x1, y1) and (x2, y2) in normalized coordinates (0.0–1.0), and computes the rectangle regardless of corner order. Outline thickness and color are configurable, with an option to fill the interior. Input is an image tensor [H,W] or [H,W,C]; output is the same image with the box overlaid. Supports float32 only.
Usage: use Draw Box to mark regions of interest, create visual boundaries, highlight areas, or annotate images with rectangular overlays.
Fig. Draw Box — the unit's official description.
Ports & settings:
- ◯ Image — the input image tensor, [height, width] or [height, width, channels]; it is modified with the drawn box. float32 only.
- ◯ X1 Coordinate (default 0.1) — normalized horizontal position of the first corner (0.0 = left, 1.0 = right).
- ◯ Y1 Coordinate (default 0.1) — normalized vertical position of the first corner (0.0 = top, 1.0 = bottom).
- ◯ X2 Coordinate (default 0.9) — normalized horizontal position of the opposite corner; may be less than or greater than x1.
- ◯ Y2 Coordinate (default 0.9) — normalized vertical position of the opposite corner; may be less than or greater than y1.
- ◯ Box Thickness (default 2) — outline thickness in pixels (1–10); ignored when Fill Box is on.
- ◯ Color — the outline or fill color: Black, White, Blue Dark, Orange, Teal, Gray Cool, Purple, Green Light, Red, Gray Warm, Indigo, Light Orange.
- ◯ Fill Box (default False) — if on, fills the whole box interior with the color; if off, draws only the outline.
- ◯ Output — the image with the box drawn at the given coordinates; same shape and data type as the input.

Fig. The Draw Box node and its Properties (Image/X1/Y1/X2/Y2/Box Thickness/Color/Fill Box → Output).
When to use: draw a fixed rectangle at known coordinates — to mark a region of interest, frame a zone on the camera feed, or highlight an area in a demo. Unlike Display Bounding Box (which draws boxes from detection results), Draw Box uses the coordinates you set directly. Turn on Fill Box to shade or mask a region instead of outlining it.
Draw Line
Draw Line
Description: draws a straight line on an image between two points given in normalized coordinates. It connects (x1,y1) and (x2,y2) in normalized coordinates (0.0–1.0), with configurable thickness and color, using Bresenham's algorithm with anti-aliasing for smooth rendering. Input is an image tensor [H,W] or [H,W,C]; output is the same image with the line overlaid. Supports float32 only.
Usage: use Draw Line to create dividers, connect points, draw trajectories, create grids, or add linear annotations to images.
Fig. Draw Line — the unit's official description.
Ports & settings:
- ◯ Image — the input image tensor, [height, width] or [height, width, channels]; it is modified with the drawn line. float32 only.
- ◯ X1 Coordinate (default 0.1) — normalized horizontal position of the line start (0.0 = left, 1.0 = right).
- ◯ Y1 Coordinate (default 0.1) — normalized vertical position of the line start (0.0 = top, 1.0 = bottom).
- ◯ X2 Coordinate (default 0.9) — normalized horizontal position of the line end.
- ◯ Y2 Coordinate (default 0.9) — normalized vertical position of the line end.
- ◯ Line Thickness (default 2) — line thickness in pixels (1–10).
- ◯ Color — the line color: Black, White, Blue Dark, Orange, Teal, Gray Cool, Purple, Green Light, Red, Gray Warm, Indigo, Light Orange.
- ◯ Output (red) — the image with the line drawn between the given coordinates; same shape and data type as the input.

Fig. The Draw Line node and its Properties (Image/X1/Y1/X2/Y2/Line Thickness/Color → Output).
When to use: Add a straight line to the image at known coordinates — a divider, a reference axis, a trip-wire / counting line, a trajectory, or part of a grid overlay. As with Draw Box, the endpoints are the normalized coordinates you set directly.
Draw Text
Draw Text
Description: Renders a text string on an image, with configurable position, color, and style. It overlays the text at a specified position using bitmap fonts, supports several font sizes, nine colors, and an optional coloured background rectangle for better visibility. Position is given in normalized coordinates (0.0–1.0) relative to the image size. Input is an image tensor [H,W] or [H,W,C]; output is the image with the text overlaid. Supports float32 only.
Usage: Use Draw Text to add labels, titles, annotations, watermarks, or other textual information directly on images.
Fig. Draw Text — the unit's official description.
Ports & settings:
- ◯ Image — the input image tensor, [height, width] or [height, width, channels]; it is modified with the overlaid text. float32 only.
- ◯ Text (default Text) — the text string to render; alphanumeric characters and common symbols, up to 256 characters.
- ◯ X Position (default 0.05) — normalized horizontal position (0.0 = left, 1.0 = right).
- ◯ Y Position (default 0.1) — normalized vertical position (0.0 = top, 1.0 = bottom).
- ◯ Font Size — the text size: Tiny (3x5), Small (5x7), Large (8x12) or Extra Large (12x16).
- ◯ Text Color — one of nine colors: White, Black, Red, Green, Blue, Yellow, Orange, Cyan, Purple. Choose one that contrasts with the image.
- ◯ Show Background (default False) — draws a coloured rectangle behind the text for readability over busy backgrounds.
- ◯ Output — the image with the text rendered at the given position; same shape and data type as the input.

Fig. The Draw Text node and its Properties (Image/Text/X Position/Y Position/Font Size/Text Color/Show Background → Output).
When to use: add a text label, title, status message, or watermark on the video — for example, a mode name or a demo caption. Unlike Display Number (which renders a numeric value from a wire), Draw Text renders a fixed string you type in. Enable Show Background when the text would otherwise be hard to read.
Image Crop
Image Crop
Description: Extracts a rectangular region from an image by cropping along the height and width dimensions while preserving all channels. You specify the starting indices and sizes for height and width; the channel dimension is unchanged. It supports 2D grayscale (HxW) and 3D multi-channel (HxWxC) images, producing outputs of [count_height, count_width] or [count_height, count_width, channels]. Supports float32 only.
Usage: Use Image Crop to extract regions of interest, remove borders, focus on specific image areas, or prepare images for models that require specific input dimensions.
Fig. Image Crop — the unit's official description.
Ports & settings:
- ◯ Input — the input image tensor, [height, width] (grayscale) or [height, width, channels] (multi-channel). float32 only.
- ◯ Start Height (default 0) — the 0-based starting row of the crop; must be less than the input height.
- ◯ Crop Height (default 0) — number of rows to keep; must satisfy start_height + crop_height ≤ input height.
- ◯ Start Width (default 0) — the 0-based starting column of the crop; must be less than the input width.
- ◯ Crop Width (default 0) — number of columns to keep; must satisfy start_width + crop_width ≤ input width.
- ◯ Output — the cropped image, [count_height, count_width] or [count_height, count_width, channels]; same data type as the input.

Fig. The Image Crop node and its Properties (Input/Start Height/Crop Height/Start Width/Crop Width → Output).
When to use: cut out the part of the frame that matters before feeding a model — for example, crop to a region of interest, trim away borders, or reduce a large camera frame to the input size a vision model expects. Pair it with Image Resize (next) when the cropped region still needs to match an exact model input shape.
Image Pad
Image Pad
[To be added]
Object Detection
Bounding Box Filter
Bounding Box Filter
[To be added]
Object Detection Class Select
Object Detection Class Select
[To be added]
Object Detection Counter
Object Detection Counter
[To be added]
Object Tracker
Object Tracker
[To be added]
Spatial Transformations
Image Resize
Image Resize
[To be added]
Image Scale
Image Scale
[To be added]
2.4.5 Library — Machine Learning
This folder holds model building blocks and the pre- / post-processing that wraps a model. The training algorithms themselves are covered in Lessons 06 and 07.
Augmentation
Audio Augmentation
Audio Augmentation
[To be added]
Distance Attenuation
Distance Attenuation
[To be added]
Reverb
Reverb
[To be added]
Layers
Activation
Activation
[To be added]
Average pooling 1D
Average pooling 1D
[To be added]
Average pooling 2D
Average pooling 2D
[To be added]
Flatten
Flatten
[To be added]
Max pooling 1D
Max pooling 1D
[To be added]
Max pooling 2D
Max pooling 2D
[To be added]
Postprocessing
Consecutive Detections Filter
Consecutive Detections Filter
[To be added]
Gesture Ready Model Postprocessor
Gesture Ready Model Postprocessor
[To be added]
Swarm Output Filter
[To be added]
Threshold
Threshold
[To be added]
Preprocessing
DPS Preprocessor
DPS Preprocessor
[To be added]
Gesture Ready Model Preprocessor
Gesture Ready Model Preprocessor
[To be added]
2.4.6 Library — Tracks
Track units are visualization lanes that display the graph's output on the timeline.
Bounding Box Track
Bounding Box Track
[To be added]
Data Track
Data Track
[To be added]
Label Track
Label Track
[To be added]
Video Track
Video Track
[To be added]
2.5 The Boards Directory
When you connect a board that has been flashed with streaming firmware (Protocol v2), its name and all configured sensors appear under Boards, with a green dot indicating that it is connected. The prerequisite is to enable Use Node Explorer with Protocol Version 2 in Tools > Options (under Graph UX → Capture Nodes). In the protocol's model, the board is the server, each sensor is a device, and DEEPCRAFT™ Studio is the client; data flows as streams of tensor frames, each with a shape and a frequency — exactly the Wire Attributes you see on the canvas. One device can expose several streams (for example, an IMU provides both accelerometer and gyroscope data), and any firmware-defined options appear in the node's Properties.
Boards — PSOC 6 AI (CY8CKIT-06S2-AI) BOARD
Microphone
IMU
Magnetometer
DPS
Radar
2.6 Sensor Setup — PSoC™ 6 AI Kit
After connecting the kit, the Boards directory shows PSOC 6 AI (CY8CKIT-062S2-AI) with these sensor devices: Microphone (audio for sound/voice models), IMU (6-axis accelerometer + gyroscope for motion and gesture), Magnetometer (orientation/heading), DPS (barometric pressure), and Radar (60 GHz radar for presence and gesture). Drag a sensor onto the canvas to turn it into a Sensor Node (the graph's input). Its output wire shows the shape and frequency, and its Properties let you set the sample rate, range, or channels, along with any firmware-defined options. For example, drag Microphone onto the canvas to begin an audio pipeline.
2.7 Sensor Setup — PSoC™ Edge E84 AI Kit
On the PSoC™ Edge E84 AI Kit, the Boards list adds, alongside IMU, Magnetometer, DPS and Radar, a Camera/image input (the key addition, feeding image/vision AI), a Humidity & Temperature sensor, and dual microphones (analog I2S and digital PDM). The camera node feeds the Image Processing folder (2.8) and, together with the on-chip Ethos™-U55 NPU, is what enables object detection on this board; the full vision workflow is covered in Lesson 11. Every other sensor node is configured exactly as on the PSoC™ 6 — drag it onto the canvas and set its Properties.
2.8 Summary
You now know the Graph UX workspace, the core vocabulary (unit, node, wire, graph, sub-graph), the input-side Library folders, and how the two target boards expose their sensors under the Boards directory. Lesson 02b completes the Node Explorer tour with the computational operators — Math, Signal Processing, Utilities, and Project — and builds a minimal end-to-end graph.







