Skip to content

Code Examples used by the Quickstarts in the Cognitive Services Documentation

License

Notifications You must be signed in to change notification settings

Nicole-Hong/cognitive-services-quickstart-code

 
 

Repository files navigation

page_type languages products description urlFragment
sample
go
python
javascript
csharp
php
ruby
azure
This repository contains the code examples used by the QuickStarts on the Cognitive Services Documentation
cognitive-services-quickstart-code

Code examples for Cognitive Services Quickstarts

This repository contains the code examples used by the QuickStarts on the Cognitive Services Documentation

What are code examples

Code examples are a collection of snippets whose primary purpose is to be demonstrated in the QuickStart documentation. This code can compile and run, but is not intended as a template for how a solution should be developed. They are intentionally shortened and written in script-style to make understanding their basic concepts, easier.

Most of these examples can be run independent of the steps in the Quickstarts, yet represent what they offer.

Getting Started

These code snippets back Quickstarts found on Cognitive Services Documentation. These snippets are not intended as standalone solutions or for production use. To learn how to use the Cognitive Services, go to a QuickStart for each service.

Running the code snippets

Choose the language and service you wish to run. Navigate to the corresponding folder and open the README. Each quickstart contains prerequisites and run instructions at the top of its main execution file.

How this repo is structured

   .
    ├── python                   # Language of the code snippet
    │   ├── ComputerVision       # Cognitive Service
    │   └── ... 
    ├──  ...
    └── README.md

Data files (images, audio, video) should not be checked into the repo. Please add data files to the following central location: cognitive-services-sample-data-files

Samples

Samples (unlike examples) are a more complete, best-practices solution for each of the snippets. They're better for integrating into production code.

We offer samples for each language here:

Resources

About

Code Examples used by the Quickstarts in the Cognitive Services Documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 56.8%
  • C# 12.0%
  • Python 8.7%
  • JavaScript 7.8%
  • Java 6.8%
  • Go 4.8%
  • Other 3.1%