Comments (8)
I am on the same boat. It throws an exception on every feature. When I tried OCR, it says my key is not valid but I am literally copying and pasting from the Microsoft website... the key is indeed valid.
from cognitive-vision-windows.
The error is somewhere on the api key. Despite being given an official key from Microsoft, the request doesn't accept it. I get a 401 error.
from cognitive-vision-windows.
Are either of you using the 'Try Free' API key? If so, you must use the VisionServiceClient.ctor override, and provide the host address (2nd arg) of https://westcentralus.api.cognitive.microsoft.com/vision/v1.0
.
from cognitive-vision-windows.
https://stackoverflow.com/questions/44094186/microsoft-cognitive-services-computer-vision-invalid-subscription-key here a solution
from cognitive-vision-windows.
Aligning the region my keys were for with the region being called fixed the problem for me. Since the region being called is buried in the code, I'd suggest making that a prompt along with the key, or somehow make it clear that the code has a specific region buried in the code that they will need to change if their keys are from a different region.
from cognitive-vision-windows.
Thanks @briannoyes This was a recent change, and we haven't yet updated the sample apps to support the region specificity, its on our backlog and we'll update the apps to prompt for a region in the future.
from cognitive-vision-windows.
I haven't had the time to try it, but does this solve the issue? Worth a try
from cognitive-vision-windows.
yep, looks like that will help
from cognitive-vision-windows.
Related Issues (20)
- The WPF app raises a ClientException HOT 13
- WPF Sample app doesn't build HOT 1
- Solution is looking for SampleUserControlLibrary HOT 1
- How to retrieve landmarks HOT 2
- Merge this repo with https://github.com/Microsoft/Cognitive-Vision-DotNetCore and .net standard for client libraries
- Fail to build in VS 2015. HOT 1
- SampleUserControlLibrary doesn't exist HOT 1
- API endpoint should be configurable HOT 4
- Analyze image with domain model throws exception HOT 4
- Analyze Image is not working HOT 12
- The WPF sample is missing the Control library HOT 4
- sample WPF won't build HOT 2
- customized endpoint in the main window not used in wpf_sample HOT 1
- Text extraction doesn't work for white writing on over a photo, but does if you invert the colors and resubmit. HOT 2
- Default Sample Images unavailable
- Link to newer sample leads to 404 HOT 1
- This repo is missing important files HOT 1
- Cannot Build - Missing SampleUerControlLibrary project HOT 4
- Computer Vision API (Analyze an image) not giving proper responses for machinery HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cognitive-vision-windows.