The work on the clipping code is going well. Thanks to Debayan for laying the ground-work for the algorithm.
It's complete to a point where it detects the lines as a whole, and for my convenience, prints the coordinates to a csv in a (line number, count) format. Here's an interesting glimpse :
It's complete to a point where it detects the lines as a whole, and for my convenience, prints the coordinates to a csv in a (line number, count) format. Here's an interesting glimpse :
The jump from line 66 to 124 represents a white gap, the space between the two lines.
However, it still needs some tuning. For instance, this :
the presence of 183 and 184 bothers me. It most probably represents some noise, and shows that the code still needs tuning.
But I admit, IPython notebooks are a great way to modularise and optimise when experimenting with code. It only enhances my love for Python.
Also, my algorithm is enhanced in a way as it should (in theory) be able to distinguish straight and curved lines, I'll get started on that modification after completing the basic code.
So Long.
p.s. - I'm starting to get worried now, as I think I am a bit behind the schedule I had set for myself. So push, push and chop-chop.
No comments:
Post a Comment