image processing - Recognition and counting of books from side using OpenCV -


just wish receive ideas on can solve problem.

for clearer picture, here examples of of image looking at:

enter image description here enter image description here enter image description here

i have tried looking thresholding it, otsu, blobbing it, etc. however, still unable segment out books , count them properly. hardcover easy of course, cover separates books, when comes softcover, have not been able count number of books.

does have suggestions on can do? appreciated. thanks.

i ran sobel edge detector , used hough transform detect lines on last image , seemed working okay me. can link edges on output of sobel edge detector , count number of horizontal lines. or, can same on output of lines detected using hough.

you can further narrow down area of interest converting image binary image. outputs of of these operators can seen in following figure ( couldn't upload image had host here) http://www.pictureshoster.com/files/v34h8hvvv1no4x13ng6c.jpg

refer http://www.mathworks.com/help/images/analyzing-images.html#f11-12512 more useful examples on how edge, line , corner detection.

hope helps.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -