edufolly / flutter_mobile_vision

Flutter implementation of Google Mobile Vision.
MIT License
456 stars 168 forks source link

Change the size scan area #48

Open endritgojani opened 4 years ago

endritgojani commented 4 years ago

I want the camera to detect text only within this rectangle example

edufolly commented 4 years ago

It's a good idea. Maybe in the next versions.

mekunka commented 4 years ago

I want this too, do you have any timeline or release plan for this feature? @edufolly Or is there any hack I can do prior to the next version update?

SamuelHaws commented 3 years ago

I have submitted a PR that implements this feature for OCR. Please see https://github.com/edufolly/flutter_mobile_vision/pull/66.

yogithesymbian commented 2 years ago

btw sorry out of topic, how do you make preview/scan area like that ? above screen have a two button clear and confirm , when i implemented _read its just full screen of camera with scan area , i cant put any widget like that into scaffold or any widget https://github.com/edufolly/flutter_mobile_vision/issues/44

SamuelHaws commented 2 years ago

Hi @yogithesymbian, It's been a while since I did this, so I can't really give you a step-by-step write-up here, but you can check my pull request #66 to see the changes I made to implement. Also, on that pull request, you'll see in the comments that my changes have been accepted/merged in a new version of the repo with a Flutter non-null migration, here.