CRS Video AR Unity - Cloud

0 votes
asked May 6, 2018 by arvrturu (140 points)

We are currently working on CRS ( Cloud Recognition Service ) . We learned how to manage targets and how to use meta . We are adding url to image target. This url is a video url from our server.

We follow HelloARCloud tutorial. We are showing cube. Could you let us know how we will progress. In that stage we don't want to use this for models. As far as we track from the forum it needs OpenGL . In that stage we want to play video which has thee url in the image target.


1 Answer

0 votes
answered May 6, 2018 by albert52 (31,830 points)
It's easy to do this. You need to save your video url in the meta file.
commented Nov 15, 2018 by edfisicaweb (120 points)
Por favor, poderia demonstrar como fazer isso?
commented Aug 14, 2019 by jalajshah (230 points)
in CloudRecognizeBehaviour >> Open()>> there are reference of ImageTargetController
open it
>>OnFound() >>

add code
        byte[] mbyte = System.Convert.FromBase64String(target.meta());
         string meta = Encoding.UTF8.GetString(mbyte);

you will get meta,
on a base of that set URL to newly created object reference using the same transform reference
and your work is done!!!
commented Oct 31, 2019 by jonnes82 (140 points)
cara estou na mesma situação... peguei do exemplo do SampleVideo mas trava tudo pois o objeto é do tipo primitivo, hoje resolvo isso... kk

man i have the same issue, im using the examplo of Sample Video but the Unit crashs when i execute that... maybe due the object be primitive... today i will fix this...
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.