Closed mlagerberg closed 5 years ago
It appears that, when doing 3D-reconstruction, the argument --frame_undistort true
must always be provided. When missing, the spinnakerWrapper
(line 880
) skips reading the camera parameter files, including the extrinsic matrices needed for reconstruction. Which makes sense, I guess, since 3D-reconstruction is not possible without undistorting the frames.
May I suggest enabling the --frame_undistort
flag automatically when the --3d
flag is present, or to document this behaviour? I remember the flag not being required in version 1.4.0, which makes it confusing.
Sorry! All the 3D module was highly improved for 1.5 with respect to 1.4, that is why a few parameters unfortunately changed :(
However, you are right, OpenPose should report this error, the fact that OpenCV is the one reporting it means that OpenPose did not catch it. I have fixed it for the latest version. Thanks for the catch!
Let me know any further issue with it.
Posting rules
Error
).Issue Summary
Running the demo executable crashes with an assertion error:
OpenCV(4.0.1) c:\build\master_winpack-build-win64-vc15\opencv\modules\core\src\matrix.cpp:406: error: (-215:Assertion failed) m.dims >= 2 in function 'cv::Mat::Mat
Executed Command (if any)
Note: add
--logging_level 0 --disable_multi_thread
to get higher debug information.OpenPose Output (if any)
Errors (if any)
Type of Issue
Your System Configuration
https://pastebin.com/DYWFHrjC
Release
section (e.g., 1.2.0)?Latest Release: 1.5.0.
General configuration:
lsb_release -a
in Ubuntu): Windowsgcc --version
in Ubuntu or VS version in Windows): 5.4.0, ... (Ubuntu); VS2015 Enterprise Update 3, VS2017 community, ... (Windows); ...? --Non-default settings:
3rd-party software:
cmake --version
in Ubuntu): 3.14.3apt-get install libopencv-dev
(only Ubuntu); OpenPose defaultIf GPU mode issue:
cat /usr/local/cuda/version.txt
in most cases): 10.1nvidia-smi
in Ubuntu): NVidia GeForce GTX 1050 TiIf Windows system: