Core Capture API Real Time Service: Process Image / Process Image Pipeline

VigierM
edited December 22, 2022 in Thrust Services #1

Hi,

 

I am trying to use the Process Image / Process Image Pipeline; services from Core Capture API Real-Time Services with a previously created image processor profile in order to enhance an image taken by a phone camera to handle QR Code detection. 

All requests are made with Postman and all status code are 200.

The first issue is with the process image service. Here is my code sample:

{
    "servicesProps": [
        {
            "name": "Env",
            "value": "D"
        },
        {
            "name": "Profile",
            "value": "MyProfile"
        },
        {
            "name": "ReturnFileDataInline",
            "value": true
        }
    ],
    "requestItems": [
        {
            "nodeId": 1,
            "values": null,
            "files": [
                {
                    "name": "QRCode",
                    "value": "base64 file content",
                    "contentType": "image/tiff"
                }
            ]
        }
    ]
}

Which give me the following error:

{
    "serviceName": "processimage",
    "executionMilliSeconds": 5,
    "resultItems": [
        {
            "nodeId": 1,
            "errorCode": "ER3003",
            "errorMessage": "Failed to load image filter objects from provider. Assembly: ",
            "values": [],
            "files": []
        }
    ]
}

So i tried to do like in the Capture Web App which is performing a process image pipeline, parameters are the same as the previous request, only "Profile" was changed to "ImageProfile". But it is giving me the following response, where it seems that nothing happened:

{
    "serviceName": "processimagepipeline",
    "executionMilliSeconds": 0,
    "resultItems": [
        {
            "nodeId": 1,
            "errorCode": "",
            "errorMessage": "",
            "values": [],
            "files": []
        }
    ]
}

Theses return messages are not helping me to correct my calls. Maybe I'm missing something. It would be nice to have some additional information in order to help me to face these issues.

Regards,