- Sort Posts
- 6 replies
- Last post
Hey Dave, I don't think this
December 19, 2012 - 12:27am #7
If you're trying to determine
December 18, 2012 - 10:34am #6
If you're trying to determine the bounding rectangle, use the GetSize() method on the ImageTargetBehaviour. Your target transform position is for the center of your target, so the edges are 1/2 w x 1/2 h and you can use these dimensions to find the corner positions.
Is that what you're looking for?
Exact Target Detection
December 10, 2012 - 5:42am #2
Hi Nathan
Yes this should be possible.
I posted this code up a while back for putting an overlay on a plane with the Image Targets example.
You will need to adapt this for your purposes, and it may need updating for Cloud Reco / 2.0 but it is a good start.
HTH
N
Hey Dave,
I don't think this is what I'm looking for.
For example: I want to overlay the marker image with a completely different image and I want the overlay to be "perfect". For this I need some way to get the "real" size of the detected marker and rescale my augmentation image to that size.
The values I get from the GetSize() method are just the width values I set when uploading the markers that do not take into consideration the current location of the marker in the world.
HTH you understand better what I'm talking about :)
Thanks in advance,
Nathan