Introduction
For details on how to record a MCAP file, please see Maivin Dataset Recording, and for details on how to playback MCAP files on Foxglove, please refer to Playback MCAP with Foxglove Studio.
The /detect/boxes2d stream is the default output stream from the Maivin detection services. Because of the amount of data included within this stream, it is not compatible with the default bounding-box overlay API for Foxglove Studio. The instructions below describe how to install and use a Foxglove Studio extension purpose-built for integrating the /detect/boxes2d stream into Foxglove Studio.
Additionally, the /detect/mask stream for Segmentation masks is not compatible with the default overlay API for Foxglove Studio. The Foxglove Studio extension will integrate drawing and overlaying the Segmentation mask and allow visualization of the mask.
Installing the Plugin
-
Download the Foxglove Extension (.foxe) file from Github.
- Open Foxglove Studio
-
Open the Foxglove Extension file in Foxglove Studio. This can be done one of two ways:
- Double-click on the downloaded .foxe file.
- Drag and Drop the .foxe file onto the Foxglove Studio window.
- There should be a popup that says the extension successfully installed.
- Close Foxglove Studio and restart it.
- Open the user settings on the top right of the window and click Extensions.
- A local extension called EdgeFirst Detect should be available
- Clicking the plugin will bring up details about it
Using the plugin
Viewing /detect/boxes2d Messages
-
Record a MCAP file that has the /detect/boxes2d message in it. See Maivin Dataset Recording for details
-
Play the MCAP file in Foxglove Studio. See Playback MCAP with Foxglove Studio for details.
-
The /detect/boxes2d message should appear under the list of valid image annotations:
-
Enable the Image annotations /detect/boxes2d by clicking the eye icon. This will draw boxes around the detected objects.
Viewing /detect/mask Messages
-
Record a MCAP file that has the /detect/mask message in it. See Maivin Dataset Recording for details
-
Play the MCAP file in Foxglove Studio. See Playback MCAP with Foxglove Studio for details.
-
The /detect/mask message should appear under the list of valid image annotations:
-
Enable the Image annotations /detect/boxes2d by clicking the eye icon. This will draw a mask overlay on top of the camera stream.
- To view the masks directly without overlaying, the Topic for the image panel can be changed to the /detect/mask topic.
- This will draw the Mask directly onto the Image Panel.
Comments
0 comments
Please sign in to leave a comment.