From 68529ffca91991d723e9d1d4d9e894094829b2af Mon Sep 17 00:00:00 2001 From: Bartosz Hanc Date: Thu, 14 May 2026 16:42:32 +0200 Subject: [PATCH 1/2] docs: add API references for selectByPoint, selectByBox, and selectByText in useInstanceSegmentation.md --- .../03-hooks/02-computer-vision/useInstanceSegmentation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/03-hooks/02-computer-vision/useInstanceSegmentation.md b/docs/docs/03-hooks/02-computer-vision/useInstanceSegmentation.md index 6835262a6a..129316cfee 100644 --- a/docs/docs/03-hooks/02-computer-vision/useInstanceSegmentation.md +++ b/docs/docs/03-hooks/02-computer-vision/useInstanceSegmentation.md @@ -179,6 +179,12 @@ try { } ``` +For detailed API Reference for `selectByPoint`, `selectByBox`, and `selectByText` see their respective documentation pages: + +- [`selectByPoint` API Reference](../../06-api-reference/functions/selectByPoint.md) +- [`selectByBox` API Reference](../../06-api-reference/functions/selectByBox.md) +- [`selectByText` API Reference](../../06-api-reference/functions/selectByText.md) + :::tip Use FastSAM-S for faster performance on simple images with non-overlapping instances and FastSAM-X for better accuracy on complex scenes with many From 59f0f29f640798455058d97ac6ad94b4a0ca6e6f Mon Sep 17 00:00:00 2001 From: Bartosz Hanc Date: Mon, 18 May 2026 12:13:12 +0200 Subject: [PATCH 2/2] docs: update inference time and memory usage for FastSAM models --- docs/docs/02-benchmarks/inference-time.md | 4 ++-- docs/docs/02-benchmarks/memory-usage.md | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/docs/02-benchmarks/inference-time.md b/docs/docs/02-benchmarks/inference-time.md index 8ef213238f..24923bffde 100644 --- a/docs/docs/02-benchmarks/inference-time.md +++ b/docs/docs/02-benchmarks/inference-time.md @@ -243,8 +243,8 @@ Nano Seg uses a fixed resolution of 312×312. | YOLO26L_SEG (XNNPACK) | 680 | 608 | 582 | | YOLO26X_SEG (XNNPACK) | 1410 | 1338 | 1191 | | RF_DETR_NANO_SEG (XNNPACK) | 549 | 330 | 428 | -| FASTSAM_S (XNNPACK) | - | 30 | 286 | -| FASTSAM_X (XNNPACK) | - | 2520 | 1993 | +| FASTSAM_S (XNNPACK) | 184 | 30 | 286 | +| FASTSAM_X (XNNPACK) | 1886 | 2520 | 1993 | | FASTSAM_S (Core ML) | - | 51 | - | | FASTSAM_X (Core ML) | - | 72 | - | diff --git a/docs/docs/02-benchmarks/memory-usage.md b/docs/docs/02-benchmarks/memory-usage.md index 86f13dcb8b..c685955061 100644 --- a/docs/docs/02-benchmarks/memory-usage.md +++ b/docs/docs/02-benchmarks/memory-usage.md @@ -130,7 +130,7 @@ with higher resolutions. ## Instance Segmentation :::note -Data presented in the following sections is based on inference with forward_640 method. +Data presented in the following sections is based on inference with 640x640 input. ::: | Model / Device | iPhone 17 Pro [MB] | OnePlus 12 [MB] | @@ -141,6 +141,10 @@ Data presented in the following sections is based on inference with forward_640 | YOLO26L_SEG (XNNPACK) | 1024 | 680 | | YOLO26X_SEG (XNNPACK) | 1450 | 1410 | | RF_DETR_NANO_SEG (XNNPACK) | 603 | 620 | +| FASTSAM_S (XNNPACK FP32) | 535 | 567 | +| FASTSAM_X (XNNPACK FP32) | 760 | 792 | +| FASTSAM_S (Core ML FP16) | 523 | - | +| FASTSAM_X (Core ML FP16) | 684 | - | ## Text to Image