Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does simplecv-js support contour detection #55

Open
shamelmerchant opened this issue Aug 17, 2013 · 2 comments
Open

Does simplecv-js support contour detection #55

shamelmerchant opened this issue Aug 17, 2013 · 2 comments

Comments

@shamelmerchant
Copy link

I have an image with multiple rectangles and am trying to detect them, I am new to opencv/simplecv and dont quite fully understand how to use this tool, is there some examples I could refer to?

@chaithuzz2
Copy link
Contributor

Hi there,
simplecv-js is currently under development and we don't have a findContours method yet. I don't know what type of rectangles (overlapping or distinct) you are looking for .However The Blob class in SimpleCV has a isRectangle() method which might help you. The instructions for installing SimpleCV are given here

https://github.com/sightmachine/SimpleCV?source=cc

You can refer to the blob.py in "Features" module of SimpleCV source . Look for isRectangle() method and then you may write a small snippet to extract only the rectangular blobs. The instructions on how to use a particular method is given in the code. Let me know how it goes.

cheers

@shamelmerchant
Copy link
Author

Thank You, I am looking for distinct (but blurred) rectangles. I am trying to implement this on a existing webpage and was looking for a javascript library to help me out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants