@eyepop.ai/eyepop 3.2.0 → 3.6.0

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.
@@ -23,6 +23,7 @@ interface StreamTime {
23
23
  offset?: number;
24
24
  }
25
25
  interface Prediction extends StreamTime {
26
+ captured_at?: number;
26
27
  source_width: number;
27
28
  source_height: number;
28
29
  source_id?: string;
@@ -189,11 +190,17 @@ interface InferenceComponent extends BaseComponent {
189
190
  categoryName?: string;
190
191
  confidenceThreshold?: number;
191
192
  topK?: number;
193
+ topKClasses?: number;
192
194
  targetFps?: string;
193
195
  params?: {
194
196
  [index: string]: any;
195
197
  };
196
198
  }
199
+ declare enum MotionModel {
200
+ RANDOM_WALK = "random_walk",
201
+ CONSTANT_VELOCITY = "constant_velocity",
202
+ CONSTANT_ACCELERATION = "constant_acceleration"
203
+ }
197
204
  interface TrackingComponent extends BaseComponent {
198
205
  reidModelUuid?: string;
199
206
  reidModel?: string;
@@ -201,6 +208,23 @@ interface TrackingComponent extends BaseComponent {
201
208
  iouThreshold?: number;
202
209
  simThreshold?: number;
203
210
  agnostic?: boolean;
211
+ processNoisePosition?: number;
212
+ processNoiseVelocity?: number;
213
+ processNoiseAcceleration?: number;
214
+ processNoiseScale?: number;
215
+ processNoiseAspectRatio?: number;
216
+ measurementNoiseCx?: number;
217
+ measurementNoiseCy?: number;
218
+ measurementNoiseArea?: number;
219
+ measurementNoiseAspectRatio?: number;
220
+ motionModel?: MotionModel;
221
+ downweightLowConfidenceDetections?: boolean;
222
+ classBeta?: number;
223
+ classGamma?: number;
224
+ classHysteresis?: boolean;
225
+ classHysteresisHighThreshold?: number;
226
+ classHysteresisLowThreshold?: number;
227
+ classHysteresisMinHoldFrames?: number;
204
228
  }
205
229
  declare enum ContourType {
206
230
  ALL_PIXELS = "all_pixels",
@@ -976,4 +1000,4 @@ declare namespace EyePop {
976
1000
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
977
1001
  }
978
1002
 
979
- export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, 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 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 PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, readableStreamFromString };
1003
+ export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, 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, 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 PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, readableStreamFromString };
@@ -23,6 +23,7 @@ interface StreamTime {
23
23
  offset?: number;
24
24
  }
25
25
  interface Prediction extends StreamTime {
26
+ captured_at?: number;
26
27
  source_width: number;
27
28
  source_height: number;
28
29
  source_id?: string;
@@ -189,11 +190,17 @@ interface InferenceComponent extends BaseComponent {
189
190
  categoryName?: string;
190
191
  confidenceThreshold?: number;
191
192
  topK?: number;
193
+ topKClasses?: number;
192
194
  targetFps?: string;
193
195
  params?: {
194
196
  [index: string]: any;
195
197
  };
196
198
  }
199
+ declare enum MotionModel {
200
+ RANDOM_WALK = "random_walk",
201
+ CONSTANT_VELOCITY = "constant_velocity",
202
+ CONSTANT_ACCELERATION = "constant_acceleration"
203
+ }
197
204
  interface TrackingComponent extends BaseComponent {
198
205
  reidModelUuid?: string;
199
206
  reidModel?: string;
@@ -201,6 +208,23 @@ interface TrackingComponent extends BaseComponent {
201
208
  iouThreshold?: number;
202
209
  simThreshold?: number;
203
210
  agnostic?: boolean;
211
+ processNoisePosition?: number;
212
+ processNoiseVelocity?: number;
213
+ processNoiseAcceleration?: number;
214
+ processNoiseScale?: number;
215
+ processNoiseAspectRatio?: number;
216
+ measurementNoiseCx?: number;
217
+ measurementNoiseCy?: number;
218
+ measurementNoiseArea?: number;
219
+ measurementNoiseAspectRatio?: number;
220
+ motionModel?: MotionModel;
221
+ downweightLowConfidenceDetections?: boolean;
222
+ classBeta?: number;
223
+ classGamma?: number;
224
+ classHysteresis?: boolean;
225
+ classHysteresisHighThreshold?: number;
226
+ classHysteresisLowThreshold?: number;
227
+ classHysteresisMinHoldFrames?: number;
204
228
  }
205
229
  declare enum ContourType {
206
230
  ALL_PIXELS = "all_pixels",
@@ -976,4 +1000,4 @@ declare namespace EyePop {
976
1000
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
977
1001
  }
978
1002
 
979
- export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, 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 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 PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, readableStreamFromString };
1003
+ export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, 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, 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 PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, readableStreamFromString };
@@ -8683,6 +8683,7 @@ __export(index_exports, {
8683
8683
  ModelTask: () => ModelTask,
8684
8684
  ModelTrainingStage: () => ModelTrainingStage,
8685
8685
  ModelType: () => ModelType,
8686
+ MotionModel: () => MotionModel,
8686
8687
  PopComponentType: () => PopComponentType,
8687
8688
  PredictionVersion: () => PredictionVersion,
8688
8689
  Semaphore: () => Semaphore,
@@ -8933,6 +8934,12 @@ var InferenceType = /* @__PURE__ */ ((InferenceType2) => {
8933
8934
  InferenceType2["SEGMENTATION"] = "segmentation";
8934
8935
  return InferenceType2;
8935
8936
  })(InferenceType || {});
8937
+ var MotionModel = /* @__PURE__ */ ((MotionModel2) => {
8938
+ MotionModel2["RANDOM_WALK"] = "random_walk";
8939
+ MotionModel2["CONSTANT_VELOCITY"] = "constant_velocity";
8940
+ MotionModel2["CONSTANT_ACCELERATION"] = "constant_acceleration";
8941
+ return MotionModel2;
8942
+ })(MotionModel || {});
8936
8943
  var ContourType = /* @__PURE__ */ ((ContourType2) => {
8937
8944
  ContourType2["ALL_PIXELS"] = "all_pixels";
8938
8945
  ContourType2["POLYGON"] = "polygon";
@@ -11609,6 +11616,7 @@ var index_default = EyePop;
11609
11616
  ModelTask,
11610
11617
  ModelTrainingStage,
11611
11618
  ModelType,
11619
+ MotionModel,
11612
11620
  PopComponentType,
11613
11621
  PredictionVersion,
11614
11622
  Semaphore,