Closed syamprasadkr closed 7 years ago
Hi,
Since ZED SDK v1.0, the Init() function only takes a structure as parameter :
zed->init(sl::zed::MODE::QUALITY, 0,true);
becomes
sl::zed::InitParams param;
param.mode=QUALITY;
param.verbose=true;
param.device = 0;
zed->init(param);
Regarding Eigen error, it is better to call find_package(eigen3) in the cmakelist or to add /usr/include/eigen3 in the include_directories, instead of modifying the Camera.hpp.
Best, /0B/
@sl-braun
Thank You so much. I would like to mention the small change:
param.mode=sl::zed::MODE::QUALITY;
Once again, thank you.
I am trying to apply a simple color matching algorithm to the frames coming out of Zed, in C++. I tried the code with image input and it worked fine. Then I changed the source file to a frame from zed using the code:
The terminal threw the following output:
The source frame was completely green. I tried changing
cap(0)
tocap(-1)
andcap (1)
. It didn't work. Then I decided to look into this. I decided to try the hello world program first. While runningmake
, it gave me an error:Then I edited the Camera.hpp with the following lines:
Also, I changed its file permissions. Now the error says:
I tried changing the init statement in multiple ways:
zed->init(sl::zed::MODE::QUALITY, 0,true);
But it didn't fix the issue. Kindly help. Thanks in advance.