How to place an AR scene to the middle in the big canwas

Hello Community,

Right now , I have created a sketch regarding a marker detection using NyARToolkit for marker detection and OpenCV for capture. By running this application of canvas size 1280x720 , when a user shows a marker to the screen ,a movie is playing.

Now , I am having a canvas size 5000x1024, then how can I get my AR exact to the center of the whole canvas. Because MultiMarker's drawBackground(bgImage) draws the whole canvas with the AR... and I want to place my AR of size(1280x720) in the middle of the whole canvas of size(5000x1024). But how, I don't know about this....

Can anyone help me for this ?

Sign In or Register to comment.