node-opencv icon indicating copy to clipboard operation
node-opencv copied to clipboard

Convert byte array into Image object in node.js

Open vg123 opened this issue 8 years ago • 0 comments

I have byte array of image taken from S3 and now I want to convert it into image object using opencv in node.js as I did in Golang. the code I used to for conversion in image object in Golang .

  decodedImage:=opencv.DecodeImageMem(data)   //data is byte array.

So, my question is how to use this DecodeImageMem in node.js to convert data array into image object. or tell me some other function of opencv that you have given in wrapper to do that task.

vg123 avatar Jun 22 '17 11:06 vg123