forked from zakaria/chicken-counting-sukawarna-det
Fix WARNING and CC2 not writing json to ouput folder
This commit is contained in:
1 parent
1a3242f611
commit
af4e514357
5 files changed
+338
No files matched your search
@@ -87,6 +87,7 @@ def run_daily_batch(settings: BatchSettings, date: str | None = None, *, verbose
|
||||
persist_batch_reports(run_date, camera_results, output_dir)
|
||||
|
||||
if no_video:
|
||||
persist_batch_reports(run_date, camera_results, output_dir)
|
||||
report = build_batch_report(run_date, camera_results, output_dir=output_dir)
|
||||
print(
|
||||
f"[batch] complete for {run_date}: total_entered_sum={report.total_entered_sum} "
|
||||
|
||||
@@ -47,6 +47,7 @@ class DetectionTracker:
|
||||
offset_x, offset_y = x1, y1
|
||||
|
||||
track_kwargs: dict = {
|
||||
"task": "detect",
|
||||
"source": source,
|
||||
"persist": self.config.tracker.persist,
|
||||
"tracker": self.tracker_config_path,
|
||||
|
||||
Reference in new issue
Block a user