Open lmmx opened 3 years ago
Very nice, thanks @lmmx!
Perhaps @alexdesiqueira would be interested too. Alex, how far are we from porting notebooks like these to markdown for inclusion in the tutorials repo?
Thank you @lmmx, it's a great tutorial already! @stefanv not that far, according to what we discussed last week. It would require a couple of hands-on hours, though; I'll schedule a couple of hours for that tomorrow.
So cool! ❤️
As discussed a couple months back I've put together a tutorial on image moments from some notes for a particular project. I've put it in its own repo here for now and can submit a PR when it's improved and meets the format for this repo.
Tutorial outline
Interactivity
I used
ipywidgets
to make an interactive slider so the "clock hand" could be moved around and the effect on the image moment-derived orientation could be observed directly by the reader,however all the web platforms I've looked at seem to remove this functionalityand I've saved the widget state so it's now viewable on nbviewerThe interactive widgets are usable in Binder (I used f strings so it requires 3.8 and binder default is 3.7 so I had to specify that in an
environment.yml
file) after a bit of investigation!It's just a first draft and I'll take a look at the style guides for how to clean this up for publishing, thoughts welcome! :smiley: