WVR_StopMarkerObserver

WVR_EXPORT WVR_Result WVR_StopMarkerObserver(WVR_MarkerObserverTarget target)

Function is used to disable marker observer with the target parameter type.

This API will disable marker observer related to input observer target type and release the underlying related resources.

Version
API Level 13
Parameters
Return Value
  • WVR_Success: Stop marker observer successfully.
  • others: WVR_Result mean failure.

How to use

Sample function:

#include <wvr/wvr_marker.h>

if (WVR_StartMarker() == WVR_Success) {
    // start marker observer
    if (WVR_StartMarkerObserver(WVR_MarkerObserverTarget_Aruco) == WVR_Success) {
        // Start Aruco marker observer related resources success

        // release Aruco marker observer related resources success
        if (WVR_StopMarkerObserver(WVR_MarkerObserverTarget_Aruco) == WVR_Success) {

        }
    }

    WVR_StopMarker();
} else {
    // start marker failed!
}