implement loaders

This commit is contained in:
Martin Baeuml
2011-05-06 17:28:35 +02:00
parent 3f0aa1c99a
commit 57b407bac3
6 changed files with 96 additions and 69 deletions
+4 -1
View File
@@ -1,5 +1,6 @@
from items import AnnotationGraphicsRectItem as RectItem
from items import RectItemInserter
from items import RectItemInserter, AnnotationGraphicsPointItem
from loaders import FeretLoader, RectIdLoader
from bboxitem import *
RATIOS = ["0.5", "1", "2"]
@@ -21,6 +22,7 @@ HOTKEYS = (
ITEMS = (
("rect", RectItem),
("point", AnnotationGraphicsPointItem),
("bodybbox", BodyBoundingboxItem),
)
@@ -30,6 +32,7 @@ INSERTERS = (
)
LOADERS = (
('txt', RectIdLoader),
)
PLUGINS = (