allgood / OpenNoteScanner

Android application for scanning and manipulating handwritten notes and documents.
Other
1.37k stars 285 forks source link

amount of final photo moving and scalling #153

Closed mkhataei closed 5 years ago

mkhataei commented 5 years ago

Why is the final photo moving and scalling? How do I get the amount of this movementing and scalling?

allgood commented 5 years ago

Open Note Scanner detect the page and change the perspective of it so it is a perfect rectangle, a top view of it. You can disable it on the third icon of the toolbar (disabling also all image processing), but this is really the final objective of the app, to get a top view of pages.

mkhataei commented 5 years ago

How can I get the dimensions of this rectangle dynamically? @ctodobom

screenshot_2019-02-06-15-33-50

allgood commented 5 years ago

You can open the image on your android gallery app and access the image information. right now ONS doesn't show this info.

mkhataei commented 5 years ago

im developer . i use your code in my app.and i need show image view(red rectangle) fullscreen(without margin left and right).

allgood commented 5 years ago

well, in this case I'm affraid I can't help you. I've just used an image pager component from another author, it is available here:

http://www.androidhive.info/2013/09/android-fullscreen-image-slider-with-swipe-and-pinch-zoom-gestures/

Maybe you can check it directly.

Best regards, Claudemir