๐ธ A powerful, high-performance React Native Camera library.
MIT License
Bot releases are hidden (Show)
Published by mrousavy 8 months ago
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)Published by mrousavy 8 months ago
'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)Published by mrousavy 8 months ago
Published by mrousavy 8 months ago
Published by mrousavy 8 months ago
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)Published by mrousavy 8 months ago
Published by mrousavy 9 months ago
In this release I finally fixed the PreviewView stretching issue!! ๐๐ฅณ๐
Published by mrousavy 9 months ago
CaptureSession
to avoid any blackscreen issues or errors (#2494) (5acc64e)Frame
properly (#2501) (d8c95c9)minFocusDistance
being NaN
on some emulators (e95264f)Templates
(#2499) (cd5fdd4)Published by mrousavy 9 months ago
ImageReader
s when possible (#2488) (f896831)enableFpsGraph
) (#2460) (9089014)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)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)Published by mrousavy 9 months ago
SharedArray.getSize()
(#2406) (2f21609)FrameProcessorPlugin
TS type (03ee0a2)ArrayBuffer
instead of TypedArray
(#2408) (ba1d7ee)frame.toArrayBuffer()
due to the resulting HardwareBuffer
being closed (#2408) (ba1d7ee)JSITypedArray.h
(#2396) (60f8a8c)Frame
properties readonly in Types (#2397) (e825e21)MediaActionSound
after playing (#2390) (bdad4e1)Frame
(#2400) (773f278)Published by mrousavy 9 months ago
Breaking change: Native Frame Processor Plugin constructors now take an additional argument: VisionCameraProxy
. This can be used to create instances of SharedArray
, see #2383 for more information.
minFocusDistance
prop to CameraDevice
(#2392) (58ef21e)SharedArray
type to Frame Processor Plugins (#2383) (29fe98c)CamcorderProfile
out of range error (#2389) (17ae5fa)Published by mrousavy 9 months ago
onInitialized
when isActive=false
(a8b85a3), closes /github.com/mrousavy/react-native-vision-camera/issues/2364#issuecomment-1883201425
isActive
is set to false
(#2361) (2b10622)Published by mrousavy 9 months ago
Published by mrousavy 10 months ago
Quite a big release again! ๐ฅณ
Notable changes:
CodeScanner
API, make sure to use the new VisionCamera_enableCodeScanner
flag for Android which makes sure the MLKit model always gets bundled! (see the docs) ๐ต๏ธenableCodeScanner
prop to build.gradle
to make sure CodeScanner
always works (#2355) (5c99728)enableCodeScanner
expo config-plugin install the native dependency (#2348) (a8c16e3)Frame
thread-safe and improve error messages (#2327) (895f3ec)format/
errors: invalid-video-stabilization-mode
and format-required
(#2354) (cc60ad2)configure { ... }
mechanism could drop important updates (#2339) (0d21bc3)CameraDevice
when isActive=false
(#2339) (0d21bc3)CameraSession
setup (#2339) (0d21bc3)console.log(frame)
(#2335) (3dc7511)enableZoomGesture
zoom logic (#2329) (30c4f9e)fps
, hdr
, torch
, ...) instead of silently crashing (#2354) (cc60ad2)getCameraPermission
and getMicrophonePermission
synchronous (#2302) (591cf30)Published by mrousavy 10 months ago
Published by mrousavy 10 months ago
Published by mrousavy 10 months ago
onStarted
and onStopped
events (#2273) (4ee52d6)iso
(#2234) (52f78a1)NoSuchElementException
in getRecommendedBitRate
(#2266) (a612eb9)Only the original thread that created a view hierarchy can touch it's views
error (#2278) (2630650)