I am using the flutter package document_scanner_flutter 0.2.5. I would like to edit the "Convert to Black & White" function - it is far to aggressive, any shadow on document is converted to all black. I can not seem to find this exact function with in the package.
I would like to update the "B & W" function with code below (But I can not seem to find it).
Any help you could provide in decreasing the exposure or aggressive shadow conversion in B & W - would be greatly appreciated.
I am using the flutter package document_scanner_flutter 0.2.5. I would like to edit the "Convert to Black & White" function - it is far to aggressive, any shadow on document is converted to all black. I can not seem to find this exact function with in the package. I would like to update the "B & W" function with code below (But I can not seem to find it).
Any help you could provide in decreasing the exposure or aggressive shadow conversion in B & W - would be greatly appreciated.