Generating amazing mosaic photos from a bunch of boring photos

Posted on Thu 05 June 2014 in fun • Tagged with image, numpy, opencv, pythonLeave a comment

How many times did it happen to you that you went on a trip where you took a lot of photos, got back home, browsed through the album and thought: "Oh, how I wish I could combine all of these photos and put them into a rectangular grid which will …

Continue reading

Getting infinities with numpy.exp()

Posted on Sat 24 May 2014 in bugs • Tagged with numpy, pythonLeave a comment

So I spent quite a lot of time this week trying to find out why I was getting infinities in one of my codes I'm working on.

In the code I have a big numpy.ndarray, let's call it a, which I then pass into numpy.exp() and save into …

Continue reading