@zappar/zappar-cv 2.0.0-beta.9 → 2.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.0] - 2022-08-23
4
+
5
+ ### Added
6
+
7
+ - Greatly improved instant tracking.
8
+ - Introduced `SequenceSource` and pipeline functions to record and playback sequences of camera+motion data.
9
+ - Added support for curved tracking.
10
+ - Added support for fetching image element containing target image's embedded preview image.
11
+ - Improved GL state management.
12
+
13
+ ### Changed
14
+
15
+ - Migrated to Webpack 5 workers.
16
+
17
+ ### **Breaking:**
18
+
19
+ - Dropped support for webpack 4.
20
+
3
21
  ## [0.3.17] - 2022-07-21
4
22
 
5
23
  ### Fixed
package/README.md CHANGED
@@ -18,8 +18,8 @@ npm i @zappar/zappar-cv
18
18
 
19
19
  You can use our CDN from within your HTML:
20
20
  ```
21
- <script src="https://libs.zappar.com/zappar-cv/2.0.0-beta.9/zappar-cv.js"></script>
21
+ <script src="https://libs.zappar.com/zappar-cv/2.0.0/zappar-cv.js"></script>
22
22
  ```
23
23
 
24
24
  Or you can download and host our standalone JavaScript bundle:
25
- [https://libs.zappar.com/zappar-cv/2.0.0-beta.9/zappar-cv.zip](https://libs.zappar.com/zappar-cv/2.0.0-beta.9/zappar-cv.zip)
25
+ [https://libs.zappar.com/zappar-cv/2.0.0/zappar-cv.zip](https://libs.zappar.com/zappar-cv/2.0.0/zappar-cv.zip)
package/lib/pipeline.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare class Pipeline {
17
17
  private cameraTokens;
18
18
  private nextCameraToken;
19
19
  private tokensInFlight;
20
- glContext: WebGLRenderingContext | undefined;
20
+ glContext: WebGLRenderingContext | WebGL2RenderingContext | undefined;
21
21
  private videoTextures;
22
22
  cameraPixelArrays: ArrayBuffer[];
23
23
  private _cameraDraw;
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "2.0.0-beta.9";
1
+ export declare const VERSION = "2.0.0";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "2.0.0-beta.9";
1
+ export const VERSION = "2.0.0";
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zappar/zappar-cv",
3
- "version": "2.0.0-beta.9",
3
+ "version": "2.0.0",
4
4
  "description": "Zappar's core computer vision library, supporting image, face and world tracking.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",