Merge pull request #25 from Faraadid/pull-request-fixes-issue#18
This fixes #18 where openning previous annotation files causes a bug …
This commit is contained in:
commit
930d111eb8
@ -118,7 +118,7 @@ class PascalVocReader:
|
|||||||
ymin = rect[1]
|
ymin = rect[1]
|
||||||
xmax = rect[2]
|
xmax = rect[2]
|
||||||
ymax = rect[3]
|
ymax = rect[3]
|
||||||
points = [(xmin,ymin), (xmin,ymax), (xmax, ymax), (xmax, ymin)]
|
points = [(xmin, ymin), (xmax, ymin), (xmax, ymax), (xmin, ymax)]
|
||||||
self.shapes.append((label, points, None, None))
|
self.shapes.append((label, points, None, None))
|
||||||
|
|
||||||
def parseXML(self):
|
def parseXML(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user