andreluisjunqueira / react-native-document-scanner-android

Document scanner android, feature live detection, auto-capture, perspective correction :vibration_mode: :camera: -- :trophy:
MIT License
84 stars 32 forks source link

Project status #5

Open zedtux opened 6 years ago

zedtux commented 6 years ago

In my React Native app, I'm using the awesome react-native-document-scanner library to scan documents for iOS and I'm now looking for an Android solution (As react-native-document-scanner is laking of an Android support).

The README.md file of this project shows WORK IN PROGRESS NOT WORKING YET at the very top of the file, but I can't find any other information if nor when this lib will be production ready.

Could you please give a status update of this project ? Also could you please add a video or screenshot?

andrejunqueira1 commented 6 years ago

Hi @zedtux, this library is working but is not so stable to use in production, currently i'm not having time enough to work on it, but you can try to use, follow the instructions on readme. Thanks

julianklumpers commented 6 years ago

Hi @andrejunqueira1,

first of all thank you for taking time to make this. i did everything what in the readme.md but when i install the app on a samsung G9+ and open the camera component nothing happens... could update the readme.md?

andrejunqueira1 commented 6 years ago

Hi @julianklumpers , i will take a time to update the readme.md as soon as possible . Are you getting some error ?

julianklumpers commented 6 years ago

Hi @andrejunqueira1

i followed the installation steps in the readme and was able to successfully build for android and run the app on a psychical device. But when i import he module import Scanner from 'react-native-documentscanner-android' and use it like below nothing happens when i load the app. no camera ui or message in the console in debug mode.

render() {
    return (
      <View style={{ flex: 1, backgroundColor: '#fff' }}>
        <Scanner
          onPictureTaken={data => {
            console.log(data.path)
          }}
          enableTorch={false}
          detectionCountBeforeCapture={15}
        />
      </View>
    )
  }
KeiShadow commented 6 years ago

@andrejunqueira1 Hello, i just downloaded your project, thanks a lot. Im working on improvment of your detector, now im able to detect all shape :D not only document, and draw it. When it will be done, i will make changelog and send you readme.

KeiShadow commented 6 years ago

@andrejunqueira1 I have a problem with camera preview size, because when you defined a style height and width on document scanner component in react native project the preview of camera is broken.

andrejunqueira1 commented 6 years ago

@KeiShadow Thanks to contribute with this project, for while i'm not having time to work on it, but as soon as possible i'll come back to do some enhancements, and feel free to make any improvement that you want thanks in advanced !

KeiShadow commented 6 years ago

@andrejunqueira1 Thank you very much, I just realized you need to set height and width of component to Windows dimensions :D now I don't have much time too for making on it but I already compile project with this module.

SwagatRanjit84 commented 5 years ago

@KeiShadow @andrejunqueira1 Can you share the code of App.js?

andreluisjunqueira commented 4 years ago

Sorry guys, but unfortunatly i'm having no time to solve and update this project. Please if you guys could help to maintain this project would be great. I'll will try to fix some issues and answer some questions about this project in next days.