@eyepop.ai/eyepop 0.18.4 → 0.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,7 +66,7 @@ interface Prediction extends StreamTime {
66
66
  source_id: string;
67
67
  objects: Array<PredictedObject>;
68
68
  classes: Array<PredictedClass>;
69
- labels: Array<string>;
69
+ labels: Array<PredictedLabel>;
70
70
  meshs: Array<PredictedMesh>;
71
71
  keyPoints: Array<PredictedKeyPoints>;
72
72
  }
@@ -76,6 +76,12 @@ interface PredictedClass {
76
76
  classLabel: string;
77
77
  category: string;
78
78
  }
79
+ interface PredictedLabel {
80
+ id: number;
81
+ confidence: number;
82
+ label: string;
83
+ category: string;
84
+ }
79
85
  interface Contour {
80
86
  points: Array<Point2d>;
81
87
  cutouts: Array<Array<Point2d>>;
@@ -66,7 +66,7 @@ interface Prediction extends StreamTime {
66
66
  source_id: string;
67
67
  objects: Array<PredictedObject>;
68
68
  classes: Array<PredictedClass>;
69
- labels: Array<string>;
69
+ labels: Array<PredictedLabel>;
70
70
  meshs: Array<PredictedMesh>;
71
71
  keyPoints: Array<PredictedKeyPoints>;
72
72
  }
@@ -76,6 +76,12 @@ interface PredictedClass {
76
76
  classLabel: string;
77
77
  category: string;
78
78
  }
79
+ interface PredictedLabel {
80
+ id: number;
81
+ confidence: number;
82
+ label: string;
83
+ category: string;
84
+ }
79
85
  interface Contour {
80
86
  points: Array<Point2d>;
81
87
  cutouts: Array<Array<Point2d>>;