fiftyone.devicedetection.onpremise 4.4.123 → 4.4.125
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/build/FiftyOneDeviceDetectionHashV4-darwin-18.node +0 -0
- package/build/FiftyOneDeviceDetectionHashV4-darwin-20.node +0 -0
- package/build/FiftyOneDeviceDetectionHashV4-win32-18.node +0 -0
- package/build/FiftyOneDeviceDetectionHashV4-win32-20.node +0 -0
- package/build/FiftyOneDeviceDetectionHashV4-win32-22.node +0 -0
- package/deviceDetectionDataFile.js +1 -0
- package/deviceDetectionOnPremise.js +0 -4
- package/deviceDetectionOnPremisePipelineBuilder.js +7 -6
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -31,6 +31,7 @@ const DataFile = engines.DataFile;
|
|
|
31
31
|
* update url which contains the product, type and licensekeys.
|
|
32
32
|
* These paramaters are passed in to the datafile constructor's
|
|
33
33
|
* updateURLParams parameter
|
|
34
|
+
*
|
|
34
35
|
* @param {string} options.useUrlFormatter whether to append default URL params for Data File download
|
|
35
36
|
**/
|
|
36
37
|
class DeviceDetectionDataFile extends DataFile {
|
|
@@ -227,10 +227,6 @@ class DeviceDetectionOnPremise extends Engine {
|
|
|
227
227
|
* temporary data copy if 'createTempDataCopy' is set to true.
|
|
228
228
|
* @param {boolean} options.updateOnStart whether to download / update
|
|
229
229
|
* the datafile on initialisation
|
|
230
|
-
* @param {boolean} options.usePredictiveGraph [deprecated] If true, the engine will
|
|
231
|
-
* use predictive optimized graph in detections.
|
|
232
|
-
* @param {boolean} options.usePerformanceGraph [deprecated] If true, the engine will
|
|
233
|
-
* use performance optimized graph in detections.
|
|
234
230
|
*/
|
|
235
231
|
constructor (
|
|
236
232
|
{
|
|
@@ -28,6 +28,10 @@ const PipelineBuilder = core.PipelineBuilder;
|
|
|
28
28
|
const ShareUsageElement = require('fiftyone.pipeline.engines.fiftyone').ShareUsage;
|
|
29
29
|
const errorMessages = require('fiftyone.devicedetection.shared').errorMessages;
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* @typedef {import('fiftyone.pipeline.engines').DataFileUpdateService} DataFileUpdateService
|
|
33
|
+
*/
|
|
34
|
+
|
|
31
35
|
class DeviceDetectionOnPremisePipelineBuilder extends PipelineBuilder {
|
|
32
36
|
/**
|
|
33
37
|
* Extension of pipelineBuilder class that allows for the quick
|
|
@@ -94,12 +98,9 @@ class DeviceDetectionOnPremisePipelineBuilder extends PipelineBuilder {
|
|
|
94
98
|
* automatic data updates to occur.
|
|
95
99
|
* @param {string} options.tempDataDir The directory to use for the
|
|
96
100
|
* temporary data copy if 'createTempDataCopy' is set to true.
|
|
97
|
-
* @param {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* the performance optimized graph to in detections.
|
|
101
|
-
*
|
|
102
|
-
* @param options.dataFileUpdateService
|
|
101
|
+
* @param {DataFileUpdateService} options.dataFileUpdateService Set
|
|
102
|
+
* DataFileUpdateService so the datafiles can receive
|
|
103
|
+
* automatic updates
|
|
103
104
|
*/
|
|
104
105
|
constructor (
|
|
105
106
|
{
|