public class

DeviceCameraImageSender

extends Object
implements VDARImageSender
java.lang.Object
   ↳ com.vidinoti.android.vdarsdk.camera.DeviceCameraImageSender

Class Overview

Allow access to the device camera for the Vidinoti AR SDK. This class implements the VDARImageSender interface used to send image frames to the Vidinoti vision system in order to perform image recognition on them.

Summary

Public Constructors
DeviceCameraImageSender()
Public Methods
void autofocus()
Trigger the camera autofocus mechanism
void cameraTextureAvailable(SurfaceTexture surfaceTexture)
void cameraTextureDestroyed(SurfaceTexture surfaceTexture)
void destroyDeviceCamera()
String generateCameraReport()
Get information of the camera and generate a textual report
<T> T getAndroidCamera()
int getSensorOrientation()
void setFrameRate(float rate)
Set the frame rate at which the sender should send frames (i.e.
void setSDKController(VDARImageReceiver rcv)
void setZoomFactor(float factor)
void startImageStream()
Start the camera image stream.
void stopImageStream()
Stop the image stream.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.vidinoti.android.vdarsdk.camera.VDARImageSender

Public Constructors

public DeviceCameraImageSender ()

Throws
IOException

Public Methods

public void autofocus ()

Trigger the camera autofocus mechanism

public void cameraTextureAvailable (SurfaceTexture surfaceTexture)

public void cameraTextureDestroyed (SurfaceTexture surfaceTexture)

public void destroyDeviceCamera ()

public String generateCameraReport ()

Get information of the camera and generate a textual report

public T getAndroidCamera ()

public int getSensorOrientation ()

public void setFrameRate (float rate)

Set the frame rate at which the sender should send frames (i.e. # of frame / sec)

Parameters
rate The number of frames per seconds the sender should send.

public void setSDKController (VDARImageReceiver rcv)

public void setZoomFactor (float factor)

public void startImageStream ()

Start the camera image stream. After this call, the camera should send images to its receiver

public void stopImageStream ()

Stop the image stream. After that call, no new call to the processNewImageFrame() method of the image receiver should be done.