3.4.0 (2023-10-16)
Woohoo, another VisionCamera release! ✨ Highlights:
-
VisionCamera 3.4.0 features an all new atomic locking
Core/
implementation on iOS.
Previously, the Camera Device would be locked, configured, and unlocked again for every prop you set (device
,format
,hdr
,fps
, ...), which would obviously cost a lot of time. 👎
Now, VisionCamera batches all of those calls under a singleconfigure(...)
call, effectively locking the Camera Device only once, which makes VisionCamera up 7x faster! 🥳 (see #1975 for more details)VisionCamera_V3_speedup.mov
-
On Android, the performance of the
CodeScanner
has also been improved by a lot and a stalling issue has been fixed. -
Additionally, 3.4.0 fixes a few other small issues related to torch, orientation, memory cleaning and navigation.
Important
3.4.0 now requires 🔧 Xcode 15 or higher.
✨ Features
- New atomic
Core/
library 🥳 (#1975) (cd0b413) - Activate Torch Mode on Android (#1932) (9d71990)
- Extract CodeScannerPipeline & fix stalling (#1971) (915ef33)
- Use correct photo and video format dimensions on iOS (#1929) (6e72781)
🐛 Bug Fixes
- Fix
CodeScanner
stalling on Android 🥳 (#2009) (e8ae11e) - Also close
outputs
indestroy()
(10a44d5) - Always call
CaptureSession
fully synchronously under Mutex (#1972) (18b30cd) - Catch errors in
CaptureSession
configuration (18e6926) - Close
CameraSession
inonDetachedFromWindow()
(#1962) (02726d4) - Close previous Outputs to free memory (727fb39)
- Fix
focus()
on iOS (#1943) (a4448c3) - Fix basic Orientation on iOS (#2000) (ea98112)
- Fix FpsGraph not updating (315fcb6)
- Fix PreviewView overflowing on Android (#2001) (fab5bdc)
- Fix torch not turning off after it has been enabled (#1997) (62ca957)
- Remove Frame Processor when Camera unmounts (#1960) (d51ac15)
- Run CodeScanner on default queue, fix stalling (#2002) (e8df714)