bendyworks / cap-ml

Text Detection Capacitor Plugin
Other
15 stars 16 forks source link

android orientation wip #5

Closed vennelakodali closed 4 years ago

vennelakodali commented 4 years ago

image

Background - FirebaseVisionImage.fromFilePath which I've been using doesn't have to way to specify orientation. So I've been trying to get a bitmap (which works, but again only in upright position like in FirebaseVisionImage.fromBitmap which only support upright images). and convert it into byte[] so that I can specify rotation as part of the metadata. At this point, FirebaseVisionTextRecognizer.processImage doesn't quite error out but either doesn't detect any text or detects gibebrish like - or * occasionally.

vennelakodali commented 4 years ago

Unneeded branch