Solved! net.setinput error in Load Caffe framework models tutorial [closed]
Hello everyone,
I've installed Opencv3.4 on my computer (Windows 10 latest version, visual studio 2015), it worked without any problems until I come to the "Load Caffe frameworks models" tutorial.
The error appears at the line with net.setInput:
Exception non gérée à 0x00007FF9A3E8B9DD (opencv_world340d.dll) dans ConsoleApplication1.exe : 0xC0000005 : Violation d'accès lors de la lecture de l'emplacement 0x0000000000000097.
I have seen that it could occurs when an instance is not well declared but the line Net net = dnn::readNetFromCaffe(modelTxt, modelBin) is doing the job so I don't understand.
Thank you for your help.
Please remove screenshot and add error message as plain text
Thanks, it is done.
opencv_world340d.dll means you use debug libs. Are you trying to run a release program with debug lib?
I am in debug mode. I run the program with my command prompt opened in the debug folder of my program. This is exactly the same code as the one of the tutorial.
I have re-installed (second time I try) all opencv34 and it finally works. I still don't know what was the problem but it runs without problem. Thank you for having reading this question and trying to answer.