Community

Topic: Xamarin component

Change video position (SOLVED)

creative ideas
Sunday, April 9, 2017

I working on TestRecognition Xamarin (iOS) sample.
My marker is a A4 page . I want change position from video . Now streamed on top. How can i change this ?
Thanks

user profile image
Support Team  (expert)
Tuesday, April 11, 2017

Hi,
to change the video's position you have to modify the method bool computeModelViewProjectionMatrix(ref float[] mvMatrix, ref float[] pMatrix) {...} inside the clause: if (isTracking()) {...} and modify the mvMatrix accordingly.
Best,

creative ideas
Tuesday, April 11, 2017

Parameters is a little different for me bool computeModelViewProjectionMatrix(ref float[] mvpMatrix) {...}

user profile image
Support Team  (expert)
Tuesday, April 11, 2017

Yes, there is an overload of that method, you should modify this one: bool computeModelViewProjectionMatrix(ref float[] mvMatrix, ref float[] pMatrix) {...}, that's the one used during maker's tracking.

Sign in to add a comment