Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cognitive services for Dot.Net Framework #207

Open
compvishal opened this issue Sep 14, 2020 · 0 comments
Open

Cognitive services for Dot.Net Framework #207

compvishal opened this issue Sep 14, 2020 · 0 comments

Comments

@compvishal
Copy link

Hi!
are these services only for console app?

Trying to use Azure cognitive services.

Microsoft.Azure.CognitiveServices.Vision.ComputerVision

The function runs when try it on console app (tried both C# & VB), however when trying to run it on windows app get errors. Basically I want to return value after calling an azure service, and use it in windows app.

Same code running on console app, but not returning any value on windows framework app.

gets stuck at below lines. the thread is processed asynchronously with no response

Dim results As DetectResult = Await client.DetectObjectsInStreamAsync(stream)

Dim textHeaders = Await client.ReadInStreamAsync(File.OpenRead(localFile), language:="en"

I don't think there should be any limitation of Azure use only on windows app

API Name Microsoft.Azure.CognitiveServices.Vision.ComputerVision

Working only on console app, not on windows app

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant