@eyepop.ai/eyepop 0.15.0 → 0.16.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/README.md +1 -1
- package/dist/eyepop.index.d.mts +4 -2
- package/dist/eyepop.index.d.ts +4 -2
- package/dist/eyepop.index.js.map +1 -1
- package/dist/eyepop.index.mjs.map +1 -1
- package/dist/eyepop.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -138,7 +138,7 @@ until the entire file has been processed.
|
|
|
138
138
|
```
|
|
139
139
|
### Visualizing Results
|
|
140
140
|
Visualization components are provided as separate modules. Please refer to the module's documentation for usage examples.
|
|
141
|
-
* [EyePop Render 2d](
|
|
141
|
+
* [EyePop Render 2d](https://www.npmjs.com/package/@eyepop.ai/eyepop-render-2d)
|
|
142
142
|
### Asynchronous uploading and processing of images
|
|
143
143
|
The above _synchronous_ way, process() then iterate all results, is great for individual images or reasonable
|
|
144
144
|
sized batches. For larger batch sizes, or continuous stream of images, don't `await` the results but instead
|
package/dist/eyepop.index.d.mts
CHANGED
|
@@ -44,10 +44,12 @@ interface UrlSource {
|
|
|
44
44
|
readonly url: string;
|
|
45
45
|
}
|
|
46
46
|
type Source = FileSource | StreamSource | PathSource | LiveSource | UrlSource;
|
|
47
|
-
interface
|
|
47
|
+
interface StreamTime {
|
|
48
48
|
timestamp: number;
|
|
49
49
|
seconds: number;
|
|
50
50
|
offset: number;
|
|
51
|
+
}
|
|
52
|
+
interface Prediction extends StreamTime {
|
|
51
53
|
source_width: number;
|
|
52
54
|
source_height: number;
|
|
53
55
|
source_id: string;
|
|
@@ -192,4 +194,4 @@ declare namespace EyePop {
|
|
|
192
194
|
function endpoint(opts?: Options): Endpoint;
|
|
193
195
|
}
|
|
194
196
|
|
|
195
|
-
export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type UrlSource, EyePop as default };
|
|
197
|
+
export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type StreamTime, type UrlSource, EyePop as default };
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -44,10 +44,12 @@ interface UrlSource {
|
|
|
44
44
|
readonly url: string;
|
|
45
45
|
}
|
|
46
46
|
type Source = FileSource | StreamSource | PathSource | LiveSource | UrlSource;
|
|
47
|
-
interface
|
|
47
|
+
interface StreamTime {
|
|
48
48
|
timestamp: number;
|
|
49
49
|
seconds: number;
|
|
50
50
|
offset: number;
|
|
51
|
+
}
|
|
52
|
+
interface Prediction extends StreamTime {
|
|
51
53
|
source_width: number;
|
|
52
54
|
source_height: number;
|
|
53
55
|
source_id: string;
|
|
@@ -192,4 +194,4 @@ declare namespace EyePop {
|
|
|
192
194
|
function endpoint(opts?: Options): Endpoint;
|
|
193
195
|
}
|
|
194
196
|
|
|
195
|
-
export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type UrlSource, EyePop as default };
|
|
197
|
+
export { EndpointState, EyePop, type FileSource, type IngressEvent, type LiveMedia, type LiveSource, type PathSource, type Point2d, type Point3d, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type Prediction, type ResultStream, type Session, type Source, type StreamSource, type StreamTime, type UrlSource, EyePop as default };
|