fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
1 parent
28f83b18f9
commit
fb041f9b6c
2 files changed
+1484
-1488
No files matched your search
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 it is too large.
Load diff
Reference in new issue
Block a user