CVDemo1 You need to set two environment variables before you can run this. COMPUTER_VISION_SUBSCRIPTION_KEY COMPUTER_VISION_ENDPOINT Create a new Cognitive Services resource in Azure portal and get this information from there.