MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / is_inside_frustum

Function is_inside_frustum

dataset_loaders/load_7Scenes.py:66–67  ·  view source on GitHub ↗
(p, x_res, y_res)

Source from the content-addressed store, hash-verified

64 return K_APPROX, FRUSTUM_APPROX, W, H
65
66def is_inside_frustum(p, x_res, y_res):
67 return (0 < p[0]) & (p[0] < x_res) & (0 < p[1]) & (p[1] < y_res)
68
69def initK(f, cx, cy):
70 K = np.eye(3, 3)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected