@web-ar-studio/webar-engine-sdk 1.0.18 โ 1.0.20
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/LICENSE +28 -0
- package/README.md +3 -10
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023, WebAR Studio
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ARSY WebAR- Open SDK of the WebAR CV Lib
|
|
2
2
|
Official WebAR.Studio SDK for browser-based AR tracking (image, QR, face, WebXR, and AR 360). ๐
|
|
3
3
|
|
|
4
4
|
๐ Samples repo (ready-to-run demos):
|
|
@@ -36,16 +36,9 @@ https://github.com/WebAR-Studio/webar-sdk-samples
|
|
|
36
36
|
Install the package and follow the runnable examples in the samples repo:
|
|
37
37
|
https://github.com/WebAR-Studio/webar-sdk-samples
|
|
38
38
|
|
|
39
|
-
## ๐ธ Pricing and limits
|
|
40
|
-
- ๐ Free for educational and non-commercial use. We provide a key on request via support.
|
|
41
|
-
- ๐ผ Commercial use: $8/month with no limits on views/scans and continuous library improvements with new algorithms.
|
|
42
|
-
- ๐งช Test key to get started (limit: 1000 requests per month per domain):
|
|
43
|
-
```
|
|
44
|
-
dca17806a3135ec541fff4a1109be543f1994bcc96effaf790d7add0fc0dc6ba
|
|
45
|
-
```
|
|
46
39
|
|
|
47
|
-
## ๐ฎ Support and
|
|
48
|
-
For any questions about the library
|
|
40
|
+
## ๐ฎ Support and requests
|
|
41
|
+
For any questions about the library, contact us here:
|
|
49
42
|
- https://t.me/was_team
|
|
50
43
|
- support@web-ar.studio
|
|
51
44
|
- https://discord.gg/4q5dbAb4GZ
|
package/dist/index.d.ts
CHANGED
|
@@ -316,6 +316,8 @@ declare class WAS implements IWAS {
|
|
|
316
316
|
private checkPerformance;
|
|
317
317
|
private checkPose;
|
|
318
318
|
private faceLandmarker;
|
|
319
|
+
private faceLandmarkerDelegate;
|
|
320
|
+
private faceLandmarkerReinitInProgress;
|
|
319
321
|
private faceLandmarkerTime;
|
|
320
322
|
private faceData;
|
|
321
323
|
private lastProcessedFrame;
|
|
@@ -363,6 +365,8 @@ declare class WAS implements IWAS {
|
|
|
363
365
|
private setTriggers;
|
|
364
366
|
private loadImage;
|
|
365
367
|
private initFaceLandmarker;
|
|
368
|
+
private static isFaceGeometryError;
|
|
369
|
+
private reinitFaceLandmarkerWithCPU;
|
|
366
370
|
private faceLandmarkerProcess;
|
|
367
371
|
private process;
|
|
368
372
|
private drawVideo;
|