After i detect an object, i have to get the basic dimensions of that object.
How can i acheive this.
Thanks in advance.
You can use the Vuforia C++ API, even if most of your code is written in Obj-C.
As you can also see in the Vuforia Sample Apps, the iOS sample code is written in Objective-C and C++, cause the Vuforia API for iOS is based on C++;
you can mix C++ and Objective-C code in your project.
Thanks for the reply. But I do this in Objective-C. Can I get the dimensions in objective c?
I have alrdy tried getSize(), but the result is same for all the objects irrespective of the size of the object.
The Trackable classes expose methods to obtain the size of the Trackable (Image Target, Object Target or other);
For example, if you are using Unity, you'll probably want to use the GetSize() method of the ObjectTarget class:
See also the complete API reference for Unity, C++ and Java:
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?