@eyepop.ai/eyepop 3.15.0 → 3.15.1

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.
@@ -60,24 +60,35 @@ interface Prediction extends StreamTime {
60
60
  */
61
61
  source_height: number;
62
62
  source_id?: string;
63
+ source_url?: string;
64
+ source_type?: string;
65
+ system_timestamp?: number;
63
66
  objects?: Array<PredictedObject>;
64
67
  classes?: Array<PredictedClass>;
65
68
  texts?: Array<PredictedText>;
66
69
  meshs?: Array<PredictedMesh>;
67
70
  keyPoints?: Array<PredictedKeyPoints>;
71
+ embeddings?: Array<PredictedEmbedding>;
72
+ motions?: Array<PredictedMotion>;
68
73
  }
69
74
  interface PredictedClass {
70
75
  id?: number;
71
- confidence: number;
76
+ confidence?: number;
72
77
  classLabel: string;
73
78
  category?: string;
74
79
  }
75
80
  interface PredictedText {
76
81
  id?: number;
77
- confidence: number;
82
+ confidence?: number;
78
83
  text: string;
79
84
  category?: string;
80
85
  }
86
+ interface PredictedEmbedding {
87
+ x?: number;
88
+ y?: number;
89
+ embedding: Array<number>;
90
+ category?: string;
91
+ }
81
92
  interface Contour {
82
93
  points: Array<Point2d>;
83
94
  cutouts: Array<Array<Point2d>>;
@@ -89,41 +100,45 @@ interface Mask {
89
100
  stride: number;
90
101
  }
91
102
  interface PredictedObject extends PredictedClass {
92
- trackId: number | undefined;
103
+ trackId?: number;
93
104
  x: number;
94
105
  y: number;
95
106
  width: number;
96
107
  height: number;
97
108
  orientation?: number;
98
- outline: Array<Point2d> | undefined;
99
- contours: Array<Contour> | undefined;
100
- mask: Mask | undefined;
101
- objects: Array<PredictedObject> | undefined;
102
- classes: Array<PredictedClass> | undefined;
103
- texts: Array<PredictedText> | undefined;
104
- meshs: Array<PredictedMesh> | undefined;
105
- keyPoints: Array<PredictedKeyPoints> | undefined;
109
+ outline?: Array<Point2d>;
110
+ contours?: Array<Contour>;
111
+ mask?: Mask;
112
+ objects?: Array<PredictedObject>;
113
+ classes?: Array<PredictedClass>;
114
+ texts?: Array<PredictedText>;
115
+ meshs?: Array<PredictedMesh>;
116
+ keyPoints?: Array<PredictedKeyPoints>;
106
117
  }
107
118
  interface Point2d {
108
119
  x: number;
109
120
  y: number;
110
121
  }
111
122
  interface PredictedMesh {
112
- category: string;
113
- id: number;
114
- confidence: number;
123
+ category?: string;
124
+ id?: number;
125
+ confidence?: number;
115
126
  points: Array<Point3d>;
116
127
  }
117
128
  interface Point3d extends Point2d {
118
- z: number | undefined;
129
+ z?: number;
119
130
  }
120
131
  interface PredictedKeyPoints {
121
- category: string;
122
- type: string;
132
+ category?: string;
133
+ type?: string;
123
134
  points: Array<PredictedKeyPoint>;
124
135
  }
125
- interface PredictedKeyPoint extends Point3d, PredictedClass {
126
- visible: boolean | undefined;
136
+ interface PredictedKeyPoint extends Point3d {
137
+ id?: number;
138
+ confidence?: number;
139
+ classLabel?: string;
140
+ category?: string;
141
+ visible?: boolean;
127
142
  }
128
143
  interface PredictedMotion {
129
144
  begin_timestamp: number;
@@ -1403,4 +1418,4 @@ declare namespace EyePop {
1403
1418
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
1404
1419
  }
1405
1420
 
1406
- export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type ChangeEvent, ChangeType, type ClassificationTask, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
1421
+ export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type ChangeEvent, ChangeType, type ClassificationTask, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedEmbedding, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
@@ -60,24 +60,35 @@ interface Prediction extends StreamTime {
60
60
  */
61
61
  source_height: number;
62
62
  source_id?: string;
63
+ source_url?: string;
64
+ source_type?: string;
65
+ system_timestamp?: number;
63
66
  objects?: Array<PredictedObject>;
64
67
  classes?: Array<PredictedClass>;
65
68
  texts?: Array<PredictedText>;
66
69
  meshs?: Array<PredictedMesh>;
67
70
  keyPoints?: Array<PredictedKeyPoints>;
71
+ embeddings?: Array<PredictedEmbedding>;
72
+ motions?: Array<PredictedMotion>;
68
73
  }
69
74
  interface PredictedClass {
70
75
  id?: number;
71
- confidence: number;
76
+ confidence?: number;
72
77
  classLabel: string;
73
78
  category?: string;
74
79
  }
75
80
  interface PredictedText {
76
81
  id?: number;
77
- confidence: number;
82
+ confidence?: number;
78
83
  text: string;
79
84
  category?: string;
80
85
  }
86
+ interface PredictedEmbedding {
87
+ x?: number;
88
+ y?: number;
89
+ embedding: Array<number>;
90
+ category?: string;
91
+ }
81
92
  interface Contour {
82
93
  points: Array<Point2d>;
83
94
  cutouts: Array<Array<Point2d>>;
@@ -89,41 +100,45 @@ interface Mask {
89
100
  stride: number;
90
101
  }
91
102
  interface PredictedObject extends PredictedClass {
92
- trackId: number | undefined;
103
+ trackId?: number;
93
104
  x: number;
94
105
  y: number;
95
106
  width: number;
96
107
  height: number;
97
108
  orientation?: number;
98
- outline: Array<Point2d> | undefined;
99
- contours: Array<Contour> | undefined;
100
- mask: Mask | undefined;
101
- objects: Array<PredictedObject> | undefined;
102
- classes: Array<PredictedClass> | undefined;
103
- texts: Array<PredictedText> | undefined;
104
- meshs: Array<PredictedMesh> | undefined;
105
- keyPoints: Array<PredictedKeyPoints> | undefined;
109
+ outline?: Array<Point2d>;
110
+ contours?: Array<Contour>;
111
+ mask?: Mask;
112
+ objects?: Array<PredictedObject>;
113
+ classes?: Array<PredictedClass>;
114
+ texts?: Array<PredictedText>;
115
+ meshs?: Array<PredictedMesh>;
116
+ keyPoints?: Array<PredictedKeyPoints>;
106
117
  }
107
118
  interface Point2d {
108
119
  x: number;
109
120
  y: number;
110
121
  }
111
122
  interface PredictedMesh {
112
- category: string;
113
- id: number;
114
- confidence: number;
123
+ category?: string;
124
+ id?: number;
125
+ confidence?: number;
115
126
  points: Array<Point3d>;
116
127
  }
117
128
  interface Point3d extends Point2d {
118
- z: number | undefined;
129
+ z?: number;
119
130
  }
120
131
  interface PredictedKeyPoints {
121
- category: string;
122
- type: string;
132
+ category?: string;
133
+ type?: string;
123
134
  points: Array<PredictedKeyPoint>;
124
135
  }
125
- interface PredictedKeyPoint extends Point3d, PredictedClass {
126
- visible: boolean | undefined;
136
+ interface PredictedKeyPoint extends Point3d {
137
+ id?: number;
138
+ confidence?: number;
139
+ classLabel?: string;
140
+ category?: string;
141
+ visible?: boolean;
127
142
  }
128
143
  interface PredictedMotion {
129
144
  begin_timestamp: number;
@@ -1403,4 +1418,4 @@ declare namespace EyePop {
1403
1418
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
1404
1419
  }
1405
1420
 
1406
- export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type ChangeEvent, ChangeType, type ClassificationTask, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
1421
+ export { type AbilityAliasEntry, AbstractJob, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type ChangeEvent, ChangeType, type ClassificationTask, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedEmbedding, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, type QcAiHubExportParams, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, SessionStatus, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };