You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| image | np.ndarray || The input image in BGR format. |
266
266
| mode | str | "network_based" | The type of analysis to perform. Can be "resolution_based" for Resolution-Based Analysis or "network_based" for Neural Network-Based Analysis.|
267
-
| model | ultralytics model | YOLO("yolov8m.pt") | Pre-initialized model object for "network_based" mode. If not provided, the default YOLOv8m model will be used.|
267
+
| model | ultralytics model | YOLO("yolo11m.pt") | Pre-initialized model object for "network_based" mode. If not provided, the default YOLO11m model will be used.|
268
268
| classes_list | list | None | A list of class indices to consider for object detection in "network_based" mode. If None, all classes will be considered. |
269
269
| conf | float | 0.25 | The confidence threshold for detection in "network_based" mode. |
270
270
@@ -280,7 +280,7 @@ img = cv2.imread(img_path)
280
280
281
281
# Calculate the optimal crop size and overlap for an image
0 commit comments