First implementation

This commit is contained in:
2019-12-19 00:08:07 +01:00
parent 8eee198344
commit 5e45401858
130 changed files with 20421 additions and 0 deletions

24
vendor/gocv.io/x/gocv/imgcodecs.h generated vendored Normal file
View File

@@ -0,0 +1,24 @@
#ifndef _OPENCV3_IMGCODECS_H_
#define _OPENCV3_IMGCODECS_H_
#include <stdbool.h>
#ifdef __cplusplus
#include <opencv2/opencv.hpp>
extern "C" {
#endif
#include "core.h"
Mat Image_IMRead(const char* filename, int flags);
bool Image_IMWrite(const char* filename, Mat img);
bool Image_IMWrite_WithParams(const char* filename, Mat img, IntVector params);
struct ByteArray Image_IMEncode(const char* fileExt, Mat img);
struct ByteArray Image_IMEncode_WithParams(const char* fileExt, Mat img, IntVector params);
Mat Image_IMDecode(ByteArray buf, int flags);
#ifdef __cplusplus
}
#endif
#endif //_OPENCV3_IMGCODECS_H_