Skip to content

Mark System.Drawing.Common as Required in ObjectDetection Example #1041

Description

@Eddie-Hartman

I was following along with this tutorial and got to the end: https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx#create-helper-functions

and could not compile because Image was not a recognized class. In previous versions, System.Drawing.Common was a transitive dependency and would get installed. It's not now and so the documentation needs updated to require installing this package from NuGet in the Pre-requisites section: https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx#create-helper-functions

See here as well: https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions