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

Make ch3_panorama at least 8x as fast. #9

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

Conversation

nico
Copy link
Contributor

@nico nico commented Jul 13, 2013

Since you're accepting pull requests, here's another one :-)

Your ch3_panorama.py took more than 8 minutes to run (after which I killed it). My version runs in 3 seconds. This was by far the biggest win.

If you're interested in further speedups, feel free to look at https://github.com/nico/cvbook/commits/master (nico/cvbook@349b236 and nico/cvbook@31a56c3 are simple and effective for example.

nico added 2 commits July 12, 2013 20:46
ch3_panorama now runs in less than 1 minute, instead of > 8min (after
which I killed it). The output should be the same as before. Do this by
doing the perspective image mapping using PIL instead of scipy.

Also fix a FIXME about x and y being swapped (since this wasn't
mentioned in the bug, this was pretty confusing to me), since that's no
longer necessary.
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.

1 participant