Skip to content

fix: Add fixes in Instance Segmentation#1007

Merged
msluszniak merged 6 commits intomainfrom
@ms/fixes-in-instance-segmentation
Mar 25, 2026
Merged

fix: Add fixes in Instance Segmentation#1007
msluszniak merged 6 commits intomainfrom
@ms/fixes-in-instance-segmentation

Conversation

@msluszniak
Copy link
Copy Markdown
Member

@msluszniak msluszniak commented Mar 25, 2026

Description

This PR adds spotted fixes to semantic segmentation.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

  • Check than changes to documentations are aligned with TS implementation.

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@msluszniak msluszniak self-assigned this Mar 25, 2026
@msluszniak msluszniak added the bug fix PRs that are fixing bugs label Mar 25, 2026
@msluszniak msluszniak requested review from chmjkb and mkopcins March 25, 2026 14:08
msluszniak and others added 2 commits March 25, 2026 15:10
Co-authored-by: Mateusz Kopcinski <120639731+mkopcins@users.noreply.github.com>
* @typeParam C - A {@link InstanceSegmentationModelSources} config specifying which model to load.
* @param props - Configuration object containing `model` config and optional `preventLoad` flag.
* @returns An object with model state (`error`, `isReady`, `isGenerating`, `downloadProgress`) and a typed `forward` function.
* @returns An object with model state (`error`, `isReady`, `isGenerating`, `downloadProgress`), a typed `forward` function, `getAvailableInputSizes` helper, and a `runOnFrame` worklet for VisionCamera integration.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im fine with this to unblock this PR but I think this comment doesn't add much value - it's just restating what the code already expresses.

@msluszniak msluszniak merged commit d0d3e5b into main Mar 25, 2026
5 checks passed
@msluszniak msluszniak deleted the @ms/fixes-in-instance-segmentation branch March 25, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix PRs that are fixing bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants