Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Error in Opencv stitching project

$
0
0
![image description](/upfiles/14449969792830993.jpg)![image description](/upfiles/14449969172327678.jpg)(/upfiles/14449968823861101.jpg) I'm building the Opencv stitching project by adding the available files by myself. The project gets build without any error but there is an error, when I run it without debugging. I'm using static libraries. The error is shown in this screenshot. When I debug this program then it throws the following message while going from line no. 97 to line no. 98. Error when debugged: "First-chance exception at 0x000007FEDB3CC7CB (opencv_world300.dll) in ConsoleApplication1.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. If there is a handler for this exception, the program may be safely continued." Thank-you in advance. #include #include #include #include #include #include using namespace std; using namespace cv; vector imgs; int main(){ Mat img1 = imread("E:/seecs/thesis/ConsoleApplication1/ConsoleApplication1/panorama_image1.jpg"); if (img1.empty()) { cout << "Can't read image '" << "'\n"; return -1; } imgs.push_back(img1); Mat img2 = imread("E:/seecs/thesis/ConsoleApplication1/ConsoleApplication1/panorama_image2.jpg"); if (img2.empty()) { cout << "Can't read image '" << "'\n"; return -1; } imgs.push_back(img2); Mat panoramaImage; Stitcher stitcher = Stitcher::createDefault(); Stitcher::Status stitcherStatus = stitcher.stitch(imgs,panoramaImage); waitKey(0); return 0; } ![image description](/upfiles/1444975556491096.png)

Viewing all articles
Browse latest Browse all 41027

Trending Articles