Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
alemart 367fdcad0f Add license 1 рік тому
.github Simplify 3 роки тому
demos Introduce VideoSource._handleBrowserPolicies() for better compatibility 1 рік тому
dist Refactor sources of data 1 рік тому
docs Update docs 1 рік тому
docs_overrides Update docs 1 рік тому
src Add versions to a comment 1 рік тому
.gitignore Update .gitignore 1 рік тому
CHANGES.md Prepare for release 3 роки тому
LICENSE.md Add license 1 рік тому
README.md Update docs 1 рік тому
mkdocs.yml Update docs 1 рік тому
package-lock.json Update Speedy Vision 1 рік тому
package.json Add deploy script 1 рік тому
tsconfig.json Initial commit 3 роки тому
webpack.config.js Upload demos. Create a mkdocs hook to copy the demos to the website 1 рік тому

README.md

MARTINS.js WebAR engine

GitHub release (latest by date) GitHub file size in bytes on a specified ref (branch/commit/tag) GitHub Repo stars GitHub Sponsors

Create amazing Augmented Reality experiences with MARTINS.js, a GPU-accelerated Augmented Reality engine for the web. Users don’t need specialized hardware nor dedicated software - only a modern web browser.

:man_technologist: MARTINS.js is free and open-source software released under the LGPL.

:books: Technical documentation is available at https://alemart.github.io/martins-js/.

Try WebAR right now!

  1. Scan or tap the QR code below with a mobile device.
  2. A web page will be opened. It’s the WebAR experience.
  3. The web page will request access to your webcam. Authorize it.
  4. Scan the cartoon below.
  5. Enjoy! :wink:

Guidelines for WebAR:

  • WebGL2 and WebAssembly are required. Use a compatible browser.
  • Don’t move the camera too quickly - it produces motion blur.
  • The physical environment should be properly illuminated.
  • Avoid low-quality cameras (cameras of common smartphones are OK).

WebAR demo

Visit the Demo gallery for more.

Try locally

Try the demos on your own machine:

  1. Run on a console:
git clone git@github.com:alemart/martins-js.git
cd martins-js
npm start
  1. Open https://localhost:8000/demos/
  2. Pick a demo and have fun!

Why use MARTINS.js?

Here is why MARTINS.js is a great choice for creating Augmented Reality experiences:

  • No need to download apps! MARTINS.js is a WebAR engine. It runs in web browsers. Users can access the AR experience immediately.
  • Fast and powerful! MARTINS.js is GPU-accelerated. It uses WebGL2 and WebAssembly for turbocharged performance.
  • No need of custom hardware or software! MARTINS.js is built from scratch using standard web technologies. All it requires is a modern web browser.
  • Fully standalone! MARTINS.js has in it everything it needs to analyze the environment and help you create AR. There are no additional requirements. No need of WebXR.
  • Easy to get started! MARTINS.js can be used with a <script> tag in your page. A static HTML page is enough to get started.

Features

  • Image tracking, also known as natural feature tracking. Use it to track detailed images such as: book covers, cartoons and photos.

Browser compatibility

MARTINS.js is compatible with all major web browsers:

Chrome Edge Firefox Opera Safari*

* use Safari 15.2 or later.

MARTINS.js requires WebGL2 and WebAssembly.

About

MARTINS.js is free and open-source software developed by Alexandre Martins. It is based on Speedy Vision.