I am new to react-native. I tried many camera packages (react-native-camera, react-native-image-crop-picker) to create a camera in react-native app.
But non of them have all the sections as I checked. I want these options to be there in the camera,
- Grid with a pointer which identify and point the nose
- A warning when the distance is too long (like more than 2 meters)
- And check the lightning and show warning or infor message if the light is low or too high
Can anyone suggest any npm packages which have all these and if there is any sample code can provide that too?
CodePudding user response:
I think this functionality you have to do in native code(android and swift), because react native camera is a awesome library in RN if this does not perform this functionality then i think there will be no other library available which perform this, so try in native.
CodePudding user response:
React native firebase had ml vision but it's removed from firebase SDK as per the latest documentation but there are other ways as well.
-
You can try google detect faces API and from response use nose position if detected and draw the overlay on image using positions you got from response.
-
This package bring back face detection feature from ml-vision package. Similarly it will give nose position.