flutter_mobile_vision icon indicating copy to clipboard operation
flutter_mobile_vision copied to clipboard

Change the size scan area

Open endritgojani opened this issue 4 years ago • 5 comments

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

endritgojani avatar Apr 27 '20 11:04 endritgojani

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

edufolly avatar Apr 27 '20 17:04 edufolly

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?

mekunka avatar Jun 18 '20 09:06 mekunka

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

SamuelHaws avatar Jan 17 '21 21:01 SamuelHaws

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

yogithesymbian avatar Mar 24 '22 22:03 yogithesymbian

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.

SamuelHaws avatar Mar 25 '22 00:03 SamuelHaws