kandi background
Explore Kits

Build Marker Based AR Solution

by kandikits Updated: Oct 20, 2022


The Build Marker Based AR Solution is an application that can detect a marker and create a semblance of an augmented reality experience. The marker can be detected and identified using the phone's camera and OpenCV library. When the marker is detected, it is then analyzed for color, size, and orientation. This information is used to determine what kind of marker it is (3D or 2D) and whether it can be used to place 3D objects in the scene. If this check passes, the 3D object is drawn at the correct position and orientation in relation to the camera feed from the device.


We used MindAR for marker detection and VSCode for development. We also used aframe and three.js for our applications. Mind AR is a platform that allows developers to build Augmented Reality applications. It is written in Javascript, HTML, and CSS. Mind AR works with the marker-based AR system.

Deployment Information

The mind-ar library added in this section is primarily used to create Marker Based AR project. The entire solution is available as a package to download from the source code repository.

  1. Download, extract and double-click the kit installer file to install the kit.
  2. After the successful installation of the kit, press 'Y' to run the kit.
  3. To run the kit manually, press 'N' and locate the zip file 'mind-ar-js'.
  4. Open the folder in Visual Studio Code.
  5. Run the 'image.html' file.
  6. Scan the respective 'rock.png' and 'bear.png' images.
  7. Now, you will experience Augmented Reality in your own Environment!


Click on the button below to download the solution and follow the deployment instructions to begin set-up. This 1-click kit has all the required dependencies and resources you may need to build your Marker based AR App.

Troubleshooting

  1. While running batch file, if you encounter Windows protection alert, select More info --> Run anyway
  2. During kit installer, if you encounter a Windows security alert, click Allow


For a detailed tutorial on installing & executing the solution as well as learning resources including training & certification opportunities, please visit the OpenWeaver Community

Development Environment

Visual studio code IDE is used for this development. It becomes easy and simple to develop an interactive UI with Visual studio code.

vscodeby microsoft

TypeScript star image 130477 Version:1.66.2

License: Permissive (MIT)

Visual Studio Code

Support
Quality
Security
License
Reuse

vscodeby microsoft

TypeScript star image 130477 Version:1.66.2 License: Permissive (MIT)

Visual Studio Code
Support
Quality
Security
License
Reuse

AR Libraries

A-Frame is an open-source web framework used for building Augmented reality (AR) experiences. Web-based augmented reality (WebAR) is the most advanced technology that allows users to access AR experiences directly from their smartphones. Three.js is the open-source web framework used to develop augmented reality (AR) projects.

aframeby aframevr

JavaScript star image 13681 Version:v1.2.0

License: Permissive (MIT)

:a: web framework for building virtual reality experiences.

Support
Quality
Security
License
Reuse

aframeby aframevr

JavaScript star image 13681 Version:v1.2.0 License: Permissive (MIT)

:a: web framework for building virtual reality experiences.
Support
Quality
Security
License
Reuse

AR.jsby AR-js-org

JavaScript star image 3449 Version:Current

License: Permissive (MIT)

Image tracking, Location Based AR, Marker tracking. All on the Web.

Support
Quality
Security
License
Reuse

AR.jsby AR-js-org

JavaScript star image 3449 Version:Current License: Permissive (MIT)

Image tracking, Location Based AR, Marker tracking. All on the Web.
Support
Quality
Security
License
Reuse

three.jsby mrdoob

JavaScript star image 80965 Version:r139

License: Permissive (MIT)

JavaScript 3D Library.

Support
Quality
Security
License
Reuse

three.jsby mrdoob

JavaScript star image 80965 Version:r139 License: Permissive (MIT)

JavaScript 3D Library.
Support
Quality
Security
License
Reuse

Kit Solution Source

mind-ar-jsby hiukim

JavaScript star image 621 Version:v1.1.4

License: Permissive (MIT)

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js

Support
Quality
Security
License
Reuse

mind-ar-jsby hiukim

JavaScript star image 621 Version:v1.1.4 License: Permissive (MIT)

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
Support
Quality
Security
License
Reuse

Support

If you need help using this kit, you may reach us at the OpenWeaver Community.

  • © 2022 Open Weaver Inc.