Skip to content

curiosity-ai/livetext-sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveText C# Wrapper

This package provides a C# wrapper for the macOS LiveText API, allowing developers to easily integrate LiveText functionality into their C# applications.

Installation

To install the LiveText API C# wrapper, simply add the NuGet Package to your project.

Usage

To use the LiveText API C# wrapper, simply create a new instance of the RecognitionRequest class and call the RecognizeAsync method to get the output.

var image = ...;
var request = new RecognitionRequest(image);
string recognizedText = request.RecognizeAsync();

Build

  1. Build the swift helper as universal binary
cd swift
xcrun swift build -c release --arch arm64 --arch x86_64
cd ..
  1. Copy the binary to the csharp directory
cp ./swift/.build/apple/Products/Release/livetext-sharp ./csharp
  1. Build the C# package normally

License

This package is licensed under the MIT License. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published