Log in or register to post comments

Cuboid marker with 90 bend

February 20, 2017 - 5:44am #1

Hello,

Currently I'm working on a prototype.

I want to use 2 cuboid targets sticked together in a 90 degrees bend. See following picture:

In what way is it possible to build an target with more than 6 sides and also in a bend like in the picture. 

I tried to edit the xml file like this:

</p>
<p><?xml version="1.0" encoding="UTF-8"?></p>
<p><QCARConfig><br>
	    <Tracking></p>
<p>        <ImageTarget name="StC_BigOpenMarker_1.Top" size="482.3 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_1.Right" size="137.8 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_1.Bottom" size="482.3 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_1.Left" size="137.8 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_1.Back" size="482.3 137.88"/><br>
	        <ImageTarget name="StC_BigOpenMarker_1.Front" size="482.3 137.8"/></p>
<p>        <ImageTarget name="StC_BigOpenMarker_4.Top" size="482.3 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_4.Right" size="137.8 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_4.Bottom" size="482.3 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_4.Left" size="137.8 137.8"/><br>
	        <ImageTarget name="StC_BigOpenMarker_4.Back" size="482.3 137.88"/><br>
	        <ImageTarget name="StC_BigOpenMarker_4.Front" size="482.3 137.8"/></p>
<p>    <br>
	        <MultiTarget name="StC_BigOpenMarker_1"><br>
	           <Part name="StC_BigOpenMarker_1.Left" translation="-241.15 0 0" rotation="AD: 0 1 0 -90"/><br>
	           <Part name="StC_BigOpenMarker_1.Right" translation="241.15 0 0" rotation="AD: 0 1 0 90"/><br>
	           <Part name="StC_BigOpenMarker_1.Front" translation="0 0 68.9" rotation="AD: 1 0 0 0"/><br>
	           <Part name="StC_BigOpenMarker_1.Back" translation="0 0 -68.9" rotation="AD: 0 1 0 180"/><br>
	           <Part name="StC_BigOpenMarker_1.Top" translation="0 68.99 0" rotation="AD: 1 0 0 -90"/><br>
	           <Part name="StC_BigOpenMarker_1.Bottom" translation="0 -68.9 0" rotation="AD: 1 0 0 90"/><br>
	<br>
	           <Part name="StC_BigOpenMarker_4.Left" translation="172.25 0 413.4" rotation="AD: 0 1 0 0"/><br>
	           <Part name="StC_BigOpenMarker_4.Right" translation="172.25 0 -68.9" rotation="AD: 0 1 0 180"/><br>
	           <Part name="StC_BigOpenMarker_4.Front" translation="103.35 0 172.25" rotation="AD: 0 1 0 -90"/><br>
	           <Part name="StC_BigOpenMarker_4.Back" translation="241.15 0 172.25" rotation="AD: 0 1 0 90"/><br>
	           <Part name="StC_BigOpenMarker_4.Top" translation="172.25 68.9 172.25" rotation="AD: 0 1 0 -90; 1 0 0 -90"/><br>
	           <Part name="StC_BigOpenMarker_4.Bottom" translation="172.25 -68.9 172.25" rotation="AD: 0 1 0 -90; 1 0 0 90"/><br>
	      </MultiTarget><br>
	     <br>
	     <br>
	     <br>
	    </Tracking><br>
	</QCARConfig></p>
<p>

But the result is this:

https://youtu.be/WU-eo5Yte4w




I've got the feeling that he won't track 2 cubes at the same time, the rotation is not right, and it will shuffle the markers.

 

The final result will be a marker like this, but than bigger:



 

Does anyone have a sollution for my problem?

 

Niels

Cuboid marker with 90 bend

February 28, 2017 - 2:35pm #4

nylstb wrote:

I already ran into a problem building two targets in one object, i've got the feeling this causes all the problems in my prototype.

I've made a recording of the whole proces. 

There are two targets in one database, but he only recoqnizes the first one. Or sometimes the other one. Is there something i'm doing wrong?

The video is over here: https://youtu.be/0Q9uAR_lDTI

Can you send me this dataset? If you don't want to attached to a forum post, please PM me with a link where I can download it. I'd like to do a visual inspection.

nylstb wrote:

UPDATE:

I tried to make two unity packages per cuboid, it is working but I found out that simultaneous tracked images won't work.

https://youtu.be/OG34gIjtotY 

So anyone have an answer for this?

The link is a 404. Can you still provide a video of the behavior?

Thanks.

Cuboid marker with 90 bend

February 24, 2017 - 8:26am #3

 

Thank you for your reply!

medabit wrote:

Hello,

Really impressed with the level of complexity of your project. Some things to consider, some of which you may already be aware of:

  • A cuboid is just a collection of ImageTargets with 3D spacial offsets configured in the XML file. Thus, in the case of a simple cuboid, you're really only tracking a single side at a time. As your XML file implies you are wanting to track two cuboids simultaneously, you will want to set the hint for Max Simultaneous Tracked Images to greater than 1 (there is no limit). This can be found in the ARCamera configuration settings.

That's right. 

I did change the max simultaneous tracked images to 100.

medabit wrote:
  • I see your prototype target uses parts of chips and stones as target sides. Have you insured that these side visuals are all unique? My point here is that if any of the two sides are similar it could confuse our detector/tracker as we currently do not support multiple similar targets.





I'm also aware of that. 

All targets are unique, except for the ones that have a overlap with each other. The overlap is marked with the color in the next image.

 

B - back

t - top

F - front

b - bottom 



Left and Right - some left black because they will not become visible.

This because Cuboid 1-2 and 3-4 are connected. They are connected because Vuforia cuboid targets were too long for the online target tool.

 

Marker height is 3.5 cm

Marker lenght is 12.5 cm

 

 

medabit wrote:

The video looks to be that you've very close to getting this working. It almost looks like some rotation parameter is off but it is hard to see a pattern.



I dont see a pattern as well.

I'm going to try some different rotation parameters right now but.. 



I already ran into a problem building two targets in one object, i've got the feeling this causes all the problems in my prototype.

I've made a recording of the whole proces. 

There are two targets in one database, but he only recoqnizes the first one. Or sometimes the other one. Is there something i'm doing wrong?

The video is over here: https://youtu.be/0Q9uAR_lDTI

 

 

UPDATE:

I tried to make two unity packages per cuboid, it is working but I found out that simultaneous tracked images won't work.

https://youtu.be/OG34gIjtotY 

So anyone have an answer for this?



Thank you.

Cuboid marker with 90 bend

February 23, 2017 - 5:51pm #2

Hello,

Really impressed with the level of complexity of your project. Some things to consider, some of which you may already be aware of:

  • A cuboid is just a collection of ImageTargets with 3D spacial offsets configured in the XML file. Thus, in the case of a simple cuboid, you're really only tracking a single side at a time. As your XML file implies you are wanting to track two cuboids simultaneously, you will want to set the hint for Max Simultaneous Tracked Images to greater than 1 (there is no limit). This can be found in the ARCamera configuration settings.
  • I see your prototype target uses parts of chips and stones as target sides. Have you insured that these side visuals are all unique? My point here is that if any of the two sides are similar it could confuse our detector/tracker as we currently do not support multiple similar targets.

The video looks to be that you've very close to getting this working. It almost looks like some rotation parameter is off but it is hard to see a pattern.

Thanks.


Log in or register to post comments