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

Optimised buildMap function #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pelrun
Copy link

@pelrun pelrun commented Oct 4, 2013

Now uses numpy array operations instead of iterating over elements. Profiling shows runtime on my machine dropped from 7.045s to 0.017s (!!) Should make it much nicer to run on the Pi directly.
I've also added an angle parameter (in radians) that changes where the split is placed.

I've just got this running nicely in my own dewarping tool (http://github.com/pelrun/kogetoPi), and there's a rpi camera to kogeto adapter STL in there as well.

Now uses numpy array operations instead of iterating over elements. Profiling shows runtime on my machine dropped from 7.045s to 0.017s (!!)
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