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
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,11 @@ Note: If CUDA support is available, it's recommended to pre-install PyTorch with
24
24
Interactive notebooks are provided to showcase the functionality of the library. These notebooks cover batch-inference procedures for detection, instance segmentation, inference custom visualization, and more. Each notebook is paired with a tutorial on YouTube, making it easy to learn and implement features.
25
25
26
26
27
+
27
28
|**Topic**|**Notebook**|**YouTube**|
28
29
| ----- | -------- | ------- |
29
-
|[Patch-Based-Inference Example](https://nbviewer.org/github/Koldim2001/YOLO-Patch-Based-Inference/blob/main/examples/example_patch_based_inference.ipynb)|[](https://colab.research.google.com/drive/1FUao91GyB-ojGRN_okUxYyfagTT9tdsP?usp=sharing)| <palign="center"><ahref="https://youtu.be/IfbNOLROym4"><imgwidth=30%src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-social-youtube-rect.png"alt="Youtube Video"></a></p>|
30
-
|[Example of utilizing a function to visualize basic Ultralytics model inference results and managing overlapping image crops](https://nbviewer.org/github/Koldim2001/YOLO-Patch-Based-Inference/blob/main/examples/example_extra_functions.ipynb)|[](https://colab.research.google.com/drive/1eM4o1e0AUQrS1mLDpcgK9HKInWEvnaMn?usp=sharing)| <palign="center"><ahref="https://youtu.be/nBQuWa63188"><imgwidth=30%src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-social-youtube-rect.png"alt="Youtube Video"></a></p>|
30
+
|[Patch-Based-Inference Example][nb_example1]|[![Open In Colab][colab_badge]][colab_ex1]|<divalign="center">[<img width=30% alt="Youtube Video" src=https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-social-youtube-rect.png>][yt_link1]|
31
+
|[Example of utilizing a function to visualize basic Ultralytics model inference results and managing overlapping image crops][nb_example1]|[![Open In Colab][colab_badge]][colab_ex2]| <divalign="center">[<img width=30% alt="Youtube Video" src=https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-social-youtube-rect.png>][yt_link2]|
31
32
32
33
33
34
For Russian users, there is a detailed video presentation of this project. YouTube video in Russian is available at this [__link__](https://youtu.be/ihch6pIZtQg).
@@ -48,7 +49,7 @@ For Russian users, there is a detailed video presentation of this project. YouTu
48
49
## Usage
49
50
50
51
### 1. Patch-Based-Inference
51
-
To carry out patch-based inference of YOLO models using our library, you need to follow a sequential procedure. First, you create an instance of the MakeCropsDetectThem class, providing all desired parameters related to YOLO inference and the patch segmentation principle.<br/> Subsequently, you pass the obtained object of this class to CombineDetections, which facilitates the consolidation of all predictions from each overlapping crop, followed by intelligent suppression of duplicates. <br/>Upon completion, you receive the result, from which you can extract the desired outcome of frame processing.
52
+
To carry out patch-based inference of YOLO models using our library, you need to follow a sequential procedure. First, you create an instance of the `MakeCropsDetectThem` class, providing all desired parameters related to YOLO inference and the patch segmentation principle.<br/> Subsequently, you pass the obtained object of this class to `CombineDetections`, which facilitates the consolidation of all predictions from each overlapping crop, followed by intelligent suppression of duplicates. <br/>Upon completion, you receive the result, from which you can extract the desired outcome of frame processing.
52
53
53
54
The output obtained from the process includes several attributes that can be leveraged for further analysis or visualization:
0 commit comments