DSKCF_CPP icon indicating copy to clipboard operation
DSKCF_CPP copied to clipboard

error onOcclusion

Open C-peng opened this issue 7 years ago • 3 comments

when evaluateocclusion is true,the project dies. what is wrong?

C-peng avatar Jul 16 '18 03:07 C-peng

The error on the code"cv::meanStdDev(cv::Mat(frame[1], boundingBoxModified & imageRect), mean, stddev, occluder);", what is the cause?

C-peng avatar Jul 16 '18 05:07 C-peng

The error on the code"cv::meanStdDev(cv::Mat(frame[1], boundingBoxModified & imageRect), mean, stddev, occluder);", what is the cause?

Have you solved the issue? Thanks

andriiD avatar Oct 16 '18 05:10 andriiD

I also get the same error. It happens when I walk between the camera and the object that gets tracked, meaning I occlude the object that gets tracked. Here is also a backtrace from gdb (paths and other data are removed).

#6  0x00007ffff558ae42 in cv::error(cv::Exception const&) () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.3
#7  0x00007ffff558afc4 in cv::error(int, cv::String const&, char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.3
#8  0x00007ffff563a733 in cv::NAryMatIterator::init(cv::Mat const**, cv::Mat*, unsigned char**, int) () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.3
#9  0x00007ffff557f179 in cv::meanStdDev(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, cv::_InputArray const&) () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.3
#10 0x00000000004b901e in OcclusionHandler::onOcclusion (this=this@entry=0x7fffb0094080, frame=..., features=std::vector of length 1, capacity 2 = {...}, boundingBox=...) at OcclusionHandler.cpp:331
#11 0x00000000004b9fe7 in OcclusionHandler::visibleDetect (this=0x7fffb0094080, frame=..., position=...) at OcclusionHandler.cpp:142
#12 0x00000000004ba333 in OcclusionHandler::detect (this=<optimized out>, frame=..., position=...) at OcclusionHandler.cpp:75
#13 0x000000000049c851 in DskcfTracker::update (this=0xd1f980, frame=..., boundingBox=...) at dskcf_tracker.cpp:26

fsasm avatar Nov 28 '19 18:11 fsasm