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
Hi, thank you very much for your code. I think this function is not well implemented.
First of all, when we check if one point in a frustum, we should go through 6 faces rather than 3 faces.
so.
for p in range(0,3):
should be changed to
for p in range(0, 6)
Second, there is a typo in your code:
if(frustum[p, 0] * x + frustum[p, 1] * y + frustum[p, 2] + z + frustum[p, 3] <= 0):
the frustum[p, 2] + z should be changed to frustum[p, 2] * z
The text was updated successfully, but these errors were encountered:
face-frontalization/camera_calibration.py
Line 118 in 6cf2f09
Hi, thank you very much for your code. I think this function is not well implemented.
First of all, when we check if one point in a frustum, we should go through 6 faces rather than 3 faces.
so.
should be changed to
Second, there is a typo in your code:
the
frustum[p, 2] + z
should be changed tofrustum[p, 2] * z
The text was updated successfully, but these errors were encountered: