From de95d40e078a6111dce2f3d6b2f28c95a2ed0e10 Mon Sep 17 00:00:00 2001 From: menatallahMohamed Date: Sun, 23 Oct 2022 22:43:06 +0100 Subject: [PATCH] Adding Image URL to Identify Duplicate Images In line 80 , I am proposing to have it as following - to add the file name which helps identify which images are seen duplicate: print(image.source_url,"Image status: ", image.status) This helps as the portal automatically removes the duplicates without identifying them and for the Custom SDK code, the program exits whenever there are duplicates. This proposed change helps the user remove duplicate images to ensure the smooth running of the rest of the code. --- .../CustomVision/ImageClassification/CustomVisionQuickstart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/CustomVision/ImageClassification/CustomVisionQuickstart.py b/python/CustomVision/ImageClassification/CustomVisionQuickstart.py index 7f76f178..82ce7abd 100644 --- a/python/CustomVision/ImageClassification/CustomVisionQuickstart.py +++ b/python/CustomVision/ImageClassification/CustomVisionQuickstart.py @@ -77,7 +77,7 @@ if not upload_result.is_batch_successful: print("Image batch upload failed.") for image in upload_result.images: - print("Image status: ", image.status) + print(image.source_url,"Image status: ", image.status) # Proposed change to identify images which are duplicate by their file name exit(-1) #