oci-aivision 2.99.0 → 2.100.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.
Files changed (112) hide show
  1. package/lib/aiservicevision-waiter.d.ts +8 -0
  2. package/lib/aiservicevision-waiter.js +12 -0
  3. package/lib/aiservicevision-waiter.js.map +1 -1
  4. package/lib/client.d.ts +35 -0
  5. package/lib/client.js +195 -0
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/analyze-video-result.d.ts +71 -0
  8. package/lib/model/analyze-video-result.js +127 -0
  9. package/lib/model/analyze-video-result.js.map +1 -0
  10. package/lib/model/create-video-job-details.d.ts +54 -0
  11. package/lib/model/create-video-job-details.js +73 -0
  12. package/lib/model/create-video-job-details.js.map +1 -0
  13. package/lib/model/index.d.ts +54 -0
  14. package/lib/model/index.js +57 -2
  15. package/lib/model/index.js.map +1 -1
  16. package/lib/model/object-property.d.ts +31 -0
  17. package/lib/model/object-property.js +57 -0
  18. package/lib/model/object-property.js.map +1 -0
  19. package/lib/model/video-face-detection-feature.d.ts +38 -0
  20. package/lib/model/video-face-detection-feature.js +54 -0
  21. package/lib/model/video-face-detection-feature.js.map +1 -0
  22. package/lib/model/video-face-frame.d.ts +39 -0
  23. package/lib/model/video-face-frame.js +67 -0
  24. package/lib/model/video-face-frame.js.map +1 -0
  25. package/lib/model/video-face-segment.d.ts +31 -0
  26. package/lib/model/video-face-segment.js +67 -0
  27. package/lib/model/video-face-segment.js.map +1 -0
  28. package/lib/model/video-face.d.ts +26 -0
  29. package/lib/model/video-face.js +61 -0
  30. package/lib/model/video-face.js.map +1 -0
  31. package/lib/model/video-feature.d.ts +22 -0
  32. package/lib/model/video-feature.js +84 -0
  33. package/lib/model/video-feature.js.map +1 -0
  34. package/lib/model/video-job.d.ts +114 -0
  35. package/lib/model/video-job.js +97 -0
  36. package/lib/model/video-job.js.map +1 -0
  37. package/lib/model/video-label-detection-feature.d.ts +38 -0
  38. package/lib/model/video-label-detection-feature.js +54 -0
  39. package/lib/model/video-label-detection-feature.js.map +1 -0
  40. package/lib/model/video-label-segment.d.ts +27 -0
  41. package/lib/model/video-label-segment.js +57 -0
  42. package/lib/model/video-label-segment.js.map +1 -0
  43. package/lib/model/video-label.d.ts +30 -0
  44. package/lib/model/video-label.js +61 -0
  45. package/lib/model/video-label.js.map +1 -0
  46. package/lib/model/video-metadata.d.ts +37 -0
  47. package/lib/model/video-metadata.js +29 -0
  48. package/lib/model/video-metadata.js.map +1 -0
  49. package/lib/model/video-object-detection-feature.d.ts +38 -0
  50. package/lib/model/video-object-detection-feature.js +54 -0
  51. package/lib/model/video-object-detection-feature.js.map +1 -0
  52. package/lib/model/video-object-frame.d.ts +31 -0
  53. package/lib/model/video-object-frame.js +57 -0
  54. package/lib/model/video-object-frame.js.map +1 -0
  55. package/lib/model/video-object-segment.d.ts +31 -0
  56. package/lib/model/video-object-segment.js +67 -0
  57. package/lib/model/video-object-segment.js.map +1 -0
  58. package/lib/model/video-object-tracking-feature.d.ts +38 -0
  59. package/lib/model/video-object-tracking-feature.js +54 -0
  60. package/lib/model/video-object-tracking-feature.js.map +1 -0
  61. package/lib/model/video-object.d.ts +30 -0
  62. package/lib/model/video-object.js +61 -0
  63. package/lib/model/video-object.js.map +1 -0
  64. package/lib/model/video-segment.d.ts +29 -0
  65. package/lib/model/video-segment.js +29 -0
  66. package/lib/model/video-segment.js.map +1 -0
  67. package/lib/model/video-text-detection-feature.d.ts +30 -0
  68. package/lib/model/video-text-detection-feature.js +54 -0
  69. package/lib/model/video-text-detection-feature.js.map +1 -0
  70. package/lib/model/video-text-frame.d.ts +31 -0
  71. package/lib/model/video-text-frame.js +57 -0
  72. package/lib/model/video-text-frame.js.map +1 -0
  73. package/lib/model/video-text-segment.d.ts +31 -0
  74. package/lib/model/video-text-segment.js +67 -0
  75. package/lib/model/video-text-segment.js.map +1 -0
  76. package/lib/model/video-text.d.ts +30 -0
  77. package/lib/model/video-text.js +61 -0
  78. package/lib/model/video-text.js.map +1 -0
  79. package/lib/model/video-tracked-object-properties.d.ts +25 -0
  80. package/lib/model/video-tracked-object-properties.js +29 -0
  81. package/lib/model/video-tracked-object-properties.js.map +1 -0
  82. package/lib/model/video-tracked-object-segment.d.ts +31 -0
  83. package/lib/model/video-tracked-object-segment.js +67 -0
  84. package/lib/model/video-tracked-object-segment.js.map +1 -0
  85. package/lib/model/video-tracked-object.d.ts +35 -0
  86. package/lib/model/video-tracked-object.js +67 -0
  87. package/lib/model/video-tracked-object.js.map +1 -0
  88. package/lib/model/video-tracking-frame.d.ts +35 -0
  89. package/lib/model/video-tracking-frame.js +67 -0
  90. package/lib/model/video-tracking-frame.js.map +1 -0
  91. package/lib/request/cancel-video-job-request.d.ts +35 -0
  92. package/lib/request/cancel-video-job-request.js +15 -0
  93. package/lib/request/cancel-video-job-request.js.map +1 -0
  94. package/lib/request/create-video-job-request.d.ts +36 -0
  95. package/lib/request/create-video-job-request.js +15 -0
  96. package/lib/request/create-video-job-request.js.map +1 -0
  97. package/lib/request/get-video-job-request.d.ts +26 -0
  98. package/lib/request/get-video-job-request.js +15 -0
  99. package/lib/request/get-video-job-request.js.map +1 -0
  100. package/lib/request/index.d.ts +6 -0
  101. package/lib/request/index.js.map +1 -1
  102. package/lib/response/cancel-video-job-response.d.ts +20 -0
  103. package/lib/response/cancel-video-job-response.js +15 -0
  104. package/lib/response/cancel-video-job-response.js.map +1 -0
  105. package/lib/response/create-video-job-response.d.ts +30 -0
  106. package/lib/response/create-video-job-response.js +15 -0
  107. package/lib/response/create-video-job-response.js.map +1 -0
  108. package/lib/response/get-video-job-response.d.ts +30 -0
  109. package/lib/response/get-video-job-response.js +15 -0
  110. package/lib/response/get-video-job-response.js.map +1 -0
  111. package/lib/response/index.d.ts +6 -0
  112. package/package.json +3 -3
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.VideoJob = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var VideoJob;
37
+ (function (VideoJob) {
38
+ let LifecycleState;
39
+ (function (LifecycleState) {
40
+ LifecycleState["Succeeded"] = "SUCCEEDED";
41
+ LifecycleState["Failed"] = "FAILED";
42
+ LifecycleState["Accepted"] = "ACCEPTED";
43
+ LifecycleState["Canceled"] = "CANCELED";
44
+ LifecycleState["InProgress"] = "IN_PROGRESS";
45
+ LifecycleState["Canceling"] = "CANCELING";
46
+ /**
47
+ * This value is used if a service returns a value for this enum that is not recognized by this
48
+ * version of the SDK.
49
+ */
50
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
51
+ })(LifecycleState = VideoJob.LifecycleState || (VideoJob.LifecycleState = {}));
52
+ let LifecycleDetails;
53
+ (function (LifecycleDetails) {
54
+ LifecycleDetails["PartiallySucceeded"] = "PARTIALLY_SUCCEEDED";
55
+ LifecycleDetails["CompletelyFailed"] = "COMPLETELY_FAILED";
56
+ /**
57
+ * This value is used if a service returns a value for this enum that is not recognized by this
58
+ * version of the SDK.
59
+ */
60
+ LifecycleDetails["UnknownValue"] = "UNKNOWN_VALUE";
61
+ })(LifecycleDetails = VideoJob.LifecycleDetails || (VideoJob.LifecycleDetails = {}));
62
+ function getJsonObj(obj) {
63
+ const jsonObj = Object.assign(Object.assign({}, obj), {
64
+ "features": obj.features
65
+ ? obj.features.map(item => {
66
+ return model.VideoFeature.getJsonObj(item);
67
+ })
68
+ : undefined,
69
+ "inputLocation": obj.inputLocation
70
+ ? model.InputLocation.getJsonObj(obj.inputLocation)
71
+ : undefined,
72
+ "outputLocation": obj.outputLocation
73
+ ? model.OutputLocation.getJsonObj(obj.outputLocation)
74
+ : undefined
75
+ });
76
+ return jsonObj;
77
+ }
78
+ VideoJob.getJsonObj = getJsonObj;
79
+ function getDeserializedJsonObj(obj) {
80
+ const jsonObj = Object.assign(Object.assign({}, obj), {
81
+ "features": obj.features
82
+ ? obj.features.map(item => {
83
+ return model.VideoFeature.getDeserializedJsonObj(item);
84
+ })
85
+ : undefined,
86
+ "inputLocation": obj.inputLocation
87
+ ? model.InputLocation.getDeserializedJsonObj(obj.inputLocation)
88
+ : undefined,
89
+ "outputLocation": obj.outputLocation
90
+ ? model.OutputLocation.getDeserializedJsonObj(obj.outputLocation)
91
+ : undefined
92
+ });
93
+ return jsonObj;
94
+ }
95
+ VideoJob.getDeserializedJsonObj = getDeserializedJsonObj;
96
+ })(VideoJob = exports.VideoJob || (exports.VideoJob = {}));
97
+ //# sourceMappingURL=video-job.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-job.js","sourceRoot":"","sources":["../../../../../lib/aivision/lib/model/video-job.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqElC,IAAiB,QAAQ,CAmExB;AAnED,WAAiB,QAAQ;IACvB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,yCAAuB,CAAA;QACvB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,4CAA0B,CAAA;QAC1B,yCAAuB,CAAA;QACvB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,uBAAc,KAAd,uBAAc,QAYzB;IAED,IAAY,gBAQX;IARD,WAAY,gBAAgB;QAC1B,8DAA0C,CAAA;QAC1C,0DAAsC,CAAA;QACtC;;;WAGG;QACH,kDAA8B,CAAA;IAChC,CAAC,EARW,gBAAgB,GAAhB,yBAAgB,KAAhB,yBAAgB,QAQ3B;IAED,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;YAEb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mBAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;YAEb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,+BAAsB,yBAoBrC,CAAA;AACH,CAAC,EAnEgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAmExB"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Vision API
3
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
4
+ * OpenAPI spec version: 20220125
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Video label detection feature
16
+ */
17
+ export interface VideoLabelDetectionFeature extends model.VideoFeature {
18
+ /**
19
+ * The minimum confidence score, between 0 and 1,
20
+ * when the value is set, results with lower confidence will not be returned.
21
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
22
+ */
23
+ "minConfidence"?: number;
24
+ /**
25
+ * The maximum number of results per video frame to return. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
26
+ */
27
+ "maxResults"?: number;
28
+ /**
29
+ * The custom model ID.
30
+ */
31
+ "modelId"?: string;
32
+ "featureType": string;
33
+ }
34
+ export declare namespace VideoLabelDetectionFeature {
35
+ function getJsonObj(obj: VideoLabelDetectionFeature, isParentJsonObj?: boolean): object;
36
+ const featureType = "LABEL_DETECTION";
37
+ function getDeserializedJsonObj(obj: VideoLabelDetectionFeature, isParentJsonObj?: boolean): object;
38
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.VideoLabelDetectionFeature = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var VideoLabelDetectionFeature;
37
+ (function (VideoLabelDetectionFeature) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.VideoFeature.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ VideoLabelDetectionFeature.getJsonObj = getJsonObj;
45
+ VideoLabelDetectionFeature.featureType = "LABEL_DETECTION";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.VideoFeature.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ VideoLabelDetectionFeature.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(VideoLabelDetectionFeature = exports.VideoLabelDetectionFeature || (exports.VideoLabelDetectionFeature = {}));
54
+ //# sourceMappingURL=video-label-detection-feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-label-detection-feature.js","sourceRoot":"","sources":["../../../../../lib/aivision/lib/model/video-label-detection-feature.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,qCAAU,aASzB,CAAA;IACY,sCAAW,GAAG,iBAAiB,CAAC;IAC7C,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Vision API
3
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
4
+ * OpenAPI spec version: 20220125
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * A label segment in a video.
16
+ */
17
+ export interface VideoLabelSegment {
18
+ "videoSegment": model.VideoSegment;
19
+ /**
20
+ * The confidence score, between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
21
+ */
22
+ "confidence": number;
23
+ }
24
+ export declare namespace VideoLabelSegment {
25
+ function getJsonObj(obj: VideoLabelSegment): object;
26
+ function getDeserializedJsonObj(obj: VideoLabelSegment): object;
27
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.VideoLabelSegment = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var VideoLabelSegment;
37
+ (function (VideoLabelSegment) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "videoSegment": obj.videoSegment
41
+ ? model.VideoSegment.getJsonObj(obj.videoSegment)
42
+ : undefined
43
+ });
44
+ return jsonObj;
45
+ }
46
+ VideoLabelSegment.getJsonObj = getJsonObj;
47
+ function getDeserializedJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "videoSegment": obj.videoSegment
50
+ ? model.VideoSegment.getDeserializedJsonObj(obj.videoSegment)
51
+ : undefined
52
+ });
53
+ return jsonObj;
54
+ }
55
+ VideoLabelSegment.getDeserializedJsonObj = getDeserializedJsonObj;
56
+ })(VideoLabelSegment = exports.VideoLabelSegment || (exports.VideoLabelSegment = {}));
57
+ //# sourceMappingURL=video-label-segment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-label-segment.js","sourceRoot":"","sources":["../../../../../lib/aivision/lib/model/video-label-segment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,iBAAiB,CAyBjC;AAzBD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,4BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wCAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAyBjC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Vision API
3
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
4
+ * OpenAPI spec version: 20220125
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Detected label in a video.
16
+ */
17
+ export interface VideoLabel {
18
+ /**
19
+ * Detected label name.
20
+ */
21
+ "name": string;
22
+ /**
23
+ * Label segments in a video.
24
+ */
25
+ "segments": Array<model.VideoLabelSegment>;
26
+ }
27
+ export declare namespace VideoLabel {
28
+ function getJsonObj(obj: VideoLabel): object;
29
+ function getDeserializedJsonObj(obj: VideoLabel): object;
30
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.VideoLabel = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var VideoLabel;
37
+ (function (VideoLabel) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "segments": obj.segments
41
+ ? obj.segments.map(item => {
42
+ return model.VideoLabelSegment.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ VideoLabel.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "segments": obj.segments
52
+ ? obj.segments.map(item => {
53
+ return model.VideoLabelSegment.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ VideoLabel.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(VideoLabel = exports.VideoLabel || (exports.VideoLabel = {}));
61
+ //# sourceMappingURL=video-label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-label.js","sourceRoot":"","sources":["../../../../../lib/aivision/lib/model/video-label.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,UAAU,CA6B1B;AA7BD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA6B1B"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Vision API
3
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
4
+ * OpenAPI spec version: 20220125
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Video information.
15
+ */
16
+ export interface VideoMetadata {
17
+ /**
18
+ * Total number of frames. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
19
+ */
20
+ "frameCount": number;
21
+ /**
22
+ * Video framerate. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "frameRate": number;
25
+ /**
26
+ * Width of each frame. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
+ */
28
+ "frameWidth": number;
29
+ /**
30
+ * Height of each frame. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
31
+ */
32
+ "frameHeight": number;
33
+ }
34
+ export declare namespace VideoMetadata {
35
+ function getJsonObj(obj: VideoMetadata): object;
36
+ function getDeserializedJsonObj(obj: VideoMetadata): object;
37
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.VideoMetadata = void 0;
16
+ var VideoMetadata;
17
+ (function (VideoMetadata) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ VideoMetadata.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ VideoMetadata.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(VideoMetadata = exports.VideoMetadata || (exports.VideoMetadata = {}));
29
+ //# sourceMappingURL=video-metadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-metadata.js","sourceRoot":"","sources":["../../../../../lib/aivision/lib/model/video-metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2BH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Vision API
3
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
4
+ * OpenAPI spec version: 20220125
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Video object detection feature
16
+ */
17
+ export interface VideoObjectDetectionFeature extends model.VideoFeature {
18
+ /**
19
+ * The minimum confidence score, between 0 and 1,
20
+ * when the value is set, results with lower confidence will not be returned.
21
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
22
+ */
23
+ "minConfidence"?: number;
24
+ /**
25
+ * The maximum number of results per frame to return. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
26
+ */
27
+ "maxResults"?: number;
28
+ /**
29
+ * The custom model ID.
30
+ */
31
+ "modelId"?: string;
32
+ "featureType": string;
33
+ }
34
+ export declare namespace VideoObjectDetectionFeature {
35
+ function getJsonObj(obj: VideoObjectDetectionFeature, isParentJsonObj?: boolean): object;
36
+ const featureType = "OBJECT_DETECTION";
37
+ function getDeserializedJsonObj(obj: VideoObjectDetectionFeature, isParentJsonObj?: boolean): object;
38
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.VideoObjectDetectionFeature = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var VideoObjectDetectionFeature;
37
+ (function (VideoObjectDetectionFeature) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.VideoFeature.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ VideoObjectDetectionFeature.getJsonObj = getJsonObj;
45
+ VideoObjectDetectionFeature.featureType = "OBJECT_DETECTION";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.VideoFeature.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ VideoObjectDetectionFeature.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(VideoObjectDetectionFeature = exports.VideoObjectDetectionFeature || (exports.VideoObjectDetectionFeature = {}));
54
+ //# sourceMappingURL=video-object-detection-feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-object-detection-feature.js","sourceRoot":"","sources":["../../../../../lib/aivision/lib/model/video-object-detection-feature.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,2BAA2B,CAyB3C;AAzBD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAiC,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAU,aASzB,CAAA;IACY,uCAAW,GAAG,kBAAkB,CAAC;IAC9C,SAAgB,sBAAsB,CACpC,GAAgC,EAChC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAiC,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,kDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAyB3C"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Vision API
3
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
4
+ * OpenAPI spec version: 20220125
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * An object frame.
16
+ */
17
+ export interface VideoObjectFrame {
18
+ /**
19
+ * Time offset(Milliseconds) in the video. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
20
+ */
21
+ "timeOffsetMs": number;
22
+ /**
23
+ * The confidence score, between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
+ */
25
+ "confidence": number;
26
+ "boundingPolygon": model.BoundingPolygon;
27
+ }
28
+ export declare namespace VideoObjectFrame {
29
+ function getJsonObj(obj: VideoObjectFrame): object;
30
+ function getDeserializedJsonObj(obj: VideoObjectFrame): object;
31
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * Vision API
4
+ * Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
5
+ * OpenAPI spec version: 20220125
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.VideoObjectFrame = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var VideoObjectFrame;
37
+ (function (VideoObjectFrame) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "boundingPolygon": obj.boundingPolygon
41
+ ? model.BoundingPolygon.getJsonObj(obj.boundingPolygon)
42
+ : undefined
43
+ });
44
+ return jsonObj;
45
+ }
46
+ VideoObjectFrame.getJsonObj = getJsonObj;
47
+ function getDeserializedJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "boundingPolygon": obj.boundingPolygon
50
+ ? model.BoundingPolygon.getDeserializedJsonObj(obj.boundingPolygon)
51
+ : undefined
52
+ });
53
+ return jsonObj;
54
+ }
55
+ VideoObjectFrame.getDeserializedJsonObj = getDeserializedJsonObj;
56
+ })(VideoObjectFrame = exports.VideoObjectFrame || (exports.VideoObjectFrame = {}));
57
+ //# sourceMappingURL=video-object-frame.js.map