HsiehYiChia / Scene-text-recognition

Scene text detection and recognition based on Extremal Region(ER)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I am using visual studio 2015 enterprice and getting error (Errpr : "node" is ambigious")?

arsalan993 opened this issue · comments

Debugger takes me to ER.h
struct Node
{
Node(ER v, const int i) : vertex(v), index(i){};
ER
vertex;
int index;
vector adj_list;
vector edge_prob;
};

typedef vector < Node > Graph;

In Type def vector < Node > Graph , Node is ambiguous

Sir, I just edited my first comment actually i didnt cause any changes to your code , it gitclone as it is .. linked OpenCV to it and when i run it i get 8 errors and all 8 errors are related to This "Node" struct.
Type def is one of them .. where ever in code you call "Node" i get this error..
So over all 8 errors because of Node

can u upload .exe file

Who ever get this error just Change the word "Node" to "Node1" , because Word "Node" is clashing with pre-existing "Node"