aboutsummaryrefslogtreecommitdiff
path: root/VisionClient/Services/IYandexVisionClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'VisionClient/Services/IYandexVisionClient.cs')
-rw-r--r--VisionClient/Services/IYandexVisionClient.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/VisionClient/Services/IYandexVisionClient.cs b/VisionClient/Services/IYandexVisionClient.cs
new file mode 100644
index 0000000..77105be
--- /dev/null
+++ b/VisionClient/Services/IYandexVisionClient.cs
@@ -0,0 +1,24 @@
+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