How to decode base64 string and put it into Mat variable. Accually i can decode it using c++ but after that i don't know how to pass it to Mat. I tried searching but didn't find any clear pointed solution(so don't mark as duplicate since there are no solution to this exact question available).
I'm using chrome native messaging and i need to load image data into cv::Mat received through the STDIN.
On client-side image is encoded using javascript dataURL.
P.S:- Please don't suggest PNACL for this since it does not serve what i exactly need.