Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Topdu/OpenOCR
/ cos
Function
cos
tools/utils/e2e_utils/visual.py:151–152 ·
view source on GitHub ↗
(p1, p2)
Source
from the content-addressed store, hash-verified
149
150
151
def
cos(p1, p2):
152
return
(p1 * p2).sum() / (norm2(p1) * norm2(p2))
Callers
1
_get_inverse_affine_matrix
Method · 0.85
Calls
1
norm2
Function · 0.85
Tested by
no test coverage detected