fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
Vendored
+2
-6
@@ -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",
|
||||
|
||||
Vendored
+1482
-1482
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user