IDCardRecognitionLibs.vcxproj 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ItemGroup Label="ProjectConfigurations">
  4. <ProjectConfiguration Include="Debug|x64">
  5. <Configuration>Debug</Configuration>
  6. <Platform>x64</Platform>
  7. </ProjectConfiguration>
  8. <ProjectConfiguration Include="Release|x64">
  9. <Configuration>Release</Configuration>
  10. <Platform>x64</Platform>
  11. </ProjectConfiguration>
  12. </ItemGroup>
  13. <PropertyGroup Label="Globals">
  14. <VCProjectVersion>16.0</VCProjectVersion>
  15. <Keyword>Win32Proj</Keyword>
  16. <ProjectGuid>{12e2a108-7251-498d-83cb-a2676a416068}</ProjectGuid>
  17. <RootNamespace>IDCardRecognitionLibs</RootNamespace>
  18. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  19. </PropertyGroup>
  20. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  21. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  22. <ConfigurationType>DynamicLibrary</ConfigurationType>
  23. <UseDebugLibraries>true</UseDebugLibraries>
  24. <PlatformToolset>v143</PlatformToolset>
  25. <CharacterSet>MultiByte</CharacterSet>
  26. </PropertyGroup>
  27. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  28. <ConfigurationType>DynamicLibrary</ConfigurationType>
  29. <UseDebugLibraries>false</UseDebugLibraries>
  30. <PlatformToolset>v143</PlatformToolset>
  31. <WholeProgramOptimization>true</WholeProgramOptimization>
  32. <CharacterSet>MultiByte</CharacterSet>
  33. </PropertyGroup>
  34. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  35. <ImportGroup Label="ExtensionSettings">
  36. </ImportGroup>
  37. <ImportGroup Label="Shared">
  38. </ImportGroup>
  39. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  40. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  41. </ImportGroup>
  42. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  43. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  44. </ImportGroup>
  45. <PropertyGroup Label="UserMacros" />
  46. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  47. <TargetExt>.dll</TargetExt>
  48. <OutDir>$(SolutionDir)Bin\$(Platform)\$(Configuration)\</OutDir>
  49. <TargetName>$(ProjectName)d</TargetName>
  50. <IncludePath>..\..\ThirdpartyLibs\opencv\450\include\;..\..\ThirdpartyLibs\onnxruntime\include\;$(IncludePath)</IncludePath>
  51. <LibraryPath>..\..\ThirdpartyLibs\opencv\450\lib\vc15;..\..\ThirdpartyLibs\onnxruntime\lib;$(LibraryPath)</LibraryPath>
  52. </PropertyGroup>
  53. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  54. <TargetExt>.dll</TargetExt>
  55. <OutDir>$(SolutionDir)Bin\$(Platform)\$(Configuration)\</OutDir>
  56. <IncludePath>..\..\ThirdpartyLibs\opencv\450\include\;..\..\ThirdpartyLibs\onnxruntime\include\;$(IncludePath)</IncludePath>
  57. <LibraryPath>..\..\ThirdpartyLibs\opencv\450\lib\vc15;..\..\ThirdpartyLibs\onnxruntime\lib;$(LibraryPath)</LibraryPath>
  58. </PropertyGroup>
  59. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  60. <ClCompile>
  61. <WarningLevel>Level3</WarningLevel>
  62. <SDLCheck>true</SDLCheck>
  63. <PreprocessorDefinitions>_DEBUG;_CONSOLE;_CRT_NONSTDC_NO_DEPRECATE;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  64. <ConformanceMode>true</ConformanceMode>
  65. <AdditionalIncludeDirectories>..\Algorithm\cpp\;..\Algorithm\cpp\InferNet\PaddleOCR\;..\Algorithm\cpp\InferNet\;..\Algorithm\cpp\OCRProcessCore\PaddleOCR;..\Algorithm\cpp\OCRProcessCore;..\Algorithm\cpp\InferNet\PaddleOCR\Ncnn;..\Algorithm\cpp\InferNet\PaddleOCR\Onnx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  66. </ClCompile>
  67. <Link>
  68. <SubSystem>Console</SubSystem>
  69. <GenerateDebugInformation>true</GenerateDebugInformation>
  70. <AdditionalDependencies>opencv_world450d.lib;onnxruntime.lib;%(AdditionalDependencies)</AdditionalDependencies>
  71. </Link>
  72. <PostBuildEvent>
  73. <Command>copy "$(SolutionDir)Depends\*.dll" "$(TargetDir)"</Command>
  74. </PostBuildEvent>
  75. </ItemDefinitionGroup>
  76. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  77. <ClCompile>
  78. <WarningLevel>Level3</WarningLevel>
  79. <FunctionLevelLinking>true</FunctionLevelLinking>
  80. <IntrinsicFunctions>true</IntrinsicFunctions>
  81. <SDLCheck>true</SDLCheck>
  82. <PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_NONSTDC_NO_DEPRECATE;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  83. <ConformanceMode>true</ConformanceMode>
  84. <AdditionalIncludeDirectories>..\Algorithm\cpp\;..\Algorithm\cpp\InferNet\PaddleOCR\;..\Algorithm\cpp\InferNet\;..\Algorithm\cpp\OCRProcessCore\PaddleOCR;..\Algorithm\cpp\OCRProcessCore;..\Algorithm\cpp\InferNet\PaddleOCR\Onnx;..\Algorithm\cpp\InferNet\PaddleOCR\Ncnn;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  85. </ClCompile>
  86. <Link>
  87. <SubSystem>Console</SubSystem>
  88. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  89. <OptimizeReferences>true</OptimizeReferences>
  90. <GenerateDebugInformation>true</GenerateDebugInformation>
  91. <AdditionalDependencies>opencv_world450.lib;onnxruntime.lib;%(AdditionalDependencies)</AdditionalDependencies>
  92. </Link>
  93. <PostBuildEvent>
  94. <Command>copy "$(SolutionDir)Depends\*.dll" "$(TargetDir)"</Command>
  95. </PostBuildEvent>
  96. </ItemDefinitionGroup>
  97. <ItemGroup>
  98. <ClCompile Include="..\Algorithm\cpp\IDCardAnalyser.cpp" />
  99. <ClCompile Include="..\Algorithm\cpp\IDCardRecognition.cpp" />
  100. <ClCompile Include="..\Algorithm\cpp\InferNet\PaddleOCR\Onnx\InferNetOnnxPaddleOcrAngClsC.cpp" />
  101. <ClCompile Include="..\Algorithm\cpp\InferNet\PaddleOCR\Onnx\InferNetOnnxPaddleOcrCrnnRegC.cpp" />
  102. <ClCompile Include="..\Algorithm\cpp\InferNet\PaddleOCR\Onnx\InferNetOnnxPaddleOcrDetect.cpp" />
  103. <ClCompile Include="..\Algorithm\cpp\OCRProcessCore\OCRBase.cpp" />
  104. <ClCompile Include="..\Algorithm\cpp\OCRProcessCore\OCRProcessCore.cpp" />
  105. <ClCompile Include="..\Algorithm\cpp\OCRProcessCore\PaddleOCR\PaddleOCRProcessCore.cpp" />
  106. <ClCompile Include="IIDCardRecognition.cpp" />
  107. </ItemGroup>
  108. <ItemGroup>
  109. <ClInclude Include="..\Algorithm\cpp\IDCardAnalyser.h" />
  110. <ClInclude Include="..\Algorithm\cpp\IDCardRecognition.h" />
  111. <ClInclude Include="..\Algorithm\cpp\IDCardRecogResult.h" />
  112. <ClInclude Include="..\Algorithm\cpp\InferNet\PaddleOCR\Onnx\InferNetOnnxPaddleOcrAngClsC.h" />
  113. <ClInclude Include="..\Algorithm\cpp\InferNet\PaddleOCR\Onnx\InferNetOnnxPaddleOcrCrnnRegC.h" />
  114. <ClInclude Include="..\Algorithm\cpp\InferNet\PaddleOCR\Onnx\InferNetOnnxPaddleOcrDetect.h" />
  115. <ClInclude Include="..\Algorithm\cpp\InferNet\TextBlock.h" />
  116. <ClInclude Include="..\Algorithm\cpp\OCRProcessCore\OCRBase.h" />
  117. <ClInclude Include="..\Algorithm\cpp\OCRProcessCore\OCRProcessCore.h" />
  118. <ClInclude Include="..\Algorithm\cpp\OCRProcessCore\OCRResult.h" />
  119. <ClInclude Include="..\Algorithm\cpp\OCRProcessCore\PaddleOCR\PaddleOCRProcessCore.h" />
  120. <ClInclude Include="IIDCardRecognition.h" />
  121. </ItemGroup>
  122. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  123. <ImportGroup Label="ExtensionTargets">
  124. </ImportGroup>
  125. </Project>