edit build tree
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.17)
|
cmake_minimum_required(VERSION 3.7)
|
||||||
project(Vio_OpenCL)
|
project(Vio_OpenCL)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|||||||
+12947
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -4,13 +4,12 @@
|
|||||||
|
|
||||||
#ifndef VIO_OPENCL_CL_CLASS_H
|
#ifndef VIO_OPENCL_CL_CLASS_H
|
||||||
#define VIO_OPENCL_CL_CLASS_H
|
#define VIO_OPENCL_CL_CLASS_H
|
||||||
#include <CL/cl.hpp>
|
#include "cl.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <CL/opencl.h>
|
|
||||||
#include <opencv2/opencv.hpp>
|
#include <opencv2/opencv.hpp>
|
||||||
|
|
||||||
class kernel{
|
class kernel{
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ int main() {
|
|||||||
cv::circle(imageRGBA, cv::Point(corners[i].x,corners[i].y ), 1, cv::Scalar(0, 0,255),1);
|
cv::circle(imageRGBA, cv::Point(corners[i].x,corners[i].y ), 1, cv::Scalar(0, 0,255),1);
|
||||||
++count;
|
++count;
|
||||||
}
|
}
|
||||||
cv::imshow("test3",imageRGBA);
|
cv::imwrite("test3.png",imageRGBA);
|
||||||
std::cerr<<count<<'\n';
|
std::cerr<<count<<'\n';
|
||||||
|
|
||||||
cv::waitKey();
|
cv::waitKey();
|
||||||
|
|||||||
Reference in New Issue
Block a user