Package: azure-cognitiveservices-vision-customvision
Microsoft Azure SDK for PythonThis is the Microsoft Azure Custom Vision Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see theazure sdk python release.UsageFor code examples, seeCustom Visionon docs.microsoft.com.Provide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History3.1.0 (2020-11-10)Training 3.4-previewFeaturesSupport for3.4-previewAPI version.3.0.0 (2020-06-22)Training 3.3FeaturesModel ImageUrlCreateBatch has a new parameter metadataModel ImageIdCreateBatch has a new parameter metadataModel Prediction has a new parameter tag_typeModel ImageFileCreateBatch has a new parameter metadataModel Image has a new parameter metadataAdded operation get_imagesAdded operation update_image_metadataAdded operation get_artifactAdded operation get_image_countBreaking changesOperation import_project has a new signatureOperation publish_iteration has a new signatureOperation create_images_from_files has a new signatureOperation create_images_from_urls has a new signatureOperation create_images_from_predictions has a new signaturePrediction 3.1FeaturesModel Prediction has a new parameter tag_type2.0.0 (2020-05-14)FeaturesModel Iteration has a new parameter training_time_in_minutesModel ProjectSettings has a new parameter image_processing_settingsModel ProjectSettings has a new parameter detection_parametersModel ProjectSettings has a new parameter use_negative_setModel Project has a new parameter statusAdded operation CustomVisionPredictionClientOperationsMixin.detect_image_with_no_storeAdded operation CustomVisionPredictionClientOperationsMixin.detect_image_urlAdded operation CustomVisionPredictionClientOperationsMixin.classify_image_urlAdded operation CustomVisionPredictionClientOperationsMixin.detect_image_url_with_no_storeAdded operation CustomVisionPredictionClientOperationsMixin.classify_image_url_with_no_storeAdded operation CustomVisionPredictionClientOperationsMixin.classify_image_with_no_storeAdded operation CustomVisionPredictionClientOperationsMixin.classify_imageAdded operation CustomVisionPredictionClientOperationsMixin.detect_imageAdded operation group CustomVisionTrainingClientOperationsMixinBreaking changesCredentials are now longer a simple string, but amsrest.authentication.ApiKeyCredentialsinstance insteadGeneral Breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes if from some import. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.CustomVisionPredictionClient cannot be imported fromazure.cognitiveservices.vision.customvision.prediction.custom_vision_prediction_clientanymore (import fromazure.cognitiveservices.vision.customvision.predictionworks like before)CustomVisionPredictionClientConfiguration import has been moved fromazure.cognitiveservices.vision.customvision.prediction.custom_vision_prediction_clienttoazure.cognitiveservices.vision.customvision.predictionA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.cognitiveservices.vision.customvision.prediction.models.my_class(import fromazure.cognitiveservices.vision.customvision.prediction.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.cognitiveservices.vision.customvision.operations.prediction.my_class_operations(import
fromazure.cognitiveservices.vision.customvision.prediction.operationsworks like before)CustomVisionTrainingClient cannot be imported fromazure.cognitiveservices.vision.customvision.training.custom_vision_training_clientanymore (import fromazure.cognitiveservices.vision.customvision.trainingworks like before)CustomVisionTrainingClientConfiguration import has been moved fromazure.cognitiveservices.vision.customvision.training.custom_vision_training_clienttoazure.cognitiveservices.vision.customvision.trainingA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.cognitiveservices.vision.customvision.training.models.my_class(import fromazure.cognitiveservices.vision.customvision.training.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.cognitiveservices.vision.customvision.operations.training.my_class_operations(import
fromazure.cognitiveservices.vision.customvision.training.operationsworks like before)Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.1.0.0 (2019-03-22)This is a stable release of the Cognitive Services Custom Vision SDK.TrainingAdded an advanced training option to set a budget to train longer
for improved iteration performance.Added additional export options targetting Vision AI Dev Kit and
Docker ARM for Raspberry Pi.PredictionPredictImage and PredictImageUrl have been replaced with project
type specific calls. ClassifyImage and ClassifyImageUrl for image
classification projects. DetectImage and DetectImageUrl for object
detection projects .Prediction methods now take a name to designate which published
iteration to use. Iterations can be published using the Custom
Vision Training SDK.0.4.0 (2018-11-13)The API client name was changed from TrainingAPI to
CustomVisionTrainingClient, in keeping with other Azure SDKs.The way the Azure region is specfied has changed. Specifically, the
AzureRegion property was dropped in favor of an Endpoint property.
If you were previously specifying an AzureRegion value, you should
now specify
Endpoint=https://{AzureRegion}.api.cognitive.microsoft.cominstead. This change ensures better global coverage.Added ONNX 1.2 as an export optionAdded negative tag support.0.3.0 (2018-07-12)FeaturesAdded ability to create Multilabel or Multiclass image
classification projectsFixes and improvements to Docker container export and export
pipeline to know when a newer version is available0.2.0 (2018-05-07)Breaking changesExpect many breaking changes. As a preview package, we don't detail,
but updated samples are available at:cognitive-services-python-sdk-samplesFeaturesAdding support for object detection projects and expanded export
functionality for image classification projectsClient class can be used as a context manager to keep the underlying
HTTP session open for performanceBugfixesCompatibility of the sdist with wheel 0.31.0Internal API version moved from 1.2 to 2.00.1.0 (2018-04-05)Initial Release