@bitmovin/api-sdk 1.125.0 → 1.128.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.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +9 -683
- package/dist/bitmovin-api-sdk.browser.js.map +1 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/EncodingsApi.d.ts +0 -2
- package/dist/encoding/encodings/EncodingsApi.js +0 -2
- package/dist/encoding/encodings/EncodingsApi.js.map +1 -1
- package/dist/encoding/inputs/InputListQueryParams.d.ts +11 -0
- package/dist/encoding/inputs/InputListQueryParams.js +8 -0
- package/dist/encoding/inputs/InputListQueryParams.js.map +1 -1
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/encoding/encodings/machineLearning/MachineLearningApi.d.ts +0 -13
- package/dist/encoding/encodings/machineLearning/MachineLearningApi.js +0 -36
- package/dist/encoding/encodings/machineLearning/MachineLearningApi.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.d.ts +0 -51
- package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.js +0 -112
- package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.d.ts +0 -28
- package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.js +0 -30
- package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.d.ts +0 -20
- package/dist/encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.js +0 -51
- package/dist/encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.d.ts +0 -28
- package/dist/encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.js +0 -30
- package/dist/encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.d.ts +0 -25
- package/dist/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.js +0 -63
- package/dist/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.d.ts +0 -23
- package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.js +0 -60
- package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.js.map +0 -1
- package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.d.ts +0 -28
- package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.js +0 -30
- package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.js.map +0 -1
- package/dist/models/ObjectDetectionBoundingBox.d.ts +0 -32
- package/dist/models/ObjectDetectionBoundingBox.js +0 -23
- package/dist/models/ObjectDetectionBoundingBox.js.map +0 -1
- package/dist/models/ObjectDetectionConfiguration.d.ts +0 -9
- package/dist/models/ObjectDetectionConfiguration.js +0 -37
- package/dist/models/ObjectDetectionConfiguration.js.map +0 -1
- package/dist/models/ObjectDetectionResult.d.ts +0 -34
- package/dist/models/ObjectDetectionResult.js +0 -43
- package/dist/models/ObjectDetectionResult.js.map +0 -1
- package/dist/models/ObjectDetectionTimestampResult.d.ts +0 -22
- package/dist/models/ObjectDetectionTimestampResult.js +0 -41
- package/dist/models/ObjectDetectionTimestampResult.js.map +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { BaseAPI } from '../../../../../common/BaseAPI';
|
|
2
|
-
import Configuration from '../../../../../common/Configuration';
|
|
3
|
-
import ByTimestampApi from './byTimestamp/ByTimestampApi';
|
|
4
|
-
import ObjectDetectionResult from '../../../../../models/ObjectDetectionResult';
|
|
5
|
-
import PaginationResponse from '../../../../../models/PaginationResponse';
|
|
6
|
-
import { ObjectDetectionResultListQueryParams, ObjectDetectionResultListQueryParamsBuilder } from './ObjectDetectionResultListQueryParams';
|
|
7
|
-
/**
|
|
8
|
-
* ResultsApi - object-oriented interface
|
|
9
|
-
* @export
|
|
10
|
-
* @class ResultsApi
|
|
11
|
-
* @extends {BaseAPI}
|
|
12
|
-
*/
|
|
13
|
-
export default class ResultsApi extends BaseAPI {
|
|
14
|
-
byTimestamp: ByTimestampApi;
|
|
15
|
-
constructor(configuration: Configuration);
|
|
16
|
-
/**
|
|
17
|
-
* @summary List object detection results
|
|
18
|
-
* @param {string} encodingId Id of the encoding
|
|
19
|
-
* @param {string} objectDetectionId Id of the object detection configuration
|
|
20
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
21
|
-
* @throws {BitmovinError}
|
|
22
|
-
* @memberof ResultsApi
|
|
23
|
-
*/
|
|
24
|
-
list(encodingId: string, objectDetectionId: string, queryParameters?: ObjectDetectionResultListQueryParams | ((q: ObjectDetectionResultListQueryParamsBuilder) => ObjectDetectionResultListQueryParamsBuilder)): Promise<PaginationResponse<ObjectDetectionResult>>;
|
|
25
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
var BaseAPI_1 = require("../../../../../common/BaseAPI");
|
|
19
|
-
var ByTimestampApi_1 = require("./byTimestamp/ByTimestampApi");
|
|
20
|
-
var ObjectDetectionResult_1 = require("../../../../../models/ObjectDetectionResult");
|
|
21
|
-
var PaginationResponse_1 = require("../../../../../models/PaginationResponse");
|
|
22
|
-
var ObjectDetectionResultListQueryParams_1 = require("./ObjectDetectionResultListQueryParams");
|
|
23
|
-
/**
|
|
24
|
-
* ResultsApi - object-oriented interface
|
|
25
|
-
* @export
|
|
26
|
-
* @class ResultsApi
|
|
27
|
-
* @extends {BaseAPI}
|
|
28
|
-
*/
|
|
29
|
-
var ResultsApi = /** @class */ (function (_super) {
|
|
30
|
-
__extends(ResultsApi, _super);
|
|
31
|
-
function ResultsApi(configuration) {
|
|
32
|
-
var _this = _super.call(this, configuration) || this;
|
|
33
|
-
_this.byTimestamp = new ByTimestampApi_1.default(configuration);
|
|
34
|
-
return _this;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @summary List object detection results
|
|
38
|
-
* @param {string} encodingId Id of the encoding
|
|
39
|
-
* @param {string} objectDetectionId Id of the object detection configuration
|
|
40
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
41
|
-
* @throws {BitmovinError}
|
|
42
|
-
* @memberof ResultsApi
|
|
43
|
-
*/
|
|
44
|
-
ResultsApi.prototype.list = function (encodingId, objectDetectionId, queryParameters) {
|
|
45
|
-
var pathParamMap = {
|
|
46
|
-
encoding_id: encodingId,
|
|
47
|
-
object_detection_id: objectDetectionId
|
|
48
|
-
};
|
|
49
|
-
var queryParams = {};
|
|
50
|
-
if (typeof queryParameters === 'function') {
|
|
51
|
-
queryParams = queryParameters(new ObjectDetectionResultListQueryParams_1.ObjectDetectionResultListQueryParamsBuilder()).buildQueryParams();
|
|
52
|
-
}
|
|
53
|
-
else if (queryParameters) {
|
|
54
|
-
queryParams = queryParameters;
|
|
55
|
-
}
|
|
56
|
-
return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}/results', pathParamMap, queryParams).then(function (response) {
|
|
57
|
-
return new PaginationResponse_1.default(response, ObjectDetectionResult_1.default);
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
return ResultsApi;
|
|
61
|
-
}(BaseAPI_1.BaseAPI));
|
|
62
|
-
exports.default = ResultsApi;
|
|
63
|
-
//# sourceMappingURL=ResultsApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultsApi.js","sourceRoot":"","sources":["../../../../../../src/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAsD;AAGtD,+DAA0D;AAC1D,qFAAgF;AAChF,+EAA0E;AAC1E,+FAAyI;AAEzI;;;;;GAKG;AACH;IAAwC,8BAAO;IAG7C,oBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAErB;QADC,KAAI,CAAC,WAAW,GAAG,IAAI,wBAAc,CAAC,aAAa,CAAC,CAAC;;IACvD,CAAC;IAED;;;;;;;OAOG;IACI,yBAAI,GAAX,UAAY,UAAkB,EAAE,iBAAyB,EAAE,eAA0J;QACnN,IAAM,YAAY,GAAG;YACnB,WAAW,EAAE,UAAU;YACvB,mBAAmB,EAAE,iBAAiB;SACvC,CAAC;QACF,IAAI,WAAW,GAAyC,EAAE,CAAC;QAC3D,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE;YACzC,WAAW,GAAG,eAAe,CAAC,IAAI,kFAA2C,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC;SACrG;aAAM,IAAI,eAAe,EAAE;YAC1B,WAAW,GAAG,eAAe,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAA4C,mGAAmG,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YAClN,OAAO,IAAI,4BAAkB,CAAwB,QAAQ,EAAE,+BAAqB,CAAC,CAAC;QACxF,CAAC,CAAC,CAAC;IACL,CAAC;IACH,iBAAC;AAAD,CAAC,AA/BD,CAAwC,iBAAO,GA+B9C"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseAPI } from '../../../../../../common/BaseAPI';
|
|
2
|
-
import Configuration from '../../../../../../common/Configuration';
|
|
3
|
-
import ObjectDetectionTimestampResult from '../../../../../../models/ObjectDetectionTimestampResult';
|
|
4
|
-
import PaginationResponse from '../../../../../../models/PaginationResponse';
|
|
5
|
-
import { ObjectDetectionTimestampResultListQueryParams, ObjectDetectionTimestampResultListQueryParamsBuilder } from './ObjectDetectionTimestampResultListQueryParams';
|
|
6
|
-
/**
|
|
7
|
-
* ByTimestampApi - object-oriented interface
|
|
8
|
-
* @export
|
|
9
|
-
* @class ByTimestampApi
|
|
10
|
-
* @extends {BaseAPI}
|
|
11
|
-
*/
|
|
12
|
-
export default class ByTimestampApi extends BaseAPI {
|
|
13
|
-
constructor(configuration: Configuration);
|
|
14
|
-
/**
|
|
15
|
-
* @summary List object detection results grouped by timestamp
|
|
16
|
-
* @param {string} encodingId Id of the encoding
|
|
17
|
-
* @param {string} objectDetectionId Id of the object detection configuration
|
|
18
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
19
|
-
* @throws {BitmovinError}
|
|
20
|
-
* @memberof ByTimestampApi
|
|
21
|
-
*/
|
|
22
|
-
list(encodingId: string, objectDetectionId: string, queryParameters?: ObjectDetectionTimestampResultListQueryParams | ((q: ObjectDetectionTimestampResultListQueryParamsBuilder) => ObjectDetectionTimestampResultListQueryParamsBuilder)): Promise<PaginationResponse<ObjectDetectionTimestampResult>>;
|
|
23
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
var BaseAPI_1 = require("../../../../../../common/BaseAPI");
|
|
19
|
-
var ObjectDetectionTimestampResult_1 = require("../../../../../../models/ObjectDetectionTimestampResult");
|
|
20
|
-
var PaginationResponse_1 = require("../../../../../../models/PaginationResponse");
|
|
21
|
-
var ObjectDetectionTimestampResultListQueryParams_1 = require("./ObjectDetectionTimestampResultListQueryParams");
|
|
22
|
-
/**
|
|
23
|
-
* ByTimestampApi - object-oriented interface
|
|
24
|
-
* @export
|
|
25
|
-
* @class ByTimestampApi
|
|
26
|
-
* @extends {BaseAPI}
|
|
27
|
-
*/
|
|
28
|
-
var ByTimestampApi = /** @class */ (function (_super) {
|
|
29
|
-
__extends(ByTimestampApi, _super);
|
|
30
|
-
function ByTimestampApi(configuration) {
|
|
31
|
-
return _super.call(this, configuration) || this;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @summary List object detection results grouped by timestamp
|
|
35
|
-
* @param {string} encodingId Id of the encoding
|
|
36
|
-
* @param {string} objectDetectionId Id of the object detection configuration
|
|
37
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
38
|
-
* @throws {BitmovinError}
|
|
39
|
-
* @memberof ByTimestampApi
|
|
40
|
-
*/
|
|
41
|
-
ByTimestampApi.prototype.list = function (encodingId, objectDetectionId, queryParameters) {
|
|
42
|
-
var pathParamMap = {
|
|
43
|
-
encoding_id: encodingId,
|
|
44
|
-
object_detection_id: objectDetectionId
|
|
45
|
-
};
|
|
46
|
-
var queryParams = {};
|
|
47
|
-
if (typeof queryParameters === 'function') {
|
|
48
|
-
queryParams = queryParameters(new ObjectDetectionTimestampResultListQueryParams_1.ObjectDetectionTimestampResultListQueryParamsBuilder()).buildQueryParams();
|
|
49
|
-
}
|
|
50
|
-
else if (queryParameters) {
|
|
51
|
-
queryParams = queryParameters;
|
|
52
|
-
}
|
|
53
|
-
return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}/results/by-timestamp', pathParamMap, queryParams).then(function (response) {
|
|
54
|
-
return new PaginationResponse_1.default(response, ObjectDetectionTimestampResult_1.default);
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
return ByTimestampApi;
|
|
58
|
-
}(BaseAPI_1.BaseAPI));
|
|
59
|
-
exports.default = ByTimestampApi;
|
|
60
|
-
//# sourceMappingURL=ByTimestampApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ByTimestampApi.js","sourceRoot":"","sources":["../../../../../../../src/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4DAAyD;AAGzD,0GAAqG;AACrG,kFAA6E;AAC7E,iHAAoK;AAEpK;;;;;GAKG;AACH;IAA4C,kCAAO;IAEjD,wBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;;;OAOG;IACI,6BAAI,GAAX,UAAY,UAAkB,EAAE,iBAAyB,EAAE,eAAqL;QAC9O,IAAM,YAAY,GAAG;YACnB,WAAW,EAAE,UAAU;YACvB,mBAAmB,EAAE,iBAAiB;SACvC,CAAC;QACF,IAAI,WAAW,GAAkD,EAAE,CAAC;QACpE,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE;YACzC,WAAW,GAAG,eAAe,CAAC,IAAI,oGAAoD,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC;SAC9G;aAAM,IAAI,eAAe,EAAE;YAC1B,WAAW,GAAG,eAAe,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqD,gHAAgH,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACxO,OAAO,IAAI,4BAAkB,CAAiC,QAAQ,EAAE,wCAA8B,CAAC,CAAC;QAC1G,CAAC,CAAC,CAAC;IACL,CAAC;IACH,qBAAC;AAAD,CAAC,AA7BD,CAA4C,iBAAO,GA6BlD"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface ObjectDetectionTimestampResultListQueryParams {
|
|
2
|
-
/**
|
|
3
|
-
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {number}
|
|
5
|
-
* @memberof ObjectDetectionTimestampResultListQueryParams
|
|
6
|
-
*/
|
|
7
|
-
offset?: number | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {number}
|
|
11
|
-
* @memberof ObjectDetectionTimestampResultListQueryParams
|
|
12
|
-
*/
|
|
13
|
-
limit?: number | undefined;
|
|
14
|
-
}
|
|
15
|
-
export declare class ObjectDetectionTimestampResultListQueryParamsBuilder {
|
|
16
|
-
private internalParams;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
|
-
*/
|
|
21
|
-
offset(offset: number): this;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
|
-
*/
|
|
26
|
-
limit(limit: number): this;
|
|
27
|
-
buildQueryParams(): ObjectDetectionTimestampResultListQueryParams;
|
|
28
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObjectDetectionTimestampResultListQueryParamsBuilder = void 0;
|
|
4
|
-
var ObjectDetectionTimestampResultListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
-
function ObjectDetectionTimestampResultListQueryParamsBuilder() {
|
|
6
|
-
this.internalParams = {};
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
-
*/
|
|
12
|
-
ObjectDetectionTimestampResultListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
13
|
-
this.internalParams.offset = offset;
|
|
14
|
-
return this;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
19
|
-
*/
|
|
20
|
-
ObjectDetectionTimestampResultListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
-
this.internalParams.limit = limit;
|
|
22
|
-
return this;
|
|
23
|
-
};
|
|
24
|
-
ObjectDetectionTimestampResultListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
25
|
-
return this.internalParams;
|
|
26
|
-
};
|
|
27
|
-
return ObjectDetectionTimestampResultListQueryParamsBuilder;
|
|
28
|
-
}());
|
|
29
|
-
exports.ObjectDetectionTimestampResultListQueryParamsBuilder = ObjectDetectionTimestampResultListQueryParamsBuilder;
|
|
30
|
-
//# sourceMappingURL=ObjectDetectionTimestampResultListQueryParams.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectDetectionTimestampResultListQueryParams.js","sourceRoot":"","sources":["../../../../../../../src/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.ts"],"names":[],"mappings":";;;AAkBA;IAAA;QACY,mBAAc,GAAkD,EAAE,CAAC;IAuB/E,CAAC;IArBG;;;OAGG;IACI,qEAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,oEAAK,GAAZ,UAAa,KAAa;QACtB,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IACL,2DAAC;AAAD,CAAC,AAxBD,IAwBC;AAxBY,oHAAoD"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @export
|
|
3
|
-
* @class ObjectDetectionBoundingBox
|
|
4
|
-
*/
|
|
5
|
-
export declare class ObjectDetectionBoundingBox {
|
|
6
|
-
/**
|
|
7
|
-
* Horizontal position of the top left corner, given as a fraction of the frame width
|
|
8
|
-
* @type {number}
|
|
9
|
-
* @memberof ObjectDetectionBoundingBox
|
|
10
|
-
*/
|
|
11
|
-
topLeftX?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Vertical position of the top left corner, given as a fraction of the frame height
|
|
14
|
-
* @type {number}
|
|
15
|
-
* @memberof ObjectDetectionBoundingBox
|
|
16
|
-
*/
|
|
17
|
-
topLeftY?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Horizontal position of the bottom right corner, given as a fraction of the frame width
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ObjectDetectionBoundingBox
|
|
22
|
-
*/
|
|
23
|
-
bottomRightX?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Vertical position of the bottom right corner, given as a fraction of the frame height
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ObjectDetectionBoundingBox
|
|
28
|
-
*/
|
|
29
|
-
bottomRightY?: number;
|
|
30
|
-
constructor(obj?: Partial<ObjectDetectionBoundingBox>);
|
|
31
|
-
}
|
|
32
|
-
export default ObjectDetectionBoundingBox;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObjectDetectionBoundingBox = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
/**
|
|
6
|
-
* @export
|
|
7
|
-
* @class ObjectDetectionBoundingBox
|
|
8
|
-
*/
|
|
9
|
-
var ObjectDetectionBoundingBox = /** @class */ (function () {
|
|
10
|
-
function ObjectDetectionBoundingBox(obj) {
|
|
11
|
-
if (!obj) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
this.topLeftX = (0, Mapper_1.map)(obj.topLeftX);
|
|
15
|
-
this.topLeftY = (0, Mapper_1.map)(obj.topLeftY);
|
|
16
|
-
this.bottomRightX = (0, Mapper_1.map)(obj.bottomRightX);
|
|
17
|
-
this.bottomRightY = (0, Mapper_1.map)(obj.bottomRightY);
|
|
18
|
-
}
|
|
19
|
-
return ObjectDetectionBoundingBox;
|
|
20
|
-
}());
|
|
21
|
-
exports.ObjectDetectionBoundingBox = ObjectDetectionBoundingBox;
|
|
22
|
-
exports.default = ObjectDetectionBoundingBox;
|
|
23
|
-
//# sourceMappingURL=ObjectDetectionBoundingBox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectDetectionBoundingBox.js","sourceRoot":"","sources":["../../src/models/ObjectDetectionBoundingBox.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C;;;GAGG;AACH;IA6BE,oCAAY,GAAyC;QACnD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,QAAQ,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAClC,IAAI,CAAC,YAAY,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAC5C,CAAC;IACH,iCAAC;AAAD,CAAC,AAtCD,IAsCC;AAtCY,gEAA0B;AAwCvC,kBAAe,0BAA0B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import BitmovinResource from './BitmovinResource';
|
|
2
|
-
/**
|
|
3
|
-
* @export
|
|
4
|
-
* @class ObjectDetectionConfiguration
|
|
5
|
-
*/
|
|
6
|
-
export declare class ObjectDetectionConfiguration extends BitmovinResource {
|
|
7
|
-
constructor(obj?: Partial<ObjectDetectionConfiguration>);
|
|
8
|
-
}
|
|
9
|
-
export default ObjectDetectionConfiguration;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ObjectDetectionConfiguration = void 0;
|
|
19
|
-
var BitmovinResource_1 = require("./BitmovinResource");
|
|
20
|
-
/**
|
|
21
|
-
* @export
|
|
22
|
-
* @class ObjectDetectionConfiguration
|
|
23
|
-
*/
|
|
24
|
-
var ObjectDetectionConfiguration = /** @class */ (function (_super) {
|
|
25
|
-
__extends(ObjectDetectionConfiguration, _super);
|
|
26
|
-
function ObjectDetectionConfiguration(obj) {
|
|
27
|
-
var _this = _super.call(this, obj) || this;
|
|
28
|
-
if (!obj) {
|
|
29
|
-
return _this;
|
|
30
|
-
}
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
return ObjectDetectionConfiguration;
|
|
34
|
-
}(BitmovinResource_1.default));
|
|
35
|
-
exports.ObjectDetectionConfiguration = ObjectDetectionConfiguration;
|
|
36
|
-
exports.default = ObjectDetectionConfiguration;
|
|
37
|
-
//# sourceMappingURL=ObjectDetectionConfiguration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectDetectionConfiguration.js","sourceRoot":"","sources":["../../src/models/ObjectDetectionConfiguration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uDAAkD;AAElD;;;GAGG;AACH;IAAkD,gDAAgB;IAChE,sCAAY,GAA2C;QAAvD,YACE,kBAAM,GAAG,CAAC,SAIX;QAHC,IAAG,CAAC,GAAG,EAAE;;SAER;;IACH,CAAC;IACH,mCAAC;AAAD,CAAC,AAPD,CAAkD,0BAAgB,GAOjE;AAPY,oEAA4B;AASzC,kBAAe,4BAA4B,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import BitmovinResponse from './BitmovinResponse';
|
|
2
|
-
import ObjectDetectionBoundingBox from './ObjectDetectionBoundingBox';
|
|
3
|
-
/**
|
|
4
|
-
* @export
|
|
5
|
-
* @class ObjectDetectionResult
|
|
6
|
-
*/
|
|
7
|
-
export declare class ObjectDetectionResult extends BitmovinResponse {
|
|
8
|
-
/**
|
|
9
|
-
* Name of the object that has been detected (in English)
|
|
10
|
-
* @type {string}
|
|
11
|
-
* @memberof ObjectDetectionResult
|
|
12
|
-
*/
|
|
13
|
-
detectedObject?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Time in seconds where the object was detected in the video
|
|
16
|
-
* @type {number}
|
|
17
|
-
* @memberof ObjectDetectionResult
|
|
18
|
-
*/
|
|
19
|
-
timestamp?: number;
|
|
20
|
-
/**
|
|
21
|
-
* A number between 0 and 1 indicating the confidence of the detection
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof ObjectDetectionResult
|
|
24
|
-
*/
|
|
25
|
-
score?: number;
|
|
26
|
-
/**
|
|
27
|
-
* A box indicating the position and size of the detected object within the frame
|
|
28
|
-
* @type {ObjectDetectionBoundingBox}
|
|
29
|
-
* @memberof ObjectDetectionResult
|
|
30
|
-
*/
|
|
31
|
-
boundingBox?: ObjectDetectionBoundingBox;
|
|
32
|
-
constructor(obj?: Partial<ObjectDetectionResult>);
|
|
33
|
-
}
|
|
34
|
-
export default ObjectDetectionResult;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ObjectDetectionResult = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var BitmovinResponse_1 = require("./BitmovinResponse");
|
|
21
|
-
var ObjectDetectionBoundingBox_1 = require("./ObjectDetectionBoundingBox");
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
* @class ObjectDetectionResult
|
|
25
|
-
*/
|
|
26
|
-
var ObjectDetectionResult = /** @class */ (function (_super) {
|
|
27
|
-
__extends(ObjectDetectionResult, _super);
|
|
28
|
-
function ObjectDetectionResult(obj) {
|
|
29
|
-
var _this = _super.call(this, obj) || this;
|
|
30
|
-
if (!obj) {
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
_this.detectedObject = (0, Mapper_1.map)(obj.detectedObject);
|
|
34
|
-
_this.timestamp = (0, Mapper_1.map)(obj.timestamp);
|
|
35
|
-
_this.score = (0, Mapper_1.map)(obj.score);
|
|
36
|
-
_this.boundingBox = (0, Mapper_1.map)(obj.boundingBox, ObjectDetectionBoundingBox_1.default);
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
return ObjectDetectionResult;
|
|
40
|
-
}(BitmovinResponse_1.default));
|
|
41
|
-
exports.ObjectDetectionResult = ObjectDetectionResult;
|
|
42
|
-
exports.default = ObjectDetectionResult;
|
|
43
|
-
//# sourceMappingURL=ObjectDetectionResult.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectDetectionResult.js","sourceRoot":"","sources":["../../src/models/ObjectDetectionResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uDAAkD;AAClD,2EAAsE;AAEtE;;;GAGG;AACH;IAA2C,yCAAgB;IA6BzD,+BAAY,GAAoC;QAAhD,YACE,kBAAM,GAAG,CAAC,SAQX;QAPC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,cAAc,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAC9C,KAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,KAAI,CAAC,KAAK,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC5B,KAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,EAAE,oCAA0B,CAAC,CAAC;;IACtE,CAAC;IACH,4BAAC;AAAD,CAAC,AAvCD,CAA2C,0BAAgB,GAuC1D;AAvCY,sDAAqB;AAyClC,kBAAe,qBAAqB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import BitmovinResponse from './BitmovinResponse';
|
|
2
|
-
import ObjectDetectionResult from './ObjectDetectionResult';
|
|
3
|
-
/**
|
|
4
|
-
* @export
|
|
5
|
-
* @class ObjectDetectionTimestampResult
|
|
6
|
-
*/
|
|
7
|
-
export declare class ObjectDetectionTimestampResult extends BitmovinResponse {
|
|
8
|
-
/**
|
|
9
|
-
* Time in seconds where the object was detected in the video
|
|
10
|
-
* @type {number}
|
|
11
|
-
* @memberof ObjectDetectionTimestampResult
|
|
12
|
-
*/
|
|
13
|
-
timestamp?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Objects detected for the given timestamp
|
|
16
|
-
* @type {ObjectDetectionResult[]}
|
|
17
|
-
* @memberof ObjectDetectionTimestampResult
|
|
18
|
-
*/
|
|
19
|
-
objects?: ObjectDetectionResult[];
|
|
20
|
-
constructor(obj?: Partial<ObjectDetectionTimestampResult>);
|
|
21
|
-
}
|
|
22
|
-
export default ObjectDetectionTimestampResult;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ObjectDetectionTimestampResult = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var BitmovinResponse_1 = require("./BitmovinResponse");
|
|
21
|
-
var ObjectDetectionResult_1 = require("./ObjectDetectionResult");
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
* @class ObjectDetectionTimestampResult
|
|
25
|
-
*/
|
|
26
|
-
var ObjectDetectionTimestampResult = /** @class */ (function (_super) {
|
|
27
|
-
__extends(ObjectDetectionTimestampResult, _super);
|
|
28
|
-
function ObjectDetectionTimestampResult(obj) {
|
|
29
|
-
var _this = _super.call(this, obj) || this;
|
|
30
|
-
if (!obj) {
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
_this.timestamp = (0, Mapper_1.map)(obj.timestamp);
|
|
34
|
-
_this.objects = (0, Mapper_1.mapArray)(obj.objects, ObjectDetectionResult_1.default);
|
|
35
|
-
return _this;
|
|
36
|
-
}
|
|
37
|
-
return ObjectDetectionTimestampResult;
|
|
38
|
-
}(BitmovinResponse_1.default));
|
|
39
|
-
exports.ObjectDetectionTimestampResult = ObjectDetectionTimestampResult;
|
|
40
|
-
exports.default = ObjectDetectionTimestampResult;
|
|
41
|
-
//# sourceMappingURL=ObjectDetectionTimestampResult.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectDetectionTimestampResult.js","sourceRoot":"","sources":["../../src/models/ObjectDetectionTimestampResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uDAAkD;AAClD,iEAA4D;AAE5D;;;GAGG;AACH;IAAoD,kDAAgB;IAelE,wCAAY,GAA6C;QAAzD,YACE,kBAAM,GAAG,CAAC,SAMX;QALC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,KAAI,CAAC,OAAO,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,OAAO,EAAE,+BAAqB,CAAC,CAAC;;IAC9D,CAAC;IACH,qCAAC;AAAD,CAAC,AAvBD,CAAoD,0BAAgB,GAuBnE;AAvBY,wEAA8B;AAyB3C,kBAAe,8BAA8B,CAAC"}
|