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

Line detection #2

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Line detection #2

wants to merge 10 commits into from

Conversation

mr-const
Copy link
Contributor

Запилил неплохо работающий детектор линий (т.е. полосок, которые на страницах).
Нужно ещё добавить фильтрацию линий, которые накладываются друг на друга. Добавить для удобства теггирование "вертикальные линии, горизонтальные, косые, вотэвер".
Ну и уменьшить число false positives.

@dchaplinsky
Copy link
Owner

Are you happy with implementation and want me to merge or need more time/help to polish it?

@dchaplinsky
Copy link
Owner

Константин, добрый вечер. Как с вами связаться, подскажите?

@mr-const
Copy link
Contributor Author

Добрый вечер,
Можно мейлом - [email protected], можно скайпом - konst_k
On Aug 24, 2014 9:26 PM, "Dmitry Chaplinsky" [email protected]
wrote:

Константин, добрый вечер. Как с вами связаться, подскажите?


Reply to this email directly or view it on GitHub
#2 (comment).

@dchaplinsky
Copy link
Owner

Добавил в скайпе.

On Sun, Aug 24, 2014 at 10:36 PM, mr-const [email protected] wrote:

Добрый вечер,
Можно мейлом - [email protected], можно скайпом - konst_k
On Aug 24, 2014 9:26 PM, "Dmitry Chaplinsky" [email protected]
wrote:

Константин, добрый вечер. Как с вами связаться, подскажите?


Reply to this email directly or view it on GitHub
#2 (comment).


Reply to this email directly or view it on GitHub
#2 (comment).

cv2.line(shred, (x1, y1), (x2, y2), (255, 255, 0, 0), 2)
cv2.imwrite('../debug/houghlines_%s.png' % name, shred)

params['Lines Count'] = len(lines[0])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Lines count" doesn't seem to be too useful for unshredding. What about detecting major lines direction? e.g. make a histogram with buckets 0,1º,..,89º and find most popular. The result might potentially be useful to group the shreds with similarly sloped lines.

dchaplinsky added a commit that referenced this pull request Nov 2, 2014
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

Successfully merging this pull request may close these issues.

3 participants