Skip to content

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

Добрый вечер,
Можно мейлом - kolesnichenko@gmail.com, можно скайпом - konst_k
On Aug 24, 2014 9:26 PM, "Dmitry Chaplinsky" notifications@github.com
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 notifications@github.com wrote:

Добрый вечер,
Можно мейлом - kolesnichenko@gmail.com, можно скайпом - konst_k
On Aug 24, 2014 9:26 PM, "Dmitry Chaplinsky" notifications@github.com
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