services | platforms | author |
---|---|---|
cognitive-services, custom-vision |
java |
areddish |
Sample code for image classification and object detection for Custom Vision, an Azure Cognitive Service.
- Creates an image classification project, upload images, train it and make a prediction.
- Creates an object detection project, upload images, train it and make a prediction.
This project framework provides examples for the Custom Vision SDK for the Custom Vision API
- An account at Custom Vision Service
- Maven
To get these samples running locally, simply get the pre-requisites above, then:
- git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git
- cd cognitive-services-java-sdk-samples/Vision/CustomVision
- set env variable AZURE_CUSTOMVISION_TRAINING_API_KEY to your cognitive services TRAINING API key.
- set env variable AZURE_CUSTOMVISION_PREDICTION_API_KEY to your cognitive services PREDICTION API key.
- mvn compile exec:java
If you don't have a Microsoft Azure subscription you can visit the Microsoft Cognitive Services Web site, create a new Azure account, and try Cognitive Services for free.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.