Author: ultroni1

  • Create an image classification client application

    After you’ve trained an image classification model, you can use the Azure AI Custom Vision SDK to develop a client application that submits new images to be classified.

    C#Copy

    using System;
    using System.IO;
    using Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction;
    
    // Authenticate a client for the prediction API
    CustomVisionPredictionClient prediction_client = new CustomVisionPredictionClient(new ApiKeyServiceClientCredentials("<YOUR_PREDICTION_RESOURCE_KEY>"))
    {
        Endpoint = "<YOUR_PREDICTION_RESOURCE_ENDPOINT>"
    };
    
    // Get classification predictions for an image
    MemoryStream image_data = new MemoryStream(File.ReadAllBytes("<PATH_TO_IMAGE_FILE>"));
    var result = prediction_client.ClassifyImage("<YOUR_PROJECT_ID>",
                                                 "<YOUR_PUBLISHED_MODEL_NAME>",
                                                 image_data);
    
    // Process predictions
    foreach (var prediction in result.Predictions)
    {
        if (prediction.Probability > 0.5)
        {
            Console.WriteLine($"{prediction.TagName} ({prediction.Probability})");
        }
    }
  • Training an image classification model

    To train an image classification model with the Azure AI Custom Vision service, you can use the Azure AI Custom Vision portal, the Azure AI Custom Vision REST API or SDK, or a combination of both approaches.

    In most cases, you’ll typically use the Azure AI Custom Vision portal to train your model.

    Screenshot of the Azure AI Custom Vision portal.

    The portal provides a graphical interface that you can use to:

    1. Create an image classification project for your model and associate it with a training resource.
    2. Upload images, assigning class label tags to them.
    3. Review and edit tagged images.
    4. Train and evaluate a classification model.
    5. Test a trained model.
    6. Publish a trained model to a prediction resource.
  • Train an image classification model

    Image classification is a computer vision technique in which a model is trained to predict a class label for an image based on its contents. Usually, the class label relates to the main subject of the image.

    For example, the following images have been classified based on the type of fruit they contain.

    Photographs of fruit classified as Apple, Banana, and Orange.

    Models can be trained for multiclass classification (in other words, there are multiple classes, but each image can belong to only one class) or multilabel classification (in other words, an image might be associated with multiple labels).

  • Azure AI Custom Vision

    The Azure AI Custom Vision service enables you to build your own computer vision models for image classification or object detection.

    To use the Custom Vision service to create a solution, you need two Custom Vision resources in your Azure subscription:

    • An Azure AI Custom Vision training resource – used to train a custom model based on your own training images.
    • An Azure AI Custom Vision prediction resource – used to generate predictions from new images based on your trained model.

    When you provision the Azure AI Custom Vision service in an Azure subscription, you can choose to create one or both of these resources. This separation of training and prediction provides flexibility. For example, you can use a training resource in one region to train your model using your own image data; and then deploy one or more prediction resources in other regions to support computer vision applications that need to use your model.

    Each resource has its own unique endpoint and authentication keys; which are used by client applications to connect and authenticate to the service.

  • Enhance browser security with Microsoft Defender Application Guard

    Microsoft Defender Application Guard (Application Guard) is designed to help prevent old and newly emerging attacks to help keep employees productive. Using a unique hardware isolation approach, the goal is to destroy the playbook that attackers use by making current attack methods obsolete.

    Designed for Windows 10 and Microsoft Edge, Application Guard helps to isolate enterprise-defined untrusted sites, protecting your company while your employees browse the Internet. As an enterprise administrator, you define your trusted web sites, cloud resources, and internal networks. Everything not on your list is considered untrusted.

    If an employee goes to an untrusted site through either Microsoft Edge or Internet Explorer, Microsoft Edge opens the site in an isolated Hyper-V-enabled container, which is separate from the host operating system. This container isolation means that if the untrusted site turns out to be malicious, the host PC is protected, and the attacker can’t get to your enterprise data. For example, this approach makes the isolated container anonymous, so an attacker can’t get to your employee’s enterprise credentials.

    Hardware isolation of Microsoft Edge with Windows Defender Application Guard
  • Site analysis

    Microsoft Defender SmartScreen determines whether a site is potentially malicious by:

    • Analyzing visited webpages for indications of suspicious behavior.
    • Checking the visited sites against a dynamic record of reported phishing sites.
  • Understand how Microsoft Defender SmartScreen works

    A number of inputs contribute to Microsoft Defender SmartScreen warnings. Data is received from many sources, including user feedback, data providers, and intelligence models. This data is used to help identify potentially malicious content. Microsoft Defender SmartScreen also checks downloaded apps or app installers to see if they’re malicious. In both scenarios, Microsoft Defender SmartScreen warns users appropriately about suspicious content.

  • Intercept malicious attacks with Microsoft Defender SmartScreen

    Microsoft Defender SmartScreen is a service that Microsoft Edge uses to help keep you safe while you browse the web. Microsoft Defender SmartScreen provides an early warning system against websites that might engage in phishing attacks or attempt to distribute malware through a focused attack.

    Benefits of Microsoft Defender SmartScreen

    Microsoft Defender SmartScreen provides several benefits, which are summarized in the following list. These benefits are described in detail in the Microsoft Defender SmartScreen documentation. The benefits are:

    • Anti-phishing and anti-malware support
    • Reputation-based URL and app protection
    • Operating system integration
    • Improved heuristics and diagnostic data
    • Management through Group Policy and Microsoft Intune
    • Blocking URLs associated with potentially unwanted applications (PUAs)
  • Understand the secure foundations of Microsoft Edge

    In recent years, malicious attacks on applications such as browsers and document readers have become more common and keeping up with new threats is even harder. Software isolation seeks to contain the damage in the event an application is successfully compromised by an exploit.

    Microsoft Edge and Microsoft Defender Application Guard (formerly Windows Defender Application Guard [WDAG]) combine for both a software and hardware isolation approach to security. This approach lets untrusted sites launch inside a container and the isolation helps enterprises safeguard their corporate network and data in case the site users visited is compromised or is malicious. Microsoft Edge provides the highest level of protection against zero-day exploits, unpatched vulnerabilities, and web-based malware.

  • Amplify productivity with Collections inside Microsoft Edge browser

    Microsoft Edge has a great feature built in called Collections that helps increase productivity on the web. Use Collections to:

    • Build a library of data research
    • Plan for a unit of study
    • Collect professional development resources
    • Create “go-to” class website collections
    • Build a list of kid-safe searches