Unhandled Exception
Closed this issue · 2 comments
HassanAmed commented
I tried to run this code but it shows some unhandled exception can you address the issue ASAP
"Unhandled exception at 0x00007FF84A214008 in AI Project.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000306D74EF10."
Exception is pointed at ln 19
cv::imshow("src", src);
Console window says this message
OpenCV(3.4.1)
Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, file C:\build\master_winpack-build-win64-vc14\opencv\modules\highgui\src\window.cpp, line 356
Mugichoko445 commented
The error says "(size.width>0 && size.height>0)" and this seems to mean there is no image data to be displayed. I guess the code failed to load your input image. Please check the path you input (see line 8 in "Main.cpp")
HassanAmed commented
Yes that was the problem but I got that fixed.
Thanks anyway for your concern.
…On Mon, May 28, 2018 at 12:40 PM, Mugichoko445 ***@***.***> wrote:
The error says "(size.width>0 && size.height>0)" and this seems to mean
there is no image data to be displayed. I guess the code failed to load
your input image. Please check the path you input (see line 8 in "Main.cpp")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Akv_iLUM8ryvdRsHJ-L2Zvo4vFMm53mRks5t26nbgaJpZM4T5Uls>
.