WebsiteBeaver / android-document-scanner

59 stars 47 forks source link

Force rear camera position #31

Closed hakanpinar closed 1 year ago

hakanpinar commented 1 year ago

Is it possible to provide a property that specifies the camera's position to be used for scanning the documents?

Something like:

// open camera
startForResult.launch(takePictureIntent)

To

val takePictureIntent = Intent(MediaStore.ACTION_IMAGE_CAPTURE)
startActivityForResult(takePictureIntent, REQUEST_CODE_CAMERA)
dmarcs commented 1 year ago

I think for now I prefer this to not be an option.