Skip to content

Instantly share code, notes, and snippets.

View config.json
{
"embeddings": [
{
"tensorName": "Samples",
"tensorShape": [10000,128],
"tensorPath": "https://gist.github.com/rodrigoberriel/420b5629c05492c451f6eff886391249/raw/7a8ae32949a3c45952177ee4e2fa4058ee28f8cc/tensors.tsv",
"sprite": {
"imagePath": "https://github.com/rodrigoberriel/sprite.png",
"singleImageDim": [32,32]
}
View sample_opencv_3.cpp
#include <opencv2/opencv.hpp>
using namespace cv;
int main(int argc, char** argv) {
Mat inputImage = imread(argv[1]);
imshow("Input Image", inputImage);
waitKey(0);
return 0;
}