Created
October 2, 2018 16:04
-
-
Save uelordi01/80985638d2f0dd6c6f7072b870e6dfc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #take the base64_decode from https://renenyffenegger.ch/notes/development/Base64/Encoding-and-decoding-base-64-with-cpp | |
| std::string raw = base64_decode(im64); | |
| cv::Mat rawData( 1, raw.size(), CV_8UC1, (void*) raw.c_str()); | |
| cv::Mat decodedImage = cv::imdecode( rawData, cv::IMREAD_COLOR /*, flags */ ); | |
| cv::imshow("hola",decodedImage); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment