Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vegetebird/GraphMLP
/ world_to_camera
Function
world_to_camera
common/camera.py:11–13 ·
view source on GitHub ↗
(X, R, t)
Source
from the content-addressed store, hash-verified
9
10
11
def
world_to_camera(X, R, t):
12
Rt = wrap(qinverse, R)
13
return
wrap(qrot, np.tile(Rt, (*X.shape[:-1], 1)), X - t)
14
15
16
def
camera_to_world(X, R, t):
Callers
1
prepare_data
Method · 0.85
Calls
1
wrap
Function · 0.85
Tested by
no test coverage detected