Wikipedia
Collaborative Work and Openness
Submitted by Christoph on 11 January, 2010 - 22:22I hope you forgive me for letting this blog start with a rant into the new year. But this topic actually has bothered me for some time now, so I'll hope you will bear with me.
Simple image segmenter in Python
,
,
So I was looking for a simple segmenter to break down images containing several tiles into single pieces. I decided to write one myself, so here it is.
segmenttiles.py comes with a help page (python segmenttiles.py --help) which explains the parameters in short. Most important segmentation can be done either by using a window or by looking for whitespaces in the image. Giving the width/height ratio or more specifically the tilesize makes guessing more accurate by discarding solutions that don't fit the given sizes. Furthermore by selecting equaltiles the segmenter will try to find a segmenting solution that results in having exact same size tiles. This can even improve segmentation results.
Batch-Downloading from Wikimedia servers (2)
Submitted by Christoph on 17 December, 2008 - 08:15Some time ago I wrote how to download a category of files from Wikipedia. As the API got updates and my program now can download more than the maximum page size of 500 entries, I'll repost the script:
Batch-Downloading from Wikimedia servers
Submitted by Christoph on 17 February, 2007 - 23:18