blob: 16015e8ad10cb2be2a6fcd0faa67fe4d34045f57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <cstdlib>
#include "Exports.h"
#include "ColorDetection.h"
#pragma once
#define EXPORT_API __declspec(dllexport)
using namespace std;
extern "C" EXPORT_API size_t __cdecl Detect(uint8_t* input_buffer, size_t input_buffer_size, uint8_t*& output_buffer)
{
ColorDetection detector;
return detector.DetectColorNew(input_buffer, input_buffer_size, output_buffer);
}
|