Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • AI
    • Cloud
Azure icon
Labs

Performing OCR on an Image Using the .NET SDK

In this hands-on lab, you will use Visual Studio and C# to access an already-created Azure Cognitive Service resource and use it to perform optical character recognition of characters embedded in an image. All the code is already written. You simply need to configure the service endpoint and key, then run the code to perform the analysis.

Azure icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Nov 25, 2025
Duration
30m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use.
Table of Contents
  1. Challenge

    Locate and retrieve the necessary endpoint and subscription key from an Azure AI Vision resource.

    You will locate and copy the endpoint and subscription key from your Azure AI Vision resource in the Azure Portal.

  2. Challenge

    Use RDP to connect to the Visual Studio virtual machine

    You will connect to the provided VM running Visual Studio over Remote Desktop (RDP) using the provided credentials.

  3. Challenge

    Open and configure the provided Visual Studio project

    You will open the provided Visual Studio project by browsing to its folder and loading the solution in Visual Studio.

  4. Challenge

    Programmatically invoke the Vision client and call the OCR method.

    You will understand the provided C# code to instantiate the Vision client and call the OCR method to extract and display text from a local image. This will include supplying your unique endpoint and subscription key from the previous step.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight