add bas64 encoded thumbnail to the database

This commit is contained in:
Blake Blackshear
2020-11-15 08:50:49 -06:00
parent 946d655cee
commit 1b5b02d286
3 changed files with 8 additions and 4 deletions

View File

@@ -180,7 +180,8 @@ class EventProcessor(threading.Thread):
end_time=event_data['end_time'],
top_score=event_data['top_score'],
false_positive=event_data['false_positive'],
zones=list(event_data['entered_zones'])
zones=list(event_data['entered_zones']),
thumbnail=event_data['thumbnail']
)
if len(self.cached_clips) > 0 and not event_data['false_positive']: