Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How to find biggest white zone in an scanned image

$
0
0
Hi all, I have a project and I'm stuck... can you please help me to move on? I'm scanning some documents for a client and I have to apply a software barcode on the first page of the documents, but without covering information ... so I have to find the biggest white zone on the image. If it's important, I'm scanning in B&W (binary). I'll upload an example to understand what I mean. The red zone seems to be the biggest white zone in this image and I want to put the barcode in the middle. What I need is to find the coordinates of the white zone. The original image is down below. ![example](http://s10.postimg.org/9w0k5eky1/test_opencv.jpg "Example") Original image: ![original](http://s12.postimg.org/r14z38kx9/Scan_Image0022.jpg "Original")

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>