Skip to Content
0

Image Feature Extraction API Error with PostMan (400 Bad Request)

Jul 14, 2017 at 07:22 AM

89

avatar image

Hi,

I try to test the ML Service for Image Feature Extraction

When I try with Postman, I get a 400 Bad Request Error :-/

{
    "_id": "6a02b7e0-b503-4c86-a4a4-3d1b1a2832a0",
    "error": "Invalid request",
    "error_description": "Service requires a list of (zipped) images.",
    "processed_time": "Fri, 14 Jul 2017 07:15:32 GMT",
    "request": {
        "files": null,
        "options": {},
        "tenantName": "imgclassif-tech-user",
        "texts": []
    },
    "status": "FAILED",
    "status_code": 400,
    "tenantName": "imgclassif-tech-user"
}

Here is the postman request

https://www.getpostman.com/collections/a418129154e81746548b

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Sep 15, 2017 at 12:28 AM
0

Hello Markus Reich

Did you resolve this? I faced a problem with the ML API as well and I'm looking for a resolution.

https://answers.sap.com/questions/307248/need-python-3-code-snippet-to-call-sap-leonardo-ml.html

Thank you

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 22, 2017 at 09:44 AM
0

Hi Markus Reich,

In help document of SAP, Image Feature Extraction is capable of extracting feature vectors for any given image which can be used for comparison, informational retrieval, clustering or further processing. When I try to run the API, I get a lot of feature_vector data, do you know how to use them to compare between different files?

Regards,
Share
10 |10000 characters needed characters left characters exceeded