mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fixes
This commit is contained in:
parent
2f758af097
commit
0b7f65e227
@ -58,5 +58,6 @@ WORKDIR /opt/frigate/
|
||||
ADD frigate frigate/
|
||||
COPY detect_objects.py .
|
||||
COPY benchmark.py .
|
||||
COPY process_clip.py .
|
||||
|
||||
CMD ["python3.7", "-u", "detect_objects.py"]
|
||||
|
@ -130,7 +130,7 @@ class EventProcessor(threading.Thread):
|
||||
return
|
||||
|
||||
with open(f"{os.path.join(self.clip_dir, clip_name)}.json", 'w') as outfile:
|
||||
json.dump(event_data, outfile)
|
||||
json.dump({x: event_data[x] for x in event_data if x not in ['frame']}), outfile)
|
||||
|
||||
def run(self):
|
||||
while True:
|
||||
|
Loading…
Reference in New Issue
Block a user