Closed anton-bot closed 5 years ago
This worked for me:
const region = "westus"; let client = new vision.ComputerVisionAPIClient(credentials, region);
I had to look at the constructor source code of ComputerVisionAPIClient to figure this out though.
I just merged a PR (https://github.com/Azure/azure-sdk-for-node/pull/4197) that should resolve this problem. Please reopen this issue if the problem isn't fixed.
I am trying to use the code for Computer Vision from here:
This produces an error:
There is no mention of any
azureRegion
anywhere in the documentation.Can you check if this an error in the documentation or in the code? Thanks.