Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Vegetebird/GraphMLP
/ normalize_screen_coordinates
Function
normalize_screen_coordinates
common/camera.py:6–8 ·
view source on GitHub ↗
(X, w, h)
Source
from the content-addressed store, hash-verified
4
5
6
def
normalize_screen_coordinates(X, w, h):
7
assert X.shape[-1] == 2
8
return
X / w * 2 - [1, h / w]
9
10
11
def
world_to_camera(X, R, t):
Callers
4
__init__
Method · 0.90
prepare_data
Method · 0.85
prepare_data
Method · 0.85
get_pose3D
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected