Socket
Socket
Sign inDemoInstall

@kalwalt/artoolkitx.js

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @kalwalt/artoolkitx.js

artoolkitX.js is a JavaScript version (compiled with Emscripten) of artoolkitX. artoolkitX version 1.0 is a software development kit (SDK) consisting of libraries and utilities that help developers implement the foundation of great augmented and mixed rea


Version published
Weekly downloads
4
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ArtoolkitX.js

Emscripten port of ARToolKitX to JavaScript. ArtoolkitX.js is a javascript library for augmented reality. ArtoolkitX.js follow the modern ES6 javascript standard and can be imported as a module.

NPM package

You can install the scoped package @kalwalt/artoolkitx.js with:

npm i @kalwalt/artoolkitx.js

Requirements

Build instructions

First open a terminal console and clone this repository:

git clone https://github.com/augmentmy-world/artoolkitX.js.git

Then in the terminal console, enter into the Source folder:

cd artoolkitX.js/Source

If you don't want to build the entire library, you can simply run this command:

./build.sh

The script will download the artoolkitXjs.zip file with pre-compiled binaries (artoolkits.js and artoolkit.wasm).

Instead if you want to build the library by yourself, run this command:

./build.sh --dev

The build process should start, after some checks you will asked if you want to clone the ArtoolkitX project inside artoolkitX.js:

Would you like to clone the submodule (recommended) y/n

Choose y (yes) if you want to clone and save it inside the Source/extra folder or you can choose n (no) if you have already it in another location. In this case you must set up the ARTOOLKITX_HOME env variable.

As Cmake will finish the configure process and generate the makefiles, the real build process will begin and in few minutes the artoolkitx.js artoolkitx.wasm libs will be ready.

Examples

Go into the Examples folder, start a http server and test them. For now try:

  • test.html
  • simple_image.html
  • simple_video.html
  • simple_video_hiro.html
  • simple_video-multi-barcode.html
  • simple_video-multi-patt.html

Author

Thorsten Bux https://github.com/ThorstenBux

Collaborators:

Walter Perdan https://github.com/kalwalt

OS tested

Tested under Ubuntu 18.04 and macOS.

Keywords

FAQs

Last updated on 12 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc