vinitraj10 / react-native-camerax

A react-native UI component for new jetpack camerax library (beta)
MIT License
3 stars 0 forks source link

Any plan to push code any time? Would like to contribute. #1

Open Balasnest opened 4 years ago

Balasnest commented 4 years ago

Any plan to push code any time? I would like to contribute. Thanks!

Balasnest commented 3 years ago

@vinitraj10 Hi I am also developing similar one. But facing issue in getting camera preview. Its working fine in activity. Could you please help me out.

https://stackoverflow.com/questions/64789211/camerax-view-in-react-native-unable-to-configure-camera

vinitraj10 commented 3 years ago

Hi @Balasnest , sorry for the late reply, was not finding any time to work on this, I remember was facing some hard time inflating camera-x as a react-native component, so left working on it, but would probably pick it up once again, whats up with u did you find any success with it yet??

Balasnest commented 3 years ago

@vinitraj10 Yeah. I had developed with cameraX + openCV through bridging after a long-pending issue on the preview (above one). But later at the final stage, faced one major issue on FPS drops in most of the android devices. It was giving in the range of 5-15 fps which is too low for the analysis.

So please do check for benchmark results regarding this in my SO post before you start work on this.

As of now, I moved into native for android due to this perf issue. I will start the same for iOS as well. Let see how the benchmark comes for iPhone.

Also, the entire OpenCV size is 9MB for android (in release build). It's huge if we are consuming only 3% from SDK. (eg: highgui and mat module).

Let me know your experience and thoughts.

mamahd12 commented 7 months ago

Hi @Balasnest, I am deleloping a react native view using native camera android X view for realtime face detection, and I can not show Preview camera, can you give me a guideline for this?