Repository navigation
Releases
Releases · sagawrr/react-native-nitro-vision-kit
v0.4.1
Fixed
- Android: numeric options reject
NaN/Infinity. Clamp out-of-range values. Non-finite JPEG quality saves at 90. - Android:
analyzeImagecopies the bitmap before classify and OCR run together. analyzeImage:removeBackground.maxPixelscaps segmentation when labels or OCR need a larger decode.- iOS: out-of-range
minConfidenceclamps to 0…1.
v0.4.0
Breaking
- Rename
ImageFormat→VisionImageFormatandRect→VisionRect(same shapes). Avoids iOS header name clashes with other Nitro libraries.
Fixed
- Android:
removeBackgroundworks on first use. Wait for the model withareModulesAvailable, then rebuild the segmenter if it was created too early. - Require
react-native-nitro-modules>=0.36.0(tested with0.36.5). - Validate numeric options (
maxPixels,maxResults,minConfidence, and related). RejectNaN/Infinity. Clamp out-of-range values.
v0.3.0
Features
- OCR:
readText+analyzeImage.readText - iOS 18+: Vision
RecognizeTextRequest(no legacy path) - Android: ML Kit v2 Latin / Chinese / Japanese / Korean / Devanagari (Play Services)
- Android:
languages→ script models; non-Latin models also read Latin; multi-script parallel merge - Capabilities:
supportsTextRecognition,supportedTextLanguages
Fixes
- Android: recycle intermediate bitmaps in ImageDecoder / ML Kit input path
- iOS: prefetch OCR languages off the JS thread; fill sync if first capabilities read races warm-up
- Compose: run classify + OCR in parallel after segment
- Android: ModuleInstallClient for Lift/OCR download; friendly errors; offline first-use fails fast
- Android: Lift/OCR model prefetch off the JS thread; await subject-segmentation
getInitTask - HybridObject results: reject/throw after
dispose()on export /blockAt - Android: cap image-labeler cache (LRU); drop redundant
image_labelingPlay Services meta-data
v0.2.2
v0.2.1
v0.1.1
v0.1.0
What's Changed
- Bump the react-native group with 3 updates by @dependabot[bot] in #1
New Contributors
- @dependabot[bot] made their first contribution in #1
Full Changelog: https://github.com/sagawrr/react-native-nitro-vision-kit/commits/v0.1.0