MCPcopy
hub / github.com/Charmve/Surface-Defect-Detection / get_intersection

Function get_intersection

DeepPCB/evaluation/script.py:120–124  ·  view source on GitHub ↗
(pD,pG)

Source from the content-addressed store, hash-verified

118 return 0
119
120 def get_intersection(pD,pG):
121 pInt = pD & pG
122 if len(pInt) == 0:
123 return 0
124 return pInt.area()
125
126 def compute_ap(confList, matchList,numGtCare):
127 correct = 0

Callers 3

get_unionFunction · 0.85
evaluate_methodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected