Start a new topic

is possible to set the accuracy?

is possible to set the accuracy?


hi all,

i use wikitude with phonegap for a simple image tracker.

is possible to set the accuracy for recognition? my code:

 



/* Global variables */
var logoTracker = null;
var overlay = null;
var trackable2DObject = null;
var errorOccured = false;

function error() {
    errorOccured = true;
    document.getElementById("messageElement").innerHTML = "Unable to load image or tracker!";
}

function createTracker(){

    // create tracker
    trackerDataSetPath = "WikitudeLogo.zip";
    logoTracker = new AR.Tracker(trackerDataSetPath, { onLoaded : trackerLoaded, onError: error });
    


    trackable2DObject = new AR.Trackable2DObject(logoTracker, "WikitudeLogo", { triggers: { onEnterFieldOfVision: enterFOV, onExitFieldOfVision: exitFOV} });
    

}

function enterFOV() {
    //$("#test").css("display", "block");
    
    $("#test").slideToggle();
    //alert('xxxx');
}

function exitFOV() {
        $("#test").slideToggle();
        //$("#test").css("display", "none");
}

function trackerLoaded()
{
    if (errorOccured) return;

    document.getElementById("messageElement").style.display = "none";
}


function clickedClose() {
    document.location = 'architectsdk://actionButton?action=close';
}

function clickedHide() {
    document.location = 'architectsdk://hideButton?status=hide';
}



thanks

Hi Roberto,

Not sure if understood you correctly,

I recommend you to use good rated target images. Besides that there is no way to get frame-by-frame information "how accurate" your target is recognized while IR is active.

Kind regards,
Andreas

thanks for your help....

 

my marker was 1 star... now i change the marker and is ok.

 

 
Login or Signup to post a comment