Azure Video Analyzer Extension for VSCodeThe Azure Video Analyzer extension makes it easy to edit and manage Video Analyzer pipelines. The steps below closely mirror our how-to guide on how to use the Visual Studio Code extension for Azure Video Analyzer. If you have already connected to your IoT Hub and are looking for reference on how to use the extension, please go to our reference guide on the Visual Studio Code extension for Azure Video Analyzer. Suggested Pre-readingPrerequisites
Set up Azure resourcesThe deployment process will take about 20 minutes. Upon completion, you will have certain Azure resources deployed in the Azure subscription, including:
If you run into issues with Azure resources that get created, please view our troubleshooting guide to resolve some commonly encountered issues. Set up your development environmentObtain your IoT Hub connection stringTo make calls to the Video Analyzer Edge module, a connection string is first needed to connect the Visual Studio Code extension to the IoT Hub.
Connect the Visual Studio Code extension to the IoT HubUsing your IoT Hub connection string, connect the Visual Studio Code extension to the Video Analyzer module.
The Video Analyzer extension pane should now show the connected device with all of its modules. Below the modules are where pipeline topologies are listed. By default, there are no pipeline topologies deployed. Create a pipeline topologyA pipeline topology enables you to describe how live video or recorded videos should be processed and analyzed for your custom needs through a set of interconnected nodes.
Notice that there is now an entry in the Pipeline topologies list on the left labeled CVRToVideoSink. This is a pipeline topology, where some of the parameters are defined as variables. Create a live pipelineA live pipeline is an instance of a pipeline topology. The variables in a pipeline topology are filled when a live pipeline is created.
Now that a live pipeline has been activated, operational events can be viewed by clicking on the Start Monitoring Built-in Event Endpoint button on the IoT Hub extension, as shown in the Continuous video recording and playback tutorial. If you are looking for more instructions on the extension, please go to our reference doc on the Visual Studio Code extension for Azure Video Analyzer. ContributingHave a suggestion for the Azure Video Analyzer extension? Submit a new issue and a PR with an updated Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments. License |