Ask Your Question
0

how to count the number of blobs detected?

asked 2013-02-23 09:46:50 -0500

bluebknight gravatar image

I am planning to draw a rectangle around any rectangular objects it detects. isRectangle method works great for that. But to make a for loop or something similar, I need to know the number of blobs detected. Is there anyway to find that? something like blob.length?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2013-02-25 17:32:43 -0500

xamox gravatar image

The current development version (so anything after 1.3.x) also has a .count() on features now as a shortcut to get the length.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-23 09:46:50 -0500

Seen: 2,090 times

Last updated: Feb 25 '13