diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/CHANGELOG.md index 18f606f2ed18..86584f04a093 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.9.1 (2024-11-01) + +### Other Changes + +- This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. To receive updates on new features and non-security bug fixes, upgrade to the replacement package, [azure-ai-vision-imageanalysis](https://pypi.org/project/azure-ai-vision-imageanalysis/). + ## 0.9.0 (2021-05-31) ### Breaking Changes diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/README.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/README.md index ba490cdc13a7..360dc78e566f 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/README.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/README.md @@ -1,328 +1,3 @@ -# Azure Cognitive Services Computer Vision SDK for Python +# Microsoft Azure SDK for Python -The Computer Vision service provides developers with access to advanced algorithms for processing images and returning information. Computer Vision algorithms analyze the content of an image in different ways, depending on the visual features you're interested in. - -You can use Computer Vision in your application to: - -- Analyze images for insight -- Extract text from images -- Generate thumbnails - -Looking for more documentation? - -* [SDK reference documentation](https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision) -* [Cognitive Services Computer Vision documentation](https://docs.microsoft.com/azure/cognitive-services/computer-vision/) - -## Prerequisites - -* Azure subscription - [Create a free account][azure_sub] -* Azure [Computer Vision resource][computervision_resource] -* [Python 3.6+][python] - -If you need a Computer Vision API account, you can create one with this [Azure CLI][azure_cli] command: - -```Bash -RES_REGION=westeurope -RES_GROUP= -ACCT_NAME= - -az cognitiveservices account create \ - --resource-group $RES_GROUP \ - --name $ACCT_NAME \ - --location $RES_REGION \ - --kind ComputerVision \ - --sku S1 \ - --yes -``` - -## Installation - -Install the Azure Cognitive Services Computer Vision SDK with [pip][pip], optionally within a [virtual environment][venv]. - -### Configure a virtual environment (optional) - -Although not required, you can keep your base system and Azure SDK environments isolated from one another if you use a [virtual environment][virtualenv]. Execute the following commands to configure and then enter a virtual environment with [venv][venv], such as `cogsrv-vision-env`: - -```Bash -python3 -m venv cogsrv-vision-env -source cogsrv-vision-env/bin/activate -``` - -### Install the SDK - -Install the Azure Cognitive Services Computer Vision SDK for Python [package][pypi_computervision] with [pip][pip]: - -```Bash -pip install azure-cognitiveservices-vision-computervision -``` - -## Authentication - -Once you create your Computer Vision resource, you need its **region**, and one of its **account keys** to instantiate the client object. - -Use these values when you create the instance of the [ComputerVisionClient][ref_computervisionclient] client object. - -### Get credentials - -Use the [Azure CLI][cloud_shell] snippet below to populate two environment variables with the Computer Vision account **region** and one of its **keys** (you can also find these values in the [Azure portal][azure_portal]). The snippet is formatted for the Bash shell. - -```Bash -RES_GROUP= -ACCT_NAME= - -export ACCOUNT_REGION=$(az cognitiveservices account show \ - --resource-group $RES_GROUP \ - --name $ACCT_NAME \ - --query location \ - --output tsv) - -export ACCOUNT_KEY=$(az cognitiveservices account keys list \ - --resource-group $RES_GROUP \ - --name $ACCT_NAME \ - --query key1 \ - --output tsv) -``` - -### Create client - -Once you've populated the `ACCOUNT_REGION` and `ACCOUNT_KEY` environment variables, you can create the [ComputerVisionClient][ref_computervisionclient] client object. - -```python -from azure.cognitiveservices.vision.computervision import ComputerVisionClient -from azure.cognitiveservices.vision.computervision.models import VisualFeatureTypes -from msrest.authentication import CognitiveServicesCredentials - -import os -region = os.environ['ACCOUNT_REGION'] -key = os.environ['ACCOUNT_KEY'] - -credentials = CognitiveServicesCredentials(key) -client = ComputerVisionClient( - endpoint="https://" + region + ".api.cognitive.microsoft.com/", - credentials=credentials -) -``` - -## Usage - -Once you've initialized a [ComputerVisionClient][ref_computervisionclient] client object, you can: - -* Analyze an image: You can analyze an image for certain features such as faces, colors, tags. -* Generate thumbnails: Create a custom JPEG image to use as a thumbnail of the original image. -* Get description of an image: Get a description of the image based on its subject domain. - -For more information about this service, see [What is Computer Vision?][computervision_docs]. - -## Examples - -The following sections provide several code snippets covering some of the most common Computer Vision tasks, including: - -* [Analyze an image](#analyze-an-image) -* [Get subject domain list](#get-subject-domain-list) -* [Analyze an image by domain](#analyze-an-image-by-domain) -* [Get text description of an image](#get-text-description-of-an-image) -* [Get handwritten text from image](#get-text-from-image) -* [Generate thumbnail](#generate-thumbnail) - -### Analyze an image - -You can analyze an image for certain features with [`analyze_image`][ref_computervisionclient_analyze_image]. Use the [`visual_features`][ref_computervision_model_visualfeatures] property to set the types of analysis to perform on the image. Common values are `VisualFeatureTypes.tags` and `VisualFeatureTypes.description`. - -```python -url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Broadway_and_Times_Square_by_night.jpg/450px-Broadway_and_Times_Square_by_night.jpg" - -image_analysis = client.analyze_image(url,visual_features=[VisualFeatureTypes.tags]) - -for tag in image_analysis.tags: - print(tag) -``` - -### Get subject domain list - -Review the subject domains used to analyze your image with [`list_models`][ref_computervisionclient_list_models]. These domain names are used when [analyzing an image by domain](#analyze-an-image-by-domain). An example of a domain is `landmarks`. - -```python -models = client.list_models() - -for x in models.models_property: - print(x) -``` - -### Analyze an image by domain - -You can analyze an image by subject domain with [`analyze_image_by_domain`][ref_computervisionclient_analyze_image_by_domain]. Get the [list of supported subject domains](#get-subject-domain-list) in order to use the correct domain name. - -```python -domain = "landmarks" -url = "https://images.pexels.com/photos/338515/pexels-photo-338515.jpeg" -language = "en" - -analysis = client.analyze_image_by_domain(domain, url, language) - -for landmark in analysis.result["landmarks"]: - print(landmark["name"]) - print(landmark["confidence"]) -``` - -### Get text description of an image - -You can get a language-based text description of an image with [`describe_image`][ref_computervisionclient_describe_image]. Request several descriptions with the `max_description` property if you are doing text analysis for keywords associated with the image. Examples of a text description for the following image include `a train crossing a bridge over a body of water`, `a large bridge over a body of water`, and `a train crossing a bridge over a large body of water`. - -```python -domain = "landmarks" -url = "http://www.public-domain-photos.com/free-stock-photos-4/travel/san-francisco/golden-gate-bridge-in-san-francisco.jpg" -language = "en" -max_descriptions = 3 - -analysis = client.describe_image(url, max_descriptions, language) - -for caption in analysis.captions: - print(caption.text) - print(caption.confidence) -``` - -### Get text from image - -You can get any handwritten or printed text from an image. This requires two calls to the SDK: [`read`][ref_computervisionclient_read] and [`get_read_result`][ref_computervisionclient_get_read_result]. The call to read is asynchronous. In the results of the get_read_result call, you need to check if the first call completed with [`OperationStatusCodes`][ref_computervision_model_operationstatuscodes] before extracting the text data. The results include the text as well as the bounding box coordinates for the text. - -```python -# import models -from azure.cognitiveservices.vision.computervision.models import OperationStatusCodes - -url = "https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/raw/master/samples/vision/images/make_things_happen.jpg" -raw = True -numberOfCharsInOperationId = 36 - -# SDK call -rawHttpResponse = client.read(url, language="en", raw=True) - -# Get ID from returned headers -operationLocation = rawHttpResponse.headers["Operation-Location"] -idLocation = len(operationLocation) - numberOfCharsInOperationId -operationId = operationLocation[idLocation:] - -# SDK call -result = client.get_read_result(operationId) - -# Get data -if result.status == OperationStatusCodes.succeeded: - - for line in result.analyze_result.read_results[0].lines: - print(line.text) - print(line.bounding_box) -``` - -### Generate thumbnail - -You can generate a thumbnail (JPG) of an image with [`generate_thumbnail`][ref_computervisionclient_generate_thumbnail]. The thumbnail does not need to be in the same proportions as the original image. - -This example uses the [Pillow][pypi_pillow] package to save the new thumbnail image locally. - -```python -from PIL import Image -import io - -width = 50 -height = 50 -url = "http://www.public-domain-photos.com/free-stock-photos-4/travel/san-francisco/golden-gate-bridge-in-san-francisco.jpg" - -thumbnail = client.generate_thumbnail(width, height, url) - -for x in thumbnail: - image = Image.open(io.BytesIO(x)) - -image.save('thumbnail.jpg') -``` - -## Troubleshooting - -### General - -When you interact with the [ComputerVisionClient][ref_computervisionclient] client object using the Python SDK, the [`ComputerVisionErrorResponseException`][ref_computervision_computervisionerrorexception] class is used to return errors. Errors returned by the service correspond to the same HTTP status codes returned for REST API requests. - -For example, if you try to analyze an image with an invalid key, a `401` error is returned. In the following snippet, the [error][ref_httpfailure] is handled gracefully by catching the exception and displaying additional information about the error. - -```python - -domain = "landmarks" -url = "http://www.public-domain-photos.com/free-stock-photos-4/travel/san-francisco/golden-gate-bridge-in-san-francisco.jpg" -language = "en" -max_descriptions = 3 - -try: - analysis = client.describe_image(url, max_descriptions, language) - - for caption in analysis.captions: - print(caption.text) - print(caption.confidence) -except HTTPFailure as e: - if e.status_code == 401: - print("Error unauthorized. Make sure your key and region are correct.") - else: - raise -``` - -### Handle transient errors with retries - -While working with the [ComputerVisionClient][ref_computervisionclient] client, you might encounter transient failures caused by [rate limits][computervision_request_units] enforced by the service, or other transient problems like network outages. For information about handling these types of failures, see [Retry pattern][azure_pattern_retry] in the Cloud Design Patterns guide, and the related [Circuit Breaker pattern][azure_pattern_circuit_breaker]. - -## Next steps - -### More sample code - -Several Computer Vision Python SDK samples are available to you in the SDK's GitHub repository. These samples provide example code for additional scenarios commonly encountered while working with Computer Vision: - -* [See sample repo][recognize-text] - -### Additional documentation - -For more extensive documentation on the Computer Vision service, see the [Azure Computer Vision documentation][computervision_docs] on docs.microsoft.com. - - -[pip]: https://pypi.org/project/pip/ -[python]: https://www.python.org/downloads/ - -[azure_cli]: https://docs.microsoft.com/cli/azure -[azure_pattern_circuit_breaker]: https://docs.microsoft.com/azure/architecture/patterns/circuit-breaker -[azure_pattern_retry]: https://docs.microsoft.com/azure/architecture/patterns/retry -[azure_portal]: https://portal.azure.com -[azure_sub]: https://azure.microsoft.com/free/ - -[cloud_shell]: https://docs.microsoft.com/azure/cloud-shell/overview - -[venv]: https://docs.python.org/3/library/venv.html -[virtualenv]: https://virtualenv.pypa.io - -[source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision - -[pypi_computervision]:https://pypi.org/project/azure-cognitiveservices-vision-computervision/ -[pypi_pillow]:https://pypi.org/project/Pillow/ - -[ref_computervision_sdk]: https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision?view=azure-python -[ref_computervision_computervisionerrorexception]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.models.computervisionerrorresponseexception?view=azure-python -[ref_httpfailure]: https://github.com/Azure/msrest-for-python/blob/master/msrest/exceptions.py#L133 - - -[computervision_resource]: https://docs.microsoft.com/azure/cognitive-services/computer-vision/vision-api-how-to-topics/howtosubscribe - -[computervision_docs]: https://docs.microsoft.com/azure/cognitive-services/computer-vision/home - -[ref_computervisionclient]: https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python - - -[ref_computervisionclient_analyze_image]: https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#analyze-image-url--visual-features-none--details-none--language--en---custom-headers-none--raw-false----operation-config- -[ref_computervisionclient_list_models]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#list-models-custom-headers-none--raw-false----operation-config- -[ref_computervisionclient_analyze_image_by_domain]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#analyze-image-by-domain-model--url--language--en---custom-headers-none--raw-false----operation-config- -[ref_computervisionclient_describe_image]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#describe-image-url--max-candidates--1---language--en---custom-headers-none--raw-false----operation-config- -[ref_computervisionclient_read]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#read-url--mode--custom-headers-none--raw-false----operation-config- -[ref_computervisionclient_get_read_result]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#get-read-result-operation-id--custom-headers-none--raw-false----operation-config- -[ref_computervisionclient_generate_thumbnail]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.computervisionclient?view=azure-python#generate-thumbnail-width--height--url--smart-cropping-false--custom-headers-none--raw-false--callback-none----operation-config- - - -[ref_computervision_model_visualfeatures]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.models.visualfeaturetypes?view=azure-python - -[ref_computervision_model_operationstatuscodes]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.models.operationstatuscodes?view=azure-python - -[computervision_request_units]:https://azure.microsoft.com/pricing/details/cognitive-services/computer-vision/ - -[recognize-text]:https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/blob/master/samples/vision/computer_vision_samples.py +This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. To receive updates on new features and non-security bug fixes, upgrade to the replacement package, [azure-ai-vision-imageanalysis](https://pypi.org/project/azure-ai-vision-imageanalysis/). diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/version.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/version.py index 3697d9b71739..413a68a462da 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/version.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.9.0" +VERSION = "0.9.1" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/setup.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/setup.py index bc6c43e91443..f616d8d3de7b 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/setup.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/setup.py @@ -62,7 +62,7 @@ url='https://github.com/Azure/azure-sdk-for-python', keywords="azure, azure sdk", classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 7 - Inactive', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/CHANGELOG.md index d1eb9732f0f4..04a5fa2b6e52 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.0.1 (2024-11-01) + +### Other Changes + +- This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. To receive updates on new features and non-security bug fixes, upgrade to the replacement package, [azure-ai-contentsafety](https://pypi.org/project/azure-ai-contentsafety/). + ## 1.0.0 (2019-01-02) ### Features Added diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/README.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/README.md index 437c53b30398..c0530c0c9143 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/README.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/README.md @@ -1,23 +1,3 @@ # Microsoft Azure SDK for Python -This is the Microsoft Azure Cognitive Services Content Moderator Client Library. -This package has been tested with Python 2.7, 3.6+. -For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). - - -# Usage - - - - -For code examples, see [Cognitive Services Content Moderator](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. - - -# Provide Feedback - -If you encounter any bugs or have suggestions, please file an issue in the -[Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-vision-contentmoderator%2FREADME.png) +This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. To receive updates on new features and non-security bug fixes, upgrade to the replacement package, [azure-ai-contentsafety](https://pypi.org/project/azure-ai-contentsafety/). diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/version.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/version.py index a39916c162ce..44e69c49c178 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/version.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0" +VERSION = "1.0.1" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/sdk_packaging.toml b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/sdk_packaging.toml index 8cdf6f35f86a..7227c3efc1b4 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/sdk_packaging.toml +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/sdk_packaging.toml @@ -5,4 +5,5 @@ package_pprint_name = "Cognitive Services Content Moderator" package_doc_id = "cognitive-services" is_stable = true is_arm = false -need_msrestazure = false \ No newline at end of file +need_msrestazure = false +auto_update = false \ No newline at end of file diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/setup.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/setup.py index 5b8a862b0edc..2936840bec6a 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/setup.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/setup.py @@ -62,7 +62,7 @@ url='https://github.com/Azure/azure-sdk-for-python', keywords="azure, azure sdk", classifiers=[ - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 7 - Inactive', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md index 8e469a75d2fc..c86a6353ab23 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 3.1.1 (2024-11-01) + +### Other Changes + +- This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. + ## 3.1.0 (2020-11-10) *Training 3.4-preview* diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/README.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/README.md index c132095c136b..3bf0d910f825 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/README.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/README.md @@ -1,23 +1,3 @@ # Microsoft Azure SDK for Python -This is the Microsoft Azure Custom Vision Client Library. -This package has been tested with Python 2.7, 3.6+. -For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). - - -# Usage - - - - -For code examples, see [Custom Vision](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. - - -# Provide Feedback - -If you encounter any bugs or have suggestions, please file an issue in the -[Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-vision-customvision%2FREADME.png) +This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py index 24a18964e554..34e1b851ab4b 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "3.1.0" +VERSION = "3.1.1" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/sdk_packaging.toml b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/sdk_packaging.toml index e96e80c8e0f9..52ac8242eb99 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/sdk_packaging.toml +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/sdk_packaging.toml @@ -5,3 +5,4 @@ package_doc_id = "cognitive-services" is_stable = false is_arm = false need_msrestazure = false +auto_update = false diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/setup.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/setup.py index 4b7873327d18..56efbc572c86 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/setup.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/setup.py @@ -62,7 +62,7 @@ url='https://github.com/Azure/azure-sdk-for-python', keywords="azure, azure sdk", classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 7 - Inactive', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md index 9cf1e326e0fd..b2b49052abe9 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.6.1 (2024-11-01) + +### Other Changes + +- This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. To receive updates on new features and non-security bug fixes, upgrade to the replacement package, [azure-ai-vision-face](https://pypi.org/project/azure-ai-vision-face/). + ## 0.6.0 (2021-12-02) ### Features Added diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md index df657d125bd7..8784b663c00c 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md @@ -1,23 +1,3 @@ # Microsoft Azure SDK for Python -This is the Microsoft Azure Cognitive Services Face Client Library. -This package has been tested with Python 2.7, 3.6+. -For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). - - -# Usage - - - - -For code examples, see [Cognitive Services Face](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. - - -# Provide Feedback - -If you encounter any bugs or have suggestions, please file an issue in the -[Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-vision-face%2FREADME.png) +This package has been deprecated and will no longer be maintained after 11-01-2024. This package will only receive security fixes until 11-01-2024. To receive updates on new features and non-security bug fixes, upgrade to the replacement package, [azure-ai-vision-face](https://pypi.org/project/azure-ai-vision-face/). diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py index 901c89378794..9eb8a9123f05 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.6.0" +VERSION = "0.6.1" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/sdk_packaging.toml b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/sdk_packaging.toml index 57499af7f57e..95b976837631 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/sdk_packaging.toml +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/sdk_packaging.toml @@ -6,3 +6,4 @@ package_doc_id = "cognitive-services" is_stable = false is_arm = false need_msrestazure = false +auto_update = false diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py index 65a3104ee2a8..6e59958d0f0a 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py @@ -62,7 +62,7 @@ url='https://github.com/Azure/azure-sdk-for-python', keywords="azure, azure sdk", classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 7 - Inactive', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7',