[varLib.featureVars] Drop fully-occluded remainder boxes
This commit is contained in:
parent
7d5fbe1605
commit
edecdce0a5
@ -317,6 +317,10 @@ def overlayBox(top, bot):
|
||||
|
||||
remainder[axisTag] = minimum,maximum
|
||||
|
||||
if not exactlyOne:
|
||||
# bot is fully within intersection. Remainder is empty.
|
||||
return intersection, None
|
||||
|
||||
return intersection, remainder
|
||||
|
||||
def cleanupBox(box):
|
||||
|
Loading…
x
Reference in New Issue
Block a user