Skip to content

v0.4.0

Choose a tag to compare

@sagawrr sagawrr released this 05 Aug 15:59
· 10 commits to main since this release
v0.4.0
8e1bf8a

Breaking

  • Rename ImageFormat → VisionImageFormat and Rect → VisionRect (same shapes). Avoids iOS header name clashes with other Nitro libraries.

Fixed

  • Android: removeBackground works on first use. Wait for the model with areModulesAvailable, then rebuild the segmenter if it was created too early.
  • Require react-native-nitro-modules >=0.36.0 (tested with 0.36.5).
  • Validate numeric options (maxPixels, maxResults, minConfidence, and related). Reject NaN / Infinity. Clamp out-of-range values.