- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
in C++ version
ppp.input().preprocess()
.convert_element_type(ov::element::f32)
.convert_layout("NCHW")
.mean({ 123.675f,116.28f,103.53f })
.scale({ 58.359f, 57.12f, 57.375f });
;
in C version, the header is:
OPENVINO_C_API(ov_status_e)
ov_preprocess_preprocess_steps_mean(ov_preprocess_preprocess_steps_t* preprocess_input_process_steps, float value);
the is only 1 channel for second parameter, how can I deal with multiple channel input?
thanks
Enlin Jiang.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Enlin Jiang,
We apologize for the delay.
For your information, our engineering team confirmed that the C API does not support multiple channels of preprocess mean/scale and they are working to add this feature soon.
The request for the addition of this feature will be implemented in the upcoming releases, Thank you for your support.
Regards,
Megat
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Enlin Jiang,
Thank you for reaching out to us.
We are checking with the relevant team regarding multiple channel input for the Preprocessing step in C API. In the meantime, you can check out the Preprocessing guide for OpenVINO™ Toolkit C API for more information.
Regards,
Megat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Megat,
thanks for reply.
I had studied all of document regarding Precrocessing, I guess the API could be something like this
ov_preprocess_preprocess_steps_mean(ov_preprocess_preprocess_steps_t* preprocess_input_process_steps, float []value, int value_count);
function ov_preprocess_preprocess_steps_scale() has same issue, please check with relevant team.
thanks.
Enlin Jiang.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Enlin Jiang,
We apologize for the delay.
For your information, our engineering team confirmed that the C API does not support multiple channels of preprocess mean/scale and they are working to add this feature soon.
The request for the addition of this feature will be implemented in the upcoming releases, Thank you for your support.
Regards,
Megat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Enlin Jiang,
Thank you for your question. This thread will no longer be monitored since this issue has been resolved. If you need additional information from Intel, please submit a new question.
Regards,
Megat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Enlin Jiang,
For your information, the feature request has now been implemented via the pull request: https://github.com/openvinotoolkit/openvino/pull/23718
This pull request has been merged into the OpenVINO™ master branch. You can build OpenVINO™ from source (master branch) or wait for the upcoming OpenVINO™ toolkit release package.
Regards,
Megat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Enlin Jiang,
Thank you for your question. This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Megat
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page