Learn how to create a Visual Studio project and configure Command Line Arguments for the project. The project requires an API Key for the Cognitive Services Face Detect API and the project requires a filename for the input to the API. Both are specified as command-line arguments in the Visual Studio Project configuration.
- [Instructor] To call the Cognitive Services…face detection API,…we simply need to upload a file using an HTTP post.…In my example, I am going to use a console application,…so I can specify the relevant file on the command line.…So I'll go to File, New, Project.…I'll select .NET Core, console application,…and I'll name our solution CodeClinic,…and place it with the other exercise files.…
Click OK.…Now the documentation does tell us…that we will receive a response from the service…that is formatted in JSON,…and so I will select the project, right-click,…Manage NuGet Packages,…and we will add the Newtonsoft.Json library.…Click on Browse, and in case it doesn't show up…as the first result,…you can maybe search for Newtonsoft,…where it is this very popular one,…and we'll click Install, OK,…and for the second part of the solution,…we'll add one more.…
This one is called ImageSharp.…In this case, though, bear in mind…you have to check the Include prerelease option.…Otherwise, it will not show up because it is still in beta.…
Skill Level Intermediate
1. Problem 1: Pond Oreille
2. Problem 2: Where Am I?
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Facial Recognition
6. Problem 6: Real-Time Information Dashboard
Next steps2m 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.Cancel
Take 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.