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/
|
ADD frigate frigate/
|
||||||
COPY detect_objects.py .
|
COPY detect_objects.py .
|
||||||
COPY benchmark.py .
|
COPY benchmark.py .
|
||||||
|
COPY process_clip.py .
|
||||||
|
|
||||||
CMD ["python3.7", "-u", "detect_objects.py"]
|
CMD ["python3.7", "-u", "detect_objects.py"]
|
||||||
|
@ -130,7 +130,7 @@ class EventProcessor(threading.Thread):
|
|||||||
return
|
return
|
||||||
|
|
||||||
with open(f"{os.path.join(self.clip_dir, clip_name)}.json", 'w') as outfile:
|
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):
|
def run(self):
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
Reference in New Issue
Block a user