aboutsummaryrefslogtreecommitdiff
path: root/VisionClient
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2024-11-09 22:34:58 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2024-11-09 22:34:58 +0300
commitcc52668afc1d30720eb9dc42efdcf1539864179e (patch)
tree7ab15e23fc0d0790d9032e8735ef8cfb9183b748 /VisionClient
parentcd9c2734f08f45d19e92f39c5c2c0b1344652b58 (diff)
OcrTool refactoring
Diffstat (limited to 'VisionClient')
-rw-r--r--VisionClient/Models/VisionResponse.cs5
-rw-r--r--VisionClient/Services/IYandexVisionClient.cs24
-rw-r--r--VisionClient/VisionClient.csproj14
3 files changed, 0 insertions, 43 deletions
diff --git a/VisionClient/Models/VisionResponse.cs b/VisionClient/Models/VisionResponse.cs
deleted file mode 100644
index 23a32fd..0000000
--- a/VisionClient/Models/VisionResponse.cs
+++ /dev/null
@@ -1,5 +0,0 @@
-namespace VisionClient.Models;
-
-public class VisionResponse
-{
-} \ No newline at end of file
diff --git a/VisionClient/Services/IYandexVisionClient.cs b/VisionClient/Services/IYandexVisionClient.cs
deleted file mode 100644
index 77105be..0000000
--- a/VisionClient/Services/IYandexVisionClient.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using VisionClient.Models;
-using System.Net.Http;
-
-namespace VisionClient.Services;
-
-public interface IYandexVisionClient
-{
- public Task<VisionResponse> ProcessImage(string base64Image);
-}
-
-public class YandexVisionClient : IYandexVisionClient
-{
- private readonly HttpClient _httpClient;
-
- public YandexVisionClient(HttpClient httpClient)
- {
- _httpClient = httpClient;
- }
-
- public Task<VisionResponse> ProcessImage(string base64Image)
- {
- throw new NotImplementedException();
- }
-} \ No newline at end of file
diff --git a/VisionClient/VisionClient.csproj b/VisionClient/VisionClient.csproj
deleted file mode 100644
index 4f78021..0000000
--- a/VisionClient/VisionClient.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
- <PropertyGroup>
- <TargetFrameworks>net472;net6.0-windows</TargetFrameworks>
- <LangVersion>10</LangVersion>
- <ImplicitUsings>enable</ImplicitUsings>
- <Nullable>enable</Nullable>
- </PropertyGroup>
-
- <ItemGroup>
- <PackageReference Include="System.Net.Http" Version="4.3.4" />
- </ItemGroup>
-
-</Project>