Using TensorFlow Lite & Custom Vision with Xamarin.Android

Nathan Sokalski 4,116 Reputation points
2022-08-15T01:44:18.707+00:00

I am attempting to use TensorFlow Lite & Azure Custom Vision with a Xamarin.Android app. All the examples I have been able to find are in Java, but I want to use Xamarin.Android & C#. The small amount that I have been able to find for Xamarin.Android & C# show very little code and are very unclear. I understand everything in Azure & Custom Vision (I am able to do the training & export the *.zip with labels.txt, model.tflite, etc.), but I am not sure how to use it correctly. Are there any complete TensorFlow Lite examples that are completely Xamarin.Android & C#?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
    2022-08-16T06:23:21.347+00:00

    Hello,

    Are there any complete TensorFlow Lite examples that are completely Xamarin.Android & C#?

    Fortunely, there is an official blog to show the steps and samples about it, you could refer to Android Image Classification with TensorFlow Lite & Azure Custom Vision Service.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.