xamarin / XamarinComponents

Plugins for Xamarin
MIT License
1.99k stars 692 forks source link

How to use tflite in xamarin.ios and xamarin.forms? #1264

Open mohaned-abid opened 3 years ago

mohaned-abid commented 3 years ago

In nuget I can only find bindings for tflite xamrin.android How can I use tensorflow lite for xamarin.ios or xamarin.forms ? any alternative solution? Thks

eman1986 commented 3 years ago

you can just find the library you want to use and just install it from nuget and it should be all you need to do.

mohaned-abid commented 3 years ago

@eman1986 sorry I wasn't clear I'm specifically talking about tflite library I couldn't find it on nuget except for xamarin.android no xamarin.ios or xamarin.forms

moljac commented 3 years ago

In nuget I can only find bindings for tflite xamrin.android

correct. I never got some time to add iOS bindings. Sorry.

How can I use tensorflow lite for xamarin.ios or xamarin.forms ?

I am afraid. You cannot. Even if iOS bindings would be available - one would need common API abstraction and that is not trivial to do.

any alternative solution? Thks

check any TF.Lite nugets that target netstandard (netstandard2.0).