title: Working with a Multidimensional Array as a CoreML Model output
body: <p>I have trained an <strong>object detection</strong> CoreML model using Microsoft's customvision.ai service. I exported it to use in my app to recognize certain objects in real time using the camera. However the CoreML model outputs a MultiArray of type double. I have no idea how to decipher or use this data as it is my first time working with Multidimensional Arrays. I have been trying to find out what a custom vision object detection model is supposed to output (such as a CGRect or a UIImage) so I know what I am trying to convert my MultiArray to, but cannot find this information anywhere on Microsofts's website. Microsoft seems to have a demo app for image classification models but nothing for object detection models.  </p>
  
  <p>To get a sense of what might be in the multidimensional array I have tried printing it out and get this result...</p>
  
  <p><code>Double 1 x 1 x 40 x 13 x 13 array</code></p>
  
  <p>I have also tried printing the <code>.strides</code> element of the multidimensional array and got this...</p>
  
  <p><code>[6760, 6760, 169, 13, 1]</code></p>
  
  <p>I don't know if this info is actually useful, just wanted to give you guys everything I have done so far. </p>
  
  <p>So, my question is what information does this MultiArray hold (is it something like a UIImage or CGRect?, or something different?) and how can I convert this Multidimensional Array into a useful set of data that I can actually use?</p>