Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
sssamy authored and sssamy committed Oct 29, 2023
1 parent 1f84456 commit cb509c1
Show file tree
Hide file tree
Showing 53 changed files with 1,455 additions and 0 deletions.
Binary file added .vs/ConsoleApp2/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .vs/ConsoleApp2/v17/.futdcache.v2
Binary file not shown.
Binary file added .vs/ConsoleApp2/v17/.suo
Binary file not shown.
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions ConsoleApp2.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34024.191
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp2", "ConsoleApp2\ConsoleApp2.csproj", "{7C34CA51-08BA-4712-8391-2635DEB77DF2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7C34CA51-08BA-4712-8391-2635DEB77DF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C34CA51-08BA-4712-8391-2635DEB77DF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C34CA51-08BA-4712-8391-2635DEB77DF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C34CA51-08BA-4712-8391-2635DEB77DF2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9CCDA468-BEE4-40E3-9BDE-2733CCAF5ACD}
EndGlobalSection
EndGlobal
14 changes: 14 additions & 0 deletions ConsoleApp2/ConsoleApp2.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Tesseract.Net.SDK" Version="4.5.411" />
</ItemGroup>

</Project>
18 changes: 18 additions & 0 deletions ConsoleApp2/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// See https://aka.ms/new-console-template for more information
using Patagames.Ocr;
using Patagames.Ocr.Enums;

Console.WriteLine("Hello, World!");


//var api = OcrApi.Create();

using (var api = OcrApi.Create())
{
api.Init(Languages.Arabic);
//ScaleByPercent
string plainText = api.GetTextFromImage("C:\\Work\\Projects\\Testing Projects\\ConsoleApp1\\ConsoleApp1\\bin\\Debug\\net6.0\\images\\img4.jpeg");

Console.WriteLine(plainText);
Console.Read();
}
110 changes: 110 additions & 0 deletions ConsoleApp2/bin/Debug/net6.0/ConsoleApp2.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"ConsoleApp2/1.0.0": {
"dependencies": {
"Tesseract.Net.SDK": "4.5.411"
},
"runtime": {
"ConsoleApp2.dll": {}
}
},
"Microsoft.NETCore.Platforms/5.0.0": {},
"Microsoft.Win32.SystemEvents/5.0.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
}
},
"System.Drawing.Common/5.0.0": {
"dependencies": {
"Microsoft.Win32.SystemEvents": "5.0.0"
},
"runtime": {
"lib/netcoreapp3.0/System.Drawing.Common.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
},
"runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
}
},
"Tesseract.Net.SDK/4.5.411": {
"dependencies": {
"System.Drawing.Common": "5.0.0"
},
"runtime": {
"lib/net5.0/Patagames.Ocr.dll": {
"assemblyVersion": "4.5.2.50",
"fileVersion": "4.5.2.50"
}
}
}
}
},
"libraries": {
"ConsoleApp2/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==",
"path": "microsoft.netcore.platforms/5.0.0",
"hashPath": "microsoft.netcore.platforms.5.0.0.nupkg.sha512"
},
"Microsoft.Win32.SystemEvents/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Bh6blKG8VAKvXiLe2L+sEsn62nc1Ij34MrNxepD2OCrS5cpCwQa9MeLyhVQPQ/R4Wlzwuy6wMK8hLb11QPDRsQ==",
"path": "microsoft.win32.systemevents/5.0.0",
"hashPath": "microsoft.win32.systemevents.5.0.0.nupkg.sha512"
},
"System.Drawing.Common/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-SztFwAnpfKC8+sEKXAFxCBWhKQaEd97EiOL7oZJZP56zbqnLpmxACWA8aGseaUExciuEAUuR9dY8f7HkTRAdnw==",
"path": "system.drawing.common/5.0.0",
"hashPath": "system.drawing.common.5.0.0.nupkg.sha512"
},
"Tesseract.Net.SDK/4.5.411": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xLAMfXMnegWGSiFtMo3QRoT6EdVfpOxlPh/WFwqIwblWDEnbxoxdhJO+Xyo/Q8pctgzERT1CAyg3jB+2PazEqQ==",
"path": "tesseract.net.sdk/4.5.411",
"hashPath": "tesseract.net.sdk.4.5.411.nupkg.sha512"
}
}
}
Binary file added ConsoleApp2/bin/Debug/net6.0/ConsoleApp2.dll
Binary file not shown.
Binary file added ConsoleApp2/bin/Debug/net6.0/ConsoleApp2.exe
Binary file not shown.
Binary file added ConsoleApp2/bin/Debug/net6.0/ConsoleApp2.pdb
Binary file not shown.
9 changes: 9 additions & 0 deletions ConsoleApp2/bin/Debug/net6.0/ConsoleApp2.runtimeconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}
Binary file not shown.
Binary file added ConsoleApp2/bin/Debug/net6.0/Patagames.Ocr.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added ConsoleApp2/bin/Debug/net6.0/tessdata.zip
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added ConsoleApp2/bin/Debug/net6.0/tessdata/pdf.ttf
Binary file not shown.
Loading

0 comments on commit cb509c1

Please sign in to comment.