message: Added colored labels size
diff: @@ -48,7 +48,6 @@ typedef struct TfLiteSegmentation {
  // used, and does not depend on the input image dimensions.
  unsigned int width;
  -
  // The height of the mask. This is an intrinsic parameter of the model being
  // used, and does not depend on the input image dimensions.
  unsigned int height;
  @@ -76,6 +75,8 @@ typedef struct TfLiteSegmentation {
  // class to which the pixel belongs.
  uint8_t* category_mask;
  + uint8_t colored_labels_size;
  +
  // The list of colored labels for all the supported categories (classes).
  // Depending on which is present, this list is in 1:1 correspondence with:
  // * `category_mask` pixel values, i.e. a pixel with value `i` is
  @@ -86,7 +87,6 @@ typedef struct TfLiteSegmentation {
  } TfLiteSegmentation;
  -
  // Holds Image Segmentation Results.
  // Contains one set of results per detected object.
  typedef struct TfLiteSegmentationResult {
  @@ -94,14 +94,16 @@ typedef struct TfLiteSegmentationResult {
  int size;
  // Array of seegmentations returned after inference by model.
  - // Note that at the time, this array is expected to have a single `TfLiteSegmentation`;
  - // the field is made an array for later extension to e.g. instance
  - // segmentation models, which may return one segmentation per object.
  + // Note that at the time, this array is expected to have a single
  + // `TfLiteSegmentation`; the field is made an array for later extension to
  + // e.g. instance segmentation models, which may return one segmentation per
  + // object.
  TfLiteSegmentation* segmentations;
  } TfLiteSegmentationResult;
  // Frees up the TfLiteSegmentationResult Structure.
  -void TfLiteSegmentationResultDelete(TfLiteSegmentationResult* segmentation_result);
  +void TfLiteSegmentationResultDelete(
  + TfLiteSegmentationResult* segmentation_result);
  #ifdef __cplusplus
  } // extern "C"
  