You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also want to test the model on my own dataset. I tried but failed. It does not output anything looks like a face... It would be nice if there's some guidelines to apply the model on our own dataset. From what i have guessed, the following are what we should prepare.
intrinsic matrix K
[[f, 0, cx],
[0, f, cy],
[0, 0, 1]]
where f is the focal length, and cx and cy is the principal point of the image (usually W/2 and H/2 unless we crop images).
Rotation matrix R -- 3x3 array of world-to-camera rotation matrix representing the camera orientation.
Camera position T -- 3x1 array of camera position.
Then,
KRT is K.dot(R).dot(T)
rigid_mat is np.hstack([R,T])
Would you like to ask how to test own datas?
The text was updated successfully, but these errors were encountered: