updated crproj to use msbuild.sdk.extras
This commit is contained in:
Родитель
c11466b529
Коммит
323c8998be
|
@ -1,3 +0,0 @@
|
|||
[submodule "models"]
|
||||
path = models
|
||||
url = https://github.com/onnx/models
|
|
@ -1,192 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="MSBuild.Sdk.Extras">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>IntelligentAPI.ImageClassification</RootNamespace>
|
||||
<AssemblyName>IntelligentAPI_ImageClassifier</AssemblyName>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
||||
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
|
||||
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<IncludeContentInPack>false</IncludeContentInPack>
|
||||
<TargetFramework>uap10.0.17763</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PackageId>CommunityToolkit.Labs.Intelligent.ImageClassification</PackageId>
|
||||
<Version>0.0.20</Version>
|
||||
<Description>
|
||||
This package performs Image Classification on an input image by using the SqueezeNet Onnx model.
|
||||
</Description>
|
||||
<Version>0.0.21</Version>
|
||||
<Authors>CommunityToolkit.Labs</Authors>
|
||||
<DebugType>Portable</DebugType>
|
||||
<PackageOutputPath>bin\Package</PackageOutputPath>
|
||||
<PackageProjectUrl>https://github.com/CommunityToolkit/Labs-IntelligentAPIs</PackageProjectUrl>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<ContentTargetFolders>lib/uap10.0.17763/IntelligentAPI_ImageClassifier</ContentTargetFolders>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="5.2.0" PrivateAssets="all" Pack="false"/>
|
||||
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="5.2.0" PrivateAssets="all" Pack="false" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
<Target Name="pack">
|
||||
</Target>
|
||||
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
|
||||
<PropertyGroup>
|
||||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
|
||||
<PlatformTarget>ARM</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\ARM\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
||||
<PlatformTarget>ARM</PlatformTarget>
|
||||
<OutputPath>bin\ARM\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
|
||||
<PlatformTarget>ARM64</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\ARM64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
|
||||
<PlatformTarget>ARM64</PlatformTarget>
|
||||
<OutputPath>bin\ARM64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="SqueezeNetImageClassifier.cs" />
|
||||
<Compile Include="Model.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Properties\IntelligentAPI_ImageClassifier.rd.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
||||
<Version>6.2.11</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="System.Text.Json">
|
||||
<Version>5.0.2</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Assets\model.onnx" />
|
||||
<Content Include="Assets\Labels.json" />
|
||||
<Content Include="Assets\model.onnx" Pack="True" PackagePath="lib/uap10.0.17763/Assets"/>
|
||||
<Content Include="Assets\Labels.json" Pack="True" PackagePath="lib/uap10.0.17763/Assets"/>
|
||||
<!--<None Include="$(OutputPath)$(AssemblyName).dll" Pack="True" PackagePath="lib/uap10.0.17763" />
|
||||
<None Include="$(OutputPath)$(AssemblyName).pri" Pack="True" PackagePath="lib/uap10.0.17763" />
|
||||
<None Include="$(OutputPath)$(AssemblyName).pdb" Pack="True" PackagePath="lib/uap10.0.17763" />-->
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ImageClassifier.licenseheader" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
<VisualStudioVersion>14.0</VisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|AnyCPU'">
|
||||
<OutputPath>bin\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|x86'">
|
||||
<OutputPath>bin\x86\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|ARM'">
|
||||
<OutputPath>bin\ARM\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|ARM64'">
|
||||
<OutputPath>bin\ARM64\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|x64'">
|
||||
<OutputPath>bin\x64\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<Target Name="BeforeBuild">
|
||||
<Exec Command="powershell.exe –NonInteractive –ExecutionPolicy Unrestricted -command "& {.\Scripts\script.ps1 }"" />
|
||||
</Target>
|
||||
|
|
|
@ -9,11 +9,7 @@ using System.Runtime.InteropServices;
|
|||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("ImageClassification")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ImageClassification")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
@ -28,6 +24,4 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: ComVisible(false)]
|
|
@ -38,16 +38,16 @@ Global
|
|||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Debug|x64.Build.0 = Debug|x64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Debug|x86.Build.0 = Debug|x86
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|Any CPU.ActiveCfg = Packages|Any CPU
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|Any CPU.Build.0 = Packages|Any CPU
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM.ActiveCfg = Packages|ARM
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM.Build.0 = Packages|ARM
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM64.ActiveCfg = Packages|ARM64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM64.Build.0 = Packages|ARM64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x64.ActiveCfg = Packages|x64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x64.Build.0 = Packages|x64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x86.ActiveCfg = Packages|x86
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x86.Build.0 = Packages|x86
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|Any CPU.Build.0 = Release|Any CPU
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM.ActiveCfg = Release|ARM
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM.Build.0 = Release|ARM
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM64.ActiveCfg = Release|ARM64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|ARM64.Build.0 = Release|ARM64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x64.ActiveCfg = Release|x64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x64.Build.0 = Release|x64
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x86.ActiveCfg = Release|x86
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Packages|x86.Build.0 = Release|x86
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}.Release|ARM.ActiveCfg = Release|ARM
|
||||
|
@ -68,16 +68,16 @@ Global
|
|||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Debug|x64.Build.0 = Debug|x64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Debug|x86.Build.0 = Debug|x86
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|Any CPU.ActiveCfg = Packages|Any CPU
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|Any CPU.Build.0 = Packages|Any CPU
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM.ActiveCfg = Packages|ARM
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM.Build.0 = Packages|ARM
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM64.ActiveCfg = Packages|ARM64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM64.Build.0 = Packages|ARM64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x64.ActiveCfg = Packages|x64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x64.Build.0 = Packages|x64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x86.ActiveCfg = Packages|x86
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x86.Build.0 = Packages|x86
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|Any CPU.Build.0 = Release|Any CPU
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM.ActiveCfg = Release|ARM
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM.Build.0 = Release|ARM
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM64.ActiveCfg = Release|ARM64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|ARM64.Build.0 = Release|ARM64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x64.ActiveCfg = Release|x64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x64.Build.0 = Release|x64
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x86.ActiveCfg = Release|x86
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Packages|x86.Build.0 = Release|x86
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F705B499-D0B5-408C-B1D1-D3F379D0FCD6}.Release|ARM.ActiveCfg = Release|ARM
|
||||
|
@ -103,19 +103,11 @@ Global
|
|||
{47D87733-B357-4706-88BD-211FB7D8679D}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Debug|x86.Build.0 = Debug|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Debug|x86.Deploy.0 = Debug|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|Any CPU.ActiveCfg = Packages|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM.ActiveCfg = Packages|ARM
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM.Build.0 = Packages|ARM
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM.Deploy.0 = Packages|ARM
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM64.ActiveCfg = Packages|ARM64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM64.Build.0 = Packages|ARM64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM64.Deploy.0 = Packages|ARM64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x64.ActiveCfg = Packages|x64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x64.Build.0 = Packages|x64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x64.Deploy.0 = Packages|x64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x86.ActiveCfg = Packages|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x86.Build.0 = Packages|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x86.Deploy.0 = Packages|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|Any CPU.ActiveCfg = Release|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM.ActiveCfg = Release|ARM
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|ARM64.ActiveCfg = Release|ARM64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x64.ActiveCfg = Release|x64
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Packages|x86.ActiveCfg = Release|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{47D87733-B357-4706-88BD-211FB7D8679D}.Release|ARM.Build.0 = Release|ARM
|
||||
|
|
|
@ -178,18 +178,6 @@
|
|||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
<VisualStudioVersion>14.0</VisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|x86'">
|
||||
<OutputPath>bin\x86\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|ARM'">
|
||||
<OutputPath>bin\ARM\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|ARM64'">
|
||||
<OutputPath>bin\ARM64\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|x64'">
|
||||
<OutputPath>bin\x64\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
||||
<!--To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.-->
|
||||
|
|
|
@ -1,188 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="MSBuild.Sdk.Extras">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{6F985DC2-DB68-49E5-ADD8-6D11F35E552E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>IntelligentAPI.ObjectDetection</RootNamespace>
|
||||
<AssemblyName>IntelligentAPI_ObjectDetector</AssemblyName>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
||||
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
|
||||
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<IncludeContentInPack>false</IncludeContentInPack>
|
||||
<TargetFramework>uap10.0.17763</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PackageId>CommunityToolkit.Labs.Intelligent.ObjectDetection</PackageId>
|
||||
<Description>
|
||||
This package performs Object Detection on an input image by using the YOLOv4 Onnx model.
|
||||
</Description>
|
||||
<Version>0.0.7</Version>
|
||||
<Authors>Amrutha Srinivasan</Authors>
|
||||
<Authors>CommunityToolkit.Labs</Authors>
|
||||
<DebugType>Portable</DebugType>
|
||||
<PackageOutputPath>bin\Package</PackageOutputPath>
|
||||
<PackageProjectUrl>https://github.com/CommunityToolkit/Labs-IntelligentAPIs</PackageProjectUrl>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<ContentTargetFolders>lib/uap10.0.17763/IntelligentAPI_ObjectDetector</ContentTargetFolders>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<DebugType>Portable</DebugType>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="5.2.0" PrivateAssets="all" Pack="false"/>
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
<Target Name="pack">
|
||||
</Target>
|
||||
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
|
||||
<PropertyGroup>
|
||||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
|
||||
<PlatformTarget>ARM</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\ARM\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
||||
<PlatformTarget>ARM</PlatformTarget>
|
||||
<OutputPath>bin\ARM\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
|
||||
<PlatformTarget>ARM64</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\ARM64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
|
||||
<PlatformTarget>ARM64</PlatformTarget>
|
||||
<OutputPath>bin\ARM64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="YOLOObjectDetector.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Yolo.cs" />
|
||||
<EmbeddedResource Include="Properties\IntelligentAPI_ObjectDetector.rd.xml" />
|
||||
<EmbeddedResource Include="Properties\IntelligentAPI_ObjectDetector.rd.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
||||
<Version>6.2.11</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Assets\Yolo.onnx" />
|
||||
<Content Include="Assets\Yolo.onnx" Pack="True" PackagePath="lib/uap10.0.17763/Assets" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ObjectDetector.licenseheader" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
<VisualStudioVersion>14.0</VisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|AnyCPU'">
|
||||
<OutputPath>bin\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|x86'">
|
||||
<OutputPath>bin\x86\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|ARM'">
|
||||
<OutputPath>bin\ARM\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|ARM64'">
|
||||
<OutputPath>bin\ARM64\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packages|x64'">
|
||||
<OutputPath>bin\x64\Packages\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<Target Name="BeforeBuild">
|
||||
<Exec Command="powershell.exe –NonInteractive –ExecutionPolicy Unrestricted -command "& {.\Scripts\script.ps1 }"" />
|
||||
</Target>
|
||||
|
|
|
@ -9,11 +9,6 @@ using System.Runtime.InteropServices;
|
|||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("IntelligentAPI_ObjectDetector")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("IntelligentAPI_ObjectDetector")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
@ -28,6 +23,4 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: ComVisible(false)]
|
|
@ -0,0 +1,33 @@
|
|||
Intelligent-APIs
|
||||
|
||||
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
||||
Do Not Translate or Localize
|
||||
|
||||
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which the .NET Foundation received such components are set forth below. The .NET Foundation reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
|
||||
|
||||
1. SqueezeNet ONNX model (https://github.com/microsoft/Windows-Machine-Learning/blob/master/Samples/SqueezeNetObjectDetection/UWP/cs/Assets/model.onnx) included in ImageClassifier/Assetsas model.onnx.
|
||||
2. YOLOV4 ONNX model (https://github.com/microsoft/Windows-Machine-Learning/blob/master/Samples/Tutorial%20Samples/YOLOv4ObjectDetection/YOLOv4ObjectDetection/Assets/Yolo.onnx) included in ObjectDetector/Assets as yolo.onnx
|
||||
3. microsoft/Windows-Machine-Learning commit eb8b8be from which some of the pre-processing and post-processing functions for object detection were used.
|
||||
4. microsoft/Windows-Machine-Learning commit 593575a from which some of the pre-processing and post-processing functions for image classification were used.
|
||||
|
||||
%% microsoft/Windows-Machine-Learning NOTICES AND INFORMATION BEGIN HERE
|
||||
=========================================
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
=========================================
|
||||
END OF microsoft/Windows-Machine-Learning NOTICES AND INFORMATION
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"msbuild-sdks":
|
||||
{
|
||||
"MSBuild.Sdk.Extras":"3.0.23"
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче