New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zappar/zappar

Package Overview
Dependencies
Maintainers
11
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zappar/zappar - npm Package Compare versions

Comparing version 3.0.0-beta.6 to 3.0.0-beta.7

umd/51b1854609f16d933fe2.wasm

3

lib/pipeline.d.ts

@@ -1,2 +0,2 @@

import { zappar_pipeline_t } from "@zappar/zappar-cv";
import { zappar_pipeline_t, CameraFrameData } from "@zappar/zappar-cv";
import { Event } from "./event";

@@ -49,2 +49,3 @@ import { FaceMesh } from "./facemesh";

cameraFrameTextureGL(): WebGLTexture | undefined;
cameraFrameDataRaw(): Promise<CameraFrameData | undefined>;
/**

@@ -51,0 +52,0 @@ * Returns a matrix that you can use to transform the UV coordinates of the following full-screen quad in order to render the camera texture:

@@ -67,2 +67,5 @@ import { z } from "./zappar";

}
cameraFrameDataRaw() {
return this._z.pipeline_camera_frame_data_raw(this._impl);
}
/**

@@ -69,0 +72,0 @@ * Returns a matrix that you can use to transform the UV coordinates of the following full-screen quad in order to render the camera texture:

/**
* SDK version.
*/
export declare const VERSION = "3.0.0-beta.6";
export declare const VERSION = "3.0.0-beta.7";
/**
* SDK version.
*/
export const VERSION = "3.0.0-beta.6";
export const VERSION = "3.0.0-beta.7";

@@ -68,1 +68,9 @@ import { Zappar } from "@zappar/zappar-cv";

export declare function cookiesPermitted(c: boolean): void;
/**
* Convert a pose from the coordinate system of the raw camera data to that of the page,
* taking into consideration screen rotation.
*
* @param rawPose - The raw pose in the coordinate system of the raw camera data
* @param mirror - If the pose should be mirrored in the X axis
*/
export declare function poseFromRaw(rawPose: Float32Array, mirror?: boolean): Float32Array;

@@ -119,1 +119,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
/**
* Convert a pose from the coordinate system of the raw camera data to that of the page,
* taking into consideration screen rotation.
*
* @param rawPose - The raw pose in the coordinate system of the raw camera data
* @param mirror - If the pose should be mirrored in the X axis
*/
export function poseFromRaw(rawPose, mirror) {
return z().pose_from_raw(rawPose, mirror !== null && mirror !== void 0 ? mirror : false);
}
{
"name": "@zappar/zappar",
"version": "3.0.0-beta.6",
"version": "3.0.0-beta.7",
"description": "Zappar's computer vision for JavaScript, supporting image, face and instant world tracking, and barcode scanning.",

@@ -55,5 +55,5 @@ "main": "lib/index.js",

"dependencies": {
"@zappar/zappar-cv": "3.0.0-beta.6",
"@zappar/zappar-cv": "3.0.0-beta.7",
"gl-matrix": "3.4.3"
}
}

@@ -16,6 +16,50 @@ # Zappar for JavaScript/TypeScript

<!--ts-->
* [Zappar for JavaScript/TypeScript](#zappar-for-javascripttypescript)
* [Table Of Contents](#table-of-contents)
* [Getting Started](#getting-started)
* [Standalone Download](#standalone-download)
* [CDN](#cdn)
* [NPM Webpack Module](#npm-webpack-module)
* [Terminology](#terminology)
* [Quick Start](#quick-start)
* [Local Preview and Testing](#local-preview-and-testing)
* [Compatibility and Browser Support](#compatibility-and-browser-support)
* [Detecting Browser Compatibility](#detecting-browser-compatibility)
* [Hosting and Publishing Content](#hosting-and-publishing-content)
* [Licensing](#licensing)
* [ZapWorks Hosting](#zapworks-hosting)
* [Self-hosting](#self-hosting)
* [Pipelines and Camera Processing](#pipelines-and-camera-processing)
* [Creating a Pipeline](#creating-a-pipeline)
* [Creating a Frame Source](#creating-a-frame-source)
* [Permissions](#permissions)
* [Starting the Frame Source](#starting-the-frame-source)
* [Handling Window Events](#handling-window-events)
* [Processing Frames](#processing-frames)
* [Drawing the Camera](#drawing-the-camera)
* [Drawing the camera with cameraFrameDrawGL](#drawing-the-camera-with-cameraframedrawgl)
* [Manually drawing the camera](#manually-drawing-the-camera)
* [Coordinate Systems and Poses](#coordinate-systems-and-poses)
* [Projection Matrix](#projection-matrix)
* [Camera Pose](#camera-pose)
* [Anchor Pose](#anchor-pose)
* [Tracking](#tracking)
* [Image Tracking](#image-tracking)
* [Target File](#target-file)
* [Image Anchors](#image-anchors)
* [Events](#events)
* [Face Tracking](#face-tracking)
* [Model File](#model-file)
* [Face Anchors](#face-anchors)
* [Events](#events-1)
* [Face Landmarks](#face-landmarks)
* [Face Mesh](#face-mesh)
* [Instant World Tracking](#instant-world-tracking)
* [Mirroring the Camera](#mirroring-the-camera)
* [Mirroring the Canvas](#mirroring-the-canvas)
* [Mirroring the camera images and flipping the X-axis of poses](#mirroring-the-camera-images-and-flipping-the-x-axis-of-poses)
* [Links and Resources](#links-and-resources)
<!-- Added by: zapparadmin, at: Wed 14 Feb 2024 13:17:22 GMT -->
<!-- Added by: zapparadmin, at: Thu 26 Oct 2023 14:02:14 BST -->
<!--te-->

@@ -31,3 +75,3 @@ </details>

Download the bundle from this link:
https://libs.zappar.com/zappar-js/3.0.0-beta.6/zappar-js.zip
https://libs.zappar.com/zappar-js/3.0.0-beta.7/zappar-js.zip

@@ -43,3 +87,3 @@ Unzip into your web project and reference from your HTML like this:

```html
<script src="https://libs.zappar.com/zappar-js/3.0.0-beta.6/zappar.js"></script>
<script src="https://libs.zappar.com/zappar-js/3.0.0-beta.7/zappar.js"></script>
```

@@ -46,0 +90,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc