Coder Social home page Coder Social logo

Banuba SDK Web AR demo app

Requirements

Obtaining Banuba SDK Web AR

To get the latest Banuba SDK Web AR release please fill in the form on banuba.com website, or contact us via [email protected].

Obtaining Banuba Client token

Banuba Client token is required to get Banuba SDK Web AR working.

Generally it's delivered with Banuba SDK Web AR archive.

To receive a new trial client token please fill in the form on banuba.com website, or contact us via [email protected].

Environment setup and local run

Clone the repository

git clone [email protected]:Banuba/quickstart-web.git

Put Banuba SDK Web AR files into the cloned folder

quickstart-web/
   effects/
   BanubaClientToken.js
+  BanubaSDK.data
+  BanubaSDK.js
+  BanubaSDK.wasm
   index.html
   README.md
   styles.css

Insert Banuba client token into BanubaClientToken.js

window.BANUBA_CLIENT_TOKEN = "PUT YOUR CLIENT TOKEN HERE"

Run the live server in the cloned folder

npx live-server

Open localhost:8080

Adding a new effect

Zip the effect folder and put it under the effects/ subfolder

quickstart-web/
   effects/
     Afro.zip
     PoliceMan.zip
     Glasses.zip
     MonsterFactory.zip
+    NewEffect.zip
     Spider.zip
   BanubaClientToken.js
   BanubaSDK.data
   BanubaSDK.js
   BanubaSDK.wasm
   index.html
   README.md
   styles.css

Add the effect name into effects array at index.html, line 65

<script type="module">
  import { Effect, Webcam, Player, VideoRecorder, ImageCapture, Dom } from "./BanubaSDK.js"

  const effects = [
+   "NewEffect",
    "Afro",
    "PoliceMan",
    "Glasses",
    "MonsterFactory",
    "Spider",
  ]

George Elluranggo Jr's Projects

angular2-seed icon angular2-seed

Modular starter (seed) project for Angular 2 apps with fast, statically typed build

fire-tasklogger icon fire-tasklogger

Task Logger App is an experimental project for monitoring teams' work.

ignite icon ignite

The unfair starting CLI, Generator, and more for React Native

ionic icon ionic

Advanced HTML5 mobile development framework and SDK. Build incredible mobile apps with web technologies you already know and love. Best friends with AngularJS.

learning-notes icon learning-notes

Notes on books I read, talks I watch, articles I study and papers I love

nghttp icon nghttp

simple http service in angular with better folder structure

quickstart icon quickstart

Angular 2 QuickStart - source from the documentation

react-boilerplate icon react-boilerplate

:fire: A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.