|(CraftARCamera *)||- getCamera|
|(CraftARSDK *)||+ sharedCraftARSDK|
|id< CraftARSDKProtocol >||delegate|
|Delegate that will receive SDK's callbacks.|
|id< CameraSearchController >||searchControllerDelegate|
The CraftARSDK class is the main controller for managing the camera capture and the visual search operations (Single shot and Finder Mode search)
|- (CraftARCamera*) getCamera|
Returns the CraftAR camera object that provides access to camera level operations.
|- (BOOL) isFinding|
Returns whether the SDK's Finder mode search is running
|+ (CraftARSDK*) sharedCraftARSDK|
Get the shared instance of the CraftARSDK for image recognition.
|- (void) singleShotSearch|
Takes a picture and performs a visual search using the searchControllerDelegate
|- (void) startCaptureWithView:||(UIView *)||previewView|
Initialize a camera capture for a given UIView.
previewView View where the camera preview will be shown. The SDK will draw the capture preview. Any other contents added to this view will be ignored.
|- (void) startFinder|
Starts a visual search session in Finder Mode passing the camera capture frames to the searchControllerDelegate.
|- (void) startFinderWithTimeout:||(NSTimeInterval)||timeoutSeconds|
Starts a visual search session in Finder Mode passing the camera capture frames to the searchControllerDelegate. The Finder stops after timeoutSeconds and the [delegate didGetFinderTimeout] message is sent to the delegate. Calling stopFinder cancels the notification.
|- (void) stopCapture|
Stop the camera video capture. The camera will stop generating didReceivePreviewFrame events, all the camera resources will be released. Call this method when closing the View controller that opens the camera (on viewWillDisappear is recommended).
|- (void) stopFinder|
Stops the visual search session if started.
Delegate that will receive messages to perform visual search based on the SDK commands (singleShotSearch, startFinder, stopFinder).
The documentation for this class was generated from the following file: