Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

SolarFramework/Sample-NaturalImageMarker

Repository files navigation

DEPRECATED - This repo is no longer maintained


SolAR Natural Image Marker

License

The SolAR Natural Image Marker sample show a SolAR pipeline for augmented reality based on a natural image.

This pipeline loads a reference image marker, then tries to detect it on real-time camera images and to estimate the pose of the camera in relation to the coordinate system of the image marker. If the marker is detected, the pipeline over the current camera image renders a 3D cube from a virtual camera which pose corresponds to the one estimated by the pipeline.

SolARPipelineTest_NaturalImageMarker SolARPipeline_NaturalImageMarker

How to run

If you want to run your Natural image samples after having built them, do not forget to install the required dependencies if not already done:

remaken install packagedependencies.txt

and for debug mode:

remaken install packagedependencies.txt -c debug

For more information about how to install remaken on your machine, visit the install page on the SolAR website.

SolARPipelineTest_NaturalImageMarker

Open a terminal in the bin/Release or bin/Debugfolder and execute :

Windows

SolARPipelineTest_NaturalImageMarker.exe

Linux

./run.sh ./SolARPipelineTest_NaturalImageMarker   
  • When the application is started, point the camera to the natural image marker (you can see a virtual cube on the marker).
  • Press escape to quit the application.

Plugin

You should have bundle every required library in your Unity project (./Assets/Plugins). Then from Unity Gameobject PipelineLoader you can load your configuration file for the natural image pipeline. You can directly edit parameters from Unity Editor's inspector.

Contact

Website https://solarframework.github.io/

Contact framework.solar@b-com.com