Visual Servoing Platform
version 3.0.1
|
"ViSP for iOS"
either after following Tutorial: Installation from prebuilt packages for iOS devices or Tutorial: Installation from source for iOS devices. Following one of these tutorial allows to exploit visp3.framework
to build an application for iOS devices.In this tutorial we suppose that you install visp3.framework
in a folder named <framework_dir>/ios
. If <framework_dir>
corresponds to ~/framework
, you should get the following:
"File>New>Project"
menu and create a new "Single View Application"
"Next"
button and complete the options for your new project:"Next"
button and select the folder where the new project will be saved. Once done click on "Create"
. Now you should have something similar to:Now we need to link visp3.framework
with the Xcode project.
"Getting Started"
(2)<framework_dir>/ios
folder in the left hand panel containing all the project files. "Copy item if needed"
to ease visp3.framework
and opencv.framework
headers location addition to the build options"Finish"
. You should now get something similar to the following imageViewController.m
file into ViewController.mm
ViewController.mm
processViSPHomography()
. This function is finally called in viewDibLoad()."Getting Started"
application using Xcode "Product>Build"
menu."Product>Run"
menu (Simulator or device does not bother because we are just executing code). You should obtain these logs showing that visp code was correctly executed by your iOS project.You are now ready to see the Tutorial: Image processing on iOS.