Log in or register to post comments

how to detect the Specific image

August 23, 2011 - 1:51am #1

In the ImageTargets samples,How to detect the specific image?What step is need for the process

Re: how to detect the Specific image

August 26, 2011 - 1:30pm #8

Hello,

Now take a look at the Dominoes sample app. Specifically look at the renderframe method of Dominoes.cpp . In there you can see how a message is displayed on the first frame when the target is detected.

Replace the code for displaying a message with your code. You probably also want to remove everything else since you don't need the tracker. If you don't want to keep using the camera you may also want to deinit qcar with

    QCAR::CameraDevice::getInstance().stop();
    QCAR::CameraDevice::getInstance().deinit();

Thank you,

-Peter

Re: how to detect the Specific image

August 25, 2011 - 10:46pm #7

yes peter i have got the image targets app working.

But what i actually intend to do is start another intent when the trackable comes in visibility of camera

Re: how to detect the Specific image

August 25, 2011 - 4:40pm #6

Hello,

Have you successfully run the sample ImageTargets app ? Take a look at the "Getting Started -SDK " guide on this webpage for more information on compiling and running the sample app.

Thank you,

-Peter

Re: how to detect the Specific image

August 25, 2011 - 7:03am #5

I did find the renderFrame method but i am not able to understand the code in it. I am a beginner and i could not find some relevant information to my knowledge to get the simple image tracking application to work. I have got the trackable and placed the two files in assets folder of my new application how should i proceed further?? Thanks in advance

Re: how to detect the Specific image

August 25, 2011 - 12:57am #4

If by "Implementation principle" you mean how to know when a Target has been detected by QCAR you have an example in the file ImageTargets/jni/ImageTargets.cpp Have a look at the renderFrame function.

Re: how to detect the Specific image

August 24, 2011 - 3:24am #3
recastrodiaz wrote:

You should read the Dev Guide, more specifically the Target Management System section.

thanks, But i can't find the code where the Implementation principle of detecting image

Re: how to detect the Specific image

August 23, 2011 - 5:29am #2

You should read the Dev Guide, more specifically the Target Management System section.

Log in or register to post comments