antingshen / BeaverDam

Video annotation tool for deep learning training labels
BSD 2-Clause "Simplified" License
202 stars 100 forks source link

Get all existing video object #116

Closed sujiez closed 7 years ago

sujiez commented 7 years ago

Hi Beaverdam development team,

Could you give me some advise on how to get all existing video object from the ./manage.py shell, so that I can access annotations of videos by accessing .annotation attribute in video objects.

It's nice to have this great tool, thanks to you guys.

antingshen commented 7 years ago
from annotator.models import Video
Video.objects.all()

See QuerySet docs for filtering videos by attributes, etc. I personally like using the source to set tags to filter Videos by later