We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6c2b6b commit 3e93f0eCopy full SHA for 3e93f0e
src/base/image_processors_utils.js
@@ -1006,7 +1006,7 @@ export class ImageProcessor extends Callable {
1006
1007
let image_std = this.image_std;
1008
if (!Array.isArray(this.image_std)) {
1009
- image_std = new Array(image.channels).fill(image_mean);
+ image_std = new Array(image.channels).fill(image_std);
1010
}
1011
1012
if (image_mean.length !== image.channels || image_std.length !== image.channels) {
0 commit comments