You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update examples for native SegMask and SegParser (#850)
* Migrate DeepLab examples to native SegmentationMask
* Migrate dino tracking to native SegmentationMask
* Use native visualizer for YOLO-P outputs
* Update generic example segmentation overlay docs
* Update YOLO-P visualizer docs
* Temporarily target DAI 3.8 and depthai-nodes main
* Update generic example instance segmentation docs
* Address PR review follow-ups
* Use released depthai-nodes version
-`Success looks like:` Visualizer exposes `Video` and `Detections`, and the pipeline runs until `q` is pressed
92
92
-`Common failure meaning:` model identifier unavailable for platform, private model auth missing, or selected model violates the single-input/single-output assumptions
Copy file name to clipboardExpand all lines: neural-networks/generic-example/README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Here is a list of all available parameters:
23
23
-api API_KEY, --api_key API_KEY
24
24
HubAI API key for private HubAI access. Can also use 'DEPTHAI_HUB_API_KEY' environment variable instead. (default: )
25
25
-overlay OVERLAY_MODE, --overlay_mode
26
-
If passed, overlays model output on the input image when the output is an array (e.g., depth maps, segmentation maps). Otherwise, displays outputs separately.
26
+
If passed, overlays model output on the input image when the output is an array (e.g., depth maps). Otherwise, displays outputs separately.
27
27
```
28
28
29
29
## Peripheral Mode
@@ -53,20 +53,26 @@ This will run a simple YOLOv6 object detection model (`luxonis/yolov6-nano:r2-co
Copy file name to clipboardExpand all lines: neural-networks/generic-example/utils/arguments.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ def initialize_argparser():
60
60
parser.add_argument(
61
61
"-overlay",
62
62
"--overlay_mode",
63
-
help="If passed, overlays model output on the input image when the output is an array (e.g., depth maps, segmentation maps). Otherwise, displays outputs separately.",
63
+
help="If passed, overlays model output on the input image when the output is an array (e.g., depth maps). Otherwise, displays outputs separately.",
-`ParsingNeuralNetwork` runs the YOLO-P multi-head model on camera or replay input.
44
-
-[utils/annotation_node.py](utils/annotation_node.py)consumes three outputs:
43
+
-[main.py](main.py)sends the model outputs to Visualizer topics:
45
44
- detections
46
45
- road segmentation
47
46
- lane segmentation
48
-
- The Visualizer exposes the segmentation composite and detection overlay separately.
47
+
- The Visualizer renders the input video, detections, road segmentation, and lane segmentation topics.
49
48
50
49
## Constraints
51
50
@@ -62,5 +61,5 @@ This is the repository reference for ADAS-style YOLO-P output: detections plus r
62
61
## Validation
63
62
64
63
-`Run:``python3 main.py`
65
-
-`Success looks like:` the Visualizer shows `Road Segmentation` and `Detections`, with lane/road overlays and detected vehicles
64
+
-`Success looks like:` the Visualizer shows `Video`, `Detections`, `Road Segmentation`, and `Lane Segmentation`, with road/lane segmentation and detected vehicles
66
65
-`Common failure meaning:` the model output ordering changed, the replay input was resized incorrectly, or the operator expected a generic single-output detector
0 commit comments