FIcontent.Gaming.Enabler.AugmentedReality.FastFeatureTracking
1.0.0
The Fast Feature Tracking enabler performs a highly optimised feature detection process suitable for high speed interactive operation on any web, mobile or PC platform. The algorithm computes a parallel sum on x and y screen pixel values to yield the first moment of the image integral, which gives us the centre of mass (and optionally area) of the feature. It provides a general purpose markerless augmented reality tracking method (blob, colour feature tracking).
|
SkyePeek Plugin Interface More...
Public Member Functions | |
void | DisableDebug (bool disable) |
Disables AR debugging More... | |
void | SetBlimpColor (Color color) |
Sets the blimp color More... | |
void | startCameraCapture (bool useFrontCameraIfAvailable) |
Starts the camera capture and returns a Texture2D that will have the camera output as it's content More... | |
void | stopCameraCapture () |
Stops the camera capture More... | |
void | setExposureMode (ARExposureMode mode) |
Sets the exposure mode. Capture must be started for this to work! More... | |
void | setFocusMode (ARFocusMode mode) |
Sets the focus mode. Capture must be started for this to work! More... | |
void | updateMaterialUVScaleForTexture (Material material, Texture2D texture) |
Updates the materials UV offset to accommodate the texture being placed into the next biggest power of 2 container More... | |
Public Attributes | |
bool | useFrontCamera = false |
ARFocusMode | focusMode = ARFocusMode.ContinuousAutoFocus |
ARExposureMode | exposureMode = ARExposureMode.ContinuousAutoExposure |
int | videoWidth = 640 |
int | videoHeight = 480 |
int | videoFPS = 60 |
int | numPassSamples = 8 |
float | offsetScale = 1.0f |
Color | refColor |
GameObject | backdropObj |
Transform | blimp |
float | baseDistance = 40 |
float | initialBlimpDistance |
ARDebugMode | debugMode = ARDebugMode.Gray |
ARFeatureTrackingMode | trackingMode = ARFeatureTrackingMode.MomentGPU |
Shader | centroid0XShader |
Shader | centroid1XShader |
Shader | centroid0YShader |
Shader | centroid1YShader |
Shader | grayShader |
Shader | distShader |
Texture2D | videoTexture |
SkyePeek Plugin Interface
void SkyePeek.DisableDebug | ( | bool | disable | ) |
Disables AR debugging
void SkyePeek.SetBlimpColor | ( | Color | color | ) |
Sets the blimp color
void SkyePeek.setExposureMode | ( | ARExposureMode | mode | ) |
Sets the exposure mode. Capture must be started for this to work!
void SkyePeek.setFocusMode | ( | ARFocusMode | mode | ) |
Sets the focus mode. Capture must be started for this to work!
void SkyePeek.startCameraCapture | ( | bool | useFrontCameraIfAvailable | ) |
Starts the camera capture and returns a Texture2D that will have the camera output as it's content
void SkyePeek.stopCameraCapture | ( | ) |
Stops the camera capture
void SkyePeek.updateMaterialUVScaleForTexture | ( | Material | material, |
Texture2D | texture | ||
) |
Updates the materials UV offset to accommodate the texture being placed into the next biggest power of 2 container
GameObject SkyePeek.backdropObj |
float SkyePeek.baseDistance = 40 |
Transform SkyePeek.blimp |
Shader SkyePeek.centroid0XShader |
Shader SkyePeek.centroid0YShader |
Shader SkyePeek.centroid1XShader |
Shader SkyePeek.centroid1YShader |
ARDebugMode SkyePeek.debugMode = ARDebugMode.Gray |
Shader SkyePeek.distShader |
ARExposureMode SkyePeek.exposureMode = ARExposureMode.ContinuousAutoExposure |
ARFocusMode SkyePeek.focusMode = ARFocusMode.ContinuousAutoFocus |
Shader SkyePeek.grayShader |
float SkyePeek.initialBlimpDistance |
int SkyePeek.numPassSamples = 8 |
float SkyePeek.offsetScale = 1.0f |
Color SkyePeek.refColor |
ARFeatureTrackingMode SkyePeek.trackingMode = ARFeatureTrackingMode.MomentGPU |
bool SkyePeek.useFrontCamera = false |
int SkyePeek.videoFPS = 60 |
int SkyePeek.videoHeight = 480 |
Texture2D SkyePeek.videoTexture |
int SkyePeek.videoWidth = 640 |