Closed lionkunonly closed 3 years ago
But you did not remove process the image using mean
and std
in the 268 line :
input_data[i + rgb.r] =
(image.bitmap.data[idx + 0] - mean[0]) / std[0]; // R
I think we can close this PR
@lionkunonly , any comments? Could we close this PR?
I think we can close this PR.
I added using PreProcessingChannel API to the
hello_classification_node
in this PR. And the result shows that thePreprocesschannel
works well. Please check the fileexample/hello_classification_node/main.js
. OpenVINO version is 2021.1With the command:
node main.js -m ../../models/squeezenet1.1/FP16/squeezenet1.1.xml -i test.png -d CPU -n 10
, the result is:With the command:
node main.js -m ../../models/squeezenet1.1/FP16/squeezenet1.1.xml -i test.png --mean [10,10,10] --std [10,20,40] -d CPU -n 10
, the result is: