-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sssamy
authored and
sssamy
committed
Oct 29, 2023
1 parent
1f84456
commit cb509c1
Showing
53 changed files
with
1,455 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file added
BIN
+6.68 KB
.vs/ConsoleApp2/FileContentIndex/85da3862-1610-4af5-a674-fd7e317c6484.vsidx
Binary file not shown.
Binary file added
BIN
+20 KB
.vs/ConsoleApp2/FileContentIndex/b72a23d2-9970-4a9c-ae86-f6c3c0bd1e08.vsidx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file added
BIN
+409 KB
ConsoleApp2/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll
Binary file not shown.
Binary file added
BIN
+50.9 KB
ConsoleApp2/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll
Binary file not shown.
Binary file added
BIN
+427 KB
ConsoleApp2/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.