IDCardRecognitionXamarin.csproj 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6. <ProductVersion>8.0.30703</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>{195CA4DF-352E-4FDA-85D3-B0C0522356AA}</ProjectGuid>
  9. <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  10. <TemplateGuid>{84dd83c5-0fe3-4294-9419-09e7c8ba324f}</TemplateGuid>
  11. <OutputType>Library</OutputType>
  12. <AppDesignerFolder>Properties</AppDesignerFolder>
  13. <RootNamespace>IDCardRecognitionXamarin</RootNamespace>
  14. <AssemblyName>IDCardRecognitionXamarin</AssemblyName>
  15. <FileAlignment>512</FileAlignment>
  16. <Deterministic>True</Deterministic>
  17. <AndroidApplication>True</AndroidApplication>
  18. <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
  19. <AndroidResgenClass>Resource</AndroidResgenClass>
  20. <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
  21. <AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
  22. <TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
  23. <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
  24. <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
  25. <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
  26. <AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
  27. <AndroidUseAapt2>true</AndroidUseAapt2>
  28. <AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
  29. </PropertyGroup>
  30. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  31. <DebugSymbols>True</DebugSymbols>
  32. <DebugType>portable</DebugType>
  33. <Optimize>False</Optimize>
  34. <OutputPath>bin\Debug\</OutputPath>
  35. <DefineConstants>DEBUG;TRACE</DefineConstants>
  36. <ErrorReport>prompt</ErrorReport>
  37. <WarningLevel>4</WarningLevel>
  38. <AndroidLinkMode>None</AndroidLinkMode>
  39. <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
  40. <AotAssemblies>false</AotAssemblies>
  41. <EnableLLVM>false</EnableLLVM>
  42. <AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
  43. <BundleAssemblies>false</BundleAssemblies>
  44. <AndroidSupportedAbis>x86;arm64-v8a</AndroidSupportedAbis>
  45. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  46. </PropertyGroup>
  47. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  48. <DebugSymbols>True</DebugSymbols>
  49. <DebugType>portable</DebugType>
  50. <Optimize>True</Optimize>
  51. <OutputPath>bin\Release\</OutputPath>
  52. <DefineConstants>TRACE</DefineConstants>
  53. <ErrorReport>prompt</ErrorReport>
  54. <WarningLevel>4</WarningLevel>
  55. <AndroidPackageFormat>aab</AndroidPackageFormat>
  56. <AndroidManagedSymbols>true</AndroidManagedSymbols>
  57. <AndroidLinkMode>SdkOnly</AndroidLinkMode>
  58. <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
  59. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  60. </PropertyGroup>
  61. <ItemGroup>
  62. <Reference Include="System" />
  63. <Reference Include="System.Xml" />
  64. <Reference Include="System.Core" />
  65. <Reference Include="Mono.Android" />
  66. <Reference Include="System.Numerics" />
  67. <Reference Include="System.Numerics.Vectors" />
  68. </ItemGroup>
  69. <ItemGroup>
  70. <Compile Include="MainActivity.cs" />
  71. <Compile Include="Resources\Resource.designer.cs" />
  72. <Compile Include="Properties\AssemblyInfo.cs" />
  73. </ItemGroup>
  74. <ItemGroup>
  75. <AndroidNativeLibrary Include="libs\arm64-v8a\libIDCardRecognition.so" />
  76. <AndroidNativeLibrary Include="libs\arm64-v8a\libonnxruntime.so" />
  77. <AndroidNativeLibrary Include="libs\arm64-v8a\libonnxruntime4j_jni.so" />
  78. <AndroidNativeLibrary Include="libs\arm64-v8a\libopencv_java3.so" />
  79. <None Include="Resources\AboutResources.txt" />
  80. <None Include="Properties\AndroidManifest.xml" />
  81. <None Include="Assets\AboutAssets.txt" />
  82. <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_det_infer.emd" />
  83. <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_rec_infer.emd" />
  84. <EmbeddedResource Include="Resources\ValidModels\ch_ppocr_mobile_cls_infer.emd" />
  85. <EmbeddedResource Include="Resources\ValidModels\ch_ppocr_mobile_cls_infer.onnx" />
  86. <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_det_infer.onnx" />
  87. <EmbeddedResource Include="Resources\ValidModels\ch_PP-OCRv4_rec_infer.onnx" />
  88. <EmbeddedResource Include="Resources\ValidModels\test.onnx" />
  89. </ItemGroup>
  90. <ItemGroup>
  91. <AndroidResource Include="Resources\layout\activity_main.xml">
  92. <SubType>Designer</SubType>
  93. </AndroidResource>
  94. <AndroidResource Include="Resources\layout\content_main.xml">
  95. <SubType>Designer</SubType>
  96. </AndroidResource>
  97. <AndroidResource Include="Resources\values\colors.xml" />
  98. <AndroidResource Include="Resources\values\dimens.xml" />
  99. <AndroidResource Include="Resources\values\ic_launcher_background.xml" />
  100. <AndroidResource Include="Resources\values\strings.xml" />
  101. <AndroidResource Include="Resources\values\styles.xml" />
  102. <AndroidResource Include="Resources\menu\menu_main.xml" />
  103. <AndroidResource Include="Resources\mipmap-anydpi-v26\ic_launcher.xml" />
  104. <AndroidResource Include="Resources\mipmap-anydpi-v26\ic_launcher_round.xml" />
  105. <AndroidResource Include="Resources\mipmap-hdpi\ic_launcher.png" />
  106. <AndroidResource Include="Resources\mipmap-hdpi\ic_launcher_foreground.png" />
  107. <AndroidResource Include="Resources\mipmap-hdpi\ic_launcher_round.png" />
  108. <AndroidResource Include="Resources\mipmap-mdpi\ic_launcher.png" />
  109. <AndroidResource Include="Resources\mipmap-mdpi\ic_launcher_foreground.png" />
  110. <AndroidResource Include="Resources\mipmap-mdpi\ic_launcher_round.png" />
  111. <AndroidResource Include="Resources\mipmap-xhdpi\ic_launcher.png" />
  112. <AndroidResource Include="Resources\mipmap-xhdpi\ic_launcher_foreground.png" />
  113. <AndroidResource Include="Resources\mipmap-xhdpi\ic_launcher_round.png" />
  114. <AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher.png" />
  115. <AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher_foreground.png" />
  116. <AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher_round.png" />
  117. <AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher.png" />
  118. <AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher_foreground.png" />
  119. <AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher_round.png" />
  120. </ItemGroup>
  121. <ItemGroup>
  122. <ProjectReference Include="..\IDCardRecognitionCSLibs\IDCardRecognitionLibs.csproj">
  123. <Project>{e3784505-c31e-4f90-a981-b2d92eef3556}</Project>
  124. <Name>IDCardRecognitionLibs</Name>
  125. </ProjectReference>
  126. </ItemGroup>
  127. <ItemGroup>
  128. <PackageReference Include="EPPlus">
  129. <Version>7.0.7</Version>
  130. </PackageReference>
  131. <PackageReference Include="Xamarin.AndroidX.AppCompat" Version="1.2.0.5" />
  132. <PackageReference Include="Xamarin.Google.Android.Material" Version="1.0.0.1" />
  133. <PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
  134. </ItemGroup>
  135. <ItemGroup>
  136. <EmbeddedResource Include="Resources\ValidModels\ppocr_keys_v1.txt" />
  137. </ItemGroup>
  138. <ItemGroup>
  139. <EmbeddedResource Include="Resources\drawable\img_0.png" />
  140. </ItemGroup>
  141. <ItemGroup>
  142. <EmbeddedResource Include="Resources\drawable\img_1.png" />
  143. </ItemGroup>
  144. <ItemGroup>
  145. <EmbeddedResource Include="Resources\drawable\img_2.png" />
  146. </ItemGroup>
  147. <ItemGroup>
  148. <EmbeddedResource Include="Resources\drawable\img_3.png" />
  149. </ItemGroup>
  150. <ItemGroup>
  151. <EmbeddedResource Include="Resources\drawable\img_4.png" />
  152. </ItemGroup>
  153. <ItemGroup>
  154. <EmbeddedResource Include="Resources\drawable\img_5.png" />
  155. </ItemGroup>
  156. <ItemGroup>
  157. <EmbeddedResource Include="Resources\drawable\img_10.png" />
  158. </ItemGroup>
  159. <ItemGroup>
  160. <EmbeddedResource Include="Resources\drawable\img_11.png" />
  161. </ItemGroup>
  162. <ItemGroup>
  163. <EmbeddedResource Include="Resources\drawable\img_12.png" />
  164. </ItemGroup>
  165. <ItemGroup>
  166. <EmbeddedResource Include="Resources\drawable\img_13.png" />
  167. </ItemGroup>
  168. <ItemGroup>
  169. <EmbeddedResource Include="Resources\drawable\img_14.png" />
  170. </ItemGroup>
  171. <ItemGroup>
  172. <EmbeddedResource Include="Resources\drawable\img_15.png" />
  173. </ItemGroup>
  174. <ItemGroup>
  175. <EmbeddedResource Include="Resources\drawable\img_16.png" />
  176. </ItemGroup>
  177. <ItemGroup>
  178. <EmbeddedResource Include="Resources\drawable\img_17.png" />
  179. </ItemGroup>
  180. <ItemGroup>
  181. <EmbeddedResource Include="Resources\drawable\img_18.png" />
  182. </ItemGroup>
  183. <ItemGroup>
  184. <EmbeddedResource Include="Resources\drawable\img_19.png" />
  185. </ItemGroup>
  186. <ItemGroup>
  187. <EmbeddedResource Include="Resources\drawable\img_20.png" />
  188. </ItemGroup>
  189. <ItemGroup>
  190. <EmbeddedResource Include="Resources\drawable\img_21.png" />
  191. </ItemGroup>
  192. <ItemGroup>
  193. <EmbeddedResource Include="Resources\drawable\img_22.png" />
  194. </ItemGroup>
  195. <ItemGroup>
  196. <EmbeddedResource Include="Resources\drawable\img_23.png" />
  197. </ItemGroup>
  198. <ItemGroup>
  199. <EmbeddedResource Include="Resources\drawable\img_24.png" />
  200. </ItemGroup>
  201. <ItemGroup>
  202. <EmbeddedResource Include="Resources\drawable\img_25.png" />
  203. </ItemGroup>
  204. <ItemGroup>
  205. <EmbeddedResource Include="Resources\drawable\img_26.png" />
  206. </ItemGroup>
  207. <ItemGroup>
  208. <EmbeddedResource Include="Resources\drawable\img_27.png" />
  209. </ItemGroup>
  210. <ItemGroup>
  211. <EmbeddedResource Include="Resources\drawable\img_28.png" />
  212. </ItemGroup>
  213. <ItemGroup>
  214. <EmbeddedResource Include="Resources\drawable\img_29.png" />
  215. </ItemGroup>
  216. <ItemGroup>
  217. <EmbeddedResource Include="Resources\drawable\img_30.png" />
  218. </ItemGroup>
  219. <ItemGroup>
  220. <EmbeddedResource Include="Resources\drawable\img_31.png" />
  221. </ItemGroup>
  222. <ItemGroup>
  223. <EmbeddedResource Include="Resources\drawable\img_32.png" />
  224. </ItemGroup>
  225. <ItemGroup>
  226. <EmbeddedResource Include="Resources\drawable\img_33.png" />
  227. </ItemGroup>
  228. <ItemGroup>
  229. <EmbeddedResource Include="Resources\drawable\img_34.png" />
  230. </ItemGroup>
  231. <ItemGroup>
  232. <EmbeddedResource Include="Resources\drawable\img_35.png" />
  233. </ItemGroup>
  234. <ItemGroup>
  235. <EmbeddedResource Include="Resources\drawable\img_36.png" />
  236. </ItemGroup>
  237. <ItemGroup>
  238. <EmbeddedResource Include="Resources\drawable\img_37.png" />
  239. </ItemGroup>
  240. <ItemGroup>
  241. <EmbeddedResource Include="Resources\drawable\img_38.png" />
  242. </ItemGroup>
  243. <ItemGroup>
  244. <EmbeddedResource Include="Resources\drawable\img_39.png" />
  245. </ItemGroup>
  246. <ItemGroup>
  247. <EmbeddedResource Include="Resources\drawable\img_40.png" />
  248. </ItemGroup>
  249. <ItemGroup>
  250. <EmbeddedResource Include="Resources\drawable\img_41.png" />
  251. </ItemGroup>
  252. <ItemGroup>
  253. <EmbeddedResource Include="Resources\drawable\img_42.png" />
  254. </ItemGroup>
  255. <ItemGroup>
  256. <EmbeddedResource Include="Resources\drawable\img_43.png" />
  257. </ItemGroup>
  258. <ItemGroup>
  259. <EmbeddedResource Include="Resources\drawable\img_44.png" />
  260. </ItemGroup>
  261. <ItemGroup>
  262. <EmbeddedResource Include="Resources\drawable\img_45.png" />
  263. </ItemGroup>
  264. <ItemGroup>
  265. <EmbeddedResource Include="Resources\drawable\img_46.png" />
  266. </ItemGroup>
  267. <ItemGroup>
  268. <EmbeddedResource Include="Resources\drawable\img_47.png" />
  269. </ItemGroup>
  270. <ItemGroup>
  271. <EmbeddedResource Include="Resources\drawable\img_48.png" />
  272. </ItemGroup>
  273. <ItemGroup>
  274. <EmbeddedResource Include="Resources\drawable\img_49.png" />
  275. </ItemGroup>
  276. <ItemGroup>
  277. <EmbeddedResource Include="Resources\drawable\img_50.png" />
  278. </ItemGroup>
  279. <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
  280. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  281. Other similar extension points exist, see Microsoft.Common.targets.
  282. <Target Name="BeforeBuild">
  283. </Target>
  284. <Target Name="AfterBuild">
  285. </Target>
  286. -->
  287. </Project>