GithubHelp home page GithubHelp logo

Comments (2)

mayuce avatar mayuce commented on June 18, 2024 1

Yes it is possible but I need a time to do it but nowadays I'm super busy, that's why it seems like gonna take a while to do it. But you can fork project and develop your own or you can do it on another branch and send a Pull Request to merge, I'll look it 😊

from androiddocumentscanner.

Merthan avatar Merthan commented on June 18, 2024

Nvm my fault, the bitmap that I received itself was low quality, should have checked that myself
So yeah... sorry for making you think there was any problem there

Regarding the rotation: It is only wrong when the device is in portrait mode, otherwise it's correct and it also only affects the initial orientation of the preview.

Images from the camera should always have rotation data like here so I can just do if else with portrait or non portrait and rotate accordingly myself, probably also the reason why you didn't do it in the first place (Bitmaps don't have rotation data and you only receive a Bitmap)

So yeah, there isn't even a good way to solve it in my opinion, you could in theory include a variable for rotation in Scannerconstants or take a File/File Path itself which would include rotation data, but even then not everyone would have a file.

So... there isn't any issue here, everything about this library was perfect from the beginning ;D.

from androiddocumentscanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.