cvhciKIT / sloth

Sloth is a tool for labeling image and video data for computer vision research.
Other
610 stars 198 forks source link

Implement search for images/annotations #38

Open mika-fischer opened 13 years ago

mika-fischer commented 13 years ago

E.g. search for images that have an annotation of class "face" where and where the attribute "gender" is "male"

mika-fischer commented 13 years ago

This is basically possible using the model iterator. E.g.

for i in lt.model().iterator(class=AnnotationModelItem,\
    predicate=lambda item: item['class'] == 'Face' and item['unconfirmed')

GUI still missing...