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

Remove outer most contours #10

Open
ThePenguin1140 opened this issue Oct 17, 2017 · 1 comment
Open

Remove outer most contours #10

ThePenguin1140 opened this issue Oct 17, 2017 · 1 comment

Comments

@ThePenguin1140
Copy link
Owner

Figure out how to use the contour hierarchy.

Need to make sure that we're only ever creating three contours at the same level that are about the same size.

@ThePenguin1140 ThePenguin1140 self-assigned this Oct 17, 2017
@ThePenguin1140 ThePenguin1140 added this to the Development Goal I milestone Oct 17, 2017
@ThePenguin1140
Copy link
Owner Author

Ran into a little bit of a conceptual problem yesterday.

If we have two overlapping cups then the bounding box would just be one big one. So we need some way of telling if we're looking at one single cup or two overlapping cups.

I think there's two ways to solve this:

  1. Identify overlapping cups based on the ratio of the bounding box (i.e. the ratio for a single cup might be 2:1 height:width and an overlapping set of cups would be 1:2)
  2. Use masks to identify the sides of cups or whole cups.

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

No branches or pull requests

1 participant