Comments (6)
The code was tested with OpenCV 2. So there is probably some changes to do for OpenCV 3.
Check if homogeneous_contour
needs to be be allocated before to be passed to the function.
from traffic-sign-detection.
std::vector< cv::Point3f > homogeneous_contour;
homogeneous_contour.reserve(contour.size());
Does not help.
Is there any way in C++ to get stack trace? I tried to wrap around try / catch but it seems to be not works in a way that it does in Java.
Any other thoughts rather then try OpenCV 2?
from traffic-sign-detection.
I moved to Python so my C++ and related tools are a bit rusty. Regarding the trace, you should probably used an external library such as stacktrace
, since there is nothing built-in. Compiling in debug mode should already give you some info normally. If you are using QtCreator, you should have something integrated I think: link.
If you identified that it was coming from the function I would check the input array to be sure that all the values are correct. Checking the OpenCV function, I don't see what can go wrong.
Is it failing with one of the testing images provided?
from traffic-sign-detection.
Thanks a lot for information.
It failed on all images, does not matter which one, even if I provide my own images.
I am more interested in Python version of your project :-) Python is much more clear for me. Do you have your Python project set up in git as well or is it something that you manage internally?
from traffic-sign-detection.
This project is kinda of old (4-5 years) and I did not move it to python, unfortunately.
To make the project proper, I need to make the unit test at some point, but I am a bit lagging on that.
If you can get the trace that could be great. In the meanwhile, I will try to get a similar configuration and see if I can find out the issue. The good thing is that the bug is for all images ;). It should be a more or less easy one to identify.
from traffic-sign-detection.
Backtrace.txt
Here is back trace. I used QtCreator and import project as C++ Application.
However, for me, this issue is in low priority because I am dealing with Python.
from traffic-sign-detection.
Related Issues (9)
- vector<vector<Point>> and vector<Point> HOT 1
- find_package(OpenCV REQUIRED) HOT 1
- make error for undefined references HOT 2
- How to make it real-time and for video? HOT 4
- Bug found when fitting triangular signs in develop branch HOT 1
- Make error HOT 4
- Research Paper needed HOT 1
- log chromatic format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traffic-sign-detection.