ARView - Integrate the EasyMeasure API in your app !
If you are an app developer, you can now start integrating the EasyMeasure™ Augmented Reality View into your own app and benefit from the powerful measurement capabilities of EasyMeasure! Only $19.95 USD!
Integrating ARView is super-easy. Just follow the steps below
Purchase ARView for only $19.95 USD, or use the Demo Project provided here.
To integrate ARView in your code, drag and drop the ARView folder containing ARView.h and ARView.a into your project. Make sure to check the boxes like shown in the screenshot below
Go to Build Settings, and set the parameter Build Active Architectures Only to YES
Go to Build Phases, Link Binary With Libraries and ensure that you have the following libraries added to your project CoreVideo.framework CoreFoundation.framework CoreGraphics.framework OpenGLES.framework QuartzCore.framework Security.framework ImageIO.framework CoreMedia.framework CoreMotion.framework AVFoundation.framework SystemConfiguration.framework UIKit.framework Foundation.framework IMPORTANT: Set CoreVideo and CoreFoundation to Optional to ensure backward compatibility!
Import ARView.h into your header file: #import "ARView.h"
Add the ARView delegate to the header file: ARViewDelegate
Create an ARView variable: ARView * myARView;
In your m-file, init the ARView window by calling myARView = [[ARView alloc] initWithFrame:CGRectMake(0, 0, 320, 480) lensHeight:lensHeight]; The lensHeight is the initial lens height of the camera. The units you use for the lensHeight will be the units of the measurement results of the API.
Assign the images for the onscreen controls. The image names need to be provided and the images need to be embedded in the Project. Refer to the demo project for example images: [myARView setBoxImageName:@"movement.png”]; [myARView setTargetImageName:@"arrow_middle.png"]; [myARView setTargetMoverImageName:@"updown.png"];
Start the ARView engine: [myARView startAR];
That’s it! Refer to all options and settings in the header file ARView.h. Note that ARView is supported down to iOS 4.3 and supports compiling for 64 bits devices (arm64).
A Demo Project can be downloaded here. This Demo Project will show you the main functionality of the EasyMeasure API ARView.
The API now also supports so-called 'dynamic pictures'. When you store the picture and the acceleration values of a measurement, you can use the dynamic picture to measure any dimension in the picture. To activate Dynamic Pictures, set the variable DynPic to TRUE, and initiate the ARView with the function myARView = [[ARView alloc] initDynPicWithFrame:CGRectMake(0, 0, 320, 480) image:(NSString*)imageFileName lensHeight:(float)lensHeight acceleration:(NSArray*)accel distance:(float)distance height:(float)height width:(float)width]; Refer to the Demo Project to see the example for this (set the variable DynPic to TRUE).
Bitcode is a new feature in iOS 9 and Xcode 7. It is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store. ARView does not support bitcode yet. In order to compile the code on Xcode 7, please go to Build Settings, and set Enable Bitcode to No.
The Demo Project has an on-screen banner displayed. Purchase the unlocked version of the ARView library (version 3.0, updated November 2015) for only $19.95 USD an extent your app with a powerful, easy measurement tool! Tweet