HarvestProfit / react-native-rectangle-scanner

React Native Document/Rectangle Scanner
MIT License
199 stars 62 forks source link

What about this project for android? #83

Closed erennyuksell closed 3 months ago

erennyuksell commented 3 years ago

https://github.com/kuamanet/android-document-scanner can we implement this for android?

humphreyja commented 3 years ago

Nice find @Frekansapp. This file https://github.com/kuamanet/android-document-scanner/blob/master/app/src/main/java/net/kuama/documentscanner/domain/FindPaperSheet.kt might be of some use but I do think that it wouldn't improve detection quality (we'd need a Hough line detection algorithm to actually improve that).

That can certainly be a great resource for improving this package though!

erennyuksell commented 3 years ago

Hi, @humphreyja after your message i done some research and found some code examples maybe they can help. If did not because i don't understand native code.

https://github.com/Aniruddha-Tapas/Document-Scanner/blob/master/app/src/main/java/com/myapps/documentscanner/ImageProcessor.java

https://github.com/jhansireddy/AndroidScannerDemo

https://github.com/beast/react-native-scan-doc/blob/master/android/src/main/java/my/fin/RNScanDocModule.java

https://github.com/ubidreams/react-native-document-scanner

https://github.com/fixerteam/react-native-scanner

humphreyja commented 3 months ago

Closing this due to inactivity. Currently works with Android, did update openCV in #115 which possibly may improve the detection.