I am showing video with videoplayback example. the video is not covering the stone marker. i want to make width and height of more than marker. can you please suggest me an approach.
if you look at the VideoPlayback.cpp code, in the renderFrame() function you can find this code:
targetPositiveDimensions[currentTarget] = imageTarget.getSize();
// The pose delivers the center of the target, thus the dimensions
// go from -width/2 to width/2, same for height
targetPositiveDimensions[currentTarget].data[0] /= 2.0f;
targetPositiveDimensions[currentTarget].data[1] /= 2.0f;
You can change the last two lines to use a different scaling factor, to fit your needs.
Hi,
if you look at the VideoPlayback.cpp code, in the renderFrame() function you can find this code: