@eyepop.ai/eyepop 1.2.0 → 1.2.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.
package/dist/eyepop.index.d.mts
CHANGED
|
@@ -559,12 +559,16 @@ declare enum ModelStatus {
|
|
|
559
559
|
available = "available",
|
|
560
560
|
published = "published"
|
|
561
561
|
}
|
|
562
|
+
interface ModelMetrics {
|
|
563
|
+
cpr?: number[][3];
|
|
564
|
+
}
|
|
562
565
|
interface Model {
|
|
563
566
|
uuid: string;
|
|
564
567
|
name: string;
|
|
565
568
|
description?: string;
|
|
566
569
|
type: ModelType;
|
|
567
570
|
status: ModelStatus;
|
|
571
|
+
metrics?: ModelMetrics;
|
|
568
572
|
account_uuid: string;
|
|
569
573
|
created_at: Date;
|
|
570
574
|
updated_at: Date;
|
|
@@ -587,13 +591,17 @@ declare enum ModelTrainingStage {
|
|
|
587
591
|
training = "training",
|
|
588
592
|
exporting = "exporting"
|
|
589
593
|
}
|
|
594
|
+
interface ModelSample {
|
|
595
|
+
asset_uuid: string;
|
|
596
|
+
prediction: Prediction;
|
|
597
|
+
}
|
|
590
598
|
interface ModelTrainingProgress {
|
|
591
599
|
stage: ModelTrainingStage;
|
|
592
600
|
queue_length?: number;
|
|
593
601
|
started_at: Date;
|
|
594
602
|
finished_at?: Date;
|
|
595
|
-
|
|
596
|
-
|
|
603
|
+
metrics?: ModelMetrics;
|
|
604
|
+
samples?: ModelSample[];
|
|
597
605
|
remaining_seconds_min?: number;
|
|
598
606
|
remaining_seconds_max?: number;
|
|
599
607
|
}
|
|
@@ -609,7 +617,8 @@ declare enum ChangeType {
|
|
|
609
617
|
model_added = "model_added",
|
|
610
618
|
model_removed = "model_removed",
|
|
611
619
|
model_modified = "model_modified",
|
|
612
|
-
model_status_modified = "model_status_modified"
|
|
620
|
+
model_status_modified = "model_status_modified",
|
|
621
|
+
model_progress = "model_progress"
|
|
613
622
|
}
|
|
614
623
|
interface ChangeEvent {
|
|
615
624
|
change_type: ChangeType;
|
|
@@ -786,4 +795,4 @@ declare namespace EyePop {
|
|
|
786
795
|
function dataEndpoint(opts?: DataOptions): DataEndpoint;
|
|
787
796
|
}
|
|
788
797
|
|
|
789
|
-
export { AbstractJob, type Annotation, AnnotationType, type Asset, AssetStatus, type Auth0Options, type Authentication, type AutoAnnotateParams, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type Contour, type ContourFinderComponent, ContourType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, EyePop, type FileSource, type ForwardComponent, ForwardOperatorType, type InferenceComponent, InferenceType, type IngressEvent, type LiveMedia, type LiveSource, LoadFromJob, LoadLiveIngressJob, type Mask, type Model, type ModelCreate, ModelFormat, type ModelInstanceDef, ModelPrecisionType, ModelStatus, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedLabel, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Roi, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, type SourceParams, type SourcesEntry, Stream, type StreamSource, type StreamTime, type TracingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, EyePop as default };
|
|
798
|
+
export { AbstractJob, type Annotation, AnnotationType, type Asset, AssetStatus, type Auth0Options, type Authentication, type AutoAnnotateParams, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type Contour, type ContourFinderComponent, ContourType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, EyePop, type FileSource, type ForwardComponent, ForwardOperatorType, type InferenceComponent, InferenceType, type IngressEvent, type LiveMedia, type LiveSource, LoadFromJob, LoadLiveIngressJob, type Mask, type Model, type ModelCreate, ModelFormat, type ModelInstanceDef, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedLabel, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Roi, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, type SourceParams, type SourcesEntry, Stream, type StreamSource, type StreamTime, type TracingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, EyePop as default };
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -559,12 +559,16 @@ declare enum ModelStatus {
|
|
|
559
559
|
available = "available",
|
|
560
560
|
published = "published"
|
|
561
561
|
}
|
|
562
|
+
interface ModelMetrics {
|
|
563
|
+
cpr?: number[][3];
|
|
564
|
+
}
|
|
562
565
|
interface Model {
|
|
563
566
|
uuid: string;
|
|
564
567
|
name: string;
|
|
565
568
|
description?: string;
|
|
566
569
|
type: ModelType;
|
|
567
570
|
status: ModelStatus;
|
|
571
|
+
metrics?: ModelMetrics;
|
|
568
572
|
account_uuid: string;
|
|
569
573
|
created_at: Date;
|
|
570
574
|
updated_at: Date;
|
|
@@ -587,13 +591,17 @@ declare enum ModelTrainingStage {
|
|
|
587
591
|
training = "training",
|
|
588
592
|
exporting = "exporting"
|
|
589
593
|
}
|
|
594
|
+
interface ModelSample {
|
|
595
|
+
asset_uuid: string;
|
|
596
|
+
prediction: Prediction;
|
|
597
|
+
}
|
|
590
598
|
interface ModelTrainingProgress {
|
|
591
599
|
stage: ModelTrainingStage;
|
|
592
600
|
queue_length?: number;
|
|
593
601
|
started_at: Date;
|
|
594
602
|
finished_at?: Date;
|
|
595
|
-
|
|
596
|
-
|
|
603
|
+
metrics?: ModelMetrics;
|
|
604
|
+
samples?: ModelSample[];
|
|
597
605
|
remaining_seconds_min?: number;
|
|
598
606
|
remaining_seconds_max?: number;
|
|
599
607
|
}
|
|
@@ -609,7 +617,8 @@ declare enum ChangeType {
|
|
|
609
617
|
model_added = "model_added",
|
|
610
618
|
model_removed = "model_removed",
|
|
611
619
|
model_modified = "model_modified",
|
|
612
|
-
model_status_modified = "model_status_modified"
|
|
620
|
+
model_status_modified = "model_status_modified",
|
|
621
|
+
model_progress = "model_progress"
|
|
613
622
|
}
|
|
614
623
|
interface ChangeEvent {
|
|
615
624
|
change_type: ChangeType;
|
|
@@ -786,4 +795,4 @@ declare namespace EyePop {
|
|
|
786
795
|
function dataEndpoint(opts?: DataOptions): DataEndpoint;
|
|
787
796
|
}
|
|
788
797
|
|
|
789
|
-
export { AbstractJob, type Annotation, AnnotationType, type Asset, AssetStatus, type Auth0Options, type Authentication, type AutoAnnotateParams, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type Contour, type ContourFinderComponent, ContourType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, EyePop, type FileSource, type ForwardComponent, ForwardOperatorType, type InferenceComponent, InferenceType, type IngressEvent, type LiveMedia, type LiveSource, LoadFromJob, LoadLiveIngressJob, type Mask, type Model, type ModelCreate, ModelFormat, type ModelInstanceDef, ModelPrecisionType, ModelStatus, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedLabel, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Roi, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, type SourceParams, type SourcesEntry, Stream, type StreamSource, type StreamTime, type TracingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, EyePop as default };
|
|
798
|
+
export { AbstractJob, type Annotation, AnnotationType, type Asset, AssetStatus, type Auth0Options, type Authentication, type AutoAnnotateParams, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type Contour, type ContourFinderComponent, ContourType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetCreate, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, Endpoint, EndpointState, EyePop, type FileSource, type ForwardComponent, ForwardOperatorType, type InferenceComponent, InferenceType, type IngressEvent, type LiveMedia, type LiveSource, LoadFromJob, LoadLiveIngressJob, type Mask, type Model, type ModelCreate, ModelFormat, type ModelInstanceDef, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedLabel, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Roi, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, type SourceParams, type SourcesEntry, Stream, type StreamSource, type StreamTime, type TracingComponent, TranscodeMode, TransientPopId, UploadJob, type UrlSource, UserReview, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, EyePop as default };
|
package/dist/eyepop.index.js
CHANGED
|
@@ -10798,6 +10798,7 @@ var ChangeType = /* @__PURE__ */ ((ChangeType2) => {
|
|
|
10798
10798
|
ChangeType2["model_removed"] = "model_removed";
|
|
10799
10799
|
ChangeType2["model_modified"] = "model_modified";
|
|
10800
10800
|
ChangeType2["model_status_modified"] = "model_status_modified";
|
|
10801
|
+
ChangeType2["model_progress"] = "model_progress";
|
|
10801
10802
|
return ChangeType2;
|
|
10802
10803
|
})(ChangeType || {});
|
|
10803
10804
|
|
|
@@ -11221,6 +11222,7 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11221
11222
|
case "model_modified" /* model_modified */:
|
|
11222
11223
|
case "model_removed" /* model_removed */:
|
|
11223
11224
|
case "model_status_modified" /* model_status_modified */:
|
|
11225
|
+
case "model_progress" /* model_progress */:
|
|
11224
11226
|
const event_handlers = this._dataset_uuid_to_event_handlers.get(change_event.dataset_uuid);
|
|
11225
11227
|
this._logger.debug("dispatchChangeEvent event_handlers=%s", event_handlers);
|
|
11226
11228
|
if (event_handlers !== void 0) {
|