fix(pre_commit): 🎨 auto format pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] committed 2024-07-12 15:20:00 +00:00
1 parent 28f83b18f9
commit fb041f9b6c
2 files changed
+1484 -1488

No files matched your search

Vendored
+2 -6
View File
@@ -723,9 +723,7 @@
"source": [
"box_annotator = sv.BoxAnnotator()\n",
"label_annotator = sv.LabelAnnotator()\n",
"annotated_image = box_annotator.annotate(\n",
" image.copy(), detections=detections_filtered\n",
")\n",
"annotated_image = box_annotator.annotate(image.copy(), detections=detections_filtered)\n",
"annotated_image = label_annotator.annotate(\n",
" annotated_image, detections=detections_filtered\n",
")\n",
@@ -1371,9 +1369,7 @@
"labels = [f\"{ds.classes[class_id]}\" for class_id in annotations.class_id]\n",
"\n",
"annotated_image = mask_annotator.annotate(image.copy(), detections=annotations)\n",
"annotated_image = box_annotator.annotate(\n",
" annotated_image, detections=annotations\n",
")\n",
"annotated_image = box_annotator.annotate(annotated_image, detections=annotations)\n",
"annotated_image = label_annotator.annotate(\n",
" annotated_image, detections=annotations, labels=labels\n",
")\n",
+1482 -1482
View File
File diff suppressed because it is too large. Load diff