Umang17 / andar

Automatically exported from code.google.com/p/andar
0 stars 0 forks source link

ARObject.getCenter() only returns 0 #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey guys,

The ARObject class provides a public method called getCenter(). If it returns 
the coordinate of the detected marker center, that would be exactly what I 
want. But it returns nothing but all 0.0. Anyone has an idea about this? 

What version of the product are you using? On what operating system?
I am using the newest code from SVN, my phone is HTC Desire.

Thanks a lot in advance.

best,
Cecilia

Original issue reported on code.google.com by cecilia...@gmail.com on 20 May 2011 at 1:20

GoogleCodeExporter commented 9 years ago
I also tried to get the marker coordinate from the matrix which we can get from 
getTransMat() in ARObject class. The returned matrix has a changing value but 
the values in the most right column does not reflect the correct marker 
position. it only ranges in somewhere around the upper left corner of the 
screen.

Original comment by cecilia...@gmail.com on 20 May 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Yeah can please someone tell how to get Marker Co-Ordinates. In the arUTIl.c 
file there is a comment that it is included in some current matrix.How Can I 
get as I need to calculate where is the marker position on the screen.

Original comment by mohammad...@gmail.com on 15 Jul 2011 at 2:21

GoogleCodeExporter commented 9 years ago
hey guys,

did u all find anything, regarding the x,y position of marker related to screen.

plz let me know 

- shashank

Original comment by shashank...@gmail.com on 23 Aug 2011 at 6:27