xamarin / GooglePlayServicesComponents

Other
315 stars 146 forks source link

ObjectDetection Not available #465

Open tomkulaga opened 3 years ago

tomkulaga commented 3 years ago

Xamarin.Android Version (eg: 6.0):

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Describe your Issue

MLKit (new ) or Firebase ML (old) don't seem to have working object detection.

With MlKit the options builder doesn't contain the functions to set the detector mode, so we can only use the default.

FirebaseVision.GetInstance().OnDeviceObjectDetector => doesn't exit whilst the ImageLabeller does.

Can anyone please confirm?

Relevant information

Add relevant project settings from *.csproj file:

Packages used:

<PackageReference Include="Plugin.CurrentActivity">
      <Version>2.1.0.4</Version>
    </PackageReference>
    <PackageReference Include="Refractored.MvvmHelpers">
      <Version>1.6.2</Version>
    </PackageReference>
    <PackageReference Include="SkiaSharp">
      <Version>2.80.2</Version>
    </PackageReference>
    <PackageReference Include="SkiaSharp.Views.Forms">
      <Version>2.80.2</Version>
    </PackageReference>
    <PackageReference Include="sqlite-net-pcl">
      <Version>1.7.335</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.AndroidX.Camera.Core">
      <Version>1.0.0.5-rc01</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.CommunityToolkit">
      <Version>1.1.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.ML.Common">
      <Version>122.1.2</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.ML.Vision">
      <Version>124.1.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.ML.Vision.AutoML">
      <Version>118.0.6</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.ML.Vision.Object.Detection.Model">
      <Version>119.0.6</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
    <PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
    <PackageReference Include="Xamarin.Forms.DebugRainbows">
      <Version>1.1.4</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.Dagger">
      <Version>2.27.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.Guava.ListenableFuture" ExcludeAssets="build;buildTransitive">
      <Version>1.0.0.2</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.Common">
      <Version>117.1.1</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.ImageLabeling.Common">
      <Version>117.0.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.ObjectDetection">
      <Version>116.2.3</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.ObjectDetection.Common">
      <Version>117.0.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.ObjectDetection.Custom">
      <Version>116.3.1</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.PoseDetection">
      <Version>117.0.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.Vision.Common">
      <Version>116.3.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Google.MLKit.Vision.Internal.Vkp">
      <Version>118.0.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.GooglePlayServices.MLKit.Text.Recognition">
      <Version>116.1.3</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.GooglePlayServices.Vision">
      <Version>120.1.3</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Plugin.SharedTransitions">
      <Version>2.4.0</Version>
moljac commented 3 years ago

Thanks for the feedback. Do you have minimal repro sample maybe?