Skip to content

Commit b58c4cc

Browse files
author
Jill Grant
authored
Merge pull request #833 from PatrickFarley/comvis-updates
add bg removal deprecation notice
2 parents 17fb13a + 5cac26d commit b58c4cc

25 files changed

+92
-29
lines changed

articles/ai-services/computer-vision/concept-background-removal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ms.author: pafarley
1414

1515
# Background removal (version 4.0 preview)
1616

17+
[!INCLUDE [segmentation-deprecation](includes/segmentation-deprecation.md)]
18+
1719
The Background removal operation can divide images into multiple segments or regions to help the user identify different objects or parts of the image. Background removal creates an alpha matte that separates the foreground object from the background in an image. This service is currently in preview, and the API may change in the future.
1820

1921

articles/ai-services/computer-vision/how-to/background-removal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ms.date: 01/19/2024
1313

1414
# Remove the background in images
1515

16+
[!INCLUDE [segmentation-deprecation](../includes/segmentation-deprecation.md)]
17+
1618
This article demonstrates how to call the Image Analysis 4.0 API to segment an image (separate the foreground from background). It also shows you how to parse the returned information.
1719

1820
> [!IMPORTANT]

articles/ai-services/computer-vision/how-to/call-read-api.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ The following steps assume that you've already created a [Computer Vision resour
2020

2121
[!INCLUDE [read-editions](../includes/read-editions.md)]
2222

23-
## Input requirements
24-
25-
The **Read** API call takes images and documents as its input. The images and documents must meet the following requirements:
26-
27-
* Supported file formats are JPEG, PNG, BMP, PDF, and TIFF.
28-
* For PDF and TIFF files, up to 2,000 pages (only the first two pages for the free tier) are processed.
29-
* The file size of images must be less than 500 MB (4 MB for the free tier) with dimensions at least 50 x 50 pixels and at most 10,000 x 10,000 pixels. PDF files don't have a size limit.
30-
* The minimum height of the text to be extracted is 12 pixels for a 1024 x 768 image, which corresponds to about 8-point font text at 150 DPI.
31-
32-
>[!NOTE]
33-
> You don't need to crop an image for text lines. Send the whole image to the Read API and it recognizes all texts.
3423

3524
## Determine how to process the data (optional)
3625

articles/ai-services/computer-vision/includes/curl-quickstart.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Use the optical character recognition (OCR) REST API to read printed and handwri
2222
- [cURL](https://curl.haxx.se/) installed.
2323
- <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="create a Vision resource" target="_blank">An Azure AI Vision resource</a>. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2424
- The key and endpoint from the resource you create to connect your application to the Azure AI Vision service.
25-
2625
1. After your Azure Vision resource deploys, select **Go to resource**.
2726
1. In the left navigation menu, select **Keys and Endpoint**.
2827
1. Copy one of the keys and the **Endpoint** for use later in the quickstart.

articles/ai-services/computer-vision/includes/model-customization-deprecation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ ms.author: pafarley
1111
---
1212

1313
> [!IMPORTANT]
14-
> This feature is now deprecated. On January 10, 2025, the Azure AI Vision Product Recognition and model customization features will be retired: after this date, API calls to these services will fail.
14+
> This feature is now deprecated. On January 10, 2025, Azure AI Image Analysis 4.0 Custom Image Classification, Custom Object Detection, and Product Recognition preview API will be retired. After this date, API calls to these services will fail.
1515
>
1616
> To maintain a smooth operation of your models, transition to [Azure AI Custom Vision](/azure/ai-services/Custom-Vision-Service/overview), which is now generally available. Custom Vision offers similar functionality to these retiring features.

articles/ai-services/computer-vision/includes/ocr-studio-quickstart.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ ms.author: pafarley
1717
- An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/).
1818
- [An Azure AI Vision resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision). You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
1919
- Connect to [Vision Studio](https://portal.vision.cognitive.azure.com/).
20-
2120
- You might need to sign in.
2221
- After you sign in, select **View all resources**. If necessary, select **Refresh**. Verify that your resource is available.
2322

articles/ai-services/computer-vision/includes/quickstarts-sdk/csharp-sdk.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Use the optical character recognition (OCR) client library to read printed and h
2626
- The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/) or current version of [.NET Core](https://dotnet.microsoft.com/download/dotnet-core).
2727
- <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="create a Vision resource" target="_blank">An Azure AI Vision resource</a>. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2828
- The key and endpoint from the resource you create to connect your application to the Azure AI Vision service.
29-
3029
1. After your Azure Vision resource deploys, select **Go to resource**.
3130
1. In the left navigation menu, select **Keys and Endpoint**.
3231
1. Copy one of the keys and the **Endpoint** for use later in the quickstart.

articles/ai-services/computer-vision/includes/quickstarts-sdk/node-sdk.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Use the optical character recognition (OCR) client library to read printed and h
2626
- The current version of [Node.js](https://nodejs.org/).
2727
- <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="create a Vision resource" target="_blank">An Azure AI Vision resource</a>. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2828
- The key and endpoint from the resource you create to connect your application to the Azure AI Vision service.
29-
3029
1. After your Azure Vision resource deploys, select **Go to resource**.
3130
1. In the left navigation menu, select **Keys and Endpoint**.
3231
1. Copy one of the keys and the **Endpoint** for use later in the quickstart.

articles/ai-services/computer-vision/includes/quickstarts-sdk/python-sdk.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Use the optical character recognition (OCR) client library to read printed and h
2626
- Your Python installation should include [pip](https://pip.pypa.io/en/stable/). You can check whether you have pip installed, run `pip --version` on the command line. Get pip by installing the latest version of Python.
2727
- <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="create a Vision resource" target="_blank">An Azure AI Vision resource</a>. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2828
- The key and endpoint from the resource you create to connect your application to the Azure AI Vision service.
29-
3029
1. After your Azure Vision resource deploys, select **Go to resource**.
3130
1. In the left navigation menu, select **Keys and Endpoint**.
3231
1. Copy one of the keys and the **Endpoint** for use later in the quickstart.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Background removal deprecation notice
3+
titleSuffix: Azure AI services
4+
#services: cognitive-services
5+
author: PatrickFarley
6+
manager: nitinme
7+
ms.service: azure-ai-vision
8+
ms.topic: include
9+
ms.date: 09/10/2024
10+
ms.author: pafarley
11+
---
12+
13+
> [!IMPORTANT]
14+
> This feature is now deprecated. On January 10, 2025, the Azure AI Image Analysis 4.0 Segment API and background removal service will be retired. All requests to this service will fail after this date.
15+
>
16+
> To maintain a smooth operation of your models, install the open-source [Florence 2 model](https://huggingface.co/microsoft/Florence-2-large) and use its Region to segmentation feature, which allows for a similar background removal operation.

0 commit comments

Comments
 (0)