In these exercises, you will use the Custom Vision service to train an object detection model that can detect and locate ships in a satellite image, call the model through Python code in a notebook, and then build Power BI visualizations. Note: These exercises are built with open-source imagery. Other imagery can be used in combination with the example code and fully customized for a complete end to end solution.
- Active Azure subscription
- At least contributor access to Azure subscription
- A VSCode environment
- A Power BI account and Power BI Desktop
To deploy this solution in your subscription, follow the manual instructions in the Ship Detector Instructions.pdf
.
If you have already cloned ShipDetector code repository to the environment where you're working on this lab, open it in Visual Studio Code; otherwise, follow these steps to clone it now.
- Start Visual Studio Code.
- Open the palette (SHIFT+CTRL+P) and run a Git: Clone command to clone the
https://github.com/Microsoft/ShipDetection
repository to a local folder (it doesn't matter which folder). - When the repository has been cloned, open the folder in Visual Studio Code.
- Wait while additional files are installed to support the Python code projects in the repo. You may need to manually install packages if necessary.
The .env
file will need to be edited to hold your key information. A template is provided.
PredictionEndpoint=
PredictionKey=
ProjectID=
ModelName=Ship-Detector
Predicted_Object_Threshold=15
This project welcomes contributions and suggestions. 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.opensource.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., status check, 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.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.