๐ธ A powerful, high-performance React Native Camera library.
androidPreviewViewType
prop (dd56925)cancelRecording
(f51921b)onShutter
event (dd49365)takeSnapshot()
to PreviewView
(e17eb50)ImageAnalysis
) (08d86d4)VideoPipeline
(00155c9)Precapture timed out after 5 seconds
error (#2586) (369cb4a)VisionCameraScheduler::trigger
by locking mutex in dispatchAsync
(#2591) (55992bb)takeSnaphot
on iOS (a638b66)ImageWriter
(f36d304)qualityBalance
(e135b3b)measure
and layout
manually in PreviewView (#2588) (7ac6f4d)0x0
as a fallback Size if SENSOR_INFO_PHYSICAL_SIZE
is null (e.g. on USB cameras) (#2608) (e8dd1e0)cancelRecording
(677c01b)onShutter
event (edc001a)qualityBalance
(0b11ab2)takeSnapshot()
to PreviewView
(da6a818)ImageAnalysis
) (416f00f)VideoPipeline
(10e7708)Precapture timed out after 5 seconds
error (#2586) (369cb4a)SENSOR_INFO_PHYSICAL_SIZE
possibly being null on usb devices (d890230)VisionCameraScheduler::trigger
by locking mutex in dispatchAsync
(#2591) (55992bb)takeSnaphot
on iOS (282f105)measure
and layout
manually in PreviewView (#2588) (7ac6f4d)'tis a big one ๐ณ - VisionCamera 3.9.0 brings A TON of exciting new features :
๐ focus(...)
for Android ๐
๐ flash
for Android ๐ธ
๐ enableFpsGraph
for Android ๐
๐ enableGpuBuffers
for Android ๐ฅ
๐ A fully rewritten CameraCaptureSession
to fix various blackscreen issues on Android ๐
๐ A fully rewritten PreviewView
to fix stretching issues on Android ๐ผ๏ธ
๐ AE/AF/AWB pre-capture focus for better quality photos on Android ๐ท
๐ Faster photo capture with qualityPrioritization
options (speed
, balanced
, quality
) ๐
๐ Threading and Concurrency optimizations for faster Camera startup and switching speed ๐งต
๐ Various issues fixed (maxImages have already been acquired
, NullPointerException
, Invalid PixelFormat
, CameraDevice was already closed
, ...) ๐ช
Full changelog:
focus()
on Android (#2523) (fb1d82a)CaptureSession
to avoid any blackscreen issues or errors (#2494) (5acc64e)enableFpsGraph
) (#2460) (9089014)qualityPrioritization
flags to shoot photos faster (*_MODE_FAST) (#2558) (37398cc)enableGpuBuffers
property (#2557) (1a0bd8f), closes #2555
Frame
properly (#2501) (d8c95c9)context
to VisionCameraProxy
(#2545) (24f43ef)org.jetbrains.kotlinx:kotlinx-coroutines-android
from 1.5.2 to 1.7.3 (#2467) (fb96d00)yuv
by default if no pixelFormat
is set (#2441) (11eb1f6)cameraQueue
instead of yet another Thread (#2459) (8c5b603)ImageReader
s when possible (#2488) (f896831)zoom
not resetting in example app (395ee7a)insufficient-storage
errors (#2422) (b1fa065)processNestedWorklets
to fix runAsync
in example (#2449) (587f2b1)maxImages have been acquired
error in Frame Processor (#2430) (7e2889c)NullPointerException
in initFrameProcessorPlugin
if plugin is not found (#2454) (02bc8a9)NullPointerException
in VideoPipeline.removeRecordingSessionOutputSurface
(#2453) (bdbcf05)pixelFormat
being native
when FP is set (#2450) (d64fc08)priority
being ignored in some Format filters (#2456) (d9a3011)SharedArray
JSI constructor allocating a new array instead of wrapping (#2444) (c911d25)Unable to retrieve jni environment. Is the thread attached?
errors by using jni::ThreadScope
(#2457) (33e2adc)toArrayBuffer()
by properly acquiring a reference on AHardwareBuffer*
(#2490) (ae75e22)HardwareBuffer
usage flags before setting them (#2488) (f896831)synchronized
keyword (f400487)ThreadScope::WithClassLoader
to also load custom JNI Types (#2461) (9e12975)CaptureRequest
(#2571) (b105de0)RCTEventEmitter
with UIManager
(#2569) (57c6431)minFocusDistance
being NaN
on some emulators (e95264f)Templates
(#2499) (cd5fdd4)java.lang.NoSuchMethodError
in FrameProcessor
initializer (#2546) (1011c3f)USAGE_GPU_SAMPLED_IMAGE
ImageReader) (#2555) (ad33dd9)acquireLatestImage
instead of acquireNextImage
for CodeScanner (#2549) (ec7ce36)PreviewView
stretching on Android (now finally a real fix) (#2564) (5df5ca9)PreviewView
(#2565) (83c0184)Session has been closed; further changes are illegal
error by using tryStopRepeating()
(#2568) (129e21f)videoHeight
/videoWidth
(97168c6)react-native-vision-camera-face-detector
to the FP plugin list (#2534) (0ed3aed)context
to VisionCameraProxy
(#2545) (24f43ef)enableGpuBuffers
property (#2557) (1a0bd8f), closes #2555
qualityPrioritization
flags to shoot photos faster (*_MODE_FAST) (#2558) (37398cc)java.lang.NoSuchMethodError
in FrameProcessor
initializer (#2546) (1011c3f)USAGE_GPU_SAMPLED_IMAGE
ImageReader) (#2555) (ad33dd9)acquireLatestImage
instead of acquireNextImage
for CodeScanner (#2549) (ec7ce36)