Skip to content

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

@Eddie-Hartman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions