Ask Your Question

OliverBJ01's profile - activity

2015-11-25 04:29:35 -0600 received badge  Editor (source)
2015-11-25 04:28:20 -0600 answered a question How I access network Camera SAMSUNG SNB-5003/SNB-5004 SND-5083/SND-5084

This works for my two IP cams:

const std::string videoStreamAddress = "http://admin:password>>@10.1.1.5/video.cgi?.mjpg";  //D-Link IP camera @ Port 80

OR

const std::string videoStreamAddress = "http://root:[email protected]/mjpg/video.mjpg"; // Axis IP Camera @ Port 80

followed by..

VideoCapture   capture(videoStreamAddress);

int process(VideoCapture& capture);

if(!capture.isOpened()) {

        cerr << "Cannnot Init Webcam" << endl; return 1;

}

capture >> frame;

etc.

2015-11-25 00:58:12 -0600 asked a question GDB failing due illegal instruction associated with cv::initInterTab2D()

I am running the latest OpenCV 3 under Ubutu 14.04 from the GIT repository on two machines; a laptop and an PC with Intel i7 CPU (6 cores)

Normally OpenCV runs on the PC, but GDB is now failing with "illegal instruction". The same config on the laptop is OK. I have searched all the threads, tried several suggestions, and recompiled OpenCV several times to no avail.

For example, running the C sample programs drawcontours.cpp gives the following...(I get the same result with another program with bgfg segmentation; also a initInterTab2D() problem)

Debug Window reports:

  • test_drawcontours [C/C++ Application]
  • test_drawcontours[2367] [ cores: 6]
  • Thread #1 [test_drawcontou] 2637 [core: 6] (Suspended : Signal : SIGILL:illegal instruction)
  • cv::initInterTab2D() at 0x7ffff6fea04c
  • _GLOBAL__sub_I_imgwarp.cpp() at 0x7ffff6eb5e62
  • etc

No source available for "cv::initInterTab2d() at 0x7ffff6fea04c"

Dissassembly around 0x7ffff6fea04c is:

  • 00007ffff6fea041: jne 0x7ffff6fe9fbe <_ZN2cvL14initInterTab2DEib+4558>
  • 00007ffff6fea047: jmpq 0x7ffff6fe8fb8 <_ZN2cvL14initInterTab2DEib+456>
  • 00007ffff6fea04c: vmovaps 0xa15e8c(%rip),%ymm0 # 0x7ffff79ffee0
  • 00007ffff6fea054: vcvtdq2ps 0xa15e64(%rip),%ymm2 # 0x7ffff79ffec0

P.S. -DENABLE_SSE2=OFF and -DENABLE_SSE3=OFF have no effect

Help!!! Thanks