-2

What I want to do is display text instead of 3D object in vuforia sample after image recognition. Like if I scan a shoe image, it should display the name of the shoe, brand and shoe details in real time.

I have browsed a lot but haven't been able to find solution to it.A code sample to do it would really help.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278

1 Answers1

0

What u could do is Create a Image and download this asset from asset store . Select the image and in Inspector menu , Select source of the asset u downloaded according to your needs . After this create a text from ui and make it child of Image . And in defaulttrackableevent create a new class with name of image

public Transform image;

and in tracking found

image.gameObject.SetActive(true);

and in tracking lost

 image.gameObject.SetActive(false);

and after writing the code , just link the image to the defaulttrackableeventhandler script.

Sam Sundar
  • 61
  • 13