Skip to content

Commit 3827a8e

Browse files
committed
force cloning in the format XYWH
1 parent db8dadc commit 3827a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BoundingBox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,5 @@ def clone(boundingBox):
151151
imgSize = boundingBox.getImageSize(), \
152152
bbType = boundingBox.getBBType(), \
153153
classConfidence = boundingBox.getConfidence(), \
154-
format = boundingBox.getFormat())
154+
format = BBFormat.XYWH)
155155
return newBoundingBox

0 commit comments

Comments
 (0)