pimenovalexander / corecvs Goto Github PK
View Code? Open in Web Editor NEWComputer Vision primitives library
Computer Vision primitives library
The full error stack is
/home/jakhremchik/Documents/corecvs/utils/framesources/opencv/openCVHelper.cpp: In static member function ‘static bool OpenCvHelper::captureImageCopyToBuffer(cv::VideoCapture&, corecvs::G12Buffer*)’:
/home/jakhremchik/Documents/corecvs/utils/framesources/opencv/openCVHelper.cpp:11:22: error: conversion from ‘cv::Mat’ to non-scalar type ‘IplImage {aka _IplImage}’ requested
IplImage frame = image;
^~~~~
utils/CMakeFiles/cvs_utils.dir/build.make:1180: recipe for target 'utils/CMakeFiles/cvs_utils.dir/framesources/opencv/openCVHelper.cpp.o' failed
make[3]: *** [utils/CMakeFiles/cvs_utils.dir/framesources/opencv/openCVHelper.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/jakhremchik/Documents/corecvs/utils/framesources/opencv/openCVFileCapture.cpp: In member function ‘virtual ImageCaptureInterface::FramePair OpenCvFileCapture::getFrame()’:
/home/jakhremchik/Documents/corecvs/utils/framesources/opencv/openCVFileCapture.cpp:47:46: error: no matching function for call to ‘_IplImage::_IplImage(cv::Mat&)’
IplImage *header = new IplImage(image);
Steps to reproduce
NOTE With opencv v3.4.6 all works fine
Code does not properly handle different cxx standards.
/home/corecvs/core/../core/utils/global.h:405:12: fatal error: filesystem: No such file or directory
# include <filesystem>
^~~~~~~~~~~~
compilation terminated.
Probably this does not work as expected.
#if defined(__GNUC__)
# if __cplusplus >= 201703L
# include <filesystem>
namespace fs = std::filesystem;
# else
# include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
# endif
Following stages are proposed
Current master version could not be compiled on macOS by gcc or clang (Mac version of clang: 10) because of the following problems:
In file included from alignment/camerasCalibration/camerasCalibrationFunc.cpp:1:
In file included from ../../corecvs/core/alignment/camerasCalibration/camerasCalibrationFunc.h:2:
In file included from ../../corecvs/core/function/function.h:15:
../../corecvs/core/utils/global.h:408:12:
fatal error: 'experimental/filesystem' file not found
# include <experimental/filesystem>
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from alignment/camerasCalibration/camerasCalibrationFunc.cpp:1:
In file included from ../../corecvs/core/alignment/camerasCalibration/camerasCalibrationFunc.h:2:
In file included from ../../corecvs/core/function/function.h:16:
In file included from ../../corecvs/core/math/matrix/matrix.h:17:
In file included from ../../corecvs/core/buffers/abstractBuffer.h:31:
../../corecvs/core/buffers/memory/alignedMemoryBlock.h:22:17:
error: use of undeclared identifier 'aligned_alloc'
mData = aligned_alloc(align, ((size + align - 1) / align) * align);
^
In file included from alignment/camerasCalibration/camerasCalibrationFunc.cpp:1:
In file included from ../../corecvs/core/alignment/camerasCalibration/camerasCalibrationFunc.h:2:
In file included from ../../corecvs/core/function/function.h:16:
In file included from ../../corecvs/core/math/matrix/matrix.h:17:
In file included from ../../corecvs/core/buffers/abstractBuffer.h:32:
../../corecvs/core/tbbwrapper/tbbWrapper.h:20:10: fatal error: 'tbb/parallel_for.h' file not found
#include <tbb/parallel_for.h>
^~~~~~~~~~~~~~~~~~~~
List of problems above not exhaustive. With this modifications currently I has been able to
compile coresvs/core lib without tests or cloudview.
Hi
do you have email?
I want to ask some things
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.