With the project completely set up, see a demonstration of writing code in TypeScript, importing and exporting modules, and debugging support.
- [Instructor] So with my project template done,…the next obvious thing is to write some code,…code that I can debug.…So I need some candidate code.…What better candidate than code that we'll actually use…throughout this project.…So you'll see that in order to use the Vision API,…I will need to store configuration keys.…So I'll create a file called config.ts over here.…And things I'll provision in the Azure portal,…we'll see this in the future modules,…a key for the Vision API, for instance.…
So I need a place to store that configuration.…So I'll say export config.…Or rather, export let config,…'cause we're creating a variable.…And for now, let's just create a test key.…This is a test key.…And this is actually a json object so it will be like this.…Now, once I've created it over here,…I should be able to come to index.ts.…And I should be able to say import…from…config.…
And here, I should be able to use IntelliSense…and it'll basically complete this for me, so that's great.…So that part is working.…And now, I can say console.log,…
Author
Released
4/9/2018- Setting up the project
- Writing code to describe an image
- Returning multiple descriptions
- Writing an analyze method
- Applying tags and categories
- Analyzing colors
- Identifying art and adult content
- Recognizing celebrities and landmarks
- Handwriting and OCR
- Detecting faces and emotions
- Identifying people
Skill Level Intermediate
Duration
Views
Related Courses
-
Creating Bots with the Microsoft Bot Framework, Part 1
with Scott Peterson45m 41s Intermediate -
Microsoft Azure: Design Advanced Applications
with Sharon Bennett1h 28m Intermediate
-
Introduction
-
Welcome1m 23s
-
What you should know1m 43s
-
-
1. The Basics
-
Introduction5m 57s
-
-
2. Describing, Categorizing, and Tagging
-
Tags and categories4m 35s
-
3. Performing Deeper Analysis
-
Analyzing colors2m 50s
-
Generating thumbnails3m 58s
-
-
4. Working with Models
-
Recognizing celebrities5m 27s
-
Recognizing landmarks1m 52s
-
-
5. Handwriting and OCR
-
Set up the Node.js project2m 12s
-
Performing OCR3m 7s
-
-
6. Working with Faces
-
7. Identifying People
-
Set up your project1m 59s
-
Read the dataset4m 58s
-
Create a person group3m 33s
-
Train a person group2m 48s
-
Conclusion
-
Next steps1m 46s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Add helper code and demonstrate debugging