0

I have an issue with photos having black areas in react native app. When the user takes a photo, it sometimes appears to have black areas which I need to prevent.

What I want is to recognize that the photo has black parts, so I can discard the photo and ask users to take another photo. Is there anyway to achieve that with a native JavaScript API or any external library?

I expect photos with dark parts to be detected when the user takes a photo.

nastassiar
  • 1,545
  • 2
  • 24
  • 43

0 Answers0