123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{195CA4DF-352E-4FDA-85D3-B0C0522356AA}</ProjectGuid>
- <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <TemplateGuid>{84dd83c5-0fe3-4294-9419-09e7c8ba324f}</TemplateGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>IDCardRecognitionXamarin</RootNamespace>
- <AssemblyName>IDCardRecognitionXamarin</AssemblyName>
- <FileAlignment>512</FileAlignment>
- <Deterministic>True</Deterministic>
- <AndroidApplication>True</AndroidApplication>
- <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
- <AndroidResgenClass>Resource</AndroidResgenClass>
- <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
- <AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
- <TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
- <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
- <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
- <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
- <AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
- <AndroidUseAapt2>true</AndroidUseAapt2>
- <AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>True</DebugSymbols>
- <DebugType>portable</DebugType>
- <Optimize>False</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <AndroidLinkMode>None</AndroidLinkMode>
- <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
- <AotAssemblies>false</AotAssemblies>
- <EnableLLVM>false</EnableLLVM>
- <AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
- <BundleAssemblies>false</BundleAssemblies>
- <AndroidSupportedAbis>x86;arm64-v8a</AndroidSupportedAbis>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugSymbols>True</DebugSymbols>
- <DebugType>portable</DebugType>
- <Optimize>True</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <AndroidPackageFormat>aab</AndroidPackageFormat>
- <AndroidManagedSymbols>true</AndroidManagedSymbols>
- <AndroidLinkMode>SdkOnly</AndroidLinkMode>
- <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Core" />
- <Reference Include="Mono.Android" />
- <Reference Include="System.Numerics" />
- <Reference Include="System.Numerics.Vectors" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="MainActivity.cs" />
- <Compile Include="Resources\Resource.designer.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <AndroidNativeLibrary Include="libs\arm64-v8a\libIDCardRecognition.so" />
- <AndroidNativeLibrary Include="libs\arm64-v8a\libonnxruntime.so" />
- <AndroidNativeLibrary Include="libs\arm64-v8a\libonnxruntime4j_jni.so" />
- <AndroidNativeLibrary Include="libs\arm64-v8a\libopencv_java3.so" />
- <None Include="Resources\AboutResources.txt" />
- <None Include="Properties\AndroidManifest.xml" />
- <None Include="Assets\AboutAssets.txt" />
- <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_det_infer.emd" />
- <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_rec_infer.emd" />
- <EmbeddedResource Include="Resources\ValidModels\ch_ppocr_mobile_cls_infer.emd" />
- <EmbeddedResource Include="Resources\ValidModels\ch_ppocr_mobile_cls_infer.onnx" />
- <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_det_infer.onnx" />
- <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_rec_infer.onnx" />
- <EmbeddedResource Include="Resources\ValidModels\test.onnx" />
- </ItemGroup>
- <ItemGroup>
- <AndroidResource Include="Resources\layout\activity_main.xml">
- <SubType>Designer</SubType>
- </AndroidResource>
- <AndroidResource Include="Resources\layout\content_main.xml">
- <SubType>Designer</SubType>
- </AndroidResource>
- <AndroidResource Include="Resources\values\colors.xml" />
- <AndroidResource Include="Resources\values\dimens.xml" />
- <AndroidResource Include="Resources\values\ic_launcher_background.xml" />
- <AndroidResource Include="Resources\values\strings.xml" />
- <AndroidResource Include="Resources\values\styles.xml" />
- <AndroidResource Include="Resources\menu\menu_main.xml" />
- <AndroidResource Include="Resources\mipmap-anydpi-v26\ic_launcher.xml" />
- <AndroidResource Include="Resources\mipmap-anydpi-v26\ic_launcher_round.xml" />
- <AndroidResource Include="Resources\mipmap-hdpi\ic_launcher.png" />
- <AndroidResource Include="Resources\mipmap-hdpi\ic_launcher_foreground.png" />
- <AndroidResource Include="Resources\mipmap-hdpi\ic_launcher_round.png" />
- <AndroidResource Include="Resources\mipmap-mdpi\ic_launcher.png" />
- <AndroidResource Include="Resources\mipmap-mdpi\ic_launcher_foreground.png" />
- <AndroidResource Include="Resources\mipmap-mdpi\ic_launcher_round.png" />
- <AndroidResource Include="Resources\mipmap-xhdpi\ic_launcher.png" />
- <AndroidResource Include="Resources\mipmap-xhdpi\ic_launcher_foreground.png" />
- <AndroidResource Include="Resources\mipmap-xhdpi\ic_launcher_round.png" />
- <AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher.png" />
- <AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher_foreground.png" />
- <AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher_round.png" />
- <AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher.png" />
- <AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher_foreground.png" />
- <AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher_round.png" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\IDCardRecognitionCSLibs\IDCardRecognitionLibs.csproj">
- <Project>{e3784505-c31e-4f90-a981-b2d92eef3556}</Project>
- <Name>IDCardRecognitionLibs</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <PackageReference Include="EPPlus">
- <Version>7.0.7</Version>
- </PackageReference>
- <PackageReference Include="Xamarin.AndroidX.AppCompat" Version="1.2.0.5" />
- <PackageReference Include="Xamarin.Google.Android.Material" Version="1.0.0.1" />
- <PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\ValidModels\ppocr_keys_v1.txt" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_0.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_1.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_2.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_3.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_4.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_5.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_10.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_11.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_12.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_13.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_14.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_15.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_16.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_17.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_18.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_19.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_20.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_21.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_22.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_23.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_24.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_25.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_26.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_27.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_28.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_29.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_30.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_31.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_32.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_33.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_34.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_35.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_36.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_37.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_38.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_39.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_40.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_41.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_42.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_43.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_44.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_45.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_46.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_47.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_48.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_49.png" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\drawable\img_50.png" />
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.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>
- -->
- </Project>
|