Skip to content

Conversation

@chmjkb
Copy link
Collaborator

@chmjkb chmjkb commented Feb 11, 2026

Description

This PR changes the param name of from resize to resizeToInput in image segmentation APIs. It also defaults to true now, as the performance impact is acceptable.

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

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

Copy link
Member

@msluszniak msluszniak left a comment

Choose a reason for hiding this comment

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

Is computer vision - image segmentation app works ok now?

chmjkb and others added 2 commits February 11, 2026 10:30
…mageSegmentationModule.ts

Co-authored-by: Mateusz Sluszniak <56299341+msluszniak@users.noreply.github.com>
@chmjkb chmjkb requested a review from msluszniak February 11, 2026 10:22
@chmjkb chmjkb linked an issue Feb 11, 2026 that may be closed by this pull request
@msluszniak msluszniak merged commit d6a4ece into main Feb 11, 2026
5 checks passed
@msluszniak msluszniak deleted the @chmjkb/image-segmentation-returns-og-size branch February 11, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return the result of segmentation in the original size by default

2 participants