Coder Social home page Coder Social logo

react-native-camera-v4's Introduction

๐Ÿšง ๐Ÿšง ๐Ÿšง

react-native-camera is deprecated.

Due to the lack of maintainers and increased code complexity, react-native-camera is now deprecated in favor of react-native-vision-camera.

VisionCamera offers new APIs, better performance, improved stability and more features. It is actively maintained by @mrousavy and used in many production apps.

You can support the development of VisionCamera by sponsoring @mrousavy on GitHub.



You can find the old code of react-native-camera here.

See this issue for more details.

react-native-camera-v4's People

Contributors

marcoscabbiolo avatar mateusandrade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

react-native-camera-v4's Issues

CameraX

CameraX is the recommended by Google and is the best documented Camera API.

It has the same API level support as the Camera2 API so Camera1 should still be around. Some features may be lacking and we would have to cover them with the Camera2 API, some research is needed in this regard.

Right now Camera 1 is the default and Camera2 is opt-in. We will move to CameraX as the default, Camera2 as the fallback for some features (might not even be necessary, research needed) and Camera1 as the legacy version.

barCodeTypes not working on iOs

In v3 the barCodeTypes are not correctly typed, it is not supporting the detected types on iOs.

For example, if I would like to restrict the valid codes to only QR, the TS typings say to pass:

barCodeTypes: ['qr']

but it does not work on iOs, I need to pass:

barCodeTypes: ['org.iso.QRCode']

I do not know if makes sense to fix this on v3 or just see this looking forward.

Docs: https://developer.apple.com/documentation/avfoundation/avmetadatamachinereadablecodeobject/machine-readable_object_types

Research end-to-end testing and CD

The example apps can be used for end to end testing and with the help of a provider we can automate the process. Detox comes up as the go-to framework for e2e testing.

Some possible providers are: CircleCI, GitHub Actions, AWS Device Farm, Bitrise

E2E testing the camera will be a serious challenge.

Accessing live preview pixels (without preview)

I have posted on the main react-native-camera repo but this seems newer:

Is there any way to get the image data (i.e. pixel array) from the current live preview? I don't need to show the preview, just get the pixels.

If there was a community chat (the one on expo seems not open anymore), I wouldn't mind to help develop this feature (on the native side) so that people can access the raw frames for their own use (e.g. AR projects).

add readme

it would be cool to have a readme to tell what this project is all about

it also good to have a list of issues that needs to be tackled

Swift Rewrite

Rewrite the native code for core and barcode in Swift.
Exclude any unused code (face detection, etc.), clean up the surface API for ease of usage and review portability with the Android API.

Swiftify can help a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.