简体   繁体   中英

Debug Assertion failed in OpenCV HoughCircles Example (C++) from xstring in VS2013

I am using Visual Studio 2013 on Windows 8.1, with OpenCV installed. I have copied the example hoghCircles() code and have built it, but I get an error in "line 1168" of xstring.

Any help would be appreciated :)

http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_circle/hough_circle.html

Since you haven't really provided much detail I am hazarding a guess here.

Are you running the debug version from within the debugger? If so you need to go to the property pages of the project and add a command argument so it has an image to work with.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM