ARToolKit | Mailing List Archive |
![]() |
From: | "Victor Ng-Thow-Hing" <victorngthowhing@y ........> | Received: | Feb 9, 2007 |
To | <artoolkit@h ..................> | ||
Subject: | Can we work with both TEMPLATE and SIMPLE markers at the same time? | ||
This is a multi-part message in MIME format. ------=_NextPart_000_009A_01C74C66.389B3760 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi everyone, =20 I was wondering if its possible to work with both TEMPLATE and SIMPLE or = BCH markers at the same time in ArToolKitPlus? Does anyone have any = workarounds? It looks like the API only allows one mode to be set. =20 Regards, Victor ------=_NextPart_000_009A_01C74C66.389B3760 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Message</TITLE> <META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2><SPAN class=3D249061800-10022007>Hi=20 everyone,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D249061800-10022007></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D249061800-10022007>I was = wondering if=20 its possible to work with both TEMPLATE and SIMPLE or BCH markers at the = same=20 time in ArToolKitPlus? Does anyone have any workarounds? It looks like = the API=20 only allows one mode to be set.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D249061800-10022007></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D249061800-10022007>Regards,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D249061800-10022007>Victor</SPAN></FONT></DIV></BODY></HTML> ------=_NextPart_000_009A_01C74C66.389B3760-- |
From: | Dieter Schmalstieg <dieter@i ................> | Received: | Feb 10, 2007 |
To | vng@d .................. | ||
Subject: | Re: Can we work with both TEMPLATE and SIMPLE markers at the same time? | ||
> I was wondering if its possible to work with both TEMPLATE and SIMPLE or > BCH markers at the same time in ArToolKitPlus? Does anyone have any > workarounds? It looks like the API only allows one mode to be set. You cannot use multiple marker systems at the same time. How would the pattern detector know which marker is supposed to be from which system? Theoretically, you can modify the source code to try every pattern detector on every found marker, but then you have to write your own code to make sense of the (inconsistent) results. |
From: | Daniel Wagner <daniel@i ...............> | Received: | Feb 10, 2007 |
To | ARToolKit Mailinglist <artoolkit@h ..................> | ||
Subject: | Re: Can we work with both TEMPLATE and SIMPLE markers at the same time? | ||
Victor Ng-Thow-Hing wrote: > I was wondering if its possible to work with both TEMPLATE and SIMPLE > or BCH markers at the same time in ArToolKitPlus? Does anyone have any > workarounds? It looks like the API only allows one mode to be set. Yes you can do that, but you'll have to let ARTK+ scan the image 3 times (switching the marker mode every time). After each "scan" you'd have to calculate the pose of the found markers and store the results since ARTK+ will overwrite the results with the next "scan". Since the labeling (scanning) part is quite fast this wouldn't slow down the overall process too much. I haven't tried this yet myself but it should work... Daniel |
From: | "Mingwei Shen" <mingwei82@g ........> | Received: | Feb 11, 2007 |
To | "ARToolKit Mailinglist" <artoolkit@h ..................> | ||
Subject: | Re: Can we work with both TEMPLATE and SIMPLE markers at the same time? | ||
------=_Part_69066_15188249.1171184592812 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually I've been doing this all the time. But, I've only used 2 trackers at once (2 trackers using template, simple or bch markers). In normal lighting conditions, approximate time for 1 calc() operation to be around 3 ms for 1 marker and 4ms for 6 markers for a tracker using simple markers. If you put your camera closer (bigger marker image) the times will get larger. Remember you have to leave some time to draw your overlay as well. Trackers using simple markers are faster than template or bch, but I found bch times to be quite erratic. Comp specs is - Pentium D 3.4Ghz and 1gig ram On 2/11/07, Daniel Wagner <daniel@i ...............> wrote: > > Victor Ng-Thow-Hing wrote: > > I was wondering if its possible to work with both TEMPLATE and SIMPLE > > or BCH markers at the same time in ArToolKitPlus? Does anyone have any > > workarounds? It looks like the API only allows one mode to be set. > Yes you can do that, but you'll have to let ARTK+ scan the image 3 times > (switching the marker mode every time). > After each "scan" you'd have to calculate the pose of the found markers > and store the results since ARTK+ will overwrite the results with the > next "scan". Since the labeling (scanning) part is quite fast this > wouldn't slow down the overall process too much. > > I haven't tried this yet myself but it should work... > > Daniel > > ------=_Part_69066_15188249.1171184592812 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually I've been doing this all the time. But, I've only used 2 trackers at once (2 trackers using template, simple or bch markers). In normal lighting conditions, approximate time for 1 calc() operation to be around 3 ms for 1 marker and 4ms for 6 markers for a tracker using simple markers. If you put your camera closer (bigger marker image) the times will get larger. Remember you have to leave some time to draw your overlay as well. Trackers using simple markers are faster than template or bch, but I found bch times to be quite erratic. <br><br>Comp specs is - Pentium D 3.4Ghz and 1gig ram<br><br><div><span class="gmail_quote">On 2/11/07, <b class="gmail_sendername">Daniel Wagner</b> <<a href="mailto:daniel@i ...............">daniel@i ...............</a> > wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Victor Ng-Thow-Hing wrote:<br>> I was wondering if its possible to work with both TEMPLATE and SIMPLE <br>> or BCH markers at the same time in ArToolKitPlus? Does anyone have any<br>> workarounds? It looks like the API only allows one mode to be set.<br>Yes you can do that, but you'll have to let ARTK+ scan the image 3 times <br>(switching the marker mode every time).<br>After each "scan" you'd have to calculate the pose of the found markers<br>and store the results since ARTK+ will overwrite the results with the<br>next "scan". Since the labeling (scanning) part is quite fast this <br>wouldn't slow down the overall process too much.<br><br>I haven't tried this yet myself but it should work...<br><br>Daniel<br><br></blockquote></div><br> ------=_Part_69066_15188249.1171184592812-- |