Skip to content Link Search Menu Expand Document

VOXL Inspect Detections

voxl-inspect-detections prints AI detection data (ai_detection_t packets) from an MPA pipe, such as the tflite_data pipe published by voxl-tflite-server. A pipe name must be given. By default it prints condensed info for every detection; the -a/--all option adds the frame ID, timestamp, and detection center columns.


Arguments

voxl2:/$ voxl-inspect-detections --help

Tool to print ai detection data to the screen for inspection.
By default this will print all packets received each read with
condensed info. Use the --all option to print some extra
data about the detections.

-a, --all                   print all data received
-h, --help                  print this help message

example usage:
/# voxl-inspect-detections tflite_data

Example Output

voxl2:/$ voxl-inspect-detections tflite_data
|    Class Name    |    Camera    | Class Confidence | Detection Confidence |
|------------------|--------------|------------------|----------------------|
| person           |hires         |            77.34 |                 88.9 |

Troubleshooting

If no data appears, make sure voxl-tflite-server (or whichever server publishes your detection pipe) is running and that a camera is feeding it frames.

Source

Source code available on Gitlab.