Skip to content

Changelog

v0.5.0 Latest Release
2026-11-27
  • FEAT Added structured feline computer vision types (CatDetectionMetadata, CatBreedCandidate, CatFACSMetrics, CatCoatSwatch, CatSegmentationSummary) to @masumdev/rn-camera-ai.
  • FEAT Extended worklet-side <DetectionOverlay /> wireframe rendering to automatically detect 48-point CatFLW feline facial landmarks and draw ear, almond-eye, nose, and muzzle contours.
  • FEAT Published createTFLiteCatAnalyzer() and worklet catParser utilities in @masumdev/rn-camera-ai-tflite supporting staggered 6-model execution: COCO SSD cat gating with Close-Up Fallback, Dual 67+12 EMA Breed Ensemble, 48-pt CatFLW Mood, DeepLabV3 class-8 segmentation + coat swatches, and 1-Tap 96-D Cat ID.
  • FEAT Added interactive Cat AI Studio (/cat-scanner) playground screen with Passport capture & share in apps/expo-native themed by @masumdev/rn-ui.
  • FIX Fixed critical npm packaging & peer dependency conflicts across @masumdev/rn-camera-ai (v0.5.0), @masumdev/rn-camera-ai-tflite (v0.2.0), and @masumdev/rn-camera-ai-mlkit (v0.1.1): removed leaked workspace:* from adapter dependencies, relaxed react-native-worklets to * and react-native-nitro-modules to >=0.37.0 for Reanimated 4.8+ / Worklets 0.14+ compatibility, and corrected peerDependenciesMeta required flags.
v0.4.0 Feature Release
2026-11-23
  • FEAT Added optional Design System Theme Token Binding (CameraAITheme, ThemeColorsLike, and DEFAULT_CAMERA_THEME) with zero forced dependencies on any external UI kit.
  • FEAT Added createCameraAIThemeFromTokens() adapter utility for auto-mapping theme palettes (including @masumdev/rn-ui design tokens) into strongly-typed camera overlay themes.
  • FEAT Introduced <CameraAIThemeProvider /> and useCameraAITheme() React Context for seamless global camera overlay styling.
  • FEAT Integrated dynamic theme recoloring directly into background frame worklet configurations and all overlay components (DetectionOverlay, DocumentGuideOverlay, ScannerAnimationOverlay, PermissionFallbackView).
v0.3.0 Feature Release
2026-11-22
  • FIX Added avoidLabelOverlap collision suppression to <DetectionOverlay />, configurable photoResolution/photoQualityPrioritization props on <CameraAI />, and auto-fit paper zoom, clean highlights, tap-to-inspect line banners, and a full-text reader overlay in /ocr-scanner so distant document scans remain crisp and readable.
  • FIX Hardened YUV document boundary detector (analyzeFrameDocumentWorklet) with 3-point median cell sampling, near-black mount exclusion, strict 4-connected flood-fill, and conditional morphological opening so top corners lock cleanly onto tilted sheets without leaking across mattress seams or tiles.
  • FIX Migrated Reanimated 4 dynamic constants inside <DocumentGuideOverlay /> and <ScannerAnimationOverlay /> to synced SharedValues, eliminating all native useAnimatedStyle dependency-array warnings.
v0.2.0 Feature Release
2026-11-22
  • FEAT Added 468-point 3D Face Mesh decoding and wireframe rendering (anatomical contours, eyebrows, eyes, lips, jawline, and triangle tesselation web) using MediaPipe face_landmark.tflite.
  • FEAT Added MobileFaceNet 112×112 biometric face recognition with 192-dimensional embeddings, L2-normalization, and real-time Cosine Similarity identity matching.
  • FEAT Implemented 1-tap on-device face enrollment (enrollLastDetectedFace, enrollFace, removeEnrolledFace, getEnrolledFaces).
  • FEAT Published new @masumdev/rn-camera-ai-mlkit Google ML Kit v2 OCR adapter (createMLKitTextRecognizer, parseMLKitTextResult, evaluateDocumentFraming, recognizeTextFromUri, classifyOcrEntity) and single-capture Smart Document Scanner (/ocr-scanner).
  • FEAT Added paper-fitting 4-point quad <DocumentGuideOverlay /> (with seeded YUV flood-fill paper detector createDocumentAlignmentProcessor and independent skewed corners DocumentQuad) plus capture-triggered Reanimated 4 <ScannerAnimationOverlay /> with ReduceMotion.System support, full UI theme presets, and headless custom slot renderers (renderDocumentGuide, renderDocumentCorner, renderDocumentStatus, renderLaser).
  • FEAT Added Hybrid Active + Passive Face Liveness & Anti-Spoofing engine (computeFaceLivenessMetrics, FaceLivenessMetrics): Eye Aspect Ratio (EAR) blink detection, Mouth Aspect Ratio (MAR) & smile detection, 3D Head Pose (Yaw/Pitch/Roll), 3D Z-depth relief verification, anti-Moiré/glare texture analysis, and 4-step e-KYC challenge screen (/liveness-detection).
  • PERF Architected projectDetectionsWorklet: 100% of screen coordinate projections, aspect ratio letterboxing, and 178-mesh-line trigonometry (Math.atan2, Math.sqrt) now execute on the Camera Worklet Thread with 0% JS-thread overhead and zero Reanimated mapper queue lag.
  • FEAT Full UI Customization: added declarative overlayTheme with boxVariant (solid, corners scanner brackets, dashed), labelPosition, and custom slot renderers (renderBox, renderLabel, renderLandmarkDot).
  • FEAT Introduced apps/expo-native Expo development build playground with Feature Menu Hub, Object Detection, and Face Recognition testing screens.
v0.1.0 Initial Beta
2026-11-21
  • FEAT Migrated CameraAI to React Native Vision Camera v5 Nitro (useFrameOutput, outputs, constraints, and automatic frame.dispose()).
  • FEAT Adopted react-native-worklets and react-native-vision-camera-worklets with 3-tier processor dispatch (processFrameWorklet, worklet processFrame, and scheduleOnRN fallback).
  • FEAT Added Vision Camera v5 HybridFrameConverter + react-native-nitro-image preprocessing with RGB uint8 conversion and deterministic intermediate image disposal.
  • FEAT Updated parseDetectionOutputs for react-native-fast-tflite v3 ArrayBuffer tensor outputs and strict confidenceThreshold > 1 / Infinity rejection.
  • FEAT Published initial core preview, DetectionOverlay, normalized math engine, and 4-tensor TFLite adapter.