How to count the number of deep learning masks and output the results?

How to count the number of masks recognized through deep learning and send the results to an external server or the robot?

The screenshot below is an example of counting the number of poses after 3D Matching, which can serve as a reference for you. You can first use the Count Elements in Specified Dimension in Data List Step to count the number of masks recognized through deep learning. Next, use the Convert Data Type Step to convert the number to StringList, and then output the results.

For detailed information on the Steps, see Count Elements in Specified Dimension in Data List and Convert Data Type.