Simple distance measuring project that draws a line between two markers and logs the distance in the console output.
Preparation:
- Go to your root directory for the artoolkit5 git repository.
- Open the android directory
- Run build.sh —-> ./build.sh (Mac and Linux) -- This builds and copies all necessary libraries into the project
- Open the project in AndroidStudio and enable Android project nature and gradle build.
- Run the project with a connected Android mobile
- Print the two included markers and hold your mobile in a way that both markers are visible.
—> A line is drawn between the centre of the markers