I am using Vuforia sdk to target certain markers, when the marker is detected I need to get the xy coordinates (x, y, width, height) on the screen. So far I get the pose matrix of the detected marker and convert this to an OpenGL matrix.
TrackableResult trackableResult = state.getTrackableResult(tIdx);
float[] modelViewMatrix = Tool.convertPose2GLMatrix(
trackableResult.getPose()).getData();
The array modelViewMatrix returns a martix for example
[0.014747372, -0.9998464, 0.009474348, 0.0, -0.99099773, -0.015876513, -0.1329338, 0.0, 0.13306376, -0.0074286344, -0.9910797, 0.0, 93.30493, -26.22111, 377.93176, 1.0]
How can i convert this to get xy coordinates on the screen?