Image recognized via web but not by API

Hello,
we have a subscription for the Barcode Recognize API.

We have found an example that certain images are recognized if sent to the web site with Options “Excellent” and “SSCC-18” but if sent from a program, we get no results.

The code that we have to recognize images is the following:

configuration = aspose_barcode_cloud.Configuration(
    client_id= client_id,
    client_secret= client_secret,
)
# create an instance of the API class
api = aspose_barcode_cloud.BarcodeApi(aspose_barcode_cloud.ApiClient(configuration))
try:
    response = api.post_barcode_recognize_from_url_or_content(
        image=file_path,
        preset=aspose_barcode_cloud.PresetType.HIGHQUALITYDETECTION,
        type="SSCC18")
    return response
except ApiException as e:
    print("Exception when calling BarcodeApi->get_barcode_recognize: %s\n" % e)

Can you help us?
An image example is attached
Thanks in advanceDJI_0083tag_image.jpg (155.1 KB)

This topic has been moved to the related forum: Image recognized via web but not by API - Free Support Forum - aspose.cloud