jhansireddy / AndroidScannerDemo

ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.
MIT License
1.07k stars 472 forks source link

Camera Code Does not Work #144

Open HenryTH45 opened 3 years ago

HenryTH45 commented 3 years ago

The Document Selection Works Fine however When i Open my Camera and Take a Picture it Sends me back to pick_image_fragment.xml File without the Image i just took.

akashk2512 commented 3 years ago

@HenryTH45 You can solve this by using the below steps.

ashwinjawale24 commented 3 years ago

@HenryTH45 remove your app manifest file provider , then it will work, scan library manifest have its own file provider, mine is working

dhairyashah1 commented 3 years ago

@ashwinjawale24 do u mean to delete the base app's AndroidManifest.xml file? If did so the app runs into errors. Could u specify exactly what to do or send your repo link?

ashwinjawale24 commented 3 years ago

@dhairyashah1 No not the manifest file but, if you have file provider in your manifest remove it. because scanLibrary Module manifest has its own file provider. camera will work then