Ask Your Question

Revision history [back]

groupRectangles() or SimilarRects will help you

for more information see this

groupRectangles() or SimilarRects will help you

for more information see this

there is a similar question, also take a look at it http://answers.opencv.org/question/70958

groupRectangles() or SimilarRects will help you

for more information see this

there is a similar question, also take a look at it http://answers.opencv.org/question/70958

end finally here you can find an explanation in detail how to do it.

groupRectangles() or SimilarRects will help you

for more information see this

there is a similar question, also take a look at it http://answers.opencv.org/question/70958

end finally here you can find an explanation in detail how to do it.

for simple solution, you can try using erosion before your process

//Gray
Mat gray = new Mat();

//like the line below 
Imgproc.erode(capturedFrame, gray, new Mat(),Point(-1,-1),10);

Imgproc.cvtColor(gray, gray, Imgproc.COLOR_RGB2GRAY);

groupRectangles() or SimilarRects will help you

for more information see this and take a look at similar question on stackoverflow.com


in addition,

there is a similar question, also take a look at it http://answers.opencv.org/question/70958question maybe interesting

end finally here you can find an explanation in detail how to do it.

for simple solution, you can try using erosion before your process

//Gray
Mat gray = new Mat();

//like the line below 
Imgproc.erode(capturedFrame, gray, new Mat(),Point(-1,-1),10);

Imgproc.cvtColor(gray, gray, Imgproc.COLOR_RGB2GRAY);