Log in or register to post comments

Frame markers questions

May 7, 2012 - 3:00am #1

Hi,
I have several questions.

What is the max frame markers I can use?
How do I create frame markers? QCAR has 4 example ones I readed somewhere that it can go up to 512 :S how?
Can I detect 1 frame marker twice?
For example the Q in the example project can i print 2 Q's ?

Thanks in advance.

Frame markers questions

November 4, 2013 - 12:56am #6

Thanks guy's but I posted this thread more then a year ago >.<
I tought I do point out that I already worked it out a long time ago eheh :P

@moderators
Is necroposting allowed?

Frame markers questions

November 4, 2013 - 12:42am #5

Little correction.

For Frame Markers only, it is possible to go beyond the 5 limit,

for instance, we have been able to track more than 20 frame markers in the same view without seeing issues, although the actual limit may depend on the specifc device used (for performance reason).

 

 

Frame markers questions

November 3, 2013 - 11:52am #4

No. The limit is similar to that for ImageTargets.

Frame markers questions

November 3, 2013 - 10:47am #3

When you say "You can use all 512 frame markers in a single project", do you mean you can (hypothetically) track all 512 simultaneously on the same screen? For the Image Targets sample app, it seems like you can only track 5 image targets at once, can you do more than 5 for frame markers?

Re: Frame markers questions

May 7, 2012 - 2:19pm #2

You can use all 512 frame markers in a single project.

Here's the bit of code that creates the frame markers in the sample (in the initTracker method of FrameMarkers.cpp):

    // Create frame markers:
    if (!markerTracker->createFrameMarker(0, "MarkerQ", QCAR::Vec2F(50,50)) ||
        !markerTracker->createFrameMarker(1, "MarkerC", QCAR::Vec2F(50,50)) ||
        !markerTracker->createFrameMarker(2, "MarkerA", QCAR::Vec2F(50,50)) ||
        !markerTracker->createFrameMarker(3, "MarkerR", QCAR::Vec2F(50,50)))
    {
        LOG("Failed to create frame markers.");
        return 0;
    }

The first parameter is the markerID. You could of course create the markers in a loop, just make sure each one has a unique name (e.g. append the markerID to the name string).

No, you cannot currently track the same marker multiple times.

- Kim

Log in or register to post comments