Errors in documentation for AR Image Detection

Include the following details while filing a bug report (edit as applicable):

  • Issue category: ARDK Documentation
  • Device type & OS version: Android
  • Host machine & OS version: Windows
  • Issue Environment : Dev Portal
  • ARDK version: 1.2
  • Unity version: 2020.3 LTS

Bug reproduction steps:

On this page the Private void SetupCallbacks() has a capital P, which gives an error

var attachedObject = Instantiate(); // Create whatever game object should be attached. does not work because Instantiate cannot be empty

attachedObject.transform.position = anchor.Transform.ToPosition(); and
attachedObject.transform.rotation = anchor.Transform.ToRotation();
Should be using transform.SetPositionAndRotation to improve performance

_detectedImages is never mentioned and is supposed to be used?

AddAnchor() has properties which are not the same as when it is called
same for ShouldAttachToImage()

Additional feedback:
Maybe rewrite the documentation here. It is a bit vague since first there is a lot of code, then you tell that the manager just does it automatically and the next script does not work properly with the manager script.
Without the Image Recognition Demo Scene it is almost impossible to get it working properly. This should not be the case!

Hi Dylan, thank you for pointing that out! We will update the document as soon as we can!

1 Like

Great! Thanks
If needed I can also contribute to it as I am working on an Image Recognition app for a while