NativeScript / mlkit

Apache License 2.0
24 stars 9 forks source link

iOS only - image rotation on latestImage #29

Closed kriefsacha closed 2 years ago

kriefsacha commented 2 years ago

Hi,

On the last version of nativescript, of the plugin and of iOS the latest image of the MLKitView is in landscape orientation.

I tried to turn it manually but i found only android code, which in android it works.

Thats how i take the image

let source = (this.faceDetectorRef.nativeElement as MLKitView).latestImage;

Thank you

kriefsacha commented 2 years ago

@triniwiz there is a chance you take a look at this ?

triniwiz commented 2 years ago

Should be fixed in e6c694cad935dd799c722a377b9dabff9d8049aa