I have made the changes. Please have a look.
I'm compiling using pkg-config


On Sat, Mar 15, 2014 at 5:50 AM, Harsh Gupta <notifications@github.com>wrote:

> In Shivam/Oops1/blobDetect.cpp:
>
> > +}
> > +
> > +int image::bfs(image img_class)
> > +{
> > +	queue q;
> > +	int x=0,y=0;
> > +	cv::Mat img=img_class->img_bin;
> > +	int cols=img.cols, rows=img.rows;
> > +    int count=1;
> > +
> > +	for(int j=0;j<img.rows;j++)
> > +		for(int i=0;i<img.cols;i++)
> > +		{
> > +           if((img.at<uchar>(i,j))==0)
> > +           {
> > +           		if(img_class->visited[i][j]==-1)
>
> img_class is not a pointer, so use . to access a member of that object.
> Here it will be img_class.visited[i][j].
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/AGV-IIT-KGP/agv-sandbox/pull/2/files#r10631987>
> .
>