Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows issue: It just crashed down #8

Open
Mvrjustid opened this issue Feb 28, 2017 · 6 comments
Open

Windows issue: It just crashed down #8

Mvrjustid opened this issue Feb 28, 2017 · 6 comments

Comments

@Mvrjustid
Copy link

I am using a Windows10 system, and I have successfully generated the .exe file using project.sln.
I generated the .exe file in x86 and x64 mode, but neither can run.
They would crash down every time I run it on the command line or use .bat directly.
Can anybody suggest anything on this matter?
Many thanks.

@wn312991
Copy link

wn312991 commented Mar 7, 2017

@hello,I meet the same problem with you now,Have you solved your problem? how to solve? thanks you @Mvrjustid @andrewssobral

@wn312991
Copy link

wn312991 commented Mar 7, 2017

Hello,I meet the same problem with you now,Have you solved your problem? how to solve? thanks you @Mvrjustid @andrewssobral

@andrewssobral
Copy link
Owner

Hello @Mvrjustid and @wn13083405221 , I am sorry for my delayed response.
Did you checked if the binaries of OpenCV are in your system PATH ?
In my case, I compiled with VS2013 with OpenCV 2.4.10 and I have added the opencv_ffmpeg2410.dll file in my working folder.
Please let me know if it works for you,
Best,
Andrews

@wn312991
Copy link

@andrewssobral Thank you for your reply,I have checked the binaries of Opencv in my system path,and I have successfully generated the .exe file using project.sln, in my D:\Projects\vehicle_detection_haarcascades-master\vs2013\x64\Release folder,I have have successfully generated project.log, vc120.pdb and vehicle_detection.obj。furthermore,InD:\Projects\vehicle_detection_haarcascades-master\build folder,I have have successfully generated vehicle_detection_x64.exe, but They would crash down every time I run it on the command line or use .bat directly, in addition,I have successfully run the demo in Ubuntu16.04+opencv2.4.9
finally,would I consult you a question that how to detect car in dynamic background ? now I am confused on the project of Forward Collision Warning ,Look forward to your reply,thanks you!

@andrewssobral
Copy link
Owner

Hi @wn13083405221
Try to use cmake in your Windows environment instead of using the provided vs2013/project.sln, and check if the binaries are ok. I think this crash is due to some incompatibility between libraries used to compile this project and the binaries in your system path. You may test by copying the opencv binaries into your project folder (where your *.exe is located).
About dynamic background, if you are using an object detection framework based on HaarCascades or (Deep) Convolutional Neural Networks (instead of a background modeling framework) you don't need to worry about that.
Hope this help you,
Best

@isalirezag
Copy link

Can you please tell me how should we define the command Arguments in the debugging page.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants